VISUAL PROGRAMMING
QUESTION PAPER
TIME: 3 HOURS
Max.
Marks: 100
Answer all questions
PART-A (10 X 2 = 20 Marks)
1.
Discuss about the Data the
types in VB.
2. What is the access keys used for VB?
3. List out the different kinds of looping statements does Visual Basic
support?
4.
List out the different
paradigms of programming languages.
5. Define Combo boxes?
6. What is a control array?
7. What is a debugger?
8. What is the difference type of graphics files can Visual Basic
display on a form?
9. Define object Model.
10. Define “OLE”.
PART-B (5 X 4 = 20 Marks)
11.
a) i)Which text box property setting would you
use for a secret message that the user must
enter? (2 marks)
ii) What is the
difference between a variable-length string and a fixed-length string? (2 marks)
(OR)
11 b) i) What is the
difference between an object and a control? (2 marks)
ii) What is the name of the function that
converts a number to a string with an example? (2 marks)
12. a) What is the difference between a Do While and a Do Until loop
with an example?
(OR)
12.b) . Discuss about the Built in function?
13. a) Discuss about the grid control with an
example?
(OR)
13b) Explain
about the Error Trapping in VB.
14a) What makes
a language object oriented?
(OR)
14b) Explain the Different type of common
controls in VB?
15a) Explain the features of COM.
(OR)
15b) . Discuss
about the OLE Drag and Drop.
PART – C (5
x 12 = 60 marks)
16.a) i) Write a VB program If
the code that you write senses that a particular disk file is corrupted, you
want to inform the user of the serious error and you want to make sure that the
user can't switch to another Windows program before responding to your error
message box. What type argument would you use in the MsgBox statement? (8 marks)
ii) Which
control works best for titles: labels or text boxes with an example? (4 marks)
(OR)
16.
b) i) What is the difference between a message box and
a text box? (4 marks)
ii) Write the code
that uses an input box to get a number from the user and then uses a
message box to display the square root of
that number. (8 marks)
17
a) Explain
the Different paradigms of programming languages with an example.
(OR)
17b)
Write a program that assigns the value of 34 to
a variable and then asks the user to guess the
Number using an input box. Use a Do loop to check the user's guess and
keep asking for additional guesses until the user guesses the Number.
18a ) i) Explain the Different type of Combo boxes with an example. (6
marks)
ii)
Discuss about the sorting and searching. (6 marks)
(OR)
18b)
Write a VB program for Suppose that you want to define
an array of three high school student ages in a list. Write the Static
statement that defines the ages.
19.a)
Discuss about the following.
i) Testing
(4 marks)
ii) Debugging (4 marks)
iii)
optimization (4 marks)
(OR)
19b)i) Explain the Different type of Dialog Boxes in VB? (4 marks)
ii) Write a VB program for Suppose that you want to draw a rectangle
with a blue border, red diagonal lines, and a green interior. Describe the
shape control's properties that you would have to set to a blue, red, and green
colour. (8 marks)
20a) ) Using suitable visual basic programming demonstrate
the keyboard and mouse events
control
(OR)
20b) Discuss about the following.
i)
File Handling (4 marks)
ii)
File System Controls
(4 marks)
iii)
File System objects (4 marks)
0 Comment "VISUAL PROGRAMMING QUESTION PAPER"
Post a Comment