Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
190 views

rr321901 Visual Programming Techniques

This document contains 4 code sets related to a Visual Programming Techniques exam. Each code set contains 8 questions related to topics like the Visual C++ integrated development environment, controls, dialog boxes, file handling, and database access. Students were instructed to answer any 5 of the 8 questions in each code set, which ranged from definitions and short explanations to longer examples and implementations.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
190 views

rr321901 Visual Programming Techniques

This document contains 4 code sets related to a Visual Programming Techniques exam. Each code set contains 8 questions related to topics like the Visual C++ integrated development environment, controls, dialog boxes, file handling, and database access. Students were instructed to answer any 5 of the 8 questions in each code set, which ranged from definitions and short explanations to longer examples and implementations.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Code No: RR321901 Set No.

1
III B.Tech II Semester Regular Examinations, Apr/May 2006
VISUAL PROGRAMMING TECHNIQUES
(Electronics & Computer Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. (a) Explain clearly how to use application wizard to create programs.


(b) Describe the use of following types of files produced by VC++ compiler: .obj,
.pch, .pdb, .exe
[8+8]

2. Discuss the various parts of the VC++ program with the help of a neat diagram.
[16]

3. What are keyboard message handlers? How are they useful? Give an example to
illustrate them. [16]

4. (a) What is the difference between check box and option button. Illustrate with
an example.
(b) What is the difference between List box and Combo box. Illustrate with an
example.
[8+8]

5. A master file contains the name, designation and basic salaries of employees. Only
the financial controller can modify these fields. However, at the end of each month
the systems analyst gets the file details into another file and computes their salaries.
Assume a DA of 50% if the basic is less than 5000, 40% if basic is between 5001
to 10,000 and 35% for cases beyond 10,000/- and a uniform HRA of 20% of basic.
Suggest a VC++ implementation. [16]

6. Develop a VB application which links Microsoft excel worksheet and perform some
operations on it. [16]

7. Suggest a VB interface that accepts two numbers and an arithmetic sign (like 5, 7
and +) and does the arithmetic operation correspondingly and displays the result.
The interface should have controls as required. Use list box for operators. [16]

8. Explain the Browser control using VC++. [16]

⋆⋆⋆⋆⋆

1 of 1
Code No: RR321901 Set No. 2
III B.Tech II Semester Regular Examinations, Apr/May 2006
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) 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. Explain the various controls of VC++. [16]
5. A folder contains individual files pertaining to different departments of a college.
Each department file contains details like the name of the head, names of the faculty,
non teaching staff and their personal details (You may assume 2-3 relevant details
in each case). There are 5 colleges run by a trust and the details of each college is
stored in a separate folder as described. Suggest a VB implementation that allows
the chairman of the trust to view and / update any relevant information pertaining
to any employee. [16]
6. Develop a VB application which links Microsoft excel worksheet and perform some
operations on it. [16]
7. (a) What is ODBC? What is its significance? How do you create a new ODBC
data source?
(b) Give the steps involved in accessing a table called Author from the Biblio.mdb
stored in directory c : \windows\temp.
[8+8]
8. Explain the Browser control using VC++. [16]

⋆⋆⋆⋆⋆

1 of 1
Code No: RR321901 Set No. 3
III B.Tech II Semester Regular Examinations, Apr/May 2006
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. Discuss the various parts of the VC++ program with the help of a neat diagram.
[16]

3. (a) Explain how to get text on the button of the toolbar.


(b) How do we increase the size of the buttons on the toolbar.
[8+8]

4. (a) What is the difference between check box and option button. Illustrate with
an example.
(b) What is the difference between List box and Combo box. Illustrate with an
example.
[8+8]

5. A master file contains the name, designation and basic salaries of employees. Only
the financial controller can modify these fields. However, at the end of each month
the systems analyst gets the file details into another file and computes their salaries.
Assume a DA of 50% if the basic is less than 5000, 40% if basic is between 5001
to 10,000 and 35% for cases beyond 10,000/- and a uniform HRA of 20% of basic.
Suggest a VC++ 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. Suggest a VC++ implementation for a bus reservation system. [16]

8. Explain the Browser control using VC++. [16]

⋆⋆⋆⋆⋆

1 of 1
Code No: RR321901 Set No. 4
III B.Tech II Semester Regular Examinations, Apr/May 2006
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. (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. Write a program using V.B. to perform arithmetic operations. Your user interface
should consist of three text items to accept input and display output. Four option
buttons to indicate the operation to be performed. Perform the operation when
the command button is clicked. [16]

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. Briefly explain some of the debugging tools provided by VB-6 . [16]

7. Explain in detail the following objects ADO, RDO. [16]

8. Explain the Browser control using VC++. [16]

⋆⋆⋆⋆⋆

1 of 1

You might also like