MT1 Info
Overview and Proces
MUST BE TAKEN IN PERSON / NO REMOTE EXAMS
- Time/Date: Wed, Oct. 9 in class
- Duration: 45 minutes
- Location based: GFS 106 (regular classroom)
- OSAS Accommodations: Schedule your exam at the testing center for October 9th (preferably between 12:00 p.m. - 3:30 p.m.)
- Format: The test will be taken on paper. You should use a pencil so you can erase, but MUST write DARKLY as we will scan your exams afterwards for grading purposes. The majority of questions will be multiple choice based on code analysis/tracing and conceptual material as well as “fill-in-the-blank” to complete code.
- Policies:
- Due to the impossibility of getting to each student’s seat, we CANNOT answer questions during the exam. If you believe a question is missing information needed to answer it OR that there is a typo, neatly write your assumption/note in the margin next to the question and answer it to the best of your ability. We’ll process the issue during the regrade period after exams are returned. And if we find a typo on our end that would have reasonably led to a wrong answer or inability to answer the question, we will simply throw out that question from the exam after the fact.
- We will provide scratch paper for you to write on, BUT NO WORK ON SCRATCH PAPER WILL BE GRADED. You must fill in the appropriate boxes on the actual exam. Scratch paper will be collected and shredded after the exam.
- The exam is Closed book, Closed notes, no phones or electronic device usage). Any violation of these rules will result in a report to the Office of Academic Integrity with a proposed sanction of F in the class.
- Please use the restroom ahead of time so as to avoid interrupting other students. If needed, you must request to use the restroom or leave the classroom for any reason and only 1 person will be allowed to leave at a time.
- You may not have headphones or earbuds in.
- You MAY NOT leave early from the exam. If you finish early, sit quietly, check your work, or draw a CREATIVE picture on the back of the exam.
Topics
Unit 0b
- Data Types
- Constants
Unit 0c
- Algorithms
- Syntax vs. Semantics
Unit 1a
- Expressions (understand various operations and operators such as
%
and/
) - Output with
cout
- Input with
cin
Unit 1b
- Variables and assignment
- Statements
- Libraries (eg. Math function calls)
- I/O manipulators:
setprecision
, andfixed
Unit 1c
- Division and Modulo operators
- Assignment operations (shift and rotations)
Unit 1d
- Conditional statements
- Comparison operators
if
,if..else
, andif..else if...else
statements- Logical operators (
&&
,||
, and!
)
Unit 2a
while
loopsfor
loops- Tracing of loops
Unit 2b
- Writing basic
while
andfor
loops.
Style
The exam will involve multiple choice, true/false, and tracing questions (fill in the blank, etc.). There may be some questions that ask you to choose the correct code to fill in the blank to complete a program to achieve a particular task.
Ways to Prepare
- Go through the review problems at the end of each relevant chapter in the textbook.
- Study the slides
- Redo the in-class exercises by clicking the “start over” button
- Redo your HW/Lab exercises
- Go through these practice problems that our wonderful former course staff helped to create.
- A sample exam
Sample Exam 1
will be posted on Gradescope 1 week before the exam and will be accessbile via Brightspace..Content..Exam-Prep. Use this only once you have studied and want to see how well you are prepared. This exam mimics the format and style of the actual exam.