CSCI 103L - Fall 2025 Introduction to Programming

MT2 Info

Overview and Proces

Time/Date: Thurs, Nov. 20th at 7 PM Pacific 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

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 and is an excellent example of the type of problems we will have for the exam.

Spring 2023 MT2

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