Bca 3 Sem Visual Basic Programming Paper 1 Summer 2018
Bca 3 Sem Visual Basic Programming Paper 1 Summer 2018
com
NJR/KS/18/3225
Bachelor of Computer Application (B.C.A.) Semester-III (C.B.S.) Examination
VISUAL BASIC PROGRAMMING
Paper—I
Time : Three Hours] [Maximum Marks : 50
N.B. :— (1) All questions are compulsory and carry equal marks.
(2) Draw neat and labelled diagram wherever necessary.
EITHER
1. (a) Explain different operators supported by VB. 5
(b) What is a loop ? Explain the following with example :
(i) Do-While
(ii) While-Wend. 5
OR
(c) Explain the following controls with example mentioned as below :
(i) Option Button
(ii) Check Box. 5
(d) What is a variable ? Explain Implicit and Explicit declaration of variable with example. 5
EITHER
2. (a) Write a program in VB to find the maximum number from an array. 5
(b) What is an Array ? Explain Single Dimensional and Multi Dimensional Array. 5
OR
(c) What is Dynamic Array ? Explain the role of Redim and Preserve statement. 5
(d) Explain User Interaction Functions Input Box and Msg Box. 5
EITHER
3. (a) Write down the difference between MDI and SDI. 5
(b) Write a note on Menu Editor. 5
OR
(c) What is Pop-up menu ? Write a MouseDown event handler to display Pop-up menu. 5
(d) Explain the data control Data 1. 5
EITHER
4. (a) What is OLEDB ? Write steps for ADODC1 to bind with MS-Access Database. 5
(b) What is ActiveX control ? Write steps for adding following controls in Toolbox and binding with
ADODC :
(i) DataList control
(ii) DataCombo control. 5
OR
(c) Write a note on Data Environment and Data Report. 5
(d) What are the types of Errors ? Explain Error Trapping and Handling mechanism. 5
5. Attempt all :
(a) What is variable ? Explain the following scope of variables - Public, Private and Static. 2½
(b) Differentiate between subroutine and function. 2½
(c) What are Data Access objects ? Explain. 2½
(d) What is Error Object ? Explain. 2½
RQA—33117 www.rtmnuonline.com