Majid Sarrafzadeh
Department of Computer Science
AD
3.1
Overall Rating
Based on 85 Users
Easiness 2.2 / 5 How easy the class is, 1 being extremely difficult and 5 being easy peasy.
Clarity 3.1 / 5 How clear the class is, 1 being extremely unclear and 5 being very clear.
Workload 2.5 / 5 How much workload the class is, 1 being extremely heavy and 5 being extremely light.
Helpfulness 2.7 / 5 How helpful the class is, 1 being not helpful at all and 5 being extremely helpful.

TOP TAGS

There are no relevant tags for this professor yet.

GRADE DISTRIBUTIONS
25.0%
20.8%
16.7%
12.5%
8.3%
4.2%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

32.9%
27.5%
22.0%
16.5%
11.0%
5.5%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

39.0%
32.5%
26.0%
19.5%
13.0%
6.5%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

35.5%
29.6%
23.7%
17.8%
11.8%
5.9%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

29.1%
24.3%
19.4%
14.6%
9.7%
4.9%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

22.6%
18.9%
15.1%
11.3%
7.5%
3.8%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

32.3%
26.9%
21.6%
16.2%
10.8%
5.4%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

29.4%
24.5%
19.6%
14.7%
9.8%
4.9%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

28.7%
24.0%
19.2%
14.4%
9.6%
4.8%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

26.4%
22.0%
17.6%
13.2%
8.8%
4.4%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

28.7%
23.9%
19.1%
14.3%
9.6%
4.8%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

34.1%
28.4%
22.7%
17.0%
11.4%
5.7%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

33.0%
27.5%
22.0%
16.5%
11.0%
5.5%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

32.9%
27.4%
21.9%
16.5%
11.0%
5.5%
0.0%
A+
A
A-
B+
B
B-
C+
C
C-
D+
D
D-
F

Grade distributions are collected using data from the UCLA Registrar’s Office.

ENROLLMENT DISTRIBUTIONS
Clear marks

Sorry, no enrollment data is available.

AD

Reviews (65)

1 of 7
1 of 7
Add your review...
Quarter: Fall 2020
Grade: B
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
Feb. 6, 2021

OK this review may destroy all the good impressions you got from the other reviews, but I have to tell u I am telling ONE HUNDRED PERCENT TRUTH!!!!!

Dr. Sarrafzadeh clearly knows the contents of the course very well because I have to admit his lecture contents are acceptable. I enjoyed his lectures because he always tried his best to introduce the algorithms and lead us through the steps. As other reviews mentioned, he came with a bit of "sarcasm," and this really made his lectures intriguing. His homework questions were fair considering the time I spent working on them and the TAs' generous grading policy. There are usually 6 questions per problem set and I spent roughly 6h to finish each week. His midterm was comparatively easy, and I got almost 100 out of it. Until now u are seeing positive comments right? Get prepared here comes the bullshit part.

Note, I got almost 100% before I took the final exam. But for the final, he designed, like the midterm, 2 sets of problems, one for domestic students and one for international students (there were 2 exam time windows, one at 8am, one at 8pm). I took the 8pm test and got 70/100. There were 23 students (most of which from Asia) who took the 8pm final, and we had a group chat. I checked with most students in the group chat and found out 70/100 was actually a pretty decent grade because most of my peers got a score around 60-65.

Now you may think the average for the final should be around 65 and Majid would curve up the grade . Well you are wrong, or I have to say more than wrong. Later I received a B grade and he told us he would not curve because the final grade was "unusually high". As a result, I asked the Dean for help and got the distribution of the final grades. It turned out domestic time window got a mean of around 88, and international 78. I could not figure out why was the median 78 given that I had already spoken to most of my classmates taking the 8pm test and they received scores around 65??? He gave out 62/180ish A's and it turned out almost none of them were from the 8pm test. He insisted that the 2 tests had same difficulty level, and international students did poor on the exam simply because they did not master the materials well. But I got 100/100 before the final and I still screwed the final to such an extent. So I personally do not think he offered a fair set of tests.

"WHAT A GOOD ALGORITHM," quoting one of my classmates

Helpful?

9 0 Please log in to provide feedback.
Quarter: Fall 2020
Grade: B
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
Verified Reviewer This user is a verified UCLA student/alum.
Feb. 3, 2021

Designed two sets of tests with one easier for domestic students and one harder for international students?
What a good strategy!

Helpful?

11 1 Please log in to provide feedback.
Quarter: Fall 2023
Grade: N/A
Dec. 25, 2023

Maybe you want to skip this review because I typically don't do well in my CS courses, so my perspective might not be representative of the average CS major. However, I think this is the class that will finally make me drop out of the major for real.

