quiz 1 Flashcards

1
Q

what is primary memory

A

central processing unit (CPU)

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

what is secondary memory. ex.

A

device that stores information permanently. ex. hard disk, flash drives, and cd roms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
Int values= 
bool values=
char values= 
Double value- 
Float value -
A

Int values= -2^31 to 2^31 storage 4 bytes
bool values= true and false storage 1 byte
char values= -2^7 to 2^7 storage 1 byte
Double value- -1.710^308 to 1.710^308 storage 8 bytes
Float value -3.410^38 to 3.410^38 storage 4 bytes

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

input devices

A

keyboard, mouse, scanner, camera

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

output devices

A

monitor, printer, and secondary storage

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

Programming environment problem solving process
1.
2.
3.

A

Programming environment problem solving process

  1. Analyze and outline the problem and its solution requirements, and design an algorithm to solve the problem.
  2. Implement the algorithm in a programming language, and verify it works.
  3. Maintain the program by using and modifying it if the problem domain changes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Compiler-

A

Compiler- translates a program written in a high-level language into machine language

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

Byte-

A

Byte- eight bits

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

Assembler-

A

Assembler- translates a program written in assembly language into machine language. Assembly language instructions are mnemonic

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

Linker-

A

Linker- a program that combines the object program with other programs in the library and is used in the program to create the executable code.

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

Loader-

A

Loader- a program that loads an executable program into main memory.

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

identifiers does and donts

A

donts: cant start with a number, no special symbols, space
does: upper case, lower case, letters, digits, underscore

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