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. What is the correct HTML for making a hyperlink?
(A) <a href=http://microsoft.com>homepage</a>
(B) <a>http://microsoft.com</a>
(C) <a url=http://microsoft.com>homepage</a>
(D) <a name = http://microsoft.com>homepage</a>
b. Which property of the form changes the forms title?
(A) Name (B) Heading
(C) Title (D) Caption
c. What is the correct HTML for adding a background color?
(A) <body bgcolor=“yellow”> (B) <body bg=“yellow”>
(C) <background>yellow</bg> (D) <body color=“yellow”>
d. Name the only property supported by a collection?
(A) Name (B) Index
(C) Add (D) Count
e. _________ function returns the current date and time
(A) Date() (B) Now()
(C) DTime() (D) Time()
f. What is the correct HTML for inserting an image
(A) <image src= “image.gif”> (B) <img src = “image.gif”>
(C) <img>image.gif<\img> (D) <img href = “image.gif”>
g. Visual Basic does not allow the following concepts of OOPs.
(A) Data Abstraction (B) Inheritance
(C) Polymorphism (D) Encapsulation
h. Every data item written to a sequential file is always the same size.
(A) True (B) False
i. The __________ data type is designed to store all the different possible visual basic data received in one place
(A) Byte (B) Boolean
(C) Variant (D) Precision
j. The Exit For statement is required in the For/Next repetition structure
(A) True (B) False
Answer any FIVE Questions out of EIGHT Questions.
Each question carries 16 marks.
Q.2 a. Give the output of the following codes
(i) for i=1 to 2
for j=2 to 1 step –1
print i+j
next j
next i
(ii) dim s
dim x as boolean
s=“Welcome to Visual Basic”
x=s like “*e*”
print x (4)
b. What is event driven programming? (4)
c. What is the difference between passing by value & passing arguments by reference in Visual Basic Procedures? Explain with suitable example for each? (8)
Q.3 a. Discuss various data types used in VB. (8)
b. Explain with example the following functions
(i) Special format functions.
(ii) String functions. (8)
Q.4 a. Give the steps to create control arrays in VB. (4)
b. Write a function to implement insertion sort? (7)
c. How split function is used in arrays? (5)
Q.5 a. Discuss OOP in VB. (4)
b. Write a simple program to create a class. (8)
c. Discuss the two types of arrays in VB. (4)
Q.6 a. Briefly explain any 4 methods of file system object. (8)
b. What is OLE server and OLE container? (8)
Q.7 a. Explain the use of Timer control. (8)
b. Differentiate between MDI & SDI form. (8)
Q.8 a. Explain the features of VB Script that are not present in VB. (6)
b. What are ActiveX controls? How to use ActiveX controls on a web page? (10)
Q.9 Write short notes on any TWO :-
(i) IIS.
(ii) DLL servers.
(iii) Flex grid control. (8 + 8)