NOTE: There are 9 Questions in all.
· Question 1 is compulsory and carries 20 marks. Answer to Q. 1. must be written in the space provided for it in the answer book supplied and nowhere else.
· Out of the remaining EIGHT Questions answer any FIVE Questions. Each question carries 16 marks.
· Any required data not explicitly given, may be suitably assumed and stated.
Q.1 Choose the correct or best alternative in the following: (2x10)
a. Which of the following is not a Visual Basic Object?
(A) Command Object (B) Form
(C) Variable (D) Text Box
b. When is the Form_Mouse Down ( ) procedure executed?
(A) When the user clicks the mouse on the exit button.
(B) When any of the mouse button is pressed inside a free area of the form.
(C) When the mouse inside a free area of the form.
(D) None of these.
c. What is the value of the source parameter of the Form_Drag Drop ( ) procedure?
(A) Source = 0
(B) Source = the name property of the control that was dropped
(C) Source = the tag property of the control that was dropped
(D) None of these
d. Which property should you set to change the height and width of a cell?
(A) Row Height.
(B) Column Width.
(C) Both Row Height and Column Width.
(D) We won’t change the height and width of a cell.
e. When you set the Font Transparent property to true and display text in a form with the print method, then which of the following happens?
(A) The text will be drawn in white.
(B) The text will not be visible.
(C) The text is displayed with the same back ground as the form.
(D) None of these happen.
f. HTML is the short form of__________
(A) Hyper Text Monitor Language.
(B) Hyper Type Markup Language.
(C) Hyper Text Markup Language.
(D) Hyper Text Management Language.
g. What would be the output of the following piece of code?
Dim K
Dim A as Integer
K=26/4
A=K
Print K
(A) 6 (B) 7
(C) 6.5 (D) 6.25
h. Visual Basic applications act as a _________tool for enterprise solutions.
(A) Database Package (B) Front-Ent Tool
(C) Browser (D) Network protocol
i. How many MDI parent forms can a Visual Basic Program have?
(A) 255 (B) no limit
(C) 1 (D) depends on the number of child
forms.
j. What are the different ASP objects that Online enterprise solutions use?
(A) Request, Response, Application, Session and Server.
(B) Request, Application, Response, Session and Server.
(C) Initialize, Read, Resize, Write, Terminate.
(D) Create, Execute and Destroy.
Answer any FIVE Questions out of EIGHT Questions.
Each question carries 16 marks.
Q.2 a. Differentiate between
(i) List Box and Combo Box.
(ii) Project Window and edit Window. (3x2=6)
b. Briefly describe each of the following IDE features. (10)
(i) Tool Bar
(ii) Tool Box
(iii) Controls
(iv) Forms
Q.3 a. Explain the different types of data types in Visual Basic. (6)
b. Write a program in Visual Basic to print the values 1 to 5 and EXIT when the counter value is 6 using EXIT-DO statement. (6)
c. Explain the use of SELECT-CASE statement with an example. (4)
Q.4 a. Explain the difference between Call by Value and Call by Reference. (6)
b. Explain the scope rules of a variable defined with in procedure or outside the procedure. (6)
c. How do you create a Class in Visual Basic? (4)
Q.5 a. Describe the basic concept of Array handling in Visual Basic. (6)
b. What are control arrays? What is the use of it? (4)
c. Write a simple program in Visual Basic to print the elements of an array. (6)
Q.6 a. How do you activate the font choice box? Explain the flags properly. (8)
b. With respect to the menu editor explain the following
(i) shortcut box.
(ii) Arrow buttons. (2x4=8)
Q.7 a. Explain File System Object. (2)
b. Write a function that deletes all files in a given folder. (6)
c. What is OLE Drag and Drop? How does it work? Explain. (8)
Q.8 a. Explain the following functions:
(i) Datavalue()
(ii) Abs()
(iii) Trim() (6)
b. Explain the concept of frames in HTML with suitable examples. (6)
c. Draw and explain the usage of various character formatting tags in HTML. (4)
Q.9 Write short notes on any TWO
(i) DLL servers.
(ii) File list boxes.
(iii) Object browser. (8x2=16)