Set No. 1
Code No: RR321901
III B.Tech Supplimentary Examinations, Aug/Sep 2008 VISUAL PROGRAMMING TECHNIQUES (Electronics & Computer Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆ 1. What is IDE. Explain the various features of IDE of Visual Basic.
[16]
2. Define Device Context. Explain the purpose of Device context with the help of a neat diagram. [16] 3. What are windows mouse events? How to handle them?
[16]
4. (a) In V.B. how do you execute code associated with click event of a command button through code. (You should not use mouse or keyboard to generate click event.) (b) How do you change caption of a button. (c) How do you attach functionality to click event of command button in VC++. [8+4+4] 5. A club has 10 executive members. The meeting records for the 12 monthly meetings of the year are maintained in separate files. Each file has a list of the members who have attended the particular meeting (not in any particular order). Write a VC++ implementation that reads each file and hence computes the no of meeting attended by each and writes on to a separate file. Note that the meeting proceedings can only be read but not modified. Suggest a VC++ implementation. [16] 6. Develop a VB application which links Microsoft excel worksheet and perform some operations on it. [16] 7. An organization maintains a list of employees. The details of each employee like his name, age, designation and salary are to be recorded. Suggest a VB data base application with suitable properties and controls to accept such details and manipulate them as and when necessary. [16] 8. (a) Explain how to Visit the web site www.hotmail.com from your VB application using web browser control. (b) Explain how to insert Active X control in VB. ⋆⋆⋆⋆⋆
1 of 1
[8+8]
Set No. 2
Code No: RR321901
III B.Tech Supplimentary Examinations, Aug/Sep 2008 VISUAL PROGRAMMING TECHNIQUES (Electronics & Computer Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆ 1. State the purpose of IDE. Explain the various features of IDE of VC++.
[16]
2. Give an Overview of MFC. Mention the various classes of MFC in VC++ and explain them with an example. [16] 3. (a) Write a program to center the input text in the client area of the window? (b) Describe how to find the size of a window?
[10+6]
4. (a) Write a program to create a static control in a window. (b) Illustrate the use of edit controls in a window, with an example program. [8+8] 5. A hotel maintains a folder for each room in it. There is a file for each occupant containing information about the occupant, advance paid, rent payable / paid and other details. When the person checks out, the file is closed but retained in the folder. Suggest a VB implementation. [16] 6. (a) Explain the predefined dialog boxes in both Visual Basic and VC++ with examples. (b) Write a program to add two number using Visual Basic. Accept numbers using dialog boxes. [8+8] 7. An inventory package accepts details about the name of the item, manufacturer and quantity added / quantity drawn as the case may be. It should indicate the quantity available after the transaction. Also, if the quantity falls below the “reorder level” it should display a message “purchases to be undertaken”. Write a VB application with necessary controls to do this. [16] 8. (a) Create an Active X control in VB. (b) Explain the procedure to add properties, methods and events to the Active X control in VB. [6+10] ⋆⋆⋆⋆⋆
1 of 1
Set No. 3
Code No: RR321901
III B.Tech Supplimentary Examinations, Aug/Sep 2008 VISUAL PROGRAMMING TECHNIQUES (Electronics & Computer Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆ 1. Discuss the various files created when we create a project in VC++.
[16]
2. (a) Give brief introduction to MFC. (b) Explain the benefits of using C++ and MFC for windows programming. [8+8] 3. What are windows mouse events? How to handle them?
[16]
4. (a) Write a program to create a static control in a window. (b) Illustrate the use of edit controls in a window, with an example program. [8+8] 5. An airlines maintains a folder for each pair of destinations ( say Hyderabad -Delhi). Each individual flight details are stored in one file. As and when seats are reserved, the corresponding files are updated. Suggest a VB implementation for the same. [16] 6. Design a custom dialog box using Visual Basic.
[16]
7. Explain in detail the following objects ADO, RDO.
[16]
8. How do you develop internet applications using Visual Basic?
[16]
⋆⋆⋆⋆⋆
1 of 1
Set No. 4
Code No: RR321901
III B.Tech Supplimentary Examinations, Aug/Sep 2008 VISUAL PROGRAMMING TECHNIQUES (Electronics & Computer Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆ 1. (a) Distinguish between event oriented & procedure oriented programming. (b) Distinguish between VC++ and C++ by giving suitable examples.
[8+8]
2. (a) Give brief introduction to MFC. (b) Explain the benefits of using C++ and MFC for windows programming. [8+8] 3. Describe the methodology to create a menu using V.B.
[16]
4. (a) Write a program to create a list box in a window. (b) Write a program to perform operations like addition, deletion, insertion of items in a list box. [6+10] 5. An airlines maintains a folder for each pair of destinations ( say Hyderabad -Delhi). Each individual flight details are stored in one file. As and when seats are reserved, the corresponding files are updated. Suggest a VB implementation for the same. [16] 6. (a) Explain the predefined dialog boxes in both Visual Basic and VC++ with examples. (b) Write a program to add two number using Visual Basic. Accept numbers using dialog boxes. [8+8] 7. An organization maintains a list of employees. The details of each employee like his name, age, designation and salary are to be recorded. Suggest a VB data base application with suitable properties and controls to accept such details and manipulate them as and when necessary. [16] 8. (a) Visit the web site www.hotmail.com from your VC++ application using web browser control. (b) Implement the following buttons: i. ii. iii. iv.
Back Forward Refresh Navigate.
[8+8] ⋆⋆⋆⋆⋆ 1 of 1