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 24 CMPSC 40 MATH 104A CMPSC 64 PSTAT 134 PSTAT 135
These majors only cmpsc cmpen ee
MATNI Z A
Ziad Matni
4.0
113 reviews
PHELP3525
W
09:00 AM - 09:50 AM
34 / 30 Closed

PHELP3525
W
10:00 AM - 10:50 AM
32 / 30 Closed

PHELP3525
W
11:00 AM - 11:50 AM
34 / 30 Closed

PHELP3525
W
12:00 PM - 12:50 PM
32 / 30 Closed

PHELP3525
W
13:00 PM - 13:50 PM
31 / 30 Closed

See All
Winter 2024 . Majedi M
ILP 1101
M W
14:00 PM - 15:15 PM
Winter 2024 . Burk K T
ILP 1101
T R
15:30 PM - 16:45 PM
See All
CMPSC 16 Matni Z A Fall 2024 Total: 162
CMPSC 16 Matni Z A Fall 2020 Total: 107
See All
113
4.0
CMPSC16 . Matni Z A 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 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 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
CMPSC16 . Matni Z A 4 Months Ago

Professor Matni is a wonderful teacher and provides a very well-rounded understanding of the basics of C++ and problem solving! His lectures are useful and interactive, and the provided worksheets are very helpful! He is also really easily accessible, and very understanding! As long as you do your best, listen, and respect his time, you're golden!

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

Professor Matni is an excellent professor. He drops the lowest quiz score, lab score, and homework grade. His lectures are easy to follow along with and he is very funny and engaging. He clearly wants his students to succeed—his quizzes/final were all really fair and not too difficult. I wish I could have him for all my CS courses.

0 helpful 0 unhelpful
COMM160DS . Matni Z A 2 Years Ago

Prof Matni is my def favorite professor at UCSB. I loved coming to his class; his lectures were engaging in a refreshing way post-covid. Slides are easy to follow & he has this great energy that made class fun and interesting. Plus he is hilarious. Tests are ~fairly~ straightforward but sometimes tricky wording. A lovely man overall. Recommend!

0 helpful 0 unhelpful
See all 113 reviews
CMPSC 8
48 / 50 Enrolled
Introduction to Computer Science
Diba Mirza 4.7
T R
09:30 AM - 10:45 AM
53.5% A
CMPSC 8
206 / 218 Enrolled
Introduction to Computer Science
Diba Mirza 4.7
T R
12:30 PM - 13:45 PM
53.5% A
CMPSC 8
150 / 150 Full
Introduction to Computer Science
Diba Mirza 4.7
T R
12:30 PM - 13:45 PM
53.5% A
CMPSC 9
142 / 150 Closed
Intermediate Python Programming
Richert Wang 4.5
T R
15:30 PM - 16:45 PM
39.3% A
CMPSC 9
98 / 147 Enrolled
Intermediate Python Programming
Kevin Burk 3.0
T R
17:00 PM - 18:15 PM
39.3% A
CMPSC 24
69 / 150 Enrolled
Problem Solving with Computers II
Maryam Majedi 2.0
T R
14:00 PM - 15:15 PM
57.1% A