DOC

sst27

By Kyle Rogers,2014-05-30 12:31
8 views 0
sst27

    2.5

    1 ASPCDate

    a) Date

    b) Char

     c) Datetime

     d) Byte

    2 C++

    #include <iostream.h>

    class vehicle

    {

    protected

     int wheels

    public

     vehicle(int in_wheels=4){ wheels=in_wheels}

     int get_wheels( ){ return wheels}

    }

    void main( )

    {

     vehicle unicycle1

     vehicle unicycle2(3)

     cout<<the unicycle1 has<< unicycle1.get_wheels( )<<wheel.\n

     cout<<the unicycle2 has<< unicycle2.get_wheels( )<<wheel.\n

    }

a) The unicycle1 has 0 wheel.

    The unicycle2 has 3 wheel.

    b) The unicycle1 has 4 wheel.

    The unicycle2 has 4 wheel.

    c) The unicycle1 has 4 wheel.

    The unicycle2 has 3 wheel

    d) The unicycle1 has 0 wheel.

    The unicycle2 has 4 wheel.

    3 C++

    #include <iostream.h>

    class line

    {

    public

     int color

    }

    int startx

    class box

    {

    private

     int upxupy

     int lowxlowy

    public

     int color

     int same_color(line abox b)

     void set_color(int c)

     {

     color =c

     }

     void define_line(int xint y)

     {

     startx =x

    }|

    }

    intsame_color(line abox b)

    {

     if(a.color==b.color)

     return 1

     return 0

    }

    a) line::

    b) box::

    c) line->

    d) box->

    4) VBTextCommand1MSFlexGrid1

    ActiveXMyControlActiveX

     a) Text1

     b) MyControl

     c)

     d)

    5 ISO

     a)

     b)

     c)

     d)

    6 VB

     a)

     HelpFileName =Alternate.hlp

    b) Application.HelpFileName =Alternate.hlp

    c) App.HelpFile =Alternate.hlp

    d)

     HelpFile =Alternate.hlp 7 JavaJava

    class Hello implements Runnable

    {

     public static void main( String args[ ] )

     {

     Thread t=new Thread(this)

     t.start()

     }

     public void run( )

     {

     System.out.println()

     }

    }

    a)

    b)

    c)

    d) 8 Java

    a) Checkbox

    b) Radiobutton

    c) List

    d) Choice

    9 VBWinSock/

    WinSock

     a) RemoteHostRemotePort

     b) LocalPortRemotePort

     c) StateRemoteHost

     d) LocalPortState

    10 JavaRunnable

     a) wait( )

     b) run( )

     c) stop( )

     d) start( )

    11 SQL Server

     a)

     b)

     c)

     d)

    12 JavaWorkerPersonWorker

    super( )

     a) Workersuper( )

     b) Personsuper( )

     c) Person

     d)

    13 VBCOM

     a) MSF

     b) ODBC

     c) ActiveX

     d) DCOM

    14 C++

     class example

     {

     private

     int data

     public

     int set(int param)

     }

    a) example object

    object.data=10

    b) example object

    data=object.set(10)

    c) example objec

    object.data=object.set(10)

    d) example object

    int data=object.set(10) 15 C++

    class A

    {

    private

     int a

    public

     int b

    }

    class Bprivate A{}

    a) A obj

    obj.a=10

b) A obj

    obj.b=10

    c) B obj

    obj.a=20

    d) B obj

    obj.b=20

    16 C++funcint

    int

    a) int func(int x){return(x*x)} b) inline int func(int x) {return(x*x)} c) int inline func(int x) {return(x*x)} d) int func(int x) {return inline(x*x)}

    17 Word

a)

    b)

    c) VB

    d)

    18

    a) b) c)

    d)

    19 VB,

    Dim intindex As Long

    For intindex=0 To Me.Count-1

    Me.Controls(intindex).Left=300

    Next intindex

    a) Controls

    For Each b)

    c) Left

    d)

    20 Private strHeight As Single

    Private strName As String

    Public Function GetNewMan()As clsMan

    Dim A As New clsMan

    Set GetNewMan=A

    End Function

    ( )()

    a) GetNewManclsMan b) GetNewMan c GetNewMan

    d GetNewMan

    21

    CMM a)

    b)

    c)

    d)

    22 CBook

    a) Book(Book *ptr);

    b) Book(&ptr)

    c) Book(Book &ptr )

    d) Book(const Book &ptr )

    23) Cnew a) new

    b)

    c)

    d)

    e)

    24 Java

    switch(x){

    case1:

    System.out.println(1)

    case2:

    case3:

    System.out.println(3)

    Case4:

    System.out.println(4)

    }

    x=2

    a)

    b) 3

    c) 34

    d) 134

    25 SQL Sever2000

a) SQL Sever2000

    b) SQL Sever2000

    c)

    d)

    26 Set fs=Server.CreateObject(Scripting.FileSystemObject)

    Fs.CoptFolderc:\files, d:\documents\

    ASP

    a) CfilesDdocuments

    b) CfilesDdocuments c) DdocumentsCfiles

    d) DdocumentsCfiles

    27 ASP

a) Cookie

    b)

    c)

    d)

    28 SQL Sever2000T- SQL

    USE Pubs

    GO

    GRANT INSERT,UPDATE,DELETE ON authors TO Mary Ya

    GO

    a) Mary YaPubsAuthor b) PubsAuthorMary Ya c) Mary YaPubsAuthor

d) GRANT

    29 employeefirstname

    a) firstname b) c) firstname d) firstname

    30 VB

a)

    b)

    c)

    d)

    31 ASPVirtual

    a

    b

    c

    d

    32class sample

    private:

     int data;

    public;

     int set( ):

    csampleset

    a int set()data=10;return data

    b int sample::set()data=10;return data

    c int sample::set()::data=10;return ::data

    d int sample::set()sample::data=10;return sample::data

    33

    a

    b

    c

    d

    34 java Applet1.init(),2.start(),3.paint(),Applet

    a 1,2,3

    b 2,1,3

    c 2,3,1

    d 1,3,2

    35 java

     abstract class Shape

     {

    abstract void draw();

    class Square extends Shape

    a)

    b) Shape Square

    c) Square Shape

    d) Shape, Square

    36

    a)

    b)

    c)

    d)

    37 VBWithEvents

    a) WithEvents

    b) WidEvents

    c) NewWithEvents

    d) As Obiect

    38 orders,salepersonID

    regionIDorderamount

    a SELECT salepersonID,regionID,SUM (orderamount)

    FROM orders

    GROUP BY salepersonID, regionID

    b SELECT salepersonID,regionID,SUM (orderamount)

    FROM orders

    ORDER BY regionID

    COMPUTE SUM (orderamount)

    c SELECT salepersonID,regionID,orderamount

    FROM orders

    ORDER BY regionID

    COMPUTE SUM (orderamornt) BY regionID

    COMPUTE SUM (orderamount)

    d) SELECT salepersonID,regionID,orderamount

     FROM orders

     GROUP BY regionID,orderamount

    COMPUTE SUM (orderamount)

    39) Java

     classa A

    public static void main(String[] args)

    {

    method()

    static void method()

    try

    System.out.println(Hello);

    System.exit(0);

    finally

    {

    System.out.puintln(good-bye);

a) Hello

    b) good-bye

    c) Hellogood-bye

    d)

    40 VB

a) Property Get

    b) Property Set

    c) Property Got

    d) Property Let

Report this document

For any questions or suggestions please email
cust-service@docsford.com