Fundamental building blocks for solving problems using computers. Topics include basic computer organization and programming constructs: memory CPU, binary arithmetic, variables, expressions, statements, conditionals, iteration, functions, parameters, recursion, primitive and composite data types, and basic operating system and debugging tools.

Prerequisites: Mathematics 3A or 2A with a grade of C or better (may be taken concurrently), CS 8 or Engineering 3 or ECE 3 with a grade of C or better, or significant prior programming experience.

4

Units

Letter

Grading

1, 2

Passtime

None

Level Limit

Engineering

College
Unlocks CMPSC 40 CMPSC 64 CMPSC 24 PSTAT 235 MATH 104A PSTAT 234
These majors only cmpsc cmpen ee
MATNI Z A
Ziad Matni
4.1
126 reviews
AI predicted, based on past grading trends of the course and instructor, class info, and 127 other factors
PHELP3525
W
11:00 AM - 11:50 AM
35 / 35 Full

PHELP3525
W
12:00 PM - 12:50 PM
34 / 34 Full

PHELP3525
W
13:00 PM - 13:50 PM
34 / 33 Full

PHELP3525
W
14:00 PM - 14:50 PM
30 / 32

PHELP3525
W
15:00 PM - 15:50 PM
33 / 34

PHELP3525
W
16:00 PM - 16:50 PM
24 / 27 Closed

See All
Fall 2024 . Matni Z A
ILP 2101
T R
12:30 PM - 13:45 PM
Winter 2024 . Majedi M
ILP 1101
M W
14:00 PM - 15:15 PM
See All
CMPSC 16 Matni Z A Winter 2026 Total: 180
CMPSC 16 Matni Z A Fall 2024 Total: 162
See All
126
4.1
CMPSC16 . Matni Z A 2 Months Ago

Professor Matni made me actually want to come to class. Very enjoyable course. The way he structured it was very forgiving and low-stress for me as a student. Quizzes every other week just as a learning check, lowest one gets dropped. Pretty easy if you show up to class. Final was fair. No midterms. He's a very funny guy.

0 helpful 0 unhelpful
CMPSC16 . Matni Z A 2 Months Ago

Great lectures, very obvious that Professor Matni cares about his students' learning and the subject itself. He teaches with both slideshows and code demonstrations, so the lectures aren't hard to understand.

0 helpful 0 unhelpful
CMPSC16 . Matni Z A 11 Months Ago

Took CS16 fall quarter as a CE major, he's the GOAT! Super engaging and helpful lecturer, really explains concepts well. Work diligently on the labs (that really aren't that hard!), because being fuzzy on these basic concepts will hurt you in the future. Definitely attend all the lectures that you can.

0 helpful 0 unhelpful
CMPSC16 . Matni Z A 1 Year, 4 Months Ago

Awesome prof. Definitely would recommend this course. Very engaging lectures that were very helpful for the quizzes/final. Only semi-difficult part were the short 15 minute quizzes, but if you prepare a small amount, you should be fine. He does drop lowest hw, quiz, and lab grade which is a plus. The final is pretty straightforward.

0 helpful 0 unhelpful
CMPSC16 . Matni Z A 1 Year, 4 Months Ago

Very engaging lecturer and made the class material easy to digest with jokes and lots of examples/demos. I read the textbook but it was definitely not necessary, as he covered the material well in class. The quizzes were pretty basic, I only significantly studied for the final, which was very reasonable.

0 helpful 0 unhelpful
CMPSC16 . Matni Z A 1 Year, 4 Months Ago

The best C.S. teacher for learning the fundamentals. He teaches at a good pace and has helpful code demos. iclicker participation is only 2% of your grade. The difficulty comes from the quizzes. You only get 15 minutes and some questions are hard.

0 helpful 0 unhelpful
See all 126 reviews
CMPSC 5A
60 / 150 Enrolled
Introduction to Data Science 1
Yekaterina Kate Kharitonova 2.5
T R
15:30 PM - 16:45 PM
CMPSC 8
104 / 114 Enrolled
Introduction to Computer Science
Maryam Majedi 2.6
T R
14:00 PM - 15:15 PM
CMPSC 8
106 / 114 Enrolled
Introduction to Computer Science
Maryam Majedi 2.6
M W
14:00 PM - 15:15 PM
CMPSC 9
144 / 150 Closed
Intermediate Python Programming
Richert Wang 4.5
T R
15:30 PM - 16:45 PM
CMPSC 24
194 / 200 Enrolled
Problem Solving with Computers II
Diba Mirza 4.7
M W
11:00 AM - 12:15 PM
CMPSC 32
60 / 77 Enrolled
Object Oriented Design and Implementation
Nabeel Nasir 4.9
M W
09:30 AM - 10:45 AM