Day 4 Flashcards

1
Q

Main Memory Organization

A
  1. .stack –>memory used for non-static, local variables
  2. Free space –> reserved for memory for the .stack and .heap to grow in
  3. .heap –> dynamically allocated memory; uninitialized at first
  4. .bss –>uninitialized and zero initialized global and static variables
  5. .data –>holds non-zero initialized global and static variables, exist throughout life of the program.
  6. .text –> stores the compiled code of the currently running program.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Software vulnerabilities

A

Weaknesses allowing an attacker to violate the security of the software system.

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

Buffer

A

Variable that holds more than one value.

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

Buffer Overflow

A

Occurs when too many values are written to the buffer, causes data to be written outside the buffer’s allocated memory space.

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

Stack Overflow

A

Goal is to overwrite the function return address or function pointer in an attempt to redirect the program to malicious code.

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

Multiplexor

A

Used to select the desired output. Cont selects the bitwise input or the adder input.

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

X86

A

example of Cisc processor architecture

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

Advanced Risk Machine (ARM)

A

RISC based processor architecture

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

Big Endian:

A

most significant byte first

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

Little Endian:

A

least significant byte first

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

Memory-to-Register:

A

architecture that supports data processing operations on both registers and memory locations. (cisc)

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

Variable length instructions:

A.

A

CISC processors use. Each instruction contains an opcode and either one or two operands. More complex to decode and do not perform as well as RISC processors when pipelining instructions. Save storage space.

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

Fixed length instructions:

A

RISC processors use this. Each instruction contains an opcode and three operands.

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

Principle of equivalence:

A

any task done by the software can be done by hardware, and any operation performed directly by hardware can be done using software. Hardware is faster, but software is more acceptable because it costs less and easier to modify.

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

Microprogrammed:

A

software programmed on top of hardware to implement the ISA. CU uses 6-16 registers in a single set.

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

Hardwired:

A

complete hardware solution to implement the ISA.

17
Q

Which of the following is the implementation of multithreading used by Intel in x86 CPUs?

A

Hyperthreading

18
Q

Using information sheet 4-8 x86 Processor spec-sheet, how many cores and threads does the Intel i7-3930K processor have?

A

6,12

19
Q

Pipelining:

A

allows overlapping execution of multiple instructions in a single fetch-decode-execute data path.

20
Q

Thermal Design Power:

A

tells cooling system designers how much heat must be dissipated from the CPU.

21
Q

Multi-threaded Processing:

A

is intelligent scheduling of instructions from two fetch-decode data paths to a single execution stage. (Constantly processing)

22
Q

Using Information sheet 4-8 x86 Processor spec-sheet, what is the TDP of the Intel Core i7-3930K processor?

A

130W

23
Q

Superscalar Processors:

A

use a single fetch-decode data path leading to multiple execute stages allowing for more than one instruction per clock cycle. Must check for data dependencies at run time, to prevent executing an instruction that needs data from a previous instruction that is still executing.

24
Q

Instruction- Level Parallelism:

A

is a result of each stage of a pipeline having an instruction.

25
Q

Clustered Systems

A

In clustered systems, each computer in the group is a node, and is a complete processing unit. Unlike a network, the entire group of computers appears as a single unit to the user.

26
Q

What purposes can GPUs fill?

A
  1. Graphics
  2. Mathematics
  3. Cryptography
27
Q

What is short vector processing

A

an implementation of SIMD that allows execution of an instruction against all elements of a vector simultaneously.

28
Q

What is Standard Performance Evaluation Corporation?

A

uses a tailored benchmark suite to test the specific functionality for which the system was designed.

29
Q

Shared memory systems

A

all CPUs have access to a single memory space, communicate via the system bus/memory, and must lock memory prior to accessing it.

30
Q

Multicore Processing:

A

consists of two or more processing units on a single chip.

31
Q

Field-programmable gate array

A

is an integrated circuit configured by the customer

32
Q

Asymmetric multiprocessing:

A

software known as hardware description language (HDL).

assigns one CPU as the master, which manages the system and controls all resource scheduling.

33
Q

MIPS or Million instructions per second:

A

uses a mixture of floating-point and integer arithmetic and logical operations to make a general-purpose performance measurement of a computer system, ignoring system design concerns.

34
Q

What provides true multitasking?

A

Multicores

35
Q

Distributed shared memory systems

A

each CPU has independently allocated memory within the shared memory space, and communicate via a dedicated interconnect.

36
Q

What does symmetric multiprocessing do?

A

gives all processors equal access to the OS and all system resources.

37
Q

Multiple Instruction Multiple Data (MIMD:

A

is the computer architecture classification in which multiple processing units fetch individual instructions and perform their operations on individual pieces of data.