Docsity

WGU C952 Revised Study Guide, Exams of Nursing

Toggle sidebar
bg1
1 / 24
WGU C952 Revised Study Guide
1.
Register
File:
A state element that consists of a set of registers that can be read and written by supplying a
register number to be accessed.
provides 1024 scalar 32-bit registers for up to 64 threads.
2.
machine
language:
The language made up of binary-coded instructions that is used directly by the
computer
3.
system
software:
The set of programs that enables a computer's hardware devices and application
software to work together; it includes the
operating system and utility programs.
4.
operating
system:
(computer science) software that controls the execution of computer programs and
may provide various services
5.
Assembly
Language:
Programming language that has the same structure and set of commands as
machine languages but allows programmers to use
symbolic representations of numeric machine code.
6.
IBM
360/91:
Introduced
many
new
concepts,
including
dynamic
detection
of
memory
hazards,
generalized forwarding, and reservation stations. Tomasulo's
algorithm
The internal organization of the 360/91 shares many features with the Pentium III and Pentium 4, as well as with several other microprocessors. One major ditterence was
that there was no branch prediction in the 360/91 and
hence
no
speculation.
Another
major
ditterence
was
that
there
was
no
commit
unit,
so
once
the
instructions
finished
execution, they updated the registers.
7.
Dynamic Random Access Memory (DRAM):
Memory built as an integrated circuit; it provides
random access to any location. Access times
are 50 nanoseconds and cost per gigabyte in 2012 was $5 to $10.
Multiple DRAMs are used together to contain the instructions and data of a program. In contrast to sequential access memories, such as magnetic tapes, the RAM portion of
the term DRAM means that memory accesses take basically the same amount of time no matter what portion of the memory is read.
Modern
DRAMS
consist
of
rows
in
each
bank
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18

Partial preview of the text

Download WGU C952 Revised Study Guide and more Exams Nursing in PDF only on Docsity!

1 / 24

WGU C952 Revised Study Guide

1. Register File: A state element that consists of a set of registers that can be read and written by supplying a register number to be accessed.

provides 1024 scalar 32-bit registers for up to 64 threads.

2. machine language: The language made up of binary-coded instructions that is used directly by the computer

3. system software: The set of programs that enables a computer's hardware devices and application software to work together; it includes the

operating system and utility programs.

4. operating system: (computer science) software that controls the execution of computer programs and may provide various services

5. Assembly Language: Programming language that has the same structure and set of commands as machine languages but allows programmers to use

symbolic representations of numeric machine code.

6. IBM 360/91: Introduced many new concepts, including dynamic detection of memory hazards, generalized forwarding, and reservation stations. Tomasulo's

algorithm The internal organization of the 360/91 shares many features with the Pentium III and Pentium 4, as well as with several other microprocessors. One major ditterence was that there was no branch prediction in the 360/91 and hence no speculation. Another major ditterence was that there was no commit unit, so once the instructions finished execution, they updated the registers.

7. Dynamic Random Access Memory (DRAM): Memory built as an integrated circuit; it provides random access to any location. Access times

are 50 nanoseconds and cost per gigabyte in 2012 was $5 to $10. Multiple DRAMs are used together to contain the instructions and data of a program. In contrast to sequential access memories, such as magnetic tapes, the RAM portion of the term DRAM means that memory accesses take basically the same amount of time no matter what portion of the memory is read. Modern DRAMS consist of rows in each bank

2 / 24

8. frame buffering: A portion of RAM containing a bitmap that drives a video display. It is a memory butter containing a complete frame of data.

The image to be represented onscreen is stored in the frame butter, and the bit pattern per pixel is read out to the graphics display at the refresh rate. The animation below shows a frame butter with a simplified design of just 4 bits per pixel.

9. Datapath: The component of the processor that performs arithmetic operations

10. Control: The component of the processor that commands the datapath, memory, and I/O devices according to the instructions of the program.

11. Integrated circuit: Also called a chip. A device combining dozens to millions of transistors.

12. Central processor unit (CPU): Also called processor. The active part of the computer, which contains the datapath and control and which adds

