Visual Basic – 6 (May – 2018) [IDOL: Old Course | Question Paper]


Visual Basic – 6 (May – 2018) [IDOL: Old Course | Question Paper]
Visual Basic – 6 (May – 2018) [IDOL: Old Course | Question Paper]

DOWNLOAD @
PDF | PDF
Text
Torrent
G-Drive
SlideShare

Time: 3 Hours
Total Marks: 100


NOTES:
(1) Question No. 1 is Compulsory.
(2) Attempt any four from Question Nos. 2 to 7.
(3) Make suitable assumptions wherever necessary and state the assumptions made.
(4) Answers to the same question must be written together.
(5) Numbers to the right indicate marks.
(6) Draw neat labeled diagrams wherever necessary.

Q.1. Attempt The Following Questions: (20 Marks)
(A) "The visibility of a variable is referred to as its scope". Comment
(B) Explain free file function with an example.
(C) Write a short note on control array.
(D) Explain the user defined data types with suitable examples.

Q.2. Attempt The Following Questions: (20 Marks)
(A) Create a project to accept a character from the user. Provide a button "CHECK VOWEL", which will check if the character is a vowel and display in a message box "Character entered is a vowel" else "Character entered is a consonant".
(B) Explain the different modes of file operation.
(C) Explain in detail message box function.

Q.3. Attempt The Following Questions: (20 Marks)
(A) Create a project to declare a class that will store CODE, NAME, AGE and SALARY of an employee. Provide a calculate button for BONUS calculation which is 10% of the salary. Display all the details along with bonus in a message box.

(B) Describe the purpose of each of the following methods or properties for a list box control with example:
    (i) AddItem
    (ii) RemoveItem
    (iii) ListCount

(C) Explain the following controls in detail:
      (i) Text Box
      (ii) Images

Q.4. Attempt The Following Questions: (20 Marks)
(A) Create a project to maintain the state names and their two letter abbreviation in a sequential file. Allow the user to add state names and its abbreviation. Provide a search button to find the abbreviation based on the state name entered by the user in a text box. If no match is found, print an appropriate error message. (Sample Data; Maharashtra=MH, Gujarat=GJ, Goa=GA, etc.)

(B) Explain defining keyboard access keys and setting tab order for controls.

(C) What are the various ways of using FOR-NEXT loop?

Q.5. Attempt The Following Questions: (20 Marks)
(A) What will be printed for each of this code segment:
      (i) Printer.Print "Half a loaf";
          Printer.Print "is better than one"
      (ii) Printer.Print "Half,","My Eye"
      (iii) Printer.Print "Hawks";0, "Doves";0
      (iv) Printer.Print 1,2,3,4,5,6

(B) Explain font and color dialog box in detail.

(C) How can we create new objects in Visual Basic?

Q.6. Attempt The Following Questions: (20 Marks)
(A) Create a project to display the information of publisher table from books.mdb include command buttons for record navigation. Hide the data control. Allow user to add and delete records using buttons. (Publisher {publisher_id, name, company_name, city, state, zip, telephone_no})

(B) What are the ways for creating new sub procedure? How are variables passed to the procedure?

(C) Explain the different windows of integrated development environment.

Q.7. Attempt The Following Questions: (20 Marks)
(A) Explain LEFT, RIGHT, MID and LEN string functions.
(B) How can we create a new DYNASET? Give example.
(C) How are the Visual Basic projects debugged?


0 Comments