How To Exam?

a knowledge trading engine...


University of Mumbai 2006 B.Sc Information Technology TY-IT--- VISUAL BASIC - Question Paper

Tuesday, 16 July 2013 08:35Web



Q one is cumplosory
Solve four ques. from Q2 to Q 7
marks 100
Duration three hours f

C0N/4428-06.

&.SC. (Tvfo. TecK) O&m'V') u-

Visua.| l)c'iC    C    XE-4522

( 3 Hours )    v    [ Total Marks : 100

N. B. 1. Question No. 1 is compulsory.     ov, o6,

2.    Solve any four from question no. 2 to question no. 7

3.    Make suitable assumption wherever necessary and mention them in your answer.

Q. 1 a. Create a project that contain two sets of option buttons one for color and other [8] for font. There are three label controls on the form for displaying name, city, phone number. The values (name, city and phno) are accepted from user. The selection of respective option button will change forecolor and font of the text displayed in user selected label control.

b.    Explain with syntax open statement to open a file.    [6]

What will happen if a non-existing file is opened in

1.    Input mode

2.    Output mode

c.    Explain do-while loop with suitable example.    [6]

Q. 2 a. Explain function procedures with example.    [8]

Explain ByVal and ByRef function parameters with suitable example.

b.    Explain font dialog box with at least five properties.    [6]

c.    Explain InputBox statement with suitable example.    [6]

Q.3 a. Write a VB code that will store, the contents of a list box in a sequential file [8] data.txt when the user click on the command button Have. When the user click on the command button Retrieve, the contents of the file should be copied into the list box. The user must be able to add and delete the item from the list box using the command buttons Add and Delete respectively.

b.    Write and explain the syntax for opening a file. Giv suitable example.    [6]

c.    Explain the following controls    [6]

Command button Textbox Label control

Q. .4 a. Using printer object write a code to print the result of a student. Necessary    [8]

information should be taken from the user through textboxes.

b.    Define variable.    [6]

Write rules for forming the variable name.

Give suitable examples (two for each) for valid and invalid variables with reason.

c.    Explain the following methods of the form.    [6]

Show

Hide

Also differentiate between show and load

Hide and unload

Q. 5 a. Create a project that will maintain a list of Ice-cream flavors. Use combo box to [8] hold flavors and use command buttons to Add flavor Remove flavor Clear list

Display flavor count Exit

Necessary validations should be done while adding or deleting flavor.

b.    Differentiate between property, method and an event with example.    [6]

c.    Explain close statement of file with general form.    [6]

Also write housekeeping tasks performed by close statement.

Q. 6 a. Explain property let procedure and property get procedure with suitable example. [8]

b.    Explain Resume statement with example.    [6]

c.    Explain different types of recordset object.    [6]

Q. 7 a. Create a project which accept a main string in text box named txtmainstr and a [8] substring in textbox txtsubstr. Find out and display in label how many times









Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER University of Mumbai 2006 B.Sc Information Technology TY-IT--- VISUAL BASIC - Question Paper