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

Bachelor in Computer Applcations

This document provides sample questions for a Visual Basic term-end examination. It includes questions about Visual Basic windows and functions, writing event procedures to simulate a mobile phone interface and perform calculations, creating and modifying forms and procedures, and using object linking and embedding terms. Students are asked to write code for event procedures to check for palindromes, calculate sums and averages, determine grades based on course marks, and more. They are also asked to explain concepts like containers and sources for objects.

Uploaded by

Ashish Kaple
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Bachelor in Computer Applcations

This document provides sample questions for a Visual Basic term-end examination. It includes questions about Visual Basic windows and functions, writing event procedures to simulate a mobile phone interface and perform calculations, creating and modifying forms and procedures, and using object linking and embedding terms. Students are asked to write code for event procedures to check for palindromes, calculate sums and averages, determine grades based on course marks, and more. They are also asked to explain concepts like containers and sources for objects.

Uploaded by

Ashish Kaple
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

BACHELOR IN COMPUTER APPLCATIONS Term-End Examination June, 2007 CC 11: VISUAL BASIC

Note: Question number 1 is compulsory. Attempt any three questions from the rest. 1. (a) List and explain the functions of various windows that are displayed when the Visual Basic application gets loaded in the design mode. (10) (b) For each of the category of the functions given below, give at least three functions, their purpose and an example for each: (10) (i) String functions (ii) Financial functions (c) Write an event procedure in VB to simulate the handset of a mobile-phone covering the features like contacts, messages,settings and log (for the calls)" Design a sample layout. Make necessary assumptions, if needed, and list them. 2. (a) Write the file extension names for the following VB files: (i) Project file (ii) Form module file (iii) Custom control file (iv) Standard modules file (v) Class module files (vi) Resource file

(b) Write an event procedure in VB to find the sum and average of the list of 3 n" numbers given as input. Draw the layout of the user interface also. (6) 3. (a) With the help of an example, write the process of creating a procedure using the insert procedure dialog box. (8) (c) Write an event procedure in VB to check whether the given string is a palindrome or not and find the length of the string also. (7) 4 (a) Write the step-by-step procedure to change the design of the existing table. Illustrate this with the help of an example. (9) (b) Explain the functionalities of the following controls, when placed on VB-form: (i) Db list (ii) Db Combo (iii) Db Grid 5. (a) Explain the following terms used in the object linking and embedding: (i) Object (ii) Linked object (iii) Embedded object (7) (6)

(iv) Container application (v) Source application (b) Write an event procedure in VB to calculate the total marks,average , percentage and corresponding grade, if marks for 5 courses (including assignments and term-end for each course) are given. Note that, pass in both the assignments, and term-end is compulsory in order to declare the candidate uccessfully passed in a course. Assumptions can be made wherever necessary. Draw the layout for the user interface. (8)

You might also like