MODEL PAPER
THIRD SEMESTER, M. Sc INFORMATION TECHNOLOGY

Paper - II (MIT - 302): MIT - 302: Windows Programming
First Semester
MIT - 101
MIT - 102
MIT - 103
MIT - 104
MIT - 105
MIT - 106
MIT - 107
MIT - 108
Second Semester
MIT - 201
MIT - 202
MIT - 203
MIT - 204
MIT - 205
MIT - 206
MIT - 207
MIT - 208
Third Semester
MIT - 301
MIT - 303
MIT - 304
MIT - 305
MIT - 306
MIT - 307
MIT - 308
Fourth Semester

Time: 3hrs Max. Marks: 75
Attempt any five questions.
All questions carry equal marks

  1. Question.
    1. Explain API, UNICODE. What are queued and non-queued messages?
    2. Explain various messages related to keyboard events? What are the contents of wparam & iparam parameters for 6 keystroke messages.
    3. Write a program to demonstrate hit testing. It should divide client area in 5 x 5 array of 25 rectangles. If you click the mouse on array rectangle, it should be filled with X, on clicking again X should be removed.

  2. Question.
    1. What is timer? Write a program to create an analog clock.
    2. Explain child window controls. How does a child talks to as parent.

  3. Question.
    1. What is the difference between dialog box procedure and widow procedure? Also explain Nodal and Nodeless dialog box.
    2. Write a program to create a 10 function hexadecimal calculator with full keyboard and mouse interface. Functions to be included are +, =, *, /, %, &, |, ^, <, >.

  4. Question.
    1. When does a Winproc receive WM-PAINT message? What is DC? Write two methods for getting DC handle.
    2. Differentiate between view port and Window. Explain various mapping modes.

  5. Question.
    1. What is a Bitmap? Explain Bitblt, StretchBlt, Patblt.
    2. Explain DIB file format. Also write the structure of logical font.

  6. Question.
    1. What is the structure of clipboard data format? Write a code except to allocate memory transfer text to clipboard and get back the text.
    2. Write a note on multitasking and Multithreading. Also explain thread synchronization and how it is implemented.

  7. Question.

  8. Briefly discuss any two of the following: -
    1. Active X
    2. OLE
    3. Microsoft .Net technology

  9. Question.
    1. Write a program using C# to sort a array of elements using bubble sort method.
    2. Write a visual Basic program for following: -