[go: up one dir, main page]

0% found this document useful (0 votes)
67 views12 pages

PROGRAMING USING VISUAL BASICS 2020-merged

Notes visual basics

Uploaded by

careermantra5500
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views12 pages

PROGRAMING USING VISUAL BASICS 2020-merged

Notes visual basics

Uploaded by

careermantra5500
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Roll No………………… Total Pages: 3

1255
BCA/D-17
PROGRAMMING USING VISUAL BASIC
Paper: BCA-355

Time: Three Hours Maximum Marks: 80

Note: Attempt five questions In all, selecting at least one question from each Unit. Q. No.
1is compulsory. All questions carry equal marks.

Compulsory Question

1. Answer the following questions in short :


(a) List the various controls used in VB?
(b) What is a Combo Box?
(c) Define Message box in VB.
(d) Explain use defined data type.
(e) What is select case statement?
(f) What is the use of Exit statement?
(g) What do you mean by named arguments?
(h) Explain passing mechanism in VB.

Unit-I

2. What is IDE? Discuss the following components of IDE :


(a) Toolbar
(b) Project Explorer
(c) From Designer
(d) Immediate Window.

3. What is User Interface? And how we can design user interface. Explain with
suitable example.

Unit-II

4. (a) What is a variable and also discuss variable constructing rules in detail.

(b) Explain the following :


Variant type, Object data, Boolean data.

5. Define various types of operators in VB with examples.


Unit-III

6. (a) Explain control structure of VB.


(b) Differentiate between if-then-else and case structure.

7. (a) How will you declare a two-dimensional array in VB? Explain with suitable
Example
(b) Differentiate between do loop and while wend loop.

Unit-IV

8. (a) What is a function and how does it differ from procedure?


(b) Discuss the procedure of creating menu in VB.

9. Design user interface for the following problem and write the code :
Take two textboxes, labels and command buttons give proper caption, textboxes
should take the values of length and width by clicking on command button. Display
the area of rectangle in label where (area = length * width).
BCA / D -18
PROGRAMMING USING VISUAL BASIC
PAPER – BCA – 355

COMPULSORY QUESTION

1. Attempt the following questions in short:


(a) What is GUI?
(b) What is a Frame?
(c) Define variable in VB.
(d) Explain Print Statement.
(e) Explain For Next Loop in VB.
(f) Differentiate between static and dynamic array.
(g) Explain Subroutines.
(h) Explain Optional arguments in VB.

UNIT – I

2. (a) Discuss the following elements of user interface :


(i) Text box
(ii) Label
(iii) Command Button
(iv) Scroll Bar
(v) Picture Box
(b) Explain Message Box statement in detail with
example.

3. (a) Explain Font Color and Color dialog box in detail.


(b) Give the comparison between List-box and
Combo - box.
(c) Explain user defined Data-type in VB.

Unit – II

4. (a) Define variable in VB and also explain scope and


lifetime of variables.
(b) List all operators in VB.
5. Explain various controls for I/O in VB with example.
Unit – III

6. Write the code segment using if then else to


assign status to a variable result on the basis of
the following condition.

Condition Status
Marks greater or equal to 90 Excellent
Marks greater than or equal to 75 and less than
90 Very Good
Marks greater than or equal to 50 and less than
75 Pass

Marks less than 50 Fail

7 (a) What do you mean by array? Write a code in


VB to find sum of numbers from 1 to 10.
(b) What is array of arrays?

Unit – IV
8 (a) Write a program to generate a series of
prime no.
(b) Explain the arguments passing by reference or
by values.

9. (a) What is function? How it is different from


procedures?
(b) Explain sorting in VB with example.
Roll No. ...................... Total Pages : 2
BCA/D-21 1206
COMPUTER APPLICATION
(Programming Using Visual Basic)
Paper–355

Time : Three Hours] [Maximum Marks : 80

Note : Attempt five questions in all, selecting one question from


each unit. Question number 1 is compulsory. All questions
carry equal marks.

Compulsory Question

1. Explain the following :


(a) Difference between object based and object oriented
language.
(b) Message box and Input box.
(c) Function and Procedure.
(d) Array of arrays. 16

UNIT–I

2. Explain the important features of visual basic (VB). 16

3. Explain the default controls in tool box of visual


development. 16

UNIT–II

4. Explain arithmetic, relational and logical operators in VB.


16

1206//KD/312 [P.T.O.
5. Explain various data types in VB. 16

UNIT–III

6. Explain various control structure in VB. 16

7. Explain various decision statements in VB. 16

UNIT–IV

8. Write a program in VB to generate prime number series.


16

9. Write a program in VB to generate filionacci series. 16

1206//KD/312 2
1234
BCA/D-16
PROGRAMMING USING VISUAL BASIC

PAPER-BCA-355

Time Allowed: 3 Hours Maximum Marks: 80

Note: Attempt five questions in all. Question No. 1 is compulsory.

Compulsory Question

1. (a) What is the significance of visual language and what is the reason to say VB as
visual language?
(b) Explain various types of variables in visual basic with examples.
(c) Differentiate between static and dynamic arrays in Visual Basic.
(d) Discuss the concept of general and event procedures in Visual Basic.

Unit-I

2. Explain the concept of procedural, object-oriented, object-based and event-driven


programming languages along with examples of each of them. How do they differ
from each other?

3. What is VB Environment? Explain its various components in detail with


examples.

Unit-II

4. How do we carry out input and output in Visual Basic? Explain the various
controls for input and output with examples.

5. Discuss the following with examples in Visual Basic :


(a) Named and Intrinsic Constants
(b) Scope and Lifetime of Variables.

Unit-III

6. Explain various decision control statements in Visual Basic. Write their syntax
and give examples.. Write a program in visual basic to design calculator for basic
operations of addition, subtraction, multiplication and division.

7. Discuss the following and give examples in Visual Basic :


(a) One-dimensional. Two-dimensional and Multidimensional arrays.
(b) Do-loop and for-next statements.
Unit-IV

8. Discuss the following in Visual Basic with examples :


(a) Arguments passing Mechanisms
(b) Functions Returning Custom Data Types.

9. Write programs in Visual Basic for :


(a) Searching
(b) Sorting

You might also like