Programming-Chapter 3(2) Flashcards

Processing data

1
Q

Formatting

A

Displaying text in a convenient way

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

String Format

A

O means there is a single number to be formatted
D means the number must be formatted as an int
F2 means floating point formatting with two digits after the decimal point
C means currency
P is percentage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Exception

A

Is an unexpected error that happens while a program is running

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Overflow

A

Occurs when a number is too large or too small to be accommodated
Example of an exception that can occur

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Exception handler

A

Handles exceptions so that a program does not crash

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Instance variable

A

Is a variable that is declared at class level(outside of all methods)
Private key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Panel vs GroupBox

A

Panel cannot display a title
A panels border can be specified by its border style property but a group box cannot be

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What do debuggers allow you to do

A

Pause a program
Execute statements one at a time
Examine variable contents and property values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Logic error

A

A mistake that causes a running program to produce incorrect results(difficult to find)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Autos window

A

Displays a list of the variables, their types and values in and near the current statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Locals window

A

Displays a list of the variables, their types and values in the current method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Watch window

A

Allows you to add names of the variables you want to watch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly