![]() |
|
#1
|
||||
|
||||
|
MIDTERM EXAMINATION
SPRING 2011 (15 MAY 2011) CS410- VISUAL PROGRAMMING Time: 60 min Marks: 40 Total 26 Questions 20 x MCQs 2 x 2 Marks Questions 2 x 3 Marks Questions 2 x 5 Marks Question Few MCQs which I remembered are as under:- Question No: 1 ( Marks: 1 ) - Please choose one Choose Command line user interface ► MS DOS ► MS Windows ► MS Word ► MS Visio Question No: 2 ( Marks: 1 ) - Please choose one Identifier is not replaced if it appears ► In a comment ► With in a string ► As a part of a long identifier ► All of given Question No: 3 ( Marks: 1 ) - Please choose one We can undefine already defined preprocessor directive using ► #undef ► #unifdef ► #unenddef ► None of given Question No: 4 ( Marks: 1 ) - Please choose one C language is an extensible language. ► True ► False Question No: 5 ( Marks: 1 ) - Please choose one Union Person { char name[30]; //30 bytes int age; float height; }; How many bytes will skip after executing ptr = ptr +1. Union Person abc, *ptr; Ptr = &abc; 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. ► 38 bytes will skip after executing ptr = ptr +1. Question No: 6 ( Marks: 1 ) - Please choose one GDI presents a? ► device-independent view ► device-dependent view SUBJECTIVE QUESTIONS Question No: 21 What is massage (2 Marks) Question No: 22 Write any two Common controls of Window. (2 Marks) Question No: 23 An application can set up for itself any logical coodinates system, using API. write down any two. (3 Marks) Question No: 24 What is storage class? (3 Marks) Question No: 25 What is an Instance Handle, Define briefly? (5 Marks) Question No: 26 What are the Stock objects, Define briefly? (5 Marks) my paper 15 may 2011 nitification code(2) delete0bject(hBrush) define the working of this statement(2) "every application has its own message queue" define it (2) extern storage class(3) reasons of stack overflow (5) write complete syntax for "GetParent" (5) Today: CS410 Mid term Paper Big question was from Windows components, especially from GDI and Kernal. (5) WM_invoation and two other messages was in 3 no. question Stack and its use. Itration (Very comes in exam as short question and Big question) (5+2=7) Bit-wise Operation. (most mcqs was from this sction) |
![]() |
















Linear Mode


