Docsity

Exam 1 Study Guide - Computer Systems | CSC 8400, Exams of Operating Systems

Toggle sidebar
bg1
CSC 8400 - Computer Systems 1 Test 1 Study Guide
Test 1 Study Guide
CSC 8400 Computer Systems
Dr. Thomas Way
Test 1 questions will be drawn from material covered in class (through Chapter 3),
from the assigned readings and from the programming workshops (Workshops 1 & 2).
Test questions will only be drawn from the concepts and questions contained on this
study guide. The test 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:
• addressing modes
• ALU
• ASCII
• big endian
• binary vs. unary
operations
• bits
• buffer overflow
• byte
• computer system
• condition codes
• CPU
• disassembler
• effective address
• file
• floating point
• frame pointer
• heap
• hexadecimal
• I/O controller
• immediate operand
• jump instruction
• jump target
• kernel
• label
• little endian
• machine-language
instruction
• memory operand
• motherboard
• one’s complement
• operands
• operating system
• PC
• pointer
• register operand
• return address
• source program
• stack
• stack frame
• stack pointer
• system call
• threads
• two’s complement
• word
• word size
• worm vs. virus
pf2

Partial preview of the text

Download Exam 1 Study Guide - Computer Systems | CSC 8400 and more Exams Operating Systems in PDF only on Docsity!

CSC 8400 - Computer Systems 1 Test 1 Study Guide

Test 1 Study Guide

CSC 8400 Computer Systems Dr. Thomas Way

Test 1 questions will be drawn from material covered in class (through Chapter 3), from the assigned readings and from the programming workshops (Workshops 1 & 2). Test questions will only be drawn from the concepts and questions contained on this study guide. The test 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: - addressing modes - ALU - ASCII - big endian - binary vs. unary operations - bits - buffer overflow - byte - computer system - condition codes - CPU - disassembler - effective address - file - floating point - frame pointer - heap - hexadecimal - I/O controller - immediate operand - jump instruction - jump target - kernel - label - little endian - machine-language instruction - memory operand - motherboard - one’s complement - operands - operating system - PC - pointer - register operand - return address - source program - stack - stack frame - stack pointer - system call - threads - two’s complement - word - word size - worm vs. virus

CSC 8400 - Computer Systems 2 Test 1 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 and its impact on computer systems (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)
  • Describe what data is stored on the program stack (3.7.1)
  • Given a simple bitwise and logical expression such as those created for the Datalab (Workshop 1), be able to explain the output for a specific input.
  • Given a program that exploits the buffer overflow, explain what problems could occur and how it could be fixed. (3.13)
  • Given the source code for the Databomb (Workshop 2), be able to explain approaches to use to figure out how to defuse it by explaining the code and any exploits, problems or nuances that would be helpful to defusing it.