Professional Documents
Culture Documents
Pgdca 2 Sem Gui Programming in Visual Basic 951 May 2017
Pgdca 2 Sem Gui Programming in Visual Basic 951 May 2017
Pgdca 2 Sem Gui Programming in Visual Basic 951 May 2017
com
Q-2. Write a Visual program to demonstrate the use of a user Code No. : B/951
defined procedure. Second Semester Examination, May-2017
OR PGDCA
Write a Visual Basic program to take an integer as input PGDCA-106
from the user and display the factorial of the number using
loop control structure. Paper - I
Q-3. Write a Visual Basic program to demonstrate the use of GUI PROGRAMMING IN VISUAL BASIC
ComboBox in an application. The program should read Time : 3 Hrs. Max.Marks:100
the choice selected by the user through the ComboBox Note :Section 'A', consists of 10 very short answer type
and display the choice. questions, all of which are compulsory and should be
OR attempted first. Section 'B' consists of four short answer
What are the different techniques to handle errors in Visual type questions with internal options. Section 'C' consists
Basic? Write a small program to demonstrate how to of four long answer type questions with internal choice.
handle errors using the On - Error statement. Section-'A'
Q-4. Explain the file operations that can be performed using
Answer the following very short-answer-type
Visual Basic programs. What type of applications can be
created using file handling? questions in one or two sentences. (2x10=20)
OR Q-1. Name any two events associated with Mouse.
What are the different techniques to access data through Q-2. How can we write a one line comment in a Visual Basic
a Visual Basic application? What is the difference between program?
ADO and RDO? Q-3. How can you display today's date in a Visual Basic
Q-5. What are the different steps to create a data report for an program?
application? Q-4. What are the different kinds of loops in Visual Basic?
OR Q-5. For which purpose are functions like Cint and val used
for ?
Explain the use of the date/time controls like Calendar
Q-6. What is an Error handler?
and Timer. Write a program that displays the current date
and time after every 1 second. Q-7. What is the full form of ADO?
---x--- P.T.O.
http://www.hyvonline.com
P.T.O.