• 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/85

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;

85 Cards in this Set

  • Front
  • Back

A variable that will be used to hold only True or False values should be declared as a(n) _____ data type.

Boolean

True or False?



An Overflow Exception will occur if the user enters a value greater than the maximum value that can be processed by the statement.



true

True or False?



A Double variable can be used in arithmetic operations.

true

When using _____ division (\), any remainder amount is dropped or truncated.

integer

The memory allocation for the Char data type is _____ bytes.

2

A prefix of _____ is used to denote that a variable has been defined as a Boolean data type.

btn

Used with the ToString function, the _____ format specifier will display the value 8976.53561 to 8976.43561.

General (G)

A variable that has been defined as a Single data type is denoted with the _____ prefix.

sng

A(n) _____ Exception occurs when the user enters a value larger than the maximum value that can be processed by the statement.

Overflow

Which of the following are arithmetic operations?

- division


- addition


- comparison


- multiplication

- division


- addition


- multiplication

True or False?



The style of text displayed in a TextBox object can be set using the Font property.

true

A(n) _____ data type must be used in arithmetic operations.

numeric

A _____ squiggly line beneath a variable name in a declaration statement indicates that the variable has not been used in the program.

green

True or False?



The variable name on the left of an assignment statement is the variable that receives the data that results from the evaluation of the expression on the right side of the assignment statement.

true

True or False?



A Predefined TextBox object is a text box that allows the use of predefined layouts for the data a user must enter.

false

When the user interacts with an object in the graphical user interface, the _____ shifts to that object.

focus

Used with the ToString function, the _____ format specifier will display the value 8976.43561 as $8,976.44.

Currency (C)

A local variable is a variable that can only be accessed in the region in which it was defined.

true

A prefix of _____ is used to denote a variable defined as a Char data type.

chr

True or False?



Char variables can be used in arithmetic operations.

false

True or False?



The CancelButton property of the Form object allows you to specify which button is activated when the CTRL key on the keyboard is pressed.

false

True or False?



Integer variables can be used to store fractional values.

false

The ______ statement prevents automatic conversion of data types.

Option Strict On

True or False?



The ToString function requires a format specifier argument.

false

The _____ indicates that a statement is an assignment statement.

equal sign (=)

The _____ operator is used for exponentiation.

caret (^)

A String data type allows for the storing of the standard English letters only.

false

A variable is _____.



- a place where data is stored


- a named location in RAM


- defined in the coding of the program


- a location in memory


all of the above

True or False?



A property identifies a value required by a procedure that must be passed into the procedure when it is called.

false

The process of joining two string values together is called _____.

concatenation

The event handler of a button designated as the Cancel button will be processed when the user presses the _____ key on the keyboard.

ESC

The prefix _____ should be used for a Double variable.

dbl

Used with the ToString function, the _____ format specifier will display the value 8976.43561 as 8,976.44.

Number (N)

True or False?



A green squiggly line beneath a variable name in a declaration statement indicates that the variable is unused in the program.

true

Used with the ToString function, the _____ format specifier will display the value 8976.43561 as 8976.44.

Fixed (F)

A prefix of _____ is used to denote a variable defined as a Decimal data type.

dec

A prefix of _____ is used to denote a variable defined as an Integer data type.

int

True or False?



To force a literal value to be treated as a specific data type, you must use a literal-type character designator.

true

Which of the following can be represented by using the Char data type?



- letter


- punctuation symbol


- number


- symbol

- letter


- punctuation symbol


- symbol

When defining a variable to be used to hold textual information containing multiple characters, the declaration statement should have _____ at the end of the statement.

As String

The _____ of a variable specifies where a variable can be referenced within a program.

scope

True or False?



String data types can be used in arithmetic operations.

false

True or False?



A numeric data type must be used in arithmetic operations.

true

True or False?



A TextBox object allows a user to enter programming code into the program at runtime.

false

When defining a variable, the keyword _____ appears at the beginning of the statement.

Dim

True or False?



A Short data type is used for a very short string value of 10 bytes or less.

false

True or False?



You must enclose a value in parentheses to assign it to a variable declared as Char data type.

false

A prefix of _____ is used for variables defined as a String data type.

str

The character D is the literal-type character for the _____ data type.

Decimal

True or False?



The Option Strict On statement enables automatic data type conversions.

false

True or False?



The maximum size of a TextBox object often is determined by the design of the user interface, so it looks and feels good in the user interface.

true

A _____ Exception occurs when code attempts to divide a number by Zero.

Divide by Zero

When naming a Label object, the _____ prefix should be used.

lbl

A(n) _____ variable should be used for values that will consist of a single character only.

Char

The \ operator is the arithmetic operator for _____ division.

integer

True or False?



A procedure that does not return a value is called a function.

false

True or False?



The ampersand character at the end of a line in the code editor indicates that the line of code continues on the next line.

false

A Double data type can store a _____.



- floating point number


- very small negative number


- huge positive number


- value to the right of the decimal point

all of the above

True or False?



The Void procedure clears any data currently placed in the Text property of a TextBox object.

false

The _____ operator is used to concatenate two strings.

ampersand (&)

The _____ property of the form specifies which button will be activated when the ENTER key on the keyboard is pressed.

AcceptButton

The dtm prefix is used to denote a(n) _____ data type.

Date

A _____ Exception occurs when the user enters data that a statement cannot properly handle.

Format

The prefix _____ should be used for naming a TextBox object.

txt

True or False?



By default, a TextBox will display as many lines of text as the user enters.

false

True or False?



MOD operations occur before any other arithmetic operations.

false

The character C is the literal-type character for the _____ data type.

Char

The Decimal data type can represent _____.



- dollar amounts


- very precise decimal numbers


- large numbers

all of the above

True or False?



A variable that can be used in multiple regions of code is called a universal variable.

false

True or False?



Whenever data is stored in RAM, it does not need to be stored as a particular data type.

false

Calculations are performed from right to left, working towards the equal sign.

false

When you include a value in an assignment statement, the value is called _____.

literal

A special variable whose value cannot be changed at runtime

constant

A variable that can be referenced only from within the region in which it was defined

local

The code between the Sub statement and the End Sub statement

procedure

A procedure is a prewritten set of code that can be called by a statement in the _____.

program

A procedure that returns a value is called a(n) _____.

function

Another name for a procedure is a(n) _____.

method

_____ is a function in which all values are rounded based on the digit after the last digit to be displayed.

ToString

A _____ _____ indicates how many digits to the right of a decimal place are to be returned.

precision specifer

A variable that must be used by more than one procedure should be defined at the _____ level.

class

A variable that will be used to contain only whole numbers should be declared as a(n) _____ data type.

Integer

True or False?



When setting up a mask for a MaskedTextBox object, select the Use Validating Type check box to cause the object to verify that the user entered valid numeric data.

true

A(n) _____ Exception occurs when a calculation creates a value larger than one that can be processed by a procedure.

Overflow

The _____ of a variable indicates how long the variable remains active.

lifetime