DipIETE
– CS (OLD SCHEME)
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 the best alternative in the following: (2x10)
a. Which of the following event is not supported by command button
(A) Click (B) Lostfocus
(C) Dblclick (D)
Keypress
b. _________ numeric function returns the
largest integer less than or equal to
numeric-exp
(A) floor (numeric-exp) (B) log (numeric-exp)
(C) ceiling (numeric-exp) (D)
cot (numeric-exp)
c. Give the output of the following code
dim mystr,str
str=”welcome”
mystr=left(str,1)
print mystr
(A) prints ”e” (B)prints ”welcom”
(C) prints ”elcome” (D)prints ”w”
d. Which controls cannot be placed in MDI
(A)picture box (B)timer
(C)tool bar (D)textbox
e. What is the difference between Form1.Hide and Unload Me?
(i)
The Unload statement removes the form from memory
(ii)
Form1 disappears from the screen but the square "End" icon on
the
Debug toolbar shows the project is still active.
(A) Both (i) and (ii) are true (B) (i) is true and (ii) is false
(C) Both are false (D) (ii) is true and (i)
is false
f. ____________ application is a Visual Basic application that lives
on a Web server and responds to
requests from the browser
(A)ASP (B) IIS
(C)DLL (D)Internet Explorer
g. The _________ command changes the name of a file or moves a file
from one directory to another on the same drive.
(A)
chdrive (B) chdir
(C)
name (D) rmdir
h. ___________ tag is used for creating unformatted html text
(A)<pre>
(B)<h1>
(C)<br> (D)<tg>
i. how
to create a link without underline in html
(A)
<a href="http://www.google.com"
style="text-decoration">google</a>
(B)
<a href="http://www.google.com"
style="text-decoration:none">google</a>
(C) <a
href="http://www.google.com" >google</a>
(D) none of the above
j. ____________ is used to enable interprocess communication and
dynamic object creation in any
programming language that supports the technology
(A)
COM (B) OLE
(C) ActiveX (D) RMI
Answer
any FIVE Questions out of EIGHT Questions.
Each
question carries 16 marks.
Q.2 a. Explain components present in Visual Basic IDE
(8)
b. What are MDI
and SDI? Explain. (4)
c. What is code
window? How it is useful in VB programming? (4)
Q.3 a. How variables are declared in VB? What is benefit of using option explicit
statement? (4)
b. Explain
intrinsic data types in VB
(6)
c. Explain about
scope and life of a variable.
(6)
Q.4 a.
What do you mean by array? Explain about
the types of array supported in VB. (4)
b.
Is Parameter passing supported in VB ?
If yes explain about call by value and call by reference (6)
c.
Briefly explain the following Rnd ,
Round , Abs , Sgn functions in VB with examples (6)
Q.5 a. Write
a VB program to implement a calculator for arithmetic operations. (8)
b.
Explain about Flex Grid control. (8)
Q.6 a. Explain about the
advantages of using a control array & how it is created? (6)
b.
Why VB is object based programming
language not object oriented
programming language discuss
? (10)
Q.7 a. What
is OLE ? Differentiate between OLE container and OLE server (8)
b.
Explain sharing of files
(8)
Q.8 Explain the following (44=16)
(i)
Status Bar Control
(ii)
List box and combo box
(iii)
Difference between modal and modeless dialog box
(iv)
Creating menus at design time
Q.9 a. What
is a Web Server? Explain about IIS ? (8)
b. Write the solutions for the following
(i) How to change the color
of background window or text (2)
(ii)
List the five methods of common dialog box control & explain about any one. (6)