How To Exam?

a knowledge trading engine...


University of Pune 2009 PG Diploma PGDCM-PROGRAMMING USING VISUAL BASIC (2008 Pattern) - Question Paper

Wednesday, 24 April 2013 09:50Web

Total No. of ques. : 4] [Total No. of Printed Pages : three [3689]-102
P. G. D. C. M. (Semester - I) exam - 2009 PROGRAMMING USING VISUAL BASIC (2008 Pattern)
Time : three Hours] [Max. Marks : 70

Instructions :
(1) All ques. are compulsory.
(2) Figures to the right indicate full marks.

Q.1) provide output of the subsequent part of code and discuss : (Any Five) [5x4=20]
(a) Dim str as string
Text1.Text = "VB is object oriented event driven programming language"
Text1.SetStart = 6
Text1.SetLength = 16
Text1.SetText = " "
Str = Text1.Text
Print Str

(b) Dim i as integer
for i = 20 to 10 step –2
choose Case (i)
case 15 – 20
print "*"
case 10 – 14
print "#"
End choose
Next

(c) Dim j
j = 10#
Print TypeName (j)
Print VarType (j)

(d) Print Now

(e) Dim d1, d2 As date
d1 = date
d2 = dateadd ("d", 10, d1)
Print datediff ("m", d1, d2)
Print datediff ("d", d1, d2)

(f) Dim str as string
Print Left(StrConv("Pune University", VbUpperCase), 4)

Q.2) discuss use of the subsequent properties : (Any Five) [5x2=10]
(a) Max and Value Property of Vertical Scrollbar.
(b) List and Style Property of Combo Box.
(c) Caption and Picture Property of Command Botton.
(d) Picture and Visible Property of Picture Box.
(e) Enabled and Borderstyle of Frame.
(f) Password Char and Text Property of Text Box.

Q.3) Write short notes : (Any Four) [4x5=20]
(a) Event Driven Programming Technique.
(b) Drive List Box, Dir List Box, File List Box
(c) String Functions (any 5)
(d) Message Box and Input Box
(e) Control Array

Q.4) Write sectional code for the subsequent : (Any Four) [4x5=20]
(a) Write a function to obtain factorial of a provided number.
(b) Write a code to accept birth date and display his/her age in years.
(c) Write a code which will create a menubar having choices circle and rectangle and will provide area of opted menu choice with improper input.
(d) Design a user login form and write code to check user id and password. If user id and password are correct, display message login successful; otherwise login failed. (user id : PGDCM, Password : Pune).
(e) Write a code to accept 10 numbers from user and store them in an integer array. Display maximum and minimum numbers from these numbers.


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER University of Pune 2009 PG Diploma PGDCM-PROGRAMMING USING VISUAL BASIC (2008 Pattern) - Question Paper