Miscellaneous Flashcards

1
Q

DRAM vs SRAM

A

1) Speed
DRAM: Slower than SRAM due to the need for constant refreshing and more complex access processes.
SRAM: Faster because it does not require refreshing and has simpler access mechanisms.

2) Cost
DRAM: Less expensive to manufacture due to its simpler design and higher storage capacity.
SRAM: More expensive because it requires more transistors per bit and takes up more space on a chip.

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

PROM vs EPROM

A

1) Reprogrammability
PROM: Once programmed, the data cannot be erased or modified. It is a one-time programmable memory.
EPROM: Can be erased by exposing it to ultraviolet (UV) light and then reprogrammed multiple times.

2) Cost and Complexity
PROM: Cheaper and simpler, as it does not have the capability to be erased or reused.
EPROM: More expensive due to the erasure mechanism (UV light) and the ability to be reused multiple times.

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

ASCII vs Unicode

A

1) ASCII uses 7 bit + check bit / parity bit = 8 bits;
2) Unicode extends it to 8/16/32 bit;
3) UNICODE has bigger character set so requires more disk space;

4) ASCII encodes only 128 characters by assigning numbers;

5) Unicode may use different and more sophisticated representation

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

Variable vs Constant

A

1) Variable: A variable is a named storage location in memory that can hold a value. The value stored in a variable can change during the execution of a program.

2) Constant: A constant is a named storage location whose value cannot be changed once it is assigned. It remains the same throughout the execution of the program.

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

Importance of high level language

A

1) High-level languages provide robust error checking and debugging tools
2) Fixed Syntax
3) unambigous vocabulary

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

Mod vs Div

A

17 DIV 5 would return 3 (the quotient)
5 x 3 = 15 with remainder 2

17 MOD 5 would return 2 (remainder)

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