SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Visual Basic
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Subroutine that returns a value
Function
Toolbox - Common Controls - PictureBox
requiredfieldvalidator
user interface
2. A pattern or blueprint that the computer uses to create an object.
sleep
Application
event
class
3. The circle flowchart symbol represents ______
'
decision
Class definition
A class
4. A control that performs an immediate action when clicked
Button control
Ctrl-Shift-s
command button
Console.WriteLine(message)
5. An application calculates and displays a sales tax amount. The application should display the calculated amount in a control.
analysis
frmMyFirstForm
event
label
6. Actions to which an object can respond (such as a click)
events
Console.WriteLine(message)
executable file
event
7. To end an application when a button is clicked you enter the instruction in the button's click event procedure.
Me.Close()
assignment statement
solution
decision
8. The ___ exception type occurs when a variable is converted to another data type that is not possible.
sequence
format exception
ID
Pascal case
9. The default event procedure for a check box is __________
GUI
CheckedChanged
decision
Console.WriteLine("")
10. The ___ object shows the days organized by month relevant to the year.
calendar
an asterisk (*)
The Properties window
FlowDirector = RightToLeft
11. Loop to repeat a code block for a specified number of times
Dock = Fill
For...Next
executable file
procedure header
12. When creating a new program in Visual Basic you are asked to supply a name for the program. If you do not specify a name a default name is used. What is the default name?
parameters
Console.WriteLine("")
CheckedChanged
WindowsApplication (followed by a number)
13. Graphical User Interface
Dock = Fill
Boolean
GUI
label
14. Property to merge two cells in a table
start/stop
control
ColumnSpan = 2
decision
15. Closes the the current form
Me.Close( )
Ctrl-F5
Text
object
16. A property provides access to class data in a controlled manner through these
get and set accessors
Text
Size Mode = StretchImage
GUI
17. Assume an application needs to calculate and display a sales tax amount. The application should display the calculated amount in a _________________ control.
label
Size Mode = StretchImage
Auto Hide
double click on it
18. Visual Basic code file extension
.vb
Text = My Form
IntelliSense
calendar
19. A form contains a button control named exit Button. When the button is selected in the interface or ___________________ will appear in the Object box in the Properties window.
Pascal case
exitButtol1 System.Windows.Forms.Button
User interface
F5
20. Loop to repeat a code block for an uncertain number of times
procedure footer
While
BorderStyle = Fixed3D
caption
21. Enter a comment or remark
22. Use of properties to control access to class data
'
label
namespace
encapsulation
23. Begins with keyword Private. procedure name includes object name and event name. handle cause indicates for which objects events this code will execute.
procedure header
Me.Close()
method
The Properties window
24. Expression that compares values and returns a true or false result
IDE
FlowDirector = RightToLeft
control
Boolean
25. A is a container that stores the projects and files for an entire application.
assignment operator
solution
ID
decision
26. The parallelogram flowchart symbol represents _______
Toolbox - Containers - TableLayoutPanel
input/output
Dim message As String
ColumnSpan = 2
27. Write the value of a string variable called "message" on the command line
Console.WriteLine(message)
object
Toolbox - Common Controls - PictureBox
User interface
28. The window lists the projects and files included in a solution
BorderStyle = Fixed3D
code editor window
Console.WriteLine(message)
Solution Explorer
29. Assigns a value to a variable or property of a control
While
calendar
assignment statement
Application
30. Get component to create a form inside of a table
event
object
Toolbox - Containers - TableLayoutPanel
Assignment operator
31. Example of camel notation
calendar
frmMyFirstForm
ID
event
32. Property to stretch an image to fill the size of the form
Dock = Fill
Size Mode = StretchImage
Properties
analysis
33. Get component to add multiple controls to a table cell
to lower
user interface
Toolbox - Containers - FlowLayoutPanel
namespace
34. Property to have a table fill the entire form
Dock = Fill
FlowDirector = RightToLeft
checked
operators
35. The ___ property of a button object contains the name of the button.
ID
Auto Hide
user interface
WindowsApplication (followed by a number)
36. An object (such as a button)
IDE
control
User interface
While
37. Automatically inserting text and words that have similar meaning to those currently being entered by the programmer
procedure footer
a program
IntelliSense
Properties
38. The three main logical operators are And - Or and _______
Shift-Alt-Enter
Boolean
Not
MessageBox.Show("Hi there")
39. Keyboard shortcut to step through line by line
Me.Close()
parameters
F8
Solution Explorer
40. Using the ___ procedure will cause the application to wait a specific amount of time.
sleep
Text
Assignment operator
encapsulation
41. Used to change how objects look and feel
calendar
controls
sleep
The Properties window
42. Keyboard shortcut to Save All
label
Pseudocode
Ctrl-Shift-s
a program
43. The practice of lowercasing the first word in an object's name and then uppercasing the first letter in each subsequent word in the name
assembly
User interface
checked
Camel case
44. What you see and interact with when using an application
CheckedChanged
Not
double click on it
User interface
45. The proper syntax when using a message dialog box
Assignment operator
MessageBox.Show("Hi there")
assembly
Solution Explorer
46. Declare a new variable
Dim (short for Dimension)
input/output
parameters
start/stop
47. Zero or more characters enclosed in quotation marks
a program
String
Dock = Fill
label
48. What VB calls a window or a screen
CheckedChanged
class
code editor window
form
49. Another name for a program
Application
user interface
class
solution
50. The ___ property contains the name of the object to be validated when using any of the validation objects on a web form.
controltovalidate
CheckedChanged
event
Solution Explorer