2005 Punjab Technical University B.Tech Information Technology WINDOWS PROGRAMMING IT 303 Question paper
| Course: B.Tech Information Technology | University: Punjab Technical University |
WINDOWS PROGRAMMING IT 303 5th Sem May 2k5
Max Marks 60
Note: Section A is compulsory. Attempt any Four questions from Section B and any two questions from section C.
Section A Marks 2 each
1.
(a) List out the controls which do not have events.
(b) What are cursor handlers?
(c) Differentiate between program icon and application icon.
(d) How can you copy a text from non-windows application to windows application?
(e) Can you change menus during runtime using API? If yes, specify function names.
(f) What are device context classes?
(g) Explain the use of WM_SETFOCUS cursor message.
(h) List different memory models available in Windows.
(i) How can you run program from file manager?
(j) How mid-point (x, y) of a window is calculated in any programming language?
Section B Marks 5 each
2. Explain how messages are generated in windows environment with the help of suitable example.
3. What are memory API. Differentiate between local memory allocation and global memory allocation.
4. Write a program in any programming language that creates radio buttons in window.
5. Explain in which way Dynamic Link Libraries enhance the functioning of operating system.
6. Illustrate how you can change the shape of mouse cursor.
Section C Marks 10 each
7. What is child window? Explain different steps and controls involved in creation of child window.
8. Write a program in any programming language that generates a pop up menu at position where right mouse button is clicked.
9. Write short notes on the following:
(a) Icon handlers.
(b) Buffered file I/O
(c) Keyboard Messages.
************************************************************************************************************
2005 Punjab Technical University B.Tech Information Technology WINDOWS PROGRAMMING IT 503 Question paper
| Course: B.Tech Information Technology | University: Punjab Technical University |
WINDOWS PROGRAMMING IT 503 5th Sem May 2k5
Max Marks 60
Note: Section A is compulsory. Attempt any Four questions from Section B and any two questions from section C..
Section A Marks 2 each
1.
(a) What is the role of device context classes?
(b) What is the role of CS-HREDRAW?
(c) Define term window with respect to user and program.
(d) Differentiate between operating system and APL.
(e) List different Win 3.1 functions available.
(f) Differentiate between check box and radio button.
(g) What are scroll bars?
(h) Explain and compare GUI and CUI.
(i) What are ‘system keys’?
(j) What is the purpose of dialog boxes?
Section B Marks 5 each
2. Write a program in any programming language for creating Menu containing Bitmaps.
3. What is concept of local memory allocation and Global memory allocation? Explain different memory handles and locks.
4. Compare dynamic memory allocation and static memory allocation giving suitable examples.
5. Illustrate the working of the following mouse messages:
(a) WM- SETCURSOR
(b) WM-KILLFOCUS
6. Explain different steps involved and controls used in creation of child window.
Section C Marks 10 each
7. Write a program in any programming language that generates a pop up menu at position where right mouse button is clicked.
8. Write short notes on the following:
(a) Virtual key codes
(b) Pop up menu
(c) Memory API.
9. Explain with the help of simple flow chart how a typical window program and messages work.
No comments:
Post a Comment