Вы находитесь на странице: 1из 1

University of the Punjab, Pakistan

BSc Computer Studies


Visual Basic 6.0 Year -2006
Q1. Encircle the correct option.

Questions (A) (B) (C) (D)


To display a message
1 _____________________ function is Input box Msgbox Message Box None of these
used.

____________ Variable is used to access


2 Variant Object Actual Object None of these
an actual object in VB. . .

To display a default value in text box


3 Caption Text Default None of these
_____________ property is used

With _____________ you can supply Optional Named Can supply


4 None
arguments in any order. arguments arguments arguments

The ___________ results in line – by –line


5 Step over Step into Step Out None of these
stepping with in the procedure.

You can force a variable to preserve its


None of
6 value between procedures called by using Default Volatile Static
these
___ keyword.

An integer array with 10 elements can be Dim a (9) . Dim a (10) Dim a [10] as
7 Dim a (10)
define in VB as __________________. as integer as integer integer

Const pi as
Which is a valid way to declared the Const pi as Const pi =
8 double = none of them
constant double 3.141592
3.141592

To create a new file the file must be opened Create Append


9 Run mode None of these
in ___________ Mode Mode

If the record set fetch no record , then the Can not be


10 True False None of these
of property of record set to _______. determined

Answer Key

1. 2. 3. 4. 5. 6. 7. 8. 9. 10.

B B B B B C B B D C

For more information and papers, please like the page https://www.facebook.com/it4all.pk/ or visit
http://informationtechnology.pk. Send your queries on info@informationtechnology.pk

Вам также может понравиться