Sei sulla pagina 1di 4

UEPCS 41 - VISUAL PROGRAMMING UNIT 1 WINDOWS PROGRAMMING Windows environment a simple window program windows and message creating

ting the window displaying the window message loop the window procedure message processing text output painting and repainting introduction to GDI device context basic drawing - child window controls. UNIT II VISUAL C++ PROGRAMMING INTRODUCTION Application framework MFC Library Visual C++ components Event Handling Mapping modes, colors, forms, modal and modeless dialog- windows common controls bitmaps. UNIT III THE DOCUMENTS AND VIEW ARCHITECTURE Menus Keyboard accelerator rich edit control toolbar- status bar- reusual frame window base class- separating document from its view- reading and writing SDI and MDI documents splitter window and multiple views- creating DLLs dialog based applications. UNIT IV ACTIVE X AND OBJECT LINKING AND EMBEDDING (OLE) Active X control Vs. Ordinary window controls installing Active X Controls Calendar control Active X control container programming create Active X control at runtime Common object model (COM)- containment and aggregation Vs. inheritance OLE drag and drop OLE embedded Component and containers Sample Applications, UNIT V ADVANCED CONCEPTS Database management with Microsoft ODBC- Structure Query Language MFC ODBC classes- Sample Database Applications filter and sort string s DAO concepts Displaying Data base record scrolling view Threading VC++ Networking issues Winsock WinInet building a web client internet information server ISAPI server extension chat application playing and multimedia (sound and video) files.

PRIST UNIVERSITY, TRICHY CAMPUS DEPARTMENT OF CSE (PART TIME) QUESTION BANK VISUAL PROGRAMMING UNIT I PART A 1. Differentiate between DOS based programming and window based programming. 2. List the main header files in windows programming. 3. What is an API? 4. Write the ways of implementing API? 5. Name any platform independent API? 6. What are the steps required to create a window? 7. How to create a window? 8. What is the use of Get message? 9. What is GDI? 10. What are the functions used for changing the menu? PART - B 1. Describe in detail about the windows and messages. (1.7 1.14) 2. Explain how to create process and display the message. (1.22 1.23) 3. Discuss about the features of device context. (1.26 1.34) 4. Explain the Stock objects with examples ( 1.46 ) 5.a )Write the syntax for the following bounding box.(16) (1.41 1.46) b) Function and specify the arguments with a neat diagram (i)Rectangle (ii) Ellipse (iii) Round Rectangle (iv) Arc 6. (i)Explain in detail about the scrollbar. (12) (1.29 1.34) (ii) Define some of the GDI Primitives (4) (1.35 1.52) UNIT II PART A 1. Define Appwizard. 2. What are the types of mapping modes? 3. What is the use of Set map Mode command? 4. List the type of video cards used to display the colors. 5. List some of the COMDLG32 classes? 6. What are dialog controls? 7. Mention some of the windows common control? 8. What are GDI objects? 9. Mention some of the GDI derived classes? 10. Difference between modal and modeless dialogs?

PART B 1. Describe the features of Visual C++ components (16) ( 2.6 2.13 ) 2. Write a program to perform the Event Handling functions (16) ( 2.13 2.18 ) 3. Discuss about the uses of colors and fonts in GDI (16) ( 2.24 2.30 ) 4. Explain how the window common controls are created. ( 2.41 2.53 ) 5. Explain the Modal Dialog Box with an example VC++ program. ( 2.7 - 2.41 ) 6. Discuss briefly about font & parameters for creating a font with an example program. ( 2.28 2.30 ) UNIT III PART A 1. What is keyboard accelerator? 2. What are the two editing tools? 3. What are the characteristic of SDI frame window? 4. What are the functions that treat registry data as either CString objects or unsigned integers? 5. What is serialization? 6. What are the processing steps should be taken place for each object in the collection? 7. Define DLL. 8. Mention some of the program elements? 9. What is an application framework? 10. What are the advantages of using DLL? PART B 1. Write a VC++ program to display the square along with pattern by implementing the operations on tool bar, menu bar and keyboard accelerator. (16) ( 3.1 3.8 ) 2. Describe the concept of Reusable frame window. (16) ( 3.20 3.26 ) 3. Develop a VC++ program to create Dialog based application for designing a calculator. ( ) 4. Explain in detail about separating the documents from its view. (16) ( 3.26 3.45 ) 5. Explain the process of Status Bar with a program in vC++ () 6. Discuss in detail about Serialization with an example (16) () UNIT IV PART A 1. 2. 3. 4. 5. 6. 7. What are the features supported by COM? What is class factory? List out the four states that an embedded object can assume? What are the special features of container? Define OLE. What are the applications of OLE? What is marshalling?

8. What is DCOM? 9. Define object model. 10. What is the purpose of the DECLARE INTERFACE MAP macro? PART B Write a Program to perform the operations of Active Xcontrol . () Explain the concept of COM interface with an example (4.14 4.22 ) Discuss the concept of OLE Drag and Drop. ( 4.32 4.34 ) Discuss in detail about OLE Embedded Component and Container. ( 4.34 4.41 ) i) Write a short notes on Essence of COM. (6) ( 4.14 4.22 ) ii) Discuss in detail about the AddRef and Release Functions in COM interface. (10) () Explain the following i) ActiveX Control Container Programming. (10) ( 4.5 4.14 ) ii) Give a short notes on calendar control (6) ( 4.4 )

1. 2. 3 4 5 6

UNIT V PART A 1. What are the advantages of using a real DBMS? 2. What is process and thread? 3. What are the two kinds of thread? 4. Define ODBC. 5. What are the methods of Binary interface method? 6. What are the steps to create sample database? 7. List the MFCWinInet classes. 8. Define ISAPI server extension. 9. Define WINSOCK. 10. List the components pf OLE DB Architecture. PART - B 1. How the Database is accessed through ODBC explain with an example program. (16) ( 5.1 5.4 ) 2. Discuss briefly about the concept of DAO. (16) ( 5.15 5.23 ) 3. What is meant by Thread? List out its types and explain. (16) ( 5.24 5.43 ) 4. Briefly explain the concept of VC++ Networking issues. (16) ( 5.43 5.59 ) 5. Explain the features and concept of WinInet. (16) () 6. Discuss briefly about Internet Information server (5.59 5.67 )

Potrebbero piacerti anche