0% found this document useful (0 votes)
203 views

GUI Question - Model

This document outlines the structure and content of an exam on GUI programming in Visual Basic. The exam contains 3 parts: Part A consists of 15 multiple choice questions worth 1 mark each; Part B consists of 2 out of 5 short answer questions worth 5 marks each; Part C consists of 3 out of 5 long answer questions worth 10 marks each. The exam covers topics such as the Visual Basic environment, controls, events, menus, data types, data binding, databases, input validation, and programming examples. The maximum marks for the exam are 75 marks.

Uploaded by

Raja A
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
203 views

GUI Question - Model

This document outlines the structure and content of an exam on GUI programming in Visual Basic. The exam contains 3 parts: Part A consists of 15 multiple choice questions worth 1 mark each; Part B consists of 2 out of 5 short answer questions worth 5 marks each; Part C consists of 3 out of 5 long answer questions worth 10 marks each. The exam covers topics such as the Visual Basic environment, controls, events, menus, data types, data binding, databases, input validation, and programming examples. The maximum marks for the exam are 75 marks.

Uploaded by

Raja A
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Vaigai Arts and Science Women’s College, Muthampatty Valappady.

Department of Computer Science. Dec-2022.


Title of the paper- GUI PROGRAMMING.
Time: 3HRS. MAX-MARKS: 75

PART –A (15X1=15)
ANSWER ALL THE QUESTIONS
1. Which short cut key is used to run vb application
a) F4 b) F5 c) Ctrl+F4 d) Ctrl+F5
2. What is the default property of Textbox control
a) Alignment b) Text c) Forecolor d) Backcolor
3. Which of the following provides quick access to commonly used commands in the programming
environment? a) Toolbox b) Toolbar c) Object Window d) Immediate Window
4. The default datatype for Visual Basic is . a) Integer b) Boolean c) Variant d) String
5. Which of the following constant cannot be declared in a form or class module?
a) Public Constants b) Private Constants c) Static Constants d) Data Constants
6. Which property determines whether a control is displayed to the user? a) Hide b) Show c) Visible d) Enable
7. ____is a block of code that is executed in response to an event.
a) Function Procedure b) Sub procedure c) Property procedures d) All the above
8. Which symbol creates an access key in the text of a menu item? (a) @ (b) $ (c) & (d) %
9. The list of items displayed by menu title are known as ____ a) Items b) Menu list c) Menu items d) Lists
10. Which functions used to validate that input is not a string before performing arithmetic operations?
a) IsArithrneric b) IsNotString c) IsNumeric d) IsString
11. Different items appearing in the same value list of a Select Case block must be separated by a
a) Semi colon b) Comma c) Colon d) Pair of quotation marks
12. Which property is used to specify a combo box’s style?
a) ComboBoxstyle b) DropDownstyle c) DropStyle d) Style
13. The data control is used to link __________ a) Oracle b) MS-Excel c) MS-Access d) MS-Word
14. ________ is used to link to the data base a) ADODC b) data base c) MDI d) GUI
15. Through _________ Controls we can access information in the databases.
a) Data Bound Control b) Data Control c) Wizard d) Report
PART –B (2X5=10)
ANSWER ANY TWO QUESTIONS
16. Discuss about the Tool Box with neat sketch.
17. Explain about the calling event procedure with an example
18. Draw the menu editor and mention the each part.
19. Explain about User Defined Data type with an example.
20. Briefly explain about List boxes and combo box as data bound control.
PART –C (2X10=30)
ANSWER ANY THREE QUESTIONS
21. a) Discuss about the Visual basic environment with neat diagram (OR)
b) Explain about errors in vb
22. a) Write a program to get two input using textbox and perform arithmetic operation print the result(OR)
b). Discuss about the input validation in vb
23. a) Explain about Common Dialog Control.(OR)
b). Discuss about the Multiple Forms in vb.
24. a)Briefly explain about Combo box and list box with an example (OR)
b) Write a vb program for 3X3 Matrix Addition
25 a.)Explain about how do you create a database in vb with neat diagram(OR)
b). how do you navigating the database code with an example program
Vaigai Arts and Science Women’s College, Muthampatty Valappady.
Department of Computer Science. Dec-2022.
Title of the paper- GUI PROGRAMMING.
Time: 3HRS. MAX-MARKS: 75

PART –A (15X1=15)
ANSWER ALL THE QUESTIONS
3. Which short cut key is used to run vb application
b) F4 b) F5 c) Ctrl+F4 d) Ctrl+F5
4. What is the default property of Textbox control
a) Alignment b) Text c) Forecolor d) Backcolor
3. Which of the following provides quick access to commonly used commands in the programming
environment? a) Toolbox b) Toolbar c) Object Window d) Immediate Window
4. The default datatype for Visual Basic is . a) Integer b) Boolean c) Variant d) String
5. Which of the following constant cannot be declared in a form or class module?
a) Public Constants b) Private Constants c) Static Constants d) Data Constants
6. Which property determines whether a control is displayed to the user? a) Hide b) Show c) Visible d) Enable
7. ____is a block of code that is executed in response to an event.
a) Function Procedure b) Sub procedure c) Property procedures d) All the above
8. Which symbol creates an access key in the text of a menu item? (a) @ (b) $ (c) & (d) %
9. The list of items displayed by menu title are known as ____ a) Items b) Menu list c) Menu items d) Lists
10. Which functions used to validate that input is not a string before performing arithmetic operations?
a) IsArithrneric b) IsNotString c) IsNumeric d) IsString
11. Different items appearing in the same value list of a Select Case block must be separated by a
a) Semi colon b) Comma c) Colon d) Pair of quotation marks
12. Which property is used to specify a combo box’s style?
a) ComboBoxstyle b) DropDownstyle c) DropStyle d) Style
13. The data control is used to link __________ a) Oracle b) MS-Excel c) MS-Access d) MS-Word
14. ________ is used to link to the data base a) ADODC b) data base c) MDI d) GUI
15. Through _________ Controls we can access information in the databases.
a) Data Bound Control b) Data Control c) Wizard d) Report
PART –B (2X5=10)
ANSWER ANY TWO QUESTIONS
16. Discuss about the Tool Box with neat sketch.
17. Explain about the calling event procedure with an example
18. Draw the menu editor and mention the each part.
19. Explain about User Defined Data type with an example.
20. Briefly explain about List boxes and combo box as data bound control.
PART –C (2X10=30)
ANSWER ANY THREE QUESTIONS
21. a) Discuss about the Visual basic environment with neat diagram (OR)
b) Explain about errors in vb
22. a) Write a program to get two input using textbox and perform arithmetic operation print the result(OR)
b). Discuss about the input validation in vb
23. a) Explain about Common Dialog Control.(OR)
b). Discuss about the Multiple Forms in vb.
24. a)Briefly explain about Combo box and list box with an example (OR)
b) Write a vb program for 3X3 Matrix Addition
25 a.)Explain about how do you create a database in vb with neat diagram(OR)
b). how do you navigating the database code with an example program

You might also like