CSCI 103L - Fall 2025 Introduction to Programming

MT2 Info

Overview and Proces

Time/Date: Monday, April 13th 7-9pm Pacific - 120 minutes.

Topics

The following is the list of topics that you should be familiar with. Use it as a guide to help your studying.

Unit 3a

Unit 3b

Unit 4a

Unit 4b

Unit 4c

Unit 4d

Unit 4e

Unit 4f

Unit 5a and Unit 5b

Unit 5c and Unit 5d and Unit 5e

Summary of Important Topics: All the topics from MT1 and prior assignments are also still requisite knowledge but the majority of the focus will be on the topics listed above. Be sure you are very comfortable with:

Other topics that you should be familiar with:

Practice Problems

Simple Tasks You Should Be Able To Do

File I/O and Arrays: Assume an input file with data values (strings or ints) separated by whitespace. Assume the first item in the list IS an integer of how many more items will appear. Read in all of the data items (after the first integer) and print them out in reverse order. Check to ensure each item was read successfully and quit if any item fails to be read correctly (e.g. if a string appears in the file of ints).

Sample MT2 (Codio)

-On Codio you will find a practice coding MT2 with a C-string problem and the “Electorial College” problem. This exam has been given several times as a coding midterm but this time around we are doing a written midterm. the old question is still good practice.

Spring 2023 MT2

Here are some practice materials. Note that the topics they cover might be slightly different from our list of topics.