I'm complaining a lot, but I really just feel defeated. Throughout the quarter, I went to and paid complete attention in every lecture and discussion, asking lots of questions and taking notes. The lectures aren't recorded, so if you don't go, you're basically screwed. Ironically, I feel like he explains things very well, and his lectures and the TA discussion slides are a lot easier to understand than the textbook. Also, sometimes he drops major hints for the midterm and final, but these are pretty rare.

The homework sometimes took me 6+ hours to finish, but it was pretty doable if you start early like I did and asked TAs/had a good study group. The graders sometimes took off points for random reasons, but I would generally say that they were pretty lenient.

My problem is the way the exams are graded. Some of the problems (mainly the creative ones) are looking for very specific keywords and steps in your algorithm, and if you don't have those, you basically get a 7/20 on that problem or worse. You are expected to give a proof and time complexity analysis for most problems but these are barely worth any points at all. The final for this class was the worst score I have ever gotten on any CS exam, and while the midterm was much more reasonable, the grading rubric was also pretty unclear. I just think it wasn't really fair at all because one of the questions was extremely vague and no one could tell what it was even referring to, and people got points off for doing what was essentially said in lecture. Many of the other questions were similarly vague, and the rubrics were as well. I nearly got a zero on 3 questions and most of them just say that my algorithm is incorrect without telling me why. I just feel like the questions on that exam went way beyond what was taught in lecture, and the official correct answer was something that no one could have come up with. In these cases regrade requests are your only hope.

I don't think this professor is even usually this bad. However, if you're like me and find CS difficult, you're probably better off taking it with a different professor or doing an alternative. The tests can be a complete RNG and the grading was...something. Based on my calculations I will probably get a low C in this class if I factor in the final, and I'm really worried. I don't want to discourage anyone who (unlike me) can probably handle this class fine, but I really feel like I did everything I could this time and got nothing in return.

Helpful?

3 0 Please log in to provide feedback.
Quarter: Spring 2022
Grade: A
June 17, 2022

