UP | HOME

Midterm Exam
COP-3223H

Table of Contents

Exam format

Type Count
Multiple choice 16
Long answer 8
TOTAL 24

Exam Procedure

  • You will need the do the following to have your exam counted
    • Be in the exam room physically.
    • If being used in the class for attendance, Use UCF here to record your attendance, or notify the instructor if you come in late.
    • Submit your exam on time before leaving the room
    • Show your UCF ID to instructional staff
  • Submit your exam questions, showing your UCF ID card and your notes
    • Do not take the question sheet (if received)
    • You may keep your notes
  • Sit at least one seat apart from other students (only if possible)
  • Have on your desk only the following:
    • Notes
    • Blank scratch paper
    • The exam
  • Having any other items, devices, information sources, materials, or any other assistance to you or others is prohibited and will results in no credit for the exam, this includes but is not limited to
    • Cell phones or other electronic devices
    • Mechanical devices
    • Information sources
    • Communication devics
    • Any other information open or available on your laptop
    • Anything else
  • Follow the University and course policies, such as the golden rule and prohibitions on unauthorized assistance
  • SAS students will take the exam at SAS and they will take attendance
  • Raise your hand and a proctor will come to you
  • Stop taking the test no later than the end of the class period

Content

Mental Model

  • Understand the mental model of computation based on the desktop calculator, plus memory for values and instructions and gotos (both unconditional and conditional).

Programming Environment

  • The basic bash commands shown in class
  • The basic emacs commands shown in class
  • The basic git commands shown in class

Output, Arithmetic, and Input

  • Performing input (scanf), output (printf/putchar) in C as shown in class.
  • Arithmetic expressions and variables in C as shown in class.
  • Understand C's arithmetic order of operations

Conditionals

  • Understand the semantics of if and if-then-else statements and write programs using them
  • Analyze programs using conditional statements
  • Conditional tests as C expressions that return a value (which can be stored in variables)
  • Boolean operators and their equivalents as if/if-then-else statements
  • Using truth tables

Switch and State Machines

  • Understand the semantics of switch statements and how to write programs using them
  • Analyze programs using switch statements
  • Write and analyze programs implementing state machines

Loops

  • Understand the semantics of while and do-while statements and write programs using them
  • Analyze programs using loops

For Loops, Arrays, and Strings

  • Understand the semantics of for loops and write programs using them
  • Analyze programs using loops
  • Understand the semantics and behavior of arrays and write programs using them
  • Analyze programs using arrays
  • Understand strings as character arrays
  • Use the basic string functions shown in class

Author: Paul Gazzillo

Created: 2026-10-19 Mon 10:29

Validate