Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Section - A (Long Answer Question)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Roll No.

BCA- 10 (Bachelor of Computer Application)


Fourth Semester, Examination - 2012
BCA- 404
Visual Basic
Time: 3 hours

Max. Marks: 60

Note:- The Question paper has been divided in three Sections- A, B


and C. Section 'A' is Long answer type of 30 marks. Section 'B' is
Short-answer type of 20 marks and Section 'C' is Objective-answertype of 10 marks.

Section A
(Long answer question)
Note: Answer any two questions. Each question carries 15 marks. 15X2=30
Q.1
Describe most important features of a Visual Basic Language. What do
you mean by IDE? Explain each of their components.
Q.2
What is Event? Explain the Key Press, Key Up and Key Down event with
example.
Q.3
Write the procedure to create a form and use a data control on it, to
connect any MSAccess database.
Q.4
What is Common Dialog Box? How many types of Common Dialog box are
there in VB
6.0? Describe each with suitable example.

BCA-404

Page 1

Section B
(Short answer question)
Note: Answer any four questions. Each question carries 5 marks.
Q.1

What is the difference between function and procedure?

Q.2

What are the different types of control in VB? Explain.

Q.3

What is control array in VB? Explain its silent features.

Q.4.

Explain the function of Debug window in Visual Basic.

Q.5.

What is the difference between pull-down and pop-up menus?

Q.6.

What are the advantages of ADO Data Control?

Q.7.

How will you deal with syntax errors and logical errors?

Q.8.

What are the different looping statements used in Visual Basic?

5X4=20

Section C
(Objective question)
Note: Answer all questions. Each question carries 01 marks.

1X10=10

Write True/False in front of the following.


1. Module-level variables have wider scope than global variables.
2. Variant data type reserve 16 byte memory to store data.
3. The statement Dim int Grades (1 to 10) As integer reserves memory for
exactly 10 elements.
4. The statement int Count=int Count+1 is a counter statement.
5. The Open statement is used to open random access files.
BCA-404

Page 2

6. Visual Basic projects can have more than one form.


7. Once you have initially placed a command button on a form, you cannot
reposition it in any way even during Design time.
8. The Len function is used to determine the length of a list variable (array).
9. The Option Explicit statement must be included in the Form-Load event
procedure.
10. The Visible property is usually used with message boxes to make them
disappear.

BCA-404

Page 3

You might also like