CS16: Problem Solving With Computers I
Information about Midterm Exam 2
Dept. of Computer Science, UC Santa Barbara
The actual exam
Preparing for the exam
Practice Materials:
Fast facts:
  - When: Wednesday November 16, 1-1:50pm
 
  - Where: 
 
  - You will need: something to write with
 
  - You may bring: 1 sheet of notes, standard 8.5x11 letters size paper
    
      - This may be hand-written or laser printed/photocopies
 
      - It must be one physical sheet of paper, with no "fold out stickers"
 
      - Two sheets back to back are acceptable if stapled or taped 
 
      - But only 2 x 8.5inches x 11inches of surface area is permitted to have writing on them.
 
      - Put your name on your notes sheet, and turn it in with your exam
 
    
   
  - Except for the one permitted notes, sheet, the exam is:
    
      - Closed book, closed notes, closed mouth, cell phones off, but:
 
      
   
  
What is covered:
  -  Homeworks: H01-H10, with emphasis on H06-H10
 
  - Labs: lab00-lab07, with emphasis on lab04-lab07
    
      - Note: only part of lab07 is covered—in particular, arrays of structs.
 
      - string functions (strcmp, strncpy) and reading from files is not covered—that will be on the final
 
      - See details in description of lab07
         
    
   
  - Extra material from lab05a and lab07a
 
  - Lectures through Monday 11/16, with emphasis on material covered since last midterm
 
  - Textbook readings (see below)
 
  - Number Conversions:
    
      - Binary to Octal, Hex, Decimal, Octal, Hex, Decimal to Binary
 
      - Emphasis on: octal numbers used in chmod and ls -l commands (rwxr-xr-x style strings)
 
    
   
  
Textbook coverage for Midterm Exam 2 
  - These sections in Etter---note that this is mostly review of material covered in lecture
    
      - Sections Previously Covered: 2.1-2.4, 3.1-3.4, 4.1-4.2. 
 
      - New sections for Midterm Exam 2: 5.1, 5.6, 6.1, 6.1, 6.4, 7.1, 7.2, 7.3