Sunteți pe pagina 1din 4

Class: BCA I

Sub: Visual Basic


UNIT I
Q. 1. What do you understand by event driven programming language? Differentiate it with
procedural programming language.
Q.2 Explain various features and editions of visual basic.
Q.3. What do you mean by IDE? Explain its components in brief.
Q. 4. What is meant by data type? Explain all datatypes available in vb. Explain various data
conversion function with syntax.
Q.5. Define object, property, event and method with example.
Q.6. What is variable and constant? How it is declared? What is meant by scope of variable?
Q. 7. Explain various types of operators in vb?
Q. 8. What is msgbox and inputbox in vb(Types of dialog boxes) ? Explain with suitable
example.
Q. 9. What are various control structures in vb? Explain any two with example.
Or
Explain various formats of if statement with example. Differentiate it with select case.
Or
Explain do while and for next loop with suitable example.
Q. 10. How you can make an exe file in vb?
Q. 11 What is form? Explain properties, events and method of form.

UNIT II
Q.1. What do you mean by array? How it is declared? How it is stored in memory? Explain types
of array.
Q. 2. What do you understand by control array? Explain with the help of suitable example.
Q. 3. What are procedures and function? How they are useful?
Q.4. What is recursion? Explain with suitable example.
Q. 5. What is meant by module? Explain standard, form and class module.
Q. 6. What are the controls that provide choices to the users? (checkbox, option button)
Q. 7. Explain any five library function of following category
i) Date and time ii) String iii) format
iv) validation
Q. 8. What are the benefits of using frame control? Explain scrollbar control with properties and
methods.
Q. 9. Explain various methods of passing arguments to function/procedures with suitable
example. OR
Explain call by value and call by reference.
Q. 10. Explain various keyboard and mouse events.
Q.11. Write short notes on following:
i) Listbox and combobox
ii) Drag and drop operation
iii) Timer control
iv) Label and textbox
v) Picturebox and image box control

UNIT III
Q.1. How you can create MDI application in VB? What is the different between SDI and MDI?
2009, 2010, 2013, 2014
Q.2. Write short notes on menu editor. Write steps of creating popup menu with suitable
Example. Give difference between visible and enabled property of menu control.
2009, 2010, 2011

Q.3. Name the controls that supports graphics? Explain various graphics properties and
methods? 2011, 2014
Q.4. Explain toolbar and status bar and progress bar control and imagelist control. 2009,2011
Q.5. Explain short notes on following:
i) Common dialog control 2012, 2009, 2014
ii) Animation control 2012, 2010, 2013
iii) Tabbed dialog control 2010
iv) dtpicker and calendar control
Q.6. What is sub main and startup object? How can you specify startup object?

UNIT IV
Q. 1. Write down various methods of error (exception) handling? Explain how it is implemented
inVB. 2012, 2014
OR
Explain on error goto statement. Explain err object.
Q.2. What do you mean by error? Explain various types of errors.
OR
Define following with suitable example.: 2011
i) Design time debug ii) Run time debug

Q.3. What do you mean by debugging? Explain various debugging tools available in VB.
OR
What is the purpose of immediate window and watch window in VB?
OR
Write short notes on error trapping tools. 2014, 2013, 2012, 2011, 2010
Q.4. What are different ways of accessing files? What is the purpose of file handling in VB?
Write a program to perform read and write operation in sequential file. 2014, 2012,
2011
Q.5. Why random file is called random? Explain. 2011
Write a program to perform read and write operation in a random access file.

UNIT V
Q.1. Explain visual data manager. Write the steps for connectivity using RDO. 2009
Q.2. What are the uses of data report? Create a data report using data environment. Explain
how groups can be added in data report. 2009, 2011, 2012, 2014
Q.3. What is crystal report? Write steps to generate crystal report in VB.What are the
differences between data report and crystal report? 2010, 2011, 2012, 2013
Q.4. Explain following with suitable example: 2010
ODBC 2012, 2013
RDO 2012
ADO
Connection Object
Q.5. Which method is generally preferred for finding a specific record in a database? 2011
Q.6. What is recordset? Explain different types of recordsets. 2011
Q.7. What is Remote Data Object? Write its main features. 2012
Q.8. Explain difference between DAO, RDO, ADO. 2013
Q.9. What is Data environment? Explain how to access data using data environment. 2013

Programs
!. WAP to generate first 10 even numbers. 2012
2. WAP in VB to find factorial of given number through recursion. 2012
3. WAP to find the sum of following series 1+3+5+ .+99 for user given n number of
terms. 2011
4. Write a function which will accept a number and return factorial of given number. 2011
5.Write a code to accept 10 number from user store them in an array and find the second largest
no from it. 2011
6. WAP in VB to print first n numbers of following series 0,1,1,2,3,5,8,.n(fibonancii)
2010,
2013
7. WAP to sort n number of elements of one dimensional array in ascending order. 2010
8. WAP to read the values from file and perform sum of values. 2014
WAP in VB to create a sequential file for the following dataitem: 2010
i) Employee No.
ii) Employee Name
iii) Basic Salary
iv)DA
v) HRA
vi) Gross pay
9. WAP to calculate factorial of all the numbers from the nos from 1 to n. 2009
10. WAP to calculate power of a to b ab using recursion. 2009
11. WAP to perform read and write operation in a random access file. 2009

S-ar putea să vă placă și