Meghnad Saha Institute of Technology Department of CA

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

MEGHNAD SAHA INSTITUTE OF TECHNOLOGY

Department of CA
Class Test: CA4

Stream: MCA Semester: 5th Full Marks: 5 Duration:10 mins

Sub. Name: Windows Programming with VB Code: MCAE502B

1. To find out the length of a string S, ______________ is used in VB.


a) S.length
b) S.length( )
c) strlen(S)
d) len(S)

2. To prevent user to enter character other than 0 to 9 in a text box the code should be
written in ______________ event.

a) LostFocus
b) GotFocus
c) Change
d) Keypress

3. Attempting to use Redim on a fixed-sized array is


a) a syntax error b) permitted without preserve
c) permitted with preserve
d) permitted only for upper value of the index

4. The property returning the number of items in the List control is


a) ListIndex b) ListCount c) Text
d) MultiSelect

5. Which of the following is not an MDI Application?


a) Microsoft Word b) Microsoft Excel c) Microsoft Power Point
d) Notepad

You might also like