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 property of the form?
(A) drawmode (B) font
(C) appearance (D) border
b. Which of the following is not a VB datatype?
(A) string (B) currency
(C) date (D) variable
c. Which of the following control structure lead to spaghetti’code?
(A) Do…..While (B) Goto
(C) Select-case (D) For-next
d. What is the output of the following code segment?
Dim I
Dim A as Integer
I = 25/4
A = I
Print I
(A) 6 (B) 6.25
(C) 6.5 (D) 6.3
e. Arrays in visual basic cannot be
(A) fixed arrays (B) dynamic arrays
(C) open-ended arrays (D) none of these.
f. Which of the following is not true about Form-Initialise event?
(A) Event is triggered first and only once.
(B) Event occurs before load event.
(C) Event where one can place code that sets the initial properties of the form.
(D) Event triggers Form-GotFocus event.
g. Which of the following is not a file command?
(A) chdrive (B) chdir
(C) mrdir (D) delete
h. LOF command returns
(A) length of file (B) number of words in file
(C) number of characters in file (D) none of these
i. ADO refers to
(A) Abstract Data Object (B) ActiveX Data Object
(C) Actual Data Object (D) None of these
j. Which of the following statements is true about creating active X control?
(A) One must create the control completely from scratch.
(B) One can use a single standard control in the creation of an ActiveX
control.
(C) One cannot add properties to a standard control to enhance it’s
capabilities.
(D) one can use standard controls as well as drawing methods to create the
interface of custom control.
Answer any FIVE Questions out of EIGHT Questions.
Each question carries 16 marks.
Q.2 a. Briefly explain the different controls provided in the toolbox of IDE of VB. (6)
b. Why do you call visual basic as event driven programming? Explain with an example. (5)
c. Mention the different object oriented features of visual basic. (5)
Q.3 a. Differentiate between passing parameter by value and passing parameter by reference in writing visual basic function. Illustrate with an example. (6)
b. Differentiate between DO……UNTIL and DO…..WHILE loops. (6)
c. Define fixed arrays and dynamic arrays. Illustrate their declaration with examples. (4)
Q.4 a. Give the steps to create a class in visual basic. Illustrate with an example. (6)
b. How is common dialog box control useful in VB programming? Explain the common dialog box methods with examples. (6)
c. Write a function to add elements of two arrays and store it in another array. Function should also print the array. (4)
Q.5 a. Write a note on encapsulation of ActiveX controls. (5)
b. Briefly explain the different commands provided in VB. (5)
c. What are the uses of following functions:
(i) FileCopy
(ii) FileDateTime
(iii) GetAttr
(iv) SetAttr (6)
Q.6 a. Mention different file system objects and their uses. (5)
b. Illustrate the use of different clipboard methods with examples. (5)
c. What are the uses of DLL? Explain the syntax of using DLL in VB programming. (6)
Q.7 a. Explain the following objects with respect to menu editor.
(i) Index Box.
(ii) Arrow Buttons
(iii) Checked check box
(iv) Window list checkbox. (4 3 = 12)
b. What do you understand by MDI? Define parent form and child form with respect to MDI. (4)
Q.8 a. Create a Web document in HTML that displays on a browser window the following table: (6)
SYLLABUS FOR SEMESTER 4 |
||
Subject |
Code |
Max Marks |
System software |
D334 |
100 |
C-Data Structures |
D335 |
100 |
Computer graphis |
D336 |
150 |
b. Differentiate between DHTML & HTML. (4)
c. Briefly explain the attributes of following HTML tags:
(i) IMG tag
(ii) Anchor tag (6)
Q.9 Write short notes on any four of the following:
(i) SDI environment.
(ii) COM/OLE.
(iii) DLL servers.
(iv) Flex Grid Control.
(v) VB Script. (44=16)