How To Exam?

a knowledge trading engine...


University of Pune 2007 B.C.A Computer Application VISUAL BASIC - Question Paper

Sunday, 21 April 2013 08:15Web

[3096]-402

B.C.A. (Semester-IV) Examination, 2007(apr)
VISUAL BASIC
Time: three Hours] [Max. marks: 80
Instructions:
(1)All ques. are compulsory.
(2)Figures to the right indicate full marks.
(3)State your assumptions clearly.

Q1) Check whether the subsequent part of code is accurate. provide the output and suitable explanation for the statement: (Any Four) [20]

(a)DIM str as string
str = “VISUAL”
I = Len (str)
x = 1
Do while I > 0
print mid (str, x, I)
x = x + 4
I = I -1
loop

(b)DIM str as string
str = “programming in Visual Basic”
print strconv (Left (Mid (str, 16, 12), 6), Upper Case)


(c)DIM I As Integer
For I = 65 to 80
If I MOD five = 0, then
print chr (I)
End if
NEXT I

(d)Value = fix (-9.5)
print value
print abs (value) + value

(e)DIM Mystr As string, Pos1, Pos2
Mystr =”BCA / SEM – IV / VB”
Pos1 = Instr (Mystr, “/”)
print pos1
Do while pos1 <>
Pos1 = Instr (pos1+1, Mystr, “/”)
if pos1 – 0, then exit Do
pos2 = pos1
loop
print pos2

Q2) discuss the subsequent property settings: (Any Five) [10]

(a)To display form on full screen at runtime.
(b)To move the control towards right hand side.
(c)To display text in textbox at centre.
(d)To display combobox as a listbox.
(e)To set focus order for controls.
(f)To display picture on the command button.
(g)To add items on the listbox and design time.

Q3) Use 4 command buttons with caption as:
(1)Name of the Day
(2)Name of the Month
(3)Difference ranging from 2 dates
(4)Current date and time
Draw an interface and code for the above. Use necessary controls to accept values.
[15]
OR

Q3) Use 2 command buttons ‘Prime’ and ‘Factorial’ and other necessary controls to accept needed values.
Write user described functions to compute factorial and power. [15]

Q4) ans the subsequent in brief: (Any Four) [20]

(a)What is Visual Basic Events? provide a few examples.
(b)Explain the difference ranging from Pre-test and Post-test Loop.
(c)Name and define the 3 styles of combobox.
(d)Explain methods related with common dialogbox.
(e)Distinguish ranging from Picture Box and Image control.
(f)Discuss different events related with Mouse.

Q5) Write short notes on: (Any Three) [15]

(a)String Functions
(b)Control Arrays
(c)MDI Forms
(d)Menus in VB
(e)Files (sequential, Random, Binary)







( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER University of Pune 2007 B.C.A Computer Application VISUAL BASIC - Question Paper