Midterm1_Exam-FULL (1)

Midterm 1 Sample Questions Overview

  • Course: CS 367 - Computer Systems and Programming

  • Semester: Fall 2024

  • Review Period: Weeks 0 - 6 (Aug 26 - Oct 4)

  • Format: Sample questions for study, answers provided one week after question posting.

  • Topics updated based on lecture content.

Schedule of Sample Questions

  • Pre Semester (Week 0):

    • Questions 1-5: CS 110 and CS 262/CS 222 Review Questions (Base and C)

  • Post Week 1 (Aug 26 - Aug 30):

    • Questions 6-8: Chapter 2.1 (Bitwise Review from CS 262/222)

  • Post Week 2 (Sep 2 - Sep 6):

    • Questions 9-15: Chapter 2.3 (Integers)

  • Post Week 3 (Sep 9 - Sep 13):

    • Questions 16-22: Chapter 2.4 (Floating Point and Binary Rounding)

  • Post Week 4 (Sep 16 - Sep 20):

    • Questions 23-30: Chapter 3.8-3.9 (Aggregate Data, Dynamic Memory)

  • Post Week 5 (Sep 23 - Sep 27):

    • Questions 31-35: Chapter 8.2-8.4 (Processes)

  • Post Week 6 (Sep 30 - Oct 4):

    • Questions 36-38: Chapter 8.5 (Signals and I/O)

Textbook References and Resources

  • Review textbook chapters relevant to each topic.

  • Supplementary materials include slides, recitations, and quizzes.

Key Topics for Midterm 1

  1. Bitwise and Logical Operations in C

    • Chapter 2.1.1

  2. Base Conversion (Binary, Decimal, Hexadecimal)

    • Chapter 2.1.3

  3. Addressing and Byte Ordering

    • Chapter 2.1.7

  4. Bit-Level Operations in C (|, &, ^, ~)

    • Chapter 2.1.8

  5. Logical Operations (||, &&, !)

    • Chapter 2.1.9

  6. Shift Operations in C (<<, >>)

  7. Integer Data Types

  8. Two's Complement Representation

  9. Converting between Signed and Unsigned

    • Various chapters cover representation and integer arithmetic.

  10. Pointer Arithmetic and Dynamic Memory Allocations

    • Chapter 9.9

  11. Signals and Exception Handling

  12. Unix I/O Operations

Study Recommendations

  • Focus on sample questions relevant to each topic as they are released.

  • Use provided answers to verify understanding and revisit unclear areas.