CCCC C C C CC C CCCCCCCCCCCCCCCCCCCCCCCCCCC C

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

QUESTION BANK VISUAL PROGRAMMING 2-MARKS QUESTION WINDOWS PROGRAMMING 1. Write a simple windows program to print Hello world.

2. Define and list down the GDI Primitives 3. What is a message? 4. What is a message loop? 5. Define device context? 6. Under what circumstances painting is needed? 7. What are GDI primitives? 8. What are the ways to trigger WM-PAINT message? What does the message do? 9. What is a window programming? 10. List out the main header files in Windows programming 11. What is Hungarian Notation? 12. What are the steps required to create a window? 13. How to register a window class? 14. What is a window class? 15. How to create a window? 16. What is the use of Get Message ( )? 17. What are the actions of windows procedure? 18. What is WM_DESTROY message? 19. Which function is used to terminate the program? 20. What are the fields in MSG structure? 21. What are queued Message and Non queued Message? 22. Give some messages used in Windows 23. Give any four pen styles. 24. Give the default font, pen brush, bitmap. 25. What is appwizard? 26. What is class wizard? 27. What are accelerators? 28. What are the types of dialogs? Give application for each. 29. What is event driven programming? 30. Define Application Framework 31. What are the types of mapping modes? 32. What is the use of SetMapMode command? 33. List out the types of video cards used to display the colors 34. What is resole font? 35. What is the use of GetSystemMetrics function? 36. Differentiate CClientDC and CWindowDC 37. Differentiate Modal and Modeless dialogs 38. What is system modal dialog? 39. List some of the COMDLG32 classes? 40. What are dialog controls?

41 Mention some of the window common controls 42. What are keyboard accelerators? What are the messages generated? 43. What are the types of messages generated by mouse? ToolBars 1. What are toolbars? 2. What are the applications of multiple views? 3. Give two examples for MDI. How many child and parent windows are available in MDI Program 4. What do DLL contain? 5. What is a serialize function? 6. What is a menu? What are its types? 7. Mention two text editing tools 8. What are the characteristics of SDI frame window? 9. What are the two CFrameWnd member functions? 10. How to make a class serialize? 11. Explain splitter window 12. Differentiate Dynamic and static splitter window 13. What are the functions that treat registry data as either CString objects or unsigned integers? 14. Define DLL 15. Explain document view architecture. 16. What is a view? 17. Differentiate SDI and MDI 18. What are the disadvantages of using DLL 19. What is Load Library ( ) function? 20. What is GetProcAddress ( ) function? ACTIVEX AND OBJECT LINKING AND EMBEDDING (OLE) 1. Name two applications of OLE. 2. What is COM? 3. Define DCOM 4. Depict the hierarchy of CRichEdit class. 5. What is an ActiveX control? 6. How ActiveX controls are different from ordinary controls? 7. Write short notes on aggregation 8. What is the use of IUnKnown interface? 9. Mention the features of COM 10. What is class factory? 11. What is the use of CLSIDFromProgID? 12. What do INTERFACE-PART macros do? 13. What is the purpose of DECLARE-INTERFACE-MAP macro? 14. List out the four states that an embedded object can assume? 15. What are the special features of container? 16. How a COM client calls out of process components?

17. Define Object Model 18. Write short notes on versioning. 19. Mention some applications of OLE 20. What is marshaling?

16-MARKS 1.Discuss on Windows Messaging. 2. Explain the VC++ components in detail 3. Explain briefly how to create, display and process the window with necessary program. 4. Explain in detail about the windows message structure and windows procedure 5. Explain the various methods available to get the DC Handle 6. Explain windows GDI in detail 7. Explain GDI Functions and GDI Primitives 8. Explain MFC Classes 9. Define keyboard Accelerators. Explain the purpose of keyboard Accelerators. 10. Explain Modal and Modeless Dialog with Example 11. Explain window common controls. 12. Explain in detail how you will load a bitmap into your application. 13. Explain the steps with an example for programming a model dialog. 14. Explain the different mapping modes. Compare and construct. 15. Write a program using VC++ to display the character pressed. 16. Write a program using VC++ to display mouse coordinates 17. Write a VC++ program to create a menu bar 18. Write a VC++ program to create a Toolbar 19. Write a VC++ program to create a status bar 20. Write a VC++ program to implement DLL 21. Explain SDI and MDI Applications in detail. 22. Differentiate Extension DLL and Regular DLL 23. What is meant by splitter window? How to create dynamic splitter window? 24.Implement a dynamic splitter window in an MFC Application. 25. Explain the document view architecture 26. Develop a calculator using dialog based application. 27. Write down the steps of MFC OLE drag and drop processing with a neat diagram. 28. Highlight the features of COM 29. Explain the steps involved in the creation of active-X control. 30. Explain how you will add an active X control during runtime with necessary program 31. Explain containment and inheritance 32. What is OLE? Explain it in detail. 33. What is an ActiveX control? How to build an application that uses a calendar control in adialog?

You might also like