C# Flashcards

1
Q

A process of sets and rules to construct a program

A

Algorithm

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

A notation resembling a simplified programming language.

A

pseudocode

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

Alerts computer that a decision needs to be made and provides appropriate actions 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
4
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
5
Q

Indicates that one or more instructions need to be repeated until 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

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

Analyze the problem, Plan the algorithm, desk check, Code into the program, Test Program,

A

6 steps in the problem Solving process

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

behaviors of the class- the things it can do

A

Methods

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

Entity that is a logical grouping of data and behavior members

A

Class

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

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

A

Namespace

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

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

A

Return Value

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

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

A

Parameter List

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

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

A

Access Modifiers

17
Q

Anyone can access

A

Public

18
Q

can be accessed only by the class it lives in

A

Private

19
Q

Predefined and reserved identifiers that have special meaning to the compiler

A

Keywords

20
Q

Entry point to a C# application

A

Main() method

21
Q

byte

A

0 to 255 Reserves 1 byte of memory

22
Q

sbyte

A

-128 to 127 Reserves 1 byte of memory

23
Q

short

A

-32,768 to 32767 Reserves 2 bytes of memory

24
Q

ushort

A

0 to 65,535 Reserves 2 bytes of memory

25
Q

int

A

-2,147,483,648 to 2,147,483,647 Reserves 4 bytes of memory

26
Q

uint

A

0 to 4,294,967,295 Reserves 4 bytes of memory

27
Q

long

A

-9 Quintillion to 9 Quintillion

28
Q

ulong

A

0 to 18 Quintillion

29
Q

can store any number from +1.5 * 10( -45) with 7 significant digits

A

Float