C Sharp Flashcards

1
Q

Data members

A

characteristics of the class

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

methods

A

behaviors of the class-the things it can do

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

Class

A

entity that is a logical grouping of data behavior members

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

Namespace

A

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

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

Return value

A

output from a method - must be the data type of the value returned

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

parameter list

A

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

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

Access modifier

A

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

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

public

A

anyone can access

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

private

A

accessed only by the class it’s self - only by the class it lives in

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

main method

A

entry point into a C# application

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

byte

A

reserves 1 byte of memory 0-255

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

sbyte

A

reserves 1 byte of memory -128/127

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

short

A

reserves 2 bytes of memory -32,768-32,767

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

ushort

A

reserves 2 bytes of memory; 0 - 65,535

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

int

A

4 bytes of mem; -2,000,000,000 - +2,000,000,000`

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

uint

A

0-4,294,967,295; 4 bytes of memory

17
Q

long

A

-9,ooo,ooo,ooo,ooo,ooo,ooo- +9 quintillion 8 bytes

18
Q

ulong

A

0 - 18 quintillioin 8 bytes

19
Q

float

A

7 significant figures 1.5x 10^-45 3.4 x10^38 + or -

20
Q

double

A

16 significant figures 5.0x10^-324 1.7 x10^308 + or -

21
Q

Scientific E notation

A

3.44595E+/-52

22
Q

significant digits

A

the numbers that matter and hold a valuable value