Main

Monday, 26 November 2012

cs410-quiz 1-21-11-2012


BC090403006 : Muhammad Yaqoob Khan



Quiz Start Time: 09:28 PM    
Time Left     89
sec(s)    
Question # 1 of 10 ( Start time: 09:28:26 PM )     Total Marks: 1
Union Person { char name[30]; //30 bytes int age; float height; }; Union Person abc, *ptr; Ptr = &abc; ptr = ptr +1; How many bytes will skip after executing ptr = ptr +1.
Select correct option:
    38 bytes will skip after executing ptr = ptr +1.
    30 bytes will skip after executing ptr = ptr +1.
    31 bytes will skip after executing ptr = ptr +1.
    32 bytes will skip after executing ptr = ptr +1.

BC090403006 : Muhammad Yaqoob Khan



Quiz Start Time: 09:28 PM    
Time Left     89
sec(s)    
Question # 2 of 10 ( Start time: 09:28:46 PM )     Total Marks: 1
Which languages are more close to machine language?
Select correct option:
    Low Level Languages
    Machine Level Language
    C++
    Java

BC090403006 : Muhammad Yaqoob Khan



Quiz Start Time: 09:28 PM    
Time Left     89
sec(s)    
Question # 3 of 10 ( Start time: 09:29:31 PM )     Total Marks: 1
Long chain of keywords in declaration can be shortened. Above line is the advantage of ______.
Select correct option:
    Typedef
    Struct
    Union
    None of given

BC090403006 : Muhammad Yaqoob Khan



Quiz Start Time: 09:28 PM    
Time Left     89
sec(s)    
Question # 4 of 10 ( Start time: 09:30:39 PM )     Total Marks: 1
*(a+i) can also be written as ________________
Select correct option:
    a [i]
    a[i+1]
    *a
    *a+1

BC090403006 : Muhammad Yaqoob Khan



Quiz Start Time: 09:28 PM    
Time Left     89
sec(s)    
Question # 5 of 10 ( Start time: 09:30:57 PM )     Total Marks: 1
______________ tell the operating system about the characteristics and physical layout of its windows.
Select correct option:
    Register Class
    Object Class
    Window Class
    Common Class

BC090403006 : Muhammad Yaqoob Khan



Quiz Start Time: 09:28 PM    
Time Left     90
sec(s)    
Question # 6 of 10 ( Start time: 09:31:31 PM )     Total Marks: 1
GDI is implemented through ____________________
Select correct option:
    GDI.dll
    Win32.dll
    GDI32.dll
    Kernel

BC090403006 : Muhammad Yaqoob Khan



Quiz Start Time: 09:28 PM    
Time Left     90
sec(s)    
Question # 7 of 10 ( Start time: 09:31:56 PM )     Total Marks: 1
There cannot be multiple _________________ messages in message queue.
Select correct option:
    WM_ PAINT
    WM_TIMER
    WM_QUIT
    WParam

BC090403006 : Muhammad Yaqoob Khan



Quiz Start Time: 09:28 PM    
Time Left     89
sec(s)    
Question # 8 of 10 ( Start time: 09:33:25 PM )     Total Marks: 1
Struct Person { char name[30]; //30 bytes int age; //4 bytes float height; //4 bytes }; struct Person abc, *ptr; ptr = &abc; ptr = ptr + 1; How many bytes will skip this statement?
Select correct option:
    38
    40
    39
    Nothing will skip.

BC090403006 : Muhammad Yaqoob Khan



Quiz Start Time: 09:28 PM    
Time Left     89
sec(s)    
Question # 9 of 10 ( Start time: 09:34:54 PM )     Total Marks: 1
What kind of messages can be display using messagebox function?
Select correct option:
    Long messages
    Short messages
    Null values
    None of the given

BC090403006 : Muhammad Yaqoob Khan



Quiz Start Time: 09:28 PM    
Time Left     90
sec(s)    
Question # 10 of 10 ( Start time: 09:35:27 PM )     Total Marks: 1
___________ is used to check the predefined identifiers.
Select correct option:
    #include
    #ifdef
    #def
    #elif

No comments:

Post a Comment