• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/40

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

40 Cards in this Set

  • Front
  • Back
microsoft windows uses a GUI environment. GUI stands for..
Graphical User Interface
Visual Basic is a...
Object-oriented programming language
In Visual Basic, we work with objects that have...
Properties, methods, and events
After the steps for planning a VB project are completed, you can begin acutally constructing a program by...
creating the interface
Which of the following shows the correct order for creating a VB program?
Create the interface, set the properties, write the code
This file holds info about the solution and the project it contains. This is the file that you open to work on or run your project
The solution file
What is the code used to display the words "visual basic" in a label name TitleLabel?
TitleLabel.Text = "Visual Basic"
Use this code to exit a program
Me.Close
The property used to display info in the title bar of a form is
Text
If a line of code is not considered "executable", it must be
a remark statement
Which of the following objects is a container?
GroupBox
The property used to display information in a TextBox is
Text
In NameTextBox.Text the property is
Text
Assume that you are designing a form and it will be necessary for the user to type in his name. What should you use for inputting the user's name?
TExt Box
In code, you can make the text in a text box display left-aligned by using
ObjectName.TextAlign = HorizontalAlignment.Left
Which of the following is the best choice when the user needs to input her social security number?
MaskedTextBox
Your project will allow the user to choose the background color for the form. You will offer them five choices. You should use
radio buttons
Create keyboard access on an object by using what in the Text property?
using ampersand (&)
If you want a form to be centered on the screen when it first appears, you must set what property of the Form?
StartPosistion
Which of the following statements will clear the contents of a text box named MessageTextBox?
All answers are correct
Declaration statements..
give variables and constants names, and specify the type of data they will hold
The data type that is used for decimal fraction is
Decimal
Which of the following is NOT a valid rule for naming identifiers?
Names may contain spaces
Which does not follow the conventions for naming identifiers?
Amount.Due.Decimal
The reserved VB word, Dim, is short for dimensions, which means...
size
Which of the following is NOT a valid method for parsing
Parse.String
You can use this method to round decimal values to the desired number of decimal positions
Round
To trap or catch exceptions, use this to block and enclose any statements that might cause an error
Try/Catch
Which of the following is the correct code that will display the value in TotalSalesDecimal with a percent sign a 2 decimals?
TotalSalesDecimal.ToString("P2")
Using the order of precedence and the formula below, what is AnswerInteger if: NumberOneInteger = 2, NumberTwoInteger = 12, NumberThreeInteger = 20, and NumberFourInteger = 6, AnswerInteger = NumberOneInteger * (NumberTwoInteger + NumberThreeInteger) - NumberFourInteger / NumberOneInteger
61
. In an If statement, when the expression is true, _______.
. Only the Then clause is executed
Which of the following is a comparison operator?
. >
.______________ will be the result of: MessageText .Text = MessageText.Text.ToUpper() when the value of MessageText.Text is "Visual Basic is fun!".
VISUAL BASIC IS FUN!
What will display in MessageLabel when the following statements are executed? Assume that CountInteger = 10.
MessageString = "Visual Basic is fun"
IF CountInteger <= 10 Then
MessageLabel.Text = MessageString.ToLower()
ELSEIF CountInteger > 20 Then
MessageLabel.Text = MessageString.ToUpper()
ELSE
MessageLabel.Text = MessageString
END IF
visual basic is fun
Which of the following is NOT a logical operator?
If
Which of the following is correct code for determining if a checkbox is checked?
B. If SeniorCheckBox.Checked = True Then
C. If SeniorCheckBox.Checked Then
D. Both answers B and C are correct.
An If contained within another If statement is _______.
A nested If
. The Show method of a MessageBox returns a _______ object that you can check to see which button the user clicked.
DialogResult
The Select Case statement is a code structure used for ________.
selection
The Debug.WriteLine method will display its results in the ________ window
Immediate