Concepts of programming languages: scopes, parameter passing, storage management; control flow, exception handling; encapsulation and modularization mechanisms; reusability through genericity and inheritance; type systems; programming paradigms (imperative, object-oriented, functional, and others). Emerging programming languages and their development infrastructures.

Prerequisites: Computer Science 130A and 138; open to computer science and computer engineering majors only.

4

Units

Letter

Grading

1, 2, 3

Passtime

None

Level Limit

Engineering

College
Unlocks CMPSC 263
These majors only cmpsc cmpen cpsci
FENG YU
Yu Feng
2.6
40 reviews
PHELP1445
F
09:00 AM - 09:50 AM
34 / 34 Full

PHELP1448
F
10:00 AM - 10:50 AM
33 / 33 Full

PHELP1448
F
11:00 AM - 11:50 AM
33 / 33 Full

Winter 2025 . Feng Yu
TD-W 1701
M W
17:00 PM - 18:15 PM
Summer 2025 . Liu Junrui
PHELP2514
T W R
12:30 PM - 13:50 PM
See All
CMPSC 162 Feng Yu Winter 2025 Total: 113
CMPSC 162 Feng Yu Winter 2024 Total: 100
See All
40
2.6
CMPSC162 . Feng Yu 2 Months Ago

The lecture is clear and easy to understand, however, the final is getting very hard, much harder than last year. (In case everyone gets an A)

0 helpful 0 unhelpful
CMPSC162 . Feng Yu 3 Months Ago

Yu Feng was a very reasonable, engaging professor and his lectures were super clear, so I was never confused even when it got a bit abstract. He went through the entirety of last quarter's final so that we feel prepared. CS162 is much, much easier than CS160. No complaints from me.

0 helpful 0 unhelpful
CMPSC162 . Feng Yu 2 Years Ago

Great and passionate lecturer. Made the class very interesting and approachable!

0 helpful 0 unhelpful
CMPSC162 . Feng Yu 3 Years Ago

I took this course with hesitation, but it was absolutely great. Course has improved across the board. No complaints: the homework assignments were challenging but clear and fair, the professor and TAs were helpful during lectures, office hours, and outside of class. 10/10 Greatest professor redemption arc I've ever seen, kudos to Professor Feng.

0 helpful 0 unhelpful
CMPSC162 . Feng Yu 3 Years Ago

Class was very straightfoward. 6 homework assignments for 100% of the grade. Homework gradescope results were available, so it's easy to know how you're doing in the class. Generous with late days as well, 10 days for the entire course. He has definitely heard the feedback and improved a lot. I highly recommend this professor now!

0 helpful 0 unhelpful
CMPSC162 . Feng Yu 3 Years Ago

I took this class with worries, but it was one of the best CS classes I've taken at UCSB. The class materials are seriously interesting and helpful in other classes. I feel like I now have a better understanding in some of the features in programming languages. 6 hws sum up the total class grade with 10 free late days. No exams.

0 helpful 0 unhelpful
See all 40 reviews
CMPSC 154
101 / 100 Full
Computer Architecture
Jonathan Balkind 3.4
M W
11:00 AM - 12:15 PM
56.2% A
CMPSC 156
95 / 96 Closed
Advanced Applications Programming
Chow S P
T R
17:00 PM - 18:15 PM
97.6% A
CMPSC 165B
67 / 100 Enrolled
Machine Learning
Shiyu Chang 4.7
M W
17:00 PM - 18:15 PM
59.7% A
CMPSC 165A
100 / 100 Full
Artificial Intelligence
Michael Beyeler 5.0
T R
12:30 PM - 13:45 PM
54.5% A
CMPSC 170
98 / 100 Enrolled
Operating Systems
Rich Wolski 4.2
T R
09:30 AM - 10:45 AM
39.8% A
CMPSC 176A
120 / 120 Full
Introduction to Computer Communication Networks
Elizabeth Belding 3.8
T R
14:00 PM - 15:15 PM
45.7% A