Font size
WorksheetsCC102 - Quiz 2 - Midterm
Total questions: 60
Worksheet time: 38mins
The container for all the controls that make up the user interface.
Toolbox
Menu Bar Toolbar
Properties Windows
Visual Basic Window Form Application
A Label control allows users to input text.
True
False
Consist of inbuilt compiler, debugger, editors, automation tools for easy developement of code.Visual Basic.net 2008
ToolBox
ToolBox
Integrated Developement Environment (IDE)
Solution Explorer
Used to move and resize controls and forms.
Cursor
Drag
Pointer
Lens
This controls trigger an action when accessed.
Radio Button
Button
Checkbox
Mouse cursor
Controls that has values either true or false.
Button
Radio button
Checkbox
Combo box
List checkbox next to each item.
List box
Check box
Checked listbox
Combo box
A combination of list and text box controls that enables to select as well as edit text.
Combo box
List box
Checked listbox
Drop box
Displays a label text.
Label
Link label
Tooltip
Notify icon
Control used to input or display text.
Label
Picture box
Text box
Combo box
What is MDI stand for?
Multitasking Document Interface
Multiple Drive Interface
Multiple Document Interconnect
Multiple Document Interface
The following our examples of VB IDE, except one:
Start page
Solution Explorer
ToolBox
Properties Window
Allows to choose a choice from a group of choices.
Combo box
Radio button
Check box
DateTime picker
Allows to input a integer of specific decimal places within a specific range.
Rich textbox
Label
Textbox
NumericUp down
Display the hierarchy of nodes.
Picture box
Progressbar
Treeview
List view
Extension of listbox control with option to add icons and headings.
Rich textbox
Tree view
List view
List box
Every object in VB .NET has it own toolbox that can be used to change the look and even the functionality of the object.
TRUE
FALSE
You can change or view the value of the property of an object by selecting the object and go to property window section.
TRUE
FALSE
While working with window form application you will see the following parts or sections. except one:
Menu Bar Toolbar
Form Designer
Toolbox
Label
What screen elements displays the attributes for a form or control that is inserted and selected?
Form layout window
Properties window
Project Exploer
Toolbox
It shows the position of the form on the screen at runtime.
Toolbox
Properties window
Project Exploer
Form layout window
It contains controls that can be placed on the form.
ToolBox
Form1
Project Explorer
Properties Window
Visual Basic is an object-oriented program produced by Adobe Corporaton.
True
False
Serves as a visual and functional container for controls
PictureBox
ComboBox
DriveListBox
Frame
IDE acronym stands for Integrated Developers Environment.
True
False
Displays icons/bitmaps and metafiles. It displays text or acts as a visual container for other controls.
PictureBox
ComboBox
DriveListBox
Frame
MDI stands for
Manipulated Document Interface
Menu Design Interface
Multiple Design Interface
Multiple Document Interface
The Function and procedure in Visual Basic are by default
Private
Public
Protected
None of the above
Rules for variable name
Must begin with letter
Contain spaces,period(:),hyphen(-)
Maximum size 255 characters
Must be unique within the same scope
Which symbol creates an access(hot) key in the text of a menu item?
&
@
$
#
Variables are named storage locations in memory, the value of which does not change during program
execution
design
debug
none of the above
Which type of control is used to design a form like above
Check Box
Option Button
Combo Box
List Box
Which property determines whether a control is displayed to the user?
Show
Visible
Enabled
Hide
Which of these names would be most appropriate for a button that allows the user to submit the answer?
Answer
Button1
SubmitBttn
Button1.text
Which symbol creates an access(hot) key in the text of a menu item?
&
@
$
#
Classify the data type that must be held in each variable.
INT - for integer
DOUBLE - for double
STRING - for string
Q: LOCKER NUMBER
DOUBLE
STRING
INT
Below are the list of three characteristics of an Object EXCEPT ONE. What is it?
Behavior
Attribute
State
Identity
What is the code to clear the screen in a VB program?
Text1.text = "
Text1.text = ""
Text1.Text = Clear
Text1.Text = "Clear"
Which one is the correct formula to calculate the square of a number?
a = Val(Text1.Text)
Square = a ^ 2
a = Val "Text1.Text"
Square = a ^ 2
a = Val(Text1.Text)
Square = a ^ 1/2
What is used to execute the program?
Which of the following commands are used for selecting more than one option?
if a= 1 then
print "licence given" else print"license denied"
end if
if a > 1 then
print "license given"
else
"license denied"
end if
In Visual Basic how can you make the password appear in characters (*)
type * in the command code
type * in caption property
select * from the project window
type * in passwordchar.
___________________ is used to define a value in text 1.
val1.text
val(text.text1)
val(text1.text)
val"text1.text"
The Toolbox in Visual Studio contains tools used to design the user interface
True
False
Visual Basic 2022 is part of the Microsoft Visual Studio IDE.
True
False
The Properties Window is used to change the behavior and appearance of controls.
True
False
The Solution Explorer is used to view and organize all the files in a project.
True
False
The Text property of a Button sets the text that appears on it.
True
False
The Click event of a Button occurs when the mouse pointer passes over it.
True
False
The MsgBox() function displays a message to the user.
True
False
What event procedure is used when the user clicks a button named btnSubmit?
(a)
Write a VB code line that displays the text “Welcome to APCAS Tech!” in a message box.
(a)
