0 ratings0% found this document useful (0 votes) 60 views9 pagesVB
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
BCR ae
(s)
Total Pages : 02
GSQ/D-22 _ W77
PROGRAMMING USING VISUAL BASIC
BCA-355
Time : Three Hours] [Maximum Marks : 80
Note = Attempt Five questions in all, selecting one question
from each Unit. Q.'No. 1 is compulsory. All questions
carry equal marks.
(Compulsory Question)
L Explain the following : 4xé=16
@ Event Handler
(®) Named and Intrinsic Constants
© Nested Control Structure
@ = Actual and Formal Parameters.
Unit i
2. What is IDE ? Explain the components of Visual Basic
Integrated Development Environment. 16
3. Explain the following : ; 4xd=16
| @) Difference between Visual and Non-visual
Programming
“-(®). Difference between Object Based and Eventdriven
language
© Important features of VB.
865) Lana7 PTO.
)Fr ee “@
Unit
4. What is forcing variable declaration ? How can we deca. . |*
~ a variable? Explain scope. and lifetime of variables. 16
5. Explain the following : Ax4a16
(a) Input Box ,
(b) Message Box
(© Print Statement.
Unit N
6. What are the decision statements in VB ? Explain seleg. |
case statement. with the help of example. 6
7. (@) » How will you declare a two-dimensional amy in
VB ? Explain with suitable example. 8?
(b) - Differentiate between do Joop and while wend loop. |
8
Unit IV
8. (@ What is function and how does. it differ fm |
subroutine 2 ; 42
(b) How can we pass an array to function in VB 74)
9, Write a program in VB to calculate factorial of om
L-IL77 2|
Differentiate between st
Visual Basic,
Discuss the Concept of w
Visual basic,
Meioay
atic and
general
dynamic arrays in
and event procedures
4xd=16
PLO,
tExplain the concept of procedural, object-oriented, objec
based dnd event-driven progtamming languages along wi
examples of each of them, How do they differ from eae
other ? 1 Unit ty
Po; Diseu:
What is VB Environment ? Explain its various componen 8S the following in
* (a) Argum ‘sual Basic with examples
in detail with examples. 1 *stS passing Mechanisms
(©) Functions Retuming cass 8
Unit te Types. 8
9. Write programs in Visual Basic for
4, How do we carry out input and output in Visual Basic! (a) Searching .
Explain the various controls for input and output ¥ — (b) Sorting 8
examples. 1 8
5, Discuss the following with examples in Visual, Basic |
(a) Named and Intrinsic Constants
(b) Scope and Lifetime of Variables.
Unit HT }
6. Explain various decision control statements in Visu|
Basic. ‘Write their syntax and give examples. Write
program in visual basic to design calculat
operations of addition, subtraction, mul
division.
L-1234 2 1) L124 3 2.500BCA/D-18
ROGRAMMING USING VISUAL BASIC
Paper-BCA-355
he allowed : 3 hours] [Maximum marks : 80
re: Attempt five questions in all, selecting at least one
‘question from each unit. Question no 1 is compulsory.
All questions carry equal mar] ks.
Compulsory Question
| Attempt the following questions in short :
\(q)_ Whatis GUI?
|(o) Whats a Frame?
(©) Define variables in VB.
|.) Explain Print Statement.
| Explain For Next Loop in VB.
(f) Differentiate between static and dynamic array.
(g) Explain Subroutines. i
(h) Explain optional arguments in VB.
Unit-I
Discuss the following elements of user interface: 8
(i), Text box
(ii) Label
(iii) Command Button
(iv) Scroll Bar
(v) Picture Box
NIC wow RD ow’
nN
@
Lay
[Turn over(2)
() Explain Message Box statement in detail with
example. 8
2 @ plain Font Color and Colo diatog box in detail 6
(b) Give the comparison between List-box and
‘Combo-box. 6
(¢) Explain user defined Date-type in VB. 4
Unit-II
4. (@) Define variables in VB and also explain scope and
8
ime of variables.
(b) List all operators in VB. 8
Explain various controls for /O in VB with example. 16
Unit -
6. Write the code segment using ifthen else to assign status toa
variable result on the basis of the following condition.
Condition Status
Marks greater or equal t0 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 les tian 50 Fail
7. (a) Whatdo youmean by atray ? Write a code in VB to find
sum of numbers from 1 to 10. 8
()
‘arrays? ‘
Unity
(©) Whatis array of
(@) Writea
¥ ‘Program to “,
(©) Explain the apse es oF Prime no
values,
argu i :
ents passing by reference or by
8
How it is different from
8
8
(a) What is a functj,
| inctioy
procedures ? nt
(b) Explain soningin VB with exam '
ple.
16 |@)
b)
©
(d)
(3)
)
carry equal marks.
(Compulsory Question)
Define hypertext and hyperlink with example, 3
Differentiate a web address and an email
address. 3
How would you wrap text around an image? 3
How would you create frames in HTML ? s
How would you post your article in a news group ? 2
Describe the process of hiding and showing scroll
bars, Z
Unit-I
g ernet i.e
Explain the concept of addresing on Inte :
IP address, Web address etc -
are
of as
ction 0
Bborate the need a i
Elaborate the need and functio
engine. hisBCA/D-19 :
PROGRAMMING USING VISUAL BASIC
Paper-BCA-355
allowed : 3 hours] [Maximum marks : 80
‘e: Question No. 1 is compulsory. Attempt four more
- questions by selecting at least one question from each
section. All questions carry equal marks,
Compulsory Question
@). Explain Properties and Immediate ‘window in Visual Basic.
. 4
(b) Write various steps to create a Visual Basic Program. 4
(© What is an Array ? Define an Array of Arrays in Visual
Basic. 4
@- ‘What isa fiction and how to call a fimetion in Visual Basic?
4
Section-I
Explain Visual and Non-Visual Programming, Procedure-oriented
and object-oriented programming in detail. 16
Explain various editions of Visual Basic and also define various
applications of Visual Basic. 16
Section-II
Explain various data types available in Visual Basic in detail.
: 16
Explain various operators used in Visual Basicindetail, 16
6] : indians7
38.
9%
(2)
* Section-Hil
Explain any four looping statements in Visual Basic,
Explain static and dynamic arrays in details with example,
Section-1V
‘Whatisa procedure and explain its advantages? Explain hov
call asubroutine in Visual Basic with suitable examples,
@) | Write a program to find HCF and LCM of two gin
numbers.
(b) Write a program to find greatest among N numbers.