TECHNO INDIA HOOGHLY
Class Test Slot-I
Computer Programming (BCA203)
Time: 1Hr 30 Minutes Marks: 30
Group-A
Select the correct alternative from the Following: 1x10=10
1. To detect the un defined variable, The statement is
a) Option Base b) Option Explicit
c) Option Compare Test d) None of this
2. What will be the result of 5 MOD 100?
a) 2 b) 1
c) 0 d) Error
3. Dim x, y As Integer. What the data type of x, and y?
a) Both x and y are integers b) x is a string and y is a integer
c) x is a variant and y is a integer d) Both x and y are variants
4. “Msgbox” is a
a) Library Function b) Common Dialog Box
c) Modal Dialog Box d) None of this
5. Which control has no Event?
a) Text Box Control b) Common Dialog Control
d) Timer Control d) Line Control
6. The basic Difference between the function and subroutine is
a) Function is Public and Subroutine is b) Function has return type, subroutine
Private has not
c) Both (a) and (b) d) None of this
7. Which one is an event in Visual Basic?
a) Change b) Key Down
c) Both (a) and (B) d) None of this
8. What is the size of a Variant variable?
a) 16 Bytes b) 22 Bytes
c) Both (a) and (b) d) None of this
9. Which one is not a Visual Basic Operator?
a) + b) \
c) != d) ^
10. Which one is a Form method?
a)Font b) Hide
c) Caption d) None of this
Group-B
Answer any 4 of the following Questions: 5x4=20
1. What is an IDE? Name the different components of an IDE
2. State the Differences between Call By Value and Call By Reference
3. How many Data types are available in Visual Basic? Specify how many bytes are
required to implement the data?
4. Differentiate between static array and dynamic array
5. Write down the Select-Case structure with Example.
6. Write a click event procedure to calculate the sum of the digits of a number.
7. Write down a click event procedure to display the FIBONACCI Series up to N
numbers. The output should be printed on a List Box.
***