MT2 Info
Overview and Proces
MUST BE TAKEN IN PERSON / NO REMOTE EXAMS
- Time/Date: Wed, Nov. 4 at 7 p.m. Pacific
- Duration: 90 minutes (1 hour, 30 minutes)
- Location based on Last Name Starting Initial:
- Last Name Starting Initial A-N: THH 201
- ALL students with accommodations: Students with OSAS-approved accommodations MUST schedule the exam on the same date (earlier in the day is fine) with the OSAS testing center.
- Do not sit in the back row of each room.
- Format: The exam will be paper/pen based and include hand-coding. Bring a pencil so you can erase, but write DARKLY. There will be some general knowledge and maybe 1 tracing question, but it will primarily be coding with pencil/paper.
- Policies:
- No calculators, phones, or textbooks are allowed.
- No cheatsheet will be allowed since this exam is focused on writing code. We will provide some reference material for specific functions in Codio itself.
- The exam is Closed book, Closed notes, Closed Internet (search/reference/chatGPT or other AI-tool). 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.
- 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.
- With 10 minutes remaining, no one will be allowed to leave the classroom (no bathroom use or leaving if you are finished). If you finish earlier, you may leave but need to sign out before you leave the room.
- Comments are NOT required and indentation is highly suggested but would only lead to a deduction if egregious formatting is used.
- Again, problems will be visually graded (not compiled and tested automatically). Thus a large amount of partial credit can be given even if your code does not compile or if the output is not exactly correct. We will look for the root cause in the source code and award and deduct based on that.
Topics
Lec 1
- Data Types
Lec 2
- Algorithms
- Constants
Lec 3-4
- Expressions (understand various operations and operators such as
%and/) - Output with
cout - Input with
cin - Variables and assignment
- Statements
- Libraries (eg. Math function calls)
- I/O manipulators:
setprecision, andfixed
Lec 5
- Division and Modulo operators
- Assignment operations (shift and rotations)
Lec 6-7
- Conditional statements
- Comparison operators
if,if..else, andif..else if...elsestatements- Logical operators (
&&,||, and!)
Lec 8-11
whileloopsforloops- Tracing of loops
- Writing basic
whileandforloops.
Lec 12-13
- Arrays
Lec 14-15
- Strings
Lec 15-18
- Nested Loops
- Multidimensional outputs
- Array problems involving nested loops
Ways to Prepare
- Choose relevant Programming problems at the end of each chapter in the textbook.
- Study the slides (less helpful since you’ll primarily be coding)
- Redo the in-class exercises by clicking the “Reset to Scaffold” button, especially the “Array Tasks” exercises.
- Redo your HW/Lab exercises
- Online MT2s
- For the following samples, time yourself and try to limit yourself to 90-100 min. For practice you can code in the Codio assignments we’ve created (linked on Brightspace under Exam Prep) but you may want to just code on paper to understand your abilities and speed in a test-like environment.
