Wednesday, November 4, 2009

B.E / B.Tech. DEGREE EXAMINATION, NOV / DEC -2007.

Fourth Semester

Computer Science & Engineering

CS1253 – Visual Programming

Part – A (10 x 2 = 20 Marks)

1. Write a simple Windows program to print “Hello World”.

2. Define and list down the GDI primitives.

3. Define an application framework.

4. How to use an ActiveX controls in your projects?

5. What is COM?

6. What is a serialize function?

7. Write short notes on aggregation.

8. How ActiveX controls are different from ordinary controls?

9. Which are the databases we can open with DAO?

10. What is a Winsock?

Part – B (5 x 16 = 80 Marks)

11. (a) Discuss in detail about displaying the window and message looping.

Or

(b) Explain windows Graphics Device Interface (GDI) in detail.

12. (a) Explain the steps with an example for programming a model dialog.

Or

(b) Explain the different mapping modes. Compare and Construct.

13. (a) Explain how to create a toolbox for your application.

Or

(b) Explain SDI and MDI applications in detail.

14. (a) Write down the steps of MFC OLE drag and drop processing with a neat

diagram.

Or

(b) (i) Explain the steps involved in the creation of active X control. (Marks -8)

(ii) Highlight the features of COM (Marks -8)

15. (a) Explain how database connectivity can be achieved using ODBC. Write

necessary coding and also write coding to query the database.

Or

(b) Write an MFC Automation client program.

Click the following link to download:
http://www.ziddu.com/download/7215846/vp2.pdf.html

0 Comments:

Post a Comment