Visual Programming Techniques

  • Uploaded by: Nizam Institute of Engineering and Technology Library
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Visual Programming Techniques as PDF for free.

More details

  • Words: 1,017
  • Pages: 4
Set No. 1

Code No: RR321901

III B.Tech II Semester Supplimentary Examinations, Aug/Sep 2007 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. (a) Explain the importance of OnDraw function. (b) What is the class name of the parameter to the OnDraw function? Explain about three member functions from that class. [6+10] 3. (a) Write a program that displays a message “Hello” whenever the left mouse button in the client area is clicked. (b) Write a program that changes the color of the message when the left mouse button is double clicked. [8+8] 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. Briefly explain some of the debugging tools provided by VB-6 .

[16]

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) 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 II Semester Supplimentary Examinations, Aug/Sep 2007 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. 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. Using control Array, design a simple calculator.

[16]

5. Write a VB implementation to perform the following. Read a master file containing the name, designation and Salary of persons. Copy the details of all those employees with salary < 10000 into one file, between 10,000 and 20,000 into a second file and the others to a third file. At the end, it should display the no of persons and the total salary payable to them. [16] 6. Briefly explain some of the debugging tools provided by VB-6 .

[16]

7. Suggest a VC++ implementation for a bus reservation system.

[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. 3

Code No: RR321901

III B.Tech II Semester Supplimentary Examinations, Aug/Sep 2007 VISUAL PROGRAMMING TECHNIQUES (Electronics & Computer Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ⋆⋆⋆⋆⋆ 1. (a) Discuss the naming conventions used for variables in VC++. (b) Explain the following terms. i. Workspace pane ii. Editor Area. iii. Output pane.

[6+10]

2. Discuss the various parts of the VC++ program with the help of a neat diagram. [16] 3. (a) How do we record a character in a document. (b) Write a routine to display the text in the view’s OnDraw( ) method. [6+10] 4. Using control Array, design a simple calculator.

[16]

5. Suggest a VC++ implementation for bank that maintains a list of it’s account holders, Balance on hand and their overdraft limit and updates the file as and when the account holders, perform transactions. [16] 6. Briefly explain some of the debugging tools provided by VB-6 .

[16]

7. The salary of an employee is calculated as Basic salary plus DA plus HRA. 20% of Basic Salary is D.A. and 8% Basic is calculated as HRA. Write a VB application to accept the name and Basic salary and display the Gross salary. [16] 8. (a) Explain the steps in creating an Active X control in VC++. (b) Explain how will you add automation and events to the Active X control in VC++. [8+8] ⋆⋆⋆⋆⋆

1 of 1

Set No. 4

Code No: RR321901

III B.Tech II Semester Supplimentary Examinations, Aug/Sep 2007 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. (a) What are message maps. (b) What are Afx functions? Explain about any two Afx functions you know. [6+10] 3. Describe the methodology to create a menu using V.B.

[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. 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. Suggest a format for a VB object that works as a calculator.

[16]

7. Assume that Income tax is payable at the rate of 25% of gross salary if it is between 1.5 and 2 lakhs, 25% if it is between 2 to 3 lakhs, and 30% beyond 3 lakhs. Suggest a VB implementation that accepts the name of a person, his basic salary, DA, HRA and CCA and computes his tax payable and displays the result. [16] 8. How do you develop internet applications using Visual Basic? ⋆⋆⋆⋆⋆

1 of 1

[16]

Related Documents


More Documents from ""