CSE333 Quiz 1

Open:   Monday, July 10 at 2:00 pm
Closes:   Wednesday, July 12 at 11:59 pm

Assignments Covered and Learning Goals

  • Exercise 1
    • Write a C Program from scratch.
    • Write code that utilizes command-line arguments and C-string parsing.
    • Write code that uses function declarations.
    • Read C documentation to learn how C standard library functions behave.
    • Use the linter and valgrind.
  • Exercise 2
    • Write code that uses pointers and data representations.
    • Examine the relationship between pointers and arrays.
    • Use format specifiers to handle printing fixed-width integers.
  • Exercise 3
    • Define and use structs with typedef.
    • Use malloc and free to manage dynamically-allocated data without memory leaks.
    • Write some basic automated tests in C.
    • Modularize a C program across multiple files.
  • Homework 1
    • Build generic data structures in C
    • Manipulate and understand pointers
    • Use debugging tools such as gdb and valgrind

Overview

On Gradescope, you will find reflection questions for each of the exercises and homework assignments completed thus far. As these are reflection questions, the reasoning and explanation matter more than the statement of a fact or opinion. Where possible, please try to be brief/concise while still getting your point across.

Submission

Quiz 1 will be submitted on Gradescope. During the submission window, you may open, close, and submit the quiz as many times as you would like to; only your last submission will be graded.

You are to write up and complete each quiz on your own. We want the work you submit to be a representation of your own thoughts. However, we acknowledge that your peers are often one of the best resources for understanding concepts; therefore, we are allowing the "Gilligan's Island Rule."