PU-4 BCA-1
BCA-IV SEMESTER
END SEMESTER
EXAMINATION, JUNE-2021
PROGRAMMING WITH
VISUAL BASIC. NET
Time 3 Hours Maximum Marks: 70
NOTE: Candidates are required to give answer in their
own words as far as practicable.
The questions are of equal value.
Answer any five Questions.
Q 1.
Objective
I.
Who developed Visual Basic?
a.
Symantec
b.
Ashton Tate
c.
Microsoft
d.
Sybase
II.
If you keep a va able undeclared, it is
automatically taken as to which of the following data type in Vi-sual Basic?
a.
Char
b.
Int
c.
Object
d.
String
III.
In Visual Basic, Which of the following is used
for coding single-alternative and dual alternative selection structures?
a.
Switch-Case block
b.
If... Then..... Else statement
c.
Function overloading
d.
Recursion
IV.
Object respond to an event by writing_______
a.
Defining Events
b.
Operations
c.
Defining actins
d.
Event procedures
V.
In Visual Basic, which of the following
keyword tells the computer to pass the variable's address rather than its
contents?
a.
By Add
b.
By Point
c.
By Ref
d.
By Val
VI.
The default property for a text box control
is_____
a.
Text
b.
Enable
c.
Multiline
d.
Password Char
VII. __________ array size can be changed at run-time
a.
Fixed
b.
Preserve
c.
Dynamic Array
d.
Multidimensional
VIII. ________is the process of finding and removing errors.
a.
Checking
b.
Compiling
c.
Debugging
d.
Quick watch
IX. __________loop repeats a group of statements for each item
in a collection of objects or for each element of an array.
a.
While loop
b.
Do Until loop
c.
Do While loop
d.
For each loop
X. __________indicates whether a particular condition is
on or off.
a.
Text Box
b.
Check Box
c.
List Box
d.
Combo box
XI. The________ is a tool used for both the Input and Output purpose.
a.
label
b.
Text Box
c.
Combo Box
d.
Command button
XII.
In visual basic the declaration of
variables is done by _____ key word.
a.
Int
b.
dim
c.
Static
d.
Declare
XIII.
A ______ variable is one that is declared inside
a procedure.
a.
global
b.
local
c.
external
d.
None of the above
XIV. ______do not return a value.
a.
Sub procedure
b.
Function procedure
c.
Property procedures
d.
All of these
XV. The _____ allows direct exit from a For loop,Do loop, Sub procedure, or Function procedure.
a.
Break
b.
Exit
c.
Exit for
d.
Exit Do
Q 2.
What do you mean by.Net framework. Explain
its fea-tures with Architecture.
Q 3.
Explain various control flow statements and
conditional statements using program code.
Q 4.
Write a program to illustrate the use of
timer control.
Q 5.
What do you mean by IDE of VB.Net. Explain
the various features of.Net.
Q 6.
Explain the following terms -
·
Check Box
·
Scroll Bar
·
Picture Box
Q 7.
How is OLE control used to handle multiple
OLE objects. Describe with Example.
Q 8.
Write a program to find factorial of a
number.
Q 9.
What is scroll bar? Explain its use with
Image control.
Q 10.
Explain all operators available in VB
using an example in a program.
--x--