C# Flashcards

(35 cards)

1
Q

is a procedure or formula for solving a problem, based on conducting a sequence of specified actions.

A

Algorithm

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

Is English description of what you want the program to do

A

Pseudocode

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

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
4
Q

alerts the computer that a decision needs to be made, and it provides the appropriate action(s) to take based on the result of that decision.

A

Decision Structure

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

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
6
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
7
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
8
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
9
Q

1st step in the problem solving process

A

Analyze the problem.

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

2nd step in the problem solving process

A

Plan the algorithm.

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

3rd step in the problem solving process

A

Desk-check the algorithm.

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

4th step in the problem solving process

A

Code the algorithm into a program.

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

5th step in the problem solving process

A

Test the program.

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

6th step in the problem solving process

A

Evaluate and modify (if necessary) the program.

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

Characteristics of the class (Variables and Constants)

A

Data Members

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

Behaviors of the class - the things it can d

17
Q

Entity that is a logical grouping of data and behavior members

18
Q

Acts like a container to provide a way to group similar classes

19
Q

Output from the method must be the data type of the value returned

20
Q

Input into a method - each parameter must state the data type and name

21
Q

Defines the circumstances under which variables, methods, and classes can be accessed

A

Access modifiers

22
Q

Anyone can access

23
Q

Can be accessed only by the class it lives in

24
Q

Entry point into a C# application

25
byte
0 to 255 ( reserves 1 byte of memory)( ex car speed)
26
sbyte
-128 to 127 ( reserves 1 byte of memory)( ex scorekeeping)
27
short
-32,768 to 32,767 ( reserves 2 byte of memory)( ex graph)
28
ushort
0 to 65,535 ( reserves 2 byte of memory)( ex tickets, voltage)
29
int
-2,147,483,648 to 2,147,483,647 (reserves 4 byte)( ex debt)
30
uint
0 to 4,294,967,295 (reserves 4 byte)(ex life rate)
31
long
-9 Quintilian to 9 Quintilian (reserves 8 byte)
32
ulong
0 to 18 Quintilian (reserves 8 byte)
33
float (holds 7 significant digits)
float can store +1.5 * 10^-45 to +3.4 * 10^38
34
Double (holds 16 significant digits)
+- 5.0 * 10^-324 to +- 1.7 * 10^308
35
``` sbyte/byte, short/ushort, int/unit, long/ulong float double Scientific E notation significant digits decimal format specifier precision specifier ```
get them done