0% found this document useful (0 votes)
47 views

Visual Basic 2007

This document contains the questions for a Visual Basic II exam for the Bachelor of Information Technology (B.Sc. IT) Third year Semester V program at Mumbai University. It includes 7 main questions with multiple sub-questions on topics like creating VB applications to perform tasks, explaining VB concepts and features, and file input/output operations.

Uploaded by

lakshay_narula
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

Visual Basic 2007

This document contains the questions for a Visual Basic II exam for the Bachelor of Information Technology (B.Sc. IT) Third year Semester V program at Mumbai University. It includes 7 main questions with multiple sub-questions on topics like creating VB applications to perform tasks, explaining VB concepts and features, and file input/output operations.

Uploaded by

lakshay_narula
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Visit hiddencomputertricks.blogspot.com for more...

Mumbai University Bachelor of Information Technology (B.Sc. IT) Third year Semester V Visual Basic II November 2007 Con /4461-07. (3 Hours) N.B. BS-4569 [Total Marks: 100

Q1

Q2

Q3

Q4

1. Question No.1 is Compulsory. 2. From the remaining (Q Nos. 2 to 7) attempt any four. 3. Draw neat labeled diagram whenever necessary 4. Answer to the same question must be written together. Answer the following: a) Create a project to find all prime numbers between 1 to the value entered in the text box txtno. Use a command button Find named emdfind which will display all the prime numbers on the current form. b Explain event-driven, object-oriented and procedure oriented languages. ) Explain naming rules and naming conventions while declaring constants c) and variables. a) Create an application, which will ask the user to input his name and a message. Display the two items concatenated in a label, and change the format of the label using option buttons and check boxes for selection, the user can make the label bold, underlined or italic and change its color. Include command buttons to display the message in the label, clear the text boxes and label, print the form, and exit. b What do you mean by formatting a data? List the different formatting ) functions. Explain any two of them. What is constant? Explain different types of constants with example. c) a) Create a project for R 'n R that contains a dropdown combo box for the coffee flavors and a list box of the syrup flavors. The controls should have labels above them containing the words Coffee and Syrup. Enter the initial values for the syrup flavors and coffee flavors when the form is loaded. The user will be able to add more coffee flavors to the list at run time. Include one menu item to print all the flavors and another to print only selected item from the list. These print commands belong to File menu. Include Edit menu with commands to Add coffee flavor, remove coffee flavor, clear coffee list and display coffee count. b Explain the With .., End With block. ) Explain Msgbox and Inputbox functions with examples. c) a) Write a project to maintain the Customers table (CustomerID Text Primary Key, CompanyName Text; ContactName Text, ContactTitle Text, Address Text, City Text, Region Text, Postal Code Text, Country Text, Phone Text, Fax Text) Allow Adds and Deletes to the database. Include all navigation buttons. On an Add, disable the navigation and

08 06 06 08

06 06 08

06 06 08

Hi

Visit hiddencomputertricks.blogspot.com for more...

Q5

Q6

Q7

Delete buttons so that the only options are Save or Cancel. b Explain Form_Load and Form_Activate events. ) Explain the following properties of CheckBox control c) i. Value ii. TabIndex iii. Enabled iv. Style v. ToolTipText vi. Picture a) Explain color and font dialog boxes in detail. b Explain option Explicit statement. ) What is class in VB? Explain how it is used in VB projects. c) a) Create an application, which will enter the employee details such as eno, ename, eaddr, eph. ebasic-salary in a corresponding text boxes. Include a command button Save which will save all these details in sequential file 'Emp.Dat'. Include a command button Retrieve, which will retrieve all records from file and display on the form, include Clear button to clear the text boxes. b Explain On Error statement with all its options. ) List different control statements used in VB. Explain any two with c) example. a) Create a project, which accepts a main string in a text box and a substring in another textbox. Find out how many times substring occurs in the main string. Also show its position. b Explain function procedures and sub procedures. ) How sequential file organization is different from random file c) organization? . How will you achieve the end-of-file in both the organizations?

06 06

08 06 06 08

06 06 08 06 06

Hi

You might also like