C# Flashcards

1
Q

The _______ structure directs the computer to process the program instructions, one after another, in the order listed.

A

Sequence Structure

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

The_______ structure alerts the computer that a decision needs to be made, and it provides the appropriate action(s) to take based om the results of that decision.

A

Decision Structure

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

The _______ structure indicates that one or more instructions need to be repeated until some condition is met.

A

Repetition Structure

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

A named location in computer memory that can hold different values at different points in time.

A

Variable

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

A named location in computer memory that cannot be changed after a program is compiled.

A

Constant

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

Describes the format and size of (amount of memory occupied by) a data item (constant or variable).

A

Data Type

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

What are the 6 steps of problem solving ?

A

Analyze the problem, plan the algorithm, desk-check, code the algorithm into the program, test the program, evaluate and modify (if necessary) the program.

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

0 to 255

A

Byte (Reserves 1 byte of memory)

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

-128 to 127

A

sbyte (Reserves 1 byte of memory)

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

-32,700 to 32,700

A

Short (Reserves 2 bytes of memory)

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

0 to 65,535

A

ushort (Reserves 2 bytes)

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

-2 billion to 2 billion

A

int (Reserves 4 bytes)

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

0 to 4 billion

A

uint (Reserves 4 bytes)

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

-9 quintillion to 9 quintillion

A

long (Reserves 8 bytes)

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

0 to 18 quintillion

A

ulong (Reserves 8 bytes)

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

+1.5 * 10

A

Float