I personally think Majid is a good professor. His lectures were clear and paced really well (not too slow, not too fast, not too boring, not too many jokes). The HWs were long and hard but doable if you put time into it (and they're graded very leniently). For exams, he gave points quite leniently as long as you wrote something for proofs/time complexity.

I feel like Majid really cares about the students. For the final, he actually changed the grading rubrics of two questions in favor of the majority of the students due to our feedback, which is rare to see. I also like how he gave a large percentage of A's because of the high avg/median in the exams (midterm and final were both around 90) instead of curving down the class.

Helpful?

3 0 Please log in to provide feedback.
Quarter: Fall 2021
Grade: A+
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
Jan. 6, 2022

Would not recommend. Majid is a spiteful person who made my blood curdle every time he spoke.

Helpful?

3 0 Please log in to provide feedback.
Quarter: Fall 2023
Grade: A
Verified Reviewer This user is a verified UCLA student/alum.
Dec. 27, 2023

You would think that teaching a CORE CS class would institute someone who gives more of a fuck about his class. He is almost unreachable, and when he is, he defers you to his TAs (who were also pretty iffy). The Homeworks take way too long (3-5 hours) if you wanna do them right and usually you do them wrong and they do not really pertain to his lecture material. He is a decent lecturer but will only take up 50-70% of the 2 hour time and he even removed a part of the syllabus (Bellman Ford Alg.) to make up for his laziness. The grading and exams are abysmal because the questions are worded horribly to convey his intended answers. Ive gone from 5/20 to 20/20 on a question because of a misinterpretation of an exam question, where the TAs later had to fix. This was also the case for the final. I could go on and on about how this guy should NOT be teaching this important of a class but you should read my fellow peers' reviews on him (esp. this shitshow of a quarter: F23)

Helpful?

2 0 Please log in to provide feedback.
Quarter: Fall 2023
Grade: B
Dec. 27, 2023

Very bad experience. The worst part of the class are the exams. Although he curves almost a letter grade above your actual grade for the exams, it is still not enough and not fair. About half of the exam questions are very difficult/novel problems. Majid's teaching style does not work for most students. He uses no slides and no notes are posted. He simply speaks and draws maybe 2 or 3 diagrams. You must write furiously to get all of the information during lecture. The lectures are not recorded and he refuses to record them. He gives small hints for what can be on the exam for like 30sec and sometimes those things will be a whole problem on the exam. He is not nice outside of class.

Helpful?

2 0 Please log in to provide feedback.
Quarter: Fall 2022
Grade: A
Verified Reviewer This user is a verified UCLA student/alum.
Oct. 6, 2022

Avoid at all cost!!!

Helpful?

2 0 Please log in to provide feedback.
Quarter: Spring 2022
Grade: A
Verified Reviewer This user is a verified UCLA student/alum.
June 17, 2022

Majid was a good lecturer—spoke clearly, made the content approachable, and was entertaining.

Homework was around six questions per week and was graded primarily on completion. Homework solutions were online for almost every problem. Though, if you want to derive the solution on your own and fully understand each question, expect the homework to take a while to complete (on average >1 hour per problem). Homework questions seemed more difficult than exam questions, so if you understand the homework, you should do well on the exams.

With respect to the midterm and final, partial credit is key in this class: if you write the correct keyword in your algorithm or proof, you can get a majority of the points while still having a flawed algorithm. You may even have a completely incorrect algorithm, but if you explicitly cite paradigms taught in class, you will earn many points.

Overall, this was a good class, and I'm glad that Majid was the professor. I highly recommend diving into the material since this exact content is what needs to be mastered for leetcode/job interviews. Good luck!

Helpful?

2 0 Please log in to provide feedback.
Quarter: Fall 2023
Grade: N/A
Verified Reviewer This user is a verified UCLA student/alum.
Dec. 25, 2023

Probably the worst computer science professor I have had the displeasure of having so far. He consistently ends class early every day (by an hour or more), despite not covering the full materials required for homework and exams. On exam days, he is overly aggressive about turning over our exams to where we can write our names... (it literally just has the name to fill out and number of questions, nothing else). He forces you to take pictures of your exam to upload to gradescope using the god awful UCLA wifi in Young, and imposes an arbitrary time limit of 8 minutes to do so, despite technical issues, if you are not able for any reason, he decided its reasonable to assume you are cheating. Even worse, he takes the the assigned time for exams and reduces it to two hours, and only announces this decision days before the final. He also does not record lectures for some asinine reason. You're telling me that you can't even commit the full lecture time to lecture us, but he also can't post recording in a BruinCast equipped room? I have showed up to a couple lectures, and to say that the abysmal attendance rate would be worse with recordings being posted... is optimistic. He also tells you that some topics will DEFINITELY be on the exam, but they rarely are. The homeworks are completely unrelated to exam material and are of unreasonable difficulty (yeah, thanks Majid for giving us an optional homework 7 in which NONE of the topics are on the final). Also expect the homeworks to take 5+ hours, with provided solutions being incorrect (you would think they would try to go through the psuedo-code on the examples at the very least). Besides Vincent, the TAs this quarter were basically useless. I would describe Majid as angry, lazy, incompetent, and unfair. Although I enjoyed the topics of this class, I can not in good faith recommend this dog shit professor. No idea how this professor has even close to a 3.0 rating, I would say that a 1.0 rating would be fair, although that would be erring on the side of optimistic.

Helpful?

3 1 Please log in to provide feedback.
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
Quarter: Fall 2020
Grade: B
Feb. 6, 2021

OK this review may destroy all the good impressions you got from the other reviews, but I have to tell u I am telling ONE HUNDRED PERCENT TRUTH!!!!!

Dr. Sarrafzadeh clearly knows the contents of the course very well because I have to admit his lecture contents are acceptable. I enjoyed his lectures because he always tried his best to introduce the algorithms and lead us through the steps. As other reviews mentioned, he came with a bit of "sarcasm," and this really made his lectures intriguing. His homework questions were fair considering the time I spent working on them and the TAs' generous grading policy. There are usually 6 questions per problem set and I spent roughly 6h to finish each week. His midterm was comparatively easy, and I got almost 100 out of it. Until now u are seeing positive comments right? Get prepared here comes the bullshit part.

Note, I got almost 100% before I took the final exam. But for the final, he designed, like the midterm, 2 sets of problems, one for domestic students and one for international students (there were 2 exam time windows, one at 8am, one at 8pm). I took the 8pm test and got 70/100. There were 23 students (most of which from Asia) who took the 8pm final, and we had a group chat. I checked with most students in the group chat and found out 70/100 was actually a pretty decent grade because most of my peers got a score around 60-65.

Now you may think the average for the final should be around 65 and Majid would curve up the grade . Well you are wrong, or I have to say more than wrong. Later I received a B grade and he told us he would not curve because the final grade was "unusually high". As a result, I asked the Dean for help and got the distribution of the final grades. It turned out domestic time window got a mean of around 88, and international 78. I could not figure out why was the median 78 given that I had already spoken to most of my classmates taking the 8pm test and they received scores around 65??? He gave out 62/180ish A's and it turned out almost none of them were from the 8pm test. He insisted that the 2 tests had same difficulty level, and international students did poor on the exam simply because they did not master the materials well. But I got 100/100 before the final and I still screwed the final to such an extent. So I personally do not think he offered a fair set of tests.

"WHAT A GOOD ALGORITHM," quoting one of my classmates

Helpful?

9 0 Please log in to provide feedback.
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
Verified Reviewer This user is a verified UCLA student/alum.
Quarter: Fall 2020
Grade: B
Feb. 3, 2021

Designed two sets of tests with one easier for domestic students and one harder for international students?
What a good strategy!

Helpful?

11 1 Please log in to provide feedback.
Quarter: Fall 2023
Grade: N/A
Dec. 25, 2023

Maybe you want to skip this review because I typically don't do well in my CS courses, so my perspective might not be representative of the average CS major. However, I think this is the class that will finally make me drop out of the major for real.

I'm complaining a lot, but I really just feel defeated. Throughout the quarter, I went to and paid complete attention in every lecture and discussion, asking lots of questions and taking notes. The lectures aren't recorded, so if you don't go, you're basically screwed. Ironically, I feel like he explains things very well, and his lectures and the TA discussion slides are a lot easier to understand than the textbook. Also, sometimes he drops major hints for the midterm and final, but these are pretty rare.

The homework sometimes took me 6+ hours to finish, but it was pretty doable if you start early like I did and asked TAs/had a good study group. The graders sometimes took off points for random reasons, but I would generally say that they were pretty lenient.

My problem is the way the exams are graded. Some of the problems (mainly the creative ones) are looking for very specific keywords and steps in your algorithm, and if you don't have those, you basically get a 7/20 on that problem or worse. You are expected to give a proof and time complexity analysis for most problems but these are barely worth any points at all. The final for this class was the worst score I have ever gotten on any CS exam, and while the midterm was much more reasonable, the grading rubric was also pretty unclear. I just think it wasn't really fair at all because one of the questions was extremely vague and no one could tell what it was even referring to, and people got points off for doing what was essentially said in lecture. Many of the other questions were similarly vague, and the rubrics were as well. I nearly got a zero on 3 questions and most of them just say that my algorithm is incorrect without telling me why. I just feel like the questions on that exam went way beyond what was taught in lecture, and the official correct answer was something that no one could have come up with. In these cases regrade requests are your only hope.

I don't think this professor is even usually this bad. However, if you're like me and find CS difficult, you're probably better off taking it with a different professor or doing an alternative. The tests can be a complete RNG and the grading was...something. Based on my calculations I will probably get a low C in this class if I factor in the final, and I'm really worried. I don't want to discourage anyone who (unlike me) can probably handle this class fine, but I really feel like I did everything I could this time and got nothing in return.

Helpful?

3 0 Please log in to provide feedback.
Quarter: Spring 2022
Grade: A
June 17, 2022

I personally think Majid is a good professor. His lectures were clear and paced really well (not too slow, not too fast, not too boring, not too many jokes). The HWs were long and hard but doable if you put time into it (and they're graded very leniently). For exams, he gave points quite leniently as long as you wrote something for proofs/time complexity.

I feel like Majid really cares about the students. For the final, he actually changed the grading rubrics of two questions in favor of the majority of the students due to our feedback, which is rare to see. I also like how he gave a large percentage of A's because of the high avg/median in the exams (midterm and final were both around 90) instead of curving down the class.

Helpful?

3 0 Please log in to provide feedback.
COVID-19 This review was submitted during the COVID-19 pandemic. Your experience may vary.
Quarter: Fall 2021
Grade: A+
Jan. 6, 2022

Would not recommend. Majid is a spiteful person who made my blood curdle every time he spoke.

Helpful?

3 0 Please log in to provide feedback.
Verified Reviewer This user is a verified UCLA student/alum.
Quarter: Fall 2023
Grade: A
Dec. 27, 2023

You would think that teaching a CORE CS class would institute someone who gives more of a fuck about his class. He is almost unreachable, and when he is, he defers you to his TAs (who were also pretty iffy). The Homeworks take way too long (3-5 hours) if you wanna do them right and usually you do them wrong and they do not really pertain to his lecture material. He is a decent lecturer but will only take up 50-70% of the 2 hour time and he even removed a part of the syllabus (Bellman Ford Alg.) to make up for his laziness. The grading and exams are abysmal because the questions are worded horribly to convey his intended answers. Ive gone from 5/20 to 20/20 on a question because of a misinterpretation of an exam question, where the TAs later had to fix. This was also the case for the final. I could go on and on about how this guy should NOT be teaching this important of a class but you should read my fellow peers' reviews on him (esp. this shitshow of a quarter: F23)

Helpful?

2 0 Please log in to provide feedback.
Quarter: Fall 2023
Grade: B
Dec. 27, 2023

Very bad experience. The worst part of the class are the exams. Although he curves almost a letter grade above your actual grade for the exams, it is still not enough and not fair. About half of the exam questions are very difficult/novel problems. Majid's teaching style does not work for most students. He uses no slides and no notes are posted. He simply speaks and draws maybe 2 or 3 diagrams. You must write furiously to get all of the information during lecture. The lectures are not recorded and he refuses to record them. He gives small hints for what can be on the exam for like 30sec and sometimes those things will be a whole problem on the exam. He is not nice outside of class.

Helpful?

2 0 Please log in to provide feedback.
Verified Reviewer This user is a verified UCLA student/alum.
Quarter: Fall 2022
Grade: A
Oct. 6, 2022

Avoid at all cost!!!

Helpful?

2 0 Please log in to provide feedback.
Verified Reviewer This user is a verified UCLA student/alum.
Quarter: Spring 2022
Grade: A
June 17, 2022

Majid was a good lecturer—spoke clearly, made the content approachable, and was entertaining.

Homework was around six questions per week and was graded primarily on completion. Homework solutions were online for almost every problem. Though, if you want to derive the solution on your own and fully understand each question, expect the homework to take a while to complete (on average >1 hour per problem). Homework questions seemed more difficult than exam questions, so if you understand the homework, you should do well on the exams.

With respect to the midterm and final, partial credit is key in this class: if you write the correct keyword in your algorithm or proof, you can get a majority of the points while still having a flawed algorithm. You may even have a completely incorrect algorithm, but if you explicitly cite paradigms taught in class, you will earn many points.

Overall, this was a good class, and I'm glad that Majid was the professor. I highly recommend diving into the material since this exact content is what needs to be mastered for leetcode/job interviews. Good luck!

Helpful?

2 0 Please log in to provide feedback.
Verified Reviewer This user is a verified UCLA student/alum.
Quarter: Fall 2023
Grade: N/A
Dec. 25, 2023

Probably the worst computer science professor I have had the displeasure of having so far. He consistently ends class early every day (by an hour or more), despite not covering the full materials required for homework and exams. On exam days, he is overly aggressive about turning over our exams to where we can write our names... (it literally just has the name to fill out and number of questions, nothing else). He forces you to take pictures of your exam to upload to gradescope using the god awful UCLA wifi in Young, and imposes an arbitrary time limit of 8 minutes to do so, despite technical issues, if you are not able for any reason, he decided its reasonable to assume you are cheating. Even worse, he takes the the assigned time for exams and reduces it to two hours, and only announces this decision days before the final. He also does not record lectures for some asinine reason. You're telling me that you can't even commit the full lecture time to lecture us, but he also can't post recording in a BruinCast equipped room? I have showed up to a couple lectures, and to say that the abysmal attendance rate would be worse with recordings being posted... is optimistic. He also tells you that some topics will DEFINITELY be on the exam, but they rarely are. The homeworks are completely unrelated to exam material and are of unreasonable difficulty (yeah, thanks Majid for giving us an optional homework 7 in which NONE of the topics are on the final). Also expect the homeworks to take 5+ hours, with provided solutions being incorrect (you would think they would try to go through the psuedo-code on the examples at the very least). Besides Vincent, the TAs this quarter were basically useless. I would describe Majid as angry, lazy, incompetent, and unfair. Although I enjoyed the topics of this class, I can not in good faith recommend this dog shit professor. No idea how this professor has even close to a 3.0 rating, I would say that a 1.0 rating would be fair, although that would be erring on the side of optimistic.

Helpful?

3 1 Please log in to provide feedback.
1 of 7
3.1
Overall Rating
Based on 85 Users
Easiness 2.2 / 5 How easy the class is, 1 being extremely difficult and 5 being easy peasy.
Clarity 3.1 / 5 How clear the class is, 1 being extremely unclear and 5 being very clear.
Workload 2.5 / 5 How much workload the class is, 1 being extremely heavy and 5 being extremely light.
Helpfulness 2.7 / 5 How helpful the class is, 1 being not helpful at all and 5 being extremely helpful.

TOP TAGS

There are no relevant tags for this professor yet.

ADS

Adblock Detected

Bruinwalk is an entirely Daily Bruin-run service brought to you for free. We hate annoying ads just as much as you do, but they help keep our lights on. We promise to keep our ads as relevant for you as possible, so please consider disabling your ad-blocking software while using this site.

Thank you for supporting us!