numbers, tests numbers, signals I/O devices to activate, and so on.

13. Static random access memory (SRAM): Also memory built as an integrated circuit, but faster and less dense than DRAM.

14. Instruction set architecture: Also called architecture. An abstract interface between the hardware and the lowest-level software that

encompasses all the information necessary to write a machine language program that will run correctly, including instructions, registers, memory access, I/O, and so on.

15. Application binary interface (ABI): The user portion of the instruction set plus the operating system interfaces used by application

programmers. It defines a standard for binary portability across computers.

16. Volatile memory: Storage, such as DRAM, that retains data only if it is receiving power.

17. Nonvolatile Memory: A form of memory that retains data even in the absence of a power source and that is used to store programs between

runs. A DVD disk is nonvolatile.

18. Magnetic disk: Also called hard disk. A form of nonvolatile secondary memory composed of rotating platters coated with a magnetic recording

material. Because they are rotating mechanical devices, access times are about 5 to 20 milliseconds and cost per gigabyte in 2012 was $0.05 to $0.

19. Main memory: Also called primary memory. Memory used to hold programs while they are running; typically consists of DRAM in

today's computers.

20. Secondary memory: Nonvolatile memory used to store programs and data between runs; typically consists of flash memory in PMDs and

4 / 24 Formula total process time = [longest task * (total load -1)] + total load time

35. R-format ALU operations: Requires register file and the ALU.

36. Program Counter (PC): The register that contains the address of the next instruction to be executed

37. output: The results of the operation of any system.

38. temporal locality: The principle stating that if a data location is referenced then it will tend to be referenced again soon.

39. spatial locality: The principle stating that if a data location is referenced, data locations with nearby addresses will tend to be referenced

soon.

40. Memory hierarchy: A structure that uses multiple levels of memories; as the distance from the processor increases, the size of the memories and

the access time both increase.

41. Block (or line): The minimum unit of information that can be either present or not present in a cache.

42. Hit rate: The fraction of memory accesses found in a level of the memory hierarchy.

43. Miss rate: The fraction of memory accesses not found in a level of the memory hierarchy

44. miss penalty: The time required to fetch a block into a level of the memory hierarchy from the lower level, including the time to access the block,

transmit it from one level to the other, insert it in the level that experienced the miss, and then pass the block to the requestor.

45. Hit time: The time required to access a level of the memory hierarchy, including the time needed to determine whether the access is a hit or a miss.

46. Parallelization: consist of dividing a program into separate components that run in parallel on individual computers in the cluster

47. superscalar: Technique primarily associated with hardware.

5 / 24 Functional units (ALU, Floating Point Unit, Load/Store Unit) are duplicated in the pipeline of a superscalar processor which allows the hardware to issue multiple instructions to each unit simultaneously.

48. ARM architecture: can support 16-bit

49. Amdahl's Law: A formula used to find the maximum improvement possible by improving a particular part of a system. In parallel computing,

Amdahl's law is mainly used to predict the theoretical maximum speedup for program processing using multiple processors

50. multiprocessor: A term used to refer to a computer with more than one CPU.

51. Uniform Memory Access (UMA): A multiprocessor in which latency to any word in main memory is about the same no matter which

processor requests the access.

52. Non-Uniform Memory Access (NUMA): Varying system memory access times, because of system hardware.

53. loop unrolling: A technique to get more performance from loops that access arrays, in which multiple copies of the loop body are made and

instructions from ditterent iterations are scheduled together.

54. Blocking: a failure to retrieve information that is available in memory even though you are trying to produce it

can help reduce cache miss rate

55. Set Associative Cache: A cache that has a fixed number of locations (at least two) where each block can be placed.

56. RAID 0 (Disk Striping): Disk Striping. Disk striping requires at least two drives. It does not provide redundancy to data. If any one drive

fails, all data is lost.

57. RAID 1 (mirroring): Two drives are used in unison, and all data is written to both drives, giving you a mirror or extra copy of the data, in the

case that one drive fails

58. RAID 2: Bit-level striping with dedicated Hamming-code parity. OBSOLETE.

59. RAID 3: Byte-level striping with dedicated parity. OBSOLETE, replaced with RAID 5.

7 / 24

72. complementary metal-oxide semiconductor (CMOS): Dominant technology for inte-grated circuits

73. LEGv8: Assembly Language

74. LEGv8 word: A natural unit of access in a computer, usually a group of 32 bits

75. LEGv8 doubleword: Another natural unit of access in a computer, usually a group of 64 bits (8 bytes); corresponds to the size of a register in

the LEGv8 architecture

76. LEGv8 register: 64 bits wide

more registers will lead to a slower clock frequency

77. Smaller is faster: A very large number of registers may increase the clock cycle time simply because it takes electronic signals longer when

they must travel farther. Guidelines such as "smaller is faster" are not absolutes; 31 registers may not be faster than 32. Even so, the truth behind such observations causes computer designers to take them seriously. In this case, the designer must balance the craving of programs for more registers with the designer's desire to keep the clock cycle fast. Another reason for not using more than 32 is the number of bits it would take in the instruction format.

78. Data transfer instruction: A command that moves data between memory and registers.

79. Address: A value used to delineate the location of a specific data element within a memory array.

80. load: data transfer instruction that copies data from memory to a register

81. LEGv8 LDUR: The sum of the constant portion of the instruction and the contents of the second register forms the memory address

The U in LDUR stands for unscaled immeditate

82. base address: starting address of an array in memory (5000 below)

8 / 24

83. base register: register that holds an array's base address (X22 below)

84. offset: a constant value added to a base address to locate a particular array element (8 below)

85. Big Endian: A CPU or memory architecture in which the most significant byte is stored at the lowest memory address.

86. store register: instruction complementary to load. It copies data from register to memory.

the format is similar to load; name of the operation, followed by the register to be stored, then the base register, and finally the ottset to select the array element.

87. LEGv8 STUR: store register

88. spilling register: The process of putting less frequency used variables (or those needed later into memory)

89. reservation station: A butter within a functional unit that holds the operands and the operation.

90. commit unit: The unit in a dynamic or out-of-order execution pipeline that decides when it is safe to release the result of an operation to programmer-

visible registers and memory.

91. Reorder Buffer: The butter that holds results in a dynamically scheduled processor until it is safe to store the results to memory or a register.

92. out-of-order execution: A situation in pipelined execution when an instruction blocked from executing does not cause the following instructions

to wait.

10 / 24

104. Protection: A set of mechanisms for ensuring that multiple processes sharing the processor, memory or I/O devices cannot interfere, intentionally or

unintentionally, with one another by reading or writing each other's data. These mechanism also isolate the operating system from a user process.

105. page: a virtual memory block.

all virtual memory system relocate the program as a set of fixed-size blocks

106. page fault: a virtual memory miss

107. virtual address: An address that corresponds to a location in virtual space and is translated by address mapping to a physical address when

memory is accessed.

108. page table: The table containing the virtual to physical address translations in a virtual memory system. The table, which is stored in memory, is typically

indexed by the virtual page number; each entry in the table contains the physical page number for that virtual page if the page is currently in memory. indexed by the page number from the virtual address

109. swap space: The space on the disk reserved for the full virtual memory space of a process

110. Reference Bit (Use Bit or Access Bit): A field that is set whenever a page is accessed and that is used to implement LRU or other

replacement schemes. ARMv8 calls it an access bit

111. Techniques for reducing total max storage required: 1. Keep a limit register that restrict the size of the page table for a

given process and add more entries as needed.

2. A limit register for each segment specifies the current size of the segment, which grows in units of pages. This type of segmentation is used by many architectures,

including ARMv8 and MIPS. Unlike the type of segmentation discussed in a previous elaboration, this form of segmentation is invisible to the application program, although not to the operating system. This does not work when the address space is used sparsely rather than contiguous.

11 / 24

3. Apply a hashing function to the virtual address so that the table need to be only the size of the number of physical pages in the main memory. AKA inverted page

table. Lookup process can be more complex because it is not indexed

4. Allow the page tables to be paged. It works by allowing the page tables to reside in the virtual address space.

5. Multiple levels of page tables and is the solution that ARMv8 uses to reduce the memory footprint of address translation. This scheme allows the address space to

be used in a sparse fashion (multiple noncontiguous segments can be active) without having to allocate the entire page table. Useful with very large address spaces and in software systems that require noncontiguous allocation. The primary disadvantage of this multi-level mapping is the more complex process for address translation.

112. Least Recently Used (LRU): A replacement scheme in which the block replaced is the one that has been unused for the longest time.

113. dirty bit: indicates if a page has been written since being read into memory

114. Translation Lookaside Buffer (TLB): A cache that keeps track of recently used address mappings to try to avoid an access to the page table.

Can be used to improve access performance by relying on locality of reference TLB size: 16-512 entries Block size: 1-2 page table entries (typically 4-8 bytes each) Hit time: 0.5-1 clock cycle Miss penalty: 10-100 clock cycles Miss rate: 0.01%- 1%

115. Exception Enable (Interrupt Enable): A signal or action that controls whether the process responds to an exception or not; necessary

for preventing the occurrence of exceptions during intervals before the processor has safely saved the state needed for restart.

116. The Intrinsity FastMATH TLB: The memory system uses 4 KiB pages and just a 32-bit address space; thus, the virtual page number is

20 bits long. The physical address is the same size as the virtual address. The TLB contains 16 entries, it is fully associative, and it is shared between the instruction and data references. Each entry is 64 bits wide and contains a 20-bit tag (which is the virtual page number for that TLB entry), the corresponding physical page number (also 20 bits), a valid bit, a dirty bit, and other bookkeeping bits. Like most ARMv8 systems, it uses software to handle TLB misses.

13 / 24

123. syscall: Generates a system call exception that transfers control to the processor and allows access to a dedicated location in supervisor code

space. The process returns to user mode via the RET instruction.

124. L1 cache (primary cache): a cache for a cache

125. L2 cache: A cache for main memory

It is faster than memory, but tends to be larger and slower than the L1 cache

126. Virtual machines: Developed in the mid-1960s.

Benefits: Managing software Managing hardware

127. virtual machine manager (VMM): Hypervisor usually, run in

system mode while guest VM run in user mode. hardware = host VMs = guest It determines how to map virtual resources to physical resources. It is also much smaller than a traditional OS; the isolation portion of a VMM is only 10,000 lines of code

128. Instruction Set Architecture (ISA): The part of the computer architecture related to program-ming, including the native data types,

instructions, registers, addressing modes, memory architecture, interrupt and exception handling, and external I/O.

129. Memory Hierarchy: concept that is necessary for the CPU to be able to manipulate data.

14 / 24

130. Strong scaling: Speed-up achieved on a multiprocessor without increasing the size of the problem.

131. Weak scaling: Speed-up achieved on a multiprocessor while increasing the size of the problem propor-tionally to the increase in the number of

processors. Not bound by Amdah's Law

132. multiprocessor architecture: A unified graphics and computing multiprocessor executes vertex, geometry, and pixel fragment shader

programs, and parallel computing programs advantages: Increased throughput Cost saving Increased reliability

133. Streaming processor (SP): the primary thread instruction processor in the multiprocessor

134. Special function unit (SFU): Compute 32-bit floating-point approximations to reciprocal, reciprocal square root, and key transcendental functions.

It also implements 32-bit floating-point planar attribute interpolation for pixel shaders, providing accurate interpolation of attributes such as color, depth, and texture coordinates.

135. throughput: the amount of work performed by a system during a given period of time

136. CPU Time Formula: (Instructions) x (CPI) x (Clock Cycle Time)

137. Set Associative Cache: A cache that has a fixed number of locations (at least two) where each block can be placed

(Block number) modulo (Num set in the cache) Variable one-way - Original set

16 / 24

149. most significant bit: left most bit

150. Sign and magnitude representation: a signed number representation where a single bit is used to represent the sign and the

remaining bits represent the magnitude

151. sign extension: function of a copy signed load is to copy the sign repeatedly to fill the rest of the register

152. LEGv8 fields: 1. opcode - 11 bits - basic operation of the instruction

2. rm - 5 bits - the second register source operand

3. shamt - 6 bits - shift amount

4. rn - 5 bits - the first register source operand

5. rd - 5 bits - the register destination operand

153. B.EQ: equal

154. B.NE: not equal

155. B.LT: less than

156. B.LE: less than or equal to

157. B.GT: greater than

158. B.GE: greater than or equal to

159. condition codes (flag): 4 bits are used

In MIPS, two registers are compared and the result of the comparison is stored in a third register. Then a conditional branching statement assess the value of the third register to see if the condition is true or false.

17 / 24 Negative (N) Zero (Z) Overflow (V) Carry (C)

160. B.MI: branch on minus

N=

161. B.PL: branch on plus

N=

162. B.VS: branch on overflow set V=

163. B.VC: branch on overflow clear V=

164. branch-and-link instruction: An instruction that branches to an address simultaneously saves the address of the following instruction in a

register (LR or X30 in LEGv8).

165. Return address: A link to the calling site that allows a procedure to return to the proper address; in MIPS it is stored in register

LR (X30)

166. Caller: The program that instigates a procedure and provides the necessary parameter values.

167. Callee: A procedure that executes a series of stored instructions based on parameters provided by the caller and then returns control to the caller.

168. Program counter (PC): The register that contains the address of the next instruction to be executed

169. overflow (floating point): A situation in which a positive exponent becomes too large to fit in the exponent field.

170. underflow (floating point): A situation in which a negative exponent becomes too large to fit in the exponent field.

19 / 24

180. ARMv7: ARM started as the processor for the Acorn computer, hence its original name of Acorn RISC Machine. The Berkeley RISC papers influenced

its architecture.

181. ARMv8: extension of ARMv7 with 64-bit address. ARM took the opportunity to redesign the instruction set to make it look much more like MIPS

than like earlier ARM versions

182. SDIV: Signed divide

183. SUBI: subtract immediate

184. MVZ: move wide with zero

185. LDUR: load register

186. STUR: store register

187. LSL: logical shift left

188. LSR: Logical Shift Right

189. Coprocessor: an additional chip that accelerates a portion of the work of a processor; in this case, it accelerated floating-point computation

190. Combinational element: An operational element, such as an AND gate or an ALU.

191. State element: A memory element, such as a register or a memory.

192. clocking methodology: defines when signals can be read and when they can be written

193. Edge-triggered clocking: any values stored in a sequential logic element are updated only on a clock edge

Edge-triggered state elements make simultaneous reading and writing both possible and unambiguous.

194. Control signal: A signal used for multiplexor selection or for directing the operation of a functional unit; contrasts with a data signal, which

contains information that is operated on by a functional unit.

20 / 24

195. Asserted: The signal is logically high or true

196. Desserted: The signal is logically low or false.

197. rising clock edge: 0 to 1

198. falling clock edge: 1 to 0

199. Sign-extend: To increate the size of data item by replicating the high-order sign bit of the original data item in the high-order bits of the larger,

destination data item.

200. Branch target address: the address specified in a branch, which becomes the new program counter if the branch is taken. In the LEGv8 architecture,

the branch target is given by the sum of the ottset field of the instruction and the address of the branch

201. Branch taken: A branch where the branch condition is satisfied and the program counter becomes the branch target. All unconditional branches are

taken branches

202. branch not taken or (untaken branch): A branch where the branch condition is false and the program counter (PC) becomes the

address of the instruction that sequentially follows the branch.

203. ALUOp: the 4-bit ALU control input using a small control unit that has as inputs the opcode field of the instruction and a 2-bit control field

indicates whether the operation to be performed should be add (00) for loads and stores, pass input b (01) for CBZ, or be determined by the operation encoded in the opcode field (10) 10 is ORR, AND, SUB, ADD (R-type) 00 is LDUR, STUR 01 is CBZ

204. ALU control lines: 0000 is AND

0001 is OR