Docsity

Computer Systems I - Final Exam Study Guide | CSC 2400, Exams of Operating Systems

Toggle sidebar
bg1
CSC 2400 - Computer Systems I 1 Final Exam Study Guide
Final Exam Study Guide
CSC 2400 Computer Systems I
Dr. Thomas Way
The final exam is drawn from material covered in class, from the assigned readings and
from the programming workshops. Exam questions will only be drawn from the
concepts and questions contained on this study guide. The exam will be OPEN BOOK
and OPEN NOTE, but of course you MUST WORK ALONE to complete the exam.
1. Be able to define, in a few words or a sentence:
• aborts
• addressing modes
• ALU
• ASCII
• big endian
• binary vs. unary
operations
• bits
• buffer overflow
• buses
• byte
• cache hit
• cache memory
• cache miss
• client-server model
• computer network
• computer system
• concurrent processes
• condition codes
• context switching
• CPU
• dirty bit
• disassembler
• DRAM
• effective address
• EOF
• exception
• exception handler
• faults
• file
• floating point
• frame pointer
• heap
• hexadecimal
• HTML
• HTTP
• I/O controller
• i-cache vs. d-cache
• immediate operand
• internet
• interrupts
• jump instruction
• jump target
• kernel
• label
• little endian
• logical control flow
• machine-language
instruction
• main memory
• memory operand
• motherboard
• multi-tasking or time
slicing
• no-write-allocate
• one’s complement
• operands
• operating system
• packet (header, payload)
• PC
• pointer
• private address space
• process
• processor-memory gap
• register operand
• return address
• source program
• SRAM
• stack
• stack frame
• stack pointer
• system call
• system call
• threads
• traps
• two’s complement
• unified cache
• virtual address space
• virtual memory
• word
• word size
• worm vs. virus
• write-allocate
• write-back
• write-through
• zombie process
pf2

Partial preview of the text

Download Computer Systems I - Final Exam Study Guide | CSC 2400 and more Exams Operating Systems in PDF only on Docsity!

CSC 2400 - Computer Systems I 1 Final Exam Study Guide

Final Exam Study Guide

CSC 2400 Computer Systems I Dr. Thomas Way

The final exam is drawn from material covered in class, from the assigned readings and from the programming workshops. Exam questions will only be drawn from the concepts and questions contained on this study guide. The exam will be OPEN BOOK and OPEN NOTE, but of course you MUST WORK ALONE to complete the exam.

1. Be able to define, in a few words or a sentence: - aborts - addressing modes - ALU - ASCII - big endian - binary vs. unary operations - bits - buffer overflow - buses - byte - cache hit - cache memory - cache miss - client-server model - computer network - computer system - concurrent processes - condition codes - context switching - CPU - dirty bit - disassembler - DRAM - effective address - EOF - exception - exception handler - faults - file - floating point - frame pointer - heap - hexadecimal - HTML - HTTP - I/O controller - i-cache vs. d-cache - immediate operand - internet - interrupts - jump instruction - jump target - kernel - label - little endian - logical control flow - machine-language instruction - main memory - memory operand - motherboard - multi-tasking or time slicing - no-write-allocate - one’s complement - operands - operating system - packet (header, payload) - PC - pointer - private address space - process - processor-memory gap - register operand - return address - source program - SRAM - stack - stack frame - stack pointer - system call - system call - threads - traps - two’s complement - unified cache - virtual address space - virtual memory - word - word size - worm vs. virus - write-allocate - write-back - write-through - zombie process

CSC 2400 - Computer Systems I 2 Final Exam Study Guide

2. Be able to (do or briefly explain):

  • Explain the four phases of a compilation system (1.2)
  • Explain three reasons why it pays to understand how compilation systems work (1.3)
  • Be able to label the various components on Figure 1.4 (p. 7)
  • Be able to label the levels of the memory hierarchy in Figure 1.9 (p. 13)
  • Be able to convert between representations: decimal, hexadecimal and binary (2.1)
  • Use an ASCII table to look up characters and their values (Class Resources web page)
  • Explain how a string is stored in an array in memory (2.1.5)
  • Be able to convert between unsigned and signed (two’s complement) binary values (lecture notes, 2.2.3)
  • Be able to provide a brief, informal proof that using two’s complement to represent signed values means that adding the positive and negative value of a number together produces zero as it should (lecture notes)
  • Demonstrate the result of bitwise operators (not, or, and, xor, left shift, right shift) on a binary value.
  • Identify the three fields (sign bit, exponent part, fraction part)of a diagram of an IEEE floating point number (2.4.2, lecture, handout)
  • Briefly explain Moore’s Law (p. 127-128)
  • List the standard sizes in bytes for the data types given in Figure 3.1 (p. 135)
  • List the four typical condition codes and briefly explain the meaning of each (3.6.1)
  • Explain the idea of using a cache and how it can improve performance (6.3.1)
  • List and briefly explain kinds of cache misses (compulsory, conflict, capacity) (6.3.1)
  • Explain the key differences between direct-mapped, set associative and fully associative caches (6.4)
  • Briefly explain each of the four metrics for measuring cache performance, miss rate, hit rate, hit time and miss penalty (6.4.7)
  • Give four reasons why it is important for a programmer to understand exceptional flow control or ECF (pp. 586-587)
  • Briefly explain the 6 stages of the instruction execution cycle (4.3.1)
  • Explain the distinction between a program and a process (p. 613)
  • Describe what data is stored on the program stack (3.7.1)
  • Briefly explain the origins of the Internet (p. 816)
  • Given a one-line expression such as those created for the Datalab (Workshop 1), be able to explain the output for a specific input.