61A Lecture 1 - wla.berkeley.edu
Transcript of 61A Lecture 1 - wla.berkeley.edu
![Page 1: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/1.jpg)
61A Lecture 1
Wednesday, August 26, 2015
![Page 2: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/2.jpg)
Welcome to Berkeley Computer Science!
2
![Page 3: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/3.jpg)
Soda Hall
Welcome to Berkeley Computer Science!
2
![Page 4: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/4.jpg)
Soda Hall
Welcome to Berkeley Computer Science!
2
John DeNero
![Page 5: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/5.jpg)
Soda Hall
Welcome to Berkeley Computer Science!
2
John DeNero
How to contact me:
![Page 7: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/7.jpg)
Soda Hall
Welcome to Berkeley Computer Science!
2
John DeNero
How to contact me:
piazza.com/berkeley/fall2015/cs61a
![Page 8: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/8.jpg)
Soda Hall
Welcome to Berkeley Computer Science!
2
John DeNero
Fall 2015 office hours:
How to contact me:
piazza.com/berkeley/fall2015/cs61a
![Page 9: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/9.jpg)
Soda Hall
Welcome to Berkeley Computer Science!
2
John DeNero
Fall 2015 office hours:
781 Soda
How to contact me:
piazza.com/berkeley/fall2015/cs61a
![Page 10: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/10.jpg)
Soda Hall
Welcome to Berkeley Computer Science!
2
John DeNero
Fall 2015 office hours:
781 Soda
Monday 3pm-4pm
How to contact me:
piazza.com/berkeley/fall2015/cs61a
![Page 11: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/11.jpg)
Soda Hall
Welcome to Berkeley Computer Science!
2
John DeNero
Fall 2015 office hours:
781 Soda
Monday 3pm-4pm
Thursday 10am-11am
How to contact me:
piazza.com/berkeley/fall2015/cs61a
![Page 12: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/12.jpg)
Soda Hall
Welcome to Berkeley Computer Science!
2
John DeNero
Fall 2015 office hours:
781 Soda
Monday 3pm-4pm
Thursday 10am-11am
How to contact me:
piazza.com/berkeley/fall2015/cs61a
![Page 13: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/13.jpg)
Soda Hall
Welcome to Berkeley Computer Science!
2
John DeNero
Fall 2015 office hours:
781 Soda
Monday 3pm-4pm
Thursday 10am-11am
Fridays by appointment
How to contact me:
piazza.com/berkeley/fall2015/cs61a
![Page 14: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/14.jpg)
Soda Hall
Welcome to Berkeley Computer Science!
2
John DeNero
Fall 2015 office hours:
781 Soda
Monday 3pm-4pm
Thursday 10am-11am
Fridays by appointmentdenero.org/meet
How to contact me:
piazza.com/berkeley/fall2015/cs61a
![Page 15: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/15.jpg)
The Course Staff
3
![Page 16: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/16.jpg)
The Course Staff
3
40+ Teaching Assistants (GSIs/UGSIs) run labs, discussions, and office hours
![Page 17: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/17.jpg)
The Course Staff
3
40+ Teaching Assistants (GSIs/UGSIs) run labs, discussions, and office hours
30+ Tutors are your personal programming mentors
![Page 18: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/18.jpg)
The Course Staff
3
40+ Teaching Assistants (GSIs/UGSIs) run labs, discussions, and office hours
30+ Tutors are your personal programming mentors
150+ Lab Assistants ensure that you don’t get stuck for too long
![Page 19: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/19.jpg)
Soda Hall
The Course Staff
3
40+ Teaching Assistants (GSIs/UGSIs) run labs, discussions, and office hours
30+ Tutors are your personal programming mentors
150+ Lab Assistants ensure that you don’t get stuck for too long
![Page 20: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/20.jpg)
Soda Hall
The Course Staff
3
40+ Teaching Assistants (GSIs/UGSIs) run labs, discussions, and office hours
30+ Tutors are your personal programming mentors
150+ Lab Assistants ensure that you don’t get stuck for too long
![Page 21: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/21.jpg)
Soda Hall Evans Hall
The Course Staff
3
40+ Teaching Assistants (GSIs/UGSIs) run labs, discussions, and office hours
30+ Tutors are your personal programming mentors
150+ Lab Assistants ensure that you don’t get stuck for too long
![Page 22: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/22.jpg)
Soda Hall Evans Hall
The Course Staff
3
40+ Teaching Assistants (GSIs/UGSIs) run labs, discussions, and office hours
30+ Tutors are your personal programming mentors
150+ Lab Assistants ensure that you don’t get stuck for too long
![Page 23: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/23.jpg)
Parts of the Course
4
![Page 24: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/24.jpg)
Parts of the Course
Lecture: Videos posted to cs61a.org before each live lecture
4
![Page 25: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/25.jpg)
Parts of the Course
Lecture: Videos posted to cs61a.org before each live lecture
Lab: The most important events in this course
4
![Page 26: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/26.jpg)
Parts of the Course
Lecture: Videos posted to cs61a.org before each live lecture
Lab: The most important events in this course
Discussion: Also the most important events in this course
4
![Page 27: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/27.jpg)
Parts of the Course
Lecture: Videos posted to cs61a.org before each live lecture
Lab: The most important events in this course
Discussion: Also the most important events in this course
Office Hours: Also the most important events in this course [11-5 M-Th & 11-1 Friday]
4
![Page 28: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/28.jpg)
Parts of the Course
Lecture: Videos posted to cs61a.org before each live lecture
Lab: The most important events in this course
Discussion: Also the most important events in this course
Office Hours: Also the most important events in this course [11-5 M-Th & 11-1 Friday]
Online textbook: http://composingprograms.com
4
![Page 29: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/29.jpg)
Parts of the Course
Lecture: Videos posted to cs61a.org before each live lecture
Lab: The most important events in this course
Discussion: Also the most important events in this course
Office Hours: Also the most important events in this course [11-5 M-Th & 11-1 Friday]
Online textbook: http://composingprograms.com
Weekly homework assignments, three exams, quizzes, & four programming projects
4
![Page 30: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/30.jpg)
Parts of the Course
Lecture: Videos posted to cs61a.org before each live lecture
Lab: The most important events in this course
Discussion: Also the most important events in this course
Office Hours: Also the most important events in this course [11-5 M-Th & 11-1 Friday]
Online textbook: http://composingprograms.com
Weekly homework assignments, three exams, quizzes, & four programming projects
Lots of special events
4
![Page 31: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/31.jpg)
An Introduction to Computer Science
![Page 32: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/32.jpg)
What is Computer Science?
6
![Page 33: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/33.jpg)
What is Computer Science?
6
The study of
![Page 34: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/34.jpg)
What is Computer Science?
6
What problems can be solved using computation,The study of
![Page 35: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/35.jpg)
What is Computer Science?
6
What problems can be solved using computation,How to solve those problems, andThe study of
![Page 36: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/36.jpg)
What is Computer Science?
6
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 37: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/37.jpg)
What is Computer Science?
Systems
6
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 38: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/38.jpg)
What is Computer Science?
Systems
Artificial Intelligence
6
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 39: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/39.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
6
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 40: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/40.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
6
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 41: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/41.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
Networking
Programming Languages
Theory
Scientific Computing
...
6
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 42: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/42.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
Networking
Programming Languages
Theory
Scientific Computing
...
6
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 43: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/43.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
Networking
Programming Languages
Theory
Scientific Computing
...
6
Decision Making
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 44: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/44.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
Networking
Programming Languages
Theory
Scientific Computing
...
6
Decision Making
Robotics
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 45: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/45.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
Networking
Programming Languages
Theory
Scientific Computing
...
6
Decision Making
Robotics
Natural Language Processing
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 46: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/46.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
Networking
Programming Languages
Theory
Scientific Computing
...
6
Decision Making
Robotics
Natural Language Processing
...
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 47: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/47.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
Networking
Programming Languages
Theory
Scientific Computing
...
6
Decision Making
Robotics
Natural Language Processing
...
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
![Page 48: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/48.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
Networking
Programming Languages
Theory
Scientific Computing
...
6
Decision Making
Robotics
Natural Language Processing
...
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
Translation
![Page 49: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/49.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
Networking
Programming Languages
Theory
Scientific Computing
...
6
Decision Making
Robotics
Natural Language Processing
...
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
Translation
Answering Questions
![Page 50: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/50.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
Networking
Programming Languages
Theory
Scientific Computing
...
6
Decision Making
Robotics
Natural Language Processing
...
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
Translation
Answering Questions
...
![Page 51: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/51.jpg)
What is Computer Science?
Systems
Artificial Intelligence
Graphics
Security
Networking
Programming Languages
Theory
Scientific Computing
...
6
Decision Making
Robotics
Natural Language Processing
...
What problems can be solved using computation,How to solve those problems, andWhat techniques lead to effective solutions
The study of
Translation
Answering Questions
...
![Page 52: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/52.jpg)
What is This Course About?
7
![Page 53: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/53.jpg)
What is This Course About?
• A course about managing complexity
7
![Page 54: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/54.jpg)
What is This Course About?
• A course about managing complexity
§Mastering abstraction
7
![Page 55: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/55.jpg)
What is This Course About?
• A course about managing complexity
§Mastering abstraction
§Using programming paradigms
7
![Page 56: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/56.jpg)
What is This Course About?
• A course about managing complexity
§Mastering abstraction
§Using programming paradigms
§Completing big projects
7
![Page 57: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/57.jpg)
What is This Course About?
• A course about managing complexity
§Mastering abstraction
§Using programming paradigms
§Completing big projects
7
![Page 58: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/58.jpg)
What is This Course About?
• A course about managing complexity
§Mastering abstraction
§Using programming paradigms
§Completing big projects
• An introduction to Python
7
![Page 59: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/59.jpg)
What is This Course About?
• A course about managing complexity
§Mastering abstraction
§Using programming paradigms
§Completing big projects
• An introduction to Python
§Full understanding of fundamentals
7
![Page 60: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/60.jpg)
What is This Course About?
• A course about managing complexity
§Mastering abstraction
§Using programming paradigms
§Completing big projects
• An introduction to Python
§Full understanding of fundamentals
§Learning through implementation
7
![Page 61: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/61.jpg)
What is This Course About?
• A course about managing complexity
§Mastering abstraction
§Using programming paradigms
§Completing big projects
• An introduction to Python
§Full understanding of fundamentals
§Learning through implementation
§How computers interpret programming languages
7
![Page 62: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/62.jpg)
What is This Course About?
• A course about managing complexity
§Mastering abstraction
§Using programming paradigms
§Completing big projects
• An introduction to Python
§Full understanding of fundamentals
§Learning through implementation
§How computers interpret programming languages
• A challenging course that will demand a lot of you
7
![Page 63: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/63.jpg)
Other Courses
![Page 64: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/64.jpg)
CS 61AS: Self-Paced 61A
9
![Page 65: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/65.jpg)
CS 61AS: Self-Paced 61A
You choose the pace! The course can be completed over two semesters
9
![Page 66: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/66.jpg)
CS 61AS: Self-Paced 61A
You choose the pace! The course can be completed over two semesters
Extra content for people without prior programming experience
9
![Page 67: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/67.jpg)
CS 61AS: Self-Paced 61A
You choose the pace! The course can be completed over two semesters
Extra content for people without prior programming experience
A brilliant textbook, interesting projects, a great language, and a dedicated course staff
9
![Page 68: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/68.jpg)
CS 61AS: Self-Paced 61A
You choose the pace! The course can be completed over two semesters
Extra content for people without prior programming experience
A brilliant textbook, interesting projects, a great language, and a dedicated course staff
More info: cs61as.org
9
![Page 69: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/69.jpg)
CS 10: The Beauty and Joy of Computing
10
![Page 70: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/70.jpg)
CS 10: The Beauty and Joy of Computing
10
![Page 71: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/71.jpg)
CS 10: The Beauty and Joy of Computing
10
![Page 72: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/72.jpg)
CS 10: The Beauty and Joy of Computing
Designed for students without prior experience
10
![Page 73: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/73.jpg)
CS 10: The Beauty and Joy of Computing
Designed for students without prior experience
A programming environment created by Berkeley, now used in courses around the world and online
10
![Page 74: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/74.jpg)
CS 10: The Beauty and Joy of Computing
Designed for students without prior experience
A programming environment created by Berkeley, now used in courses around the world and online
10
![Page 75: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/75.jpg)
CS 10: The Beauty and Joy of Computing
Designed for students without prior experience
A programming environment created by Berkeley, now used in courses around the world and online
10
![Page 76: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/76.jpg)
CS 10: The Beauty and Joy of Computing
Designed for students without prior experience
A programming environment created by Berkeley, now used in courses around the world and online
An introduction to fundamentals (& Python) that sets students up for success in CS 61A
10
![Page 77: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/77.jpg)
CS 10: The Beauty and Joy of Computing
Designed for students without prior experience
A programming environment created by Berkeley, now used in courses around the world and online
An introduction to fundamentals (& Python) that sets students up for success in CS 61A
More info: cs10.org
10
![Page 78: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/78.jpg)
Data Science 8: Foundations of Data Science
11
![Page 79: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/79.jpg)
Data Science 8: Foundations of Data Science
Fundamentals of computing and inference applied to real-world data
11
![Page 80: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/80.jpg)
Data Science 8: Foundations of Data Science
Fundamentals of computing and inference applied to real-world data
11
![Page 81: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/81.jpg)
Data Science 8: Foundations of Data Science
Fundamentals of computing and inference applied to real-world data
Great programming practice for CS 61A
11
![Page 82: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/82.jpg)
Data Science 8: Foundations of Data Science
Fundamentals of computing and inference applied to real-world data
Great programming practice for CS 61A
In Fall 2015, piloted as Stat 94 (CCN: 87470)
11
![Page 83: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/83.jpg)
Data Science 8: Foundations of Data Science
Fundamentals of computing and inference applied to real-world data
Great programming practice for CS 61A
In Fall 2015, piloted as Stat 94 (CCN: 87470)
More info: data8.org & databears.berkeley.edu
11
![Page 84: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/84.jpg)
Course Policies
![Page 85: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/85.jpg)
Course Policies
13
![Page 86: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/86.jpg)
Course Policies
13
Learning
![Page 87: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/87.jpg)
Course Policies
13
Learning
Community
![Page 88: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/88.jpg)
Course Policies
13
Learning
Course Staff
Community
![Page 89: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/89.jpg)
Course Policies
13
Learning
Course Staff
Details...
http://cs61a.org/about.html
Community
![Page 90: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/90.jpg)
Collaboration
14
![Page 91: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/91.jpg)
Collaboration
14
Asking questions is highly encouraged
![Page 92: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/92.jpg)
Collaboration
• Discuss everything with each other; learn from your fellow students!
14
Asking questions is highly encouraged
![Page 93: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/93.jpg)
Collaboration
• Discuss everything with each other; learn from your fellow students!
• Homework can be completed with a partner
14
Asking questions is highly encouraged
![Page 94: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/94.jpg)
Collaboration
• Discuss everything with each other; learn from your fellow students!
• Homework can be completed with a partner
• Projects should be completed with a partner
14
Asking questions is highly encouraged
![Page 95: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/95.jpg)
Collaboration
• Discuss everything with each other; learn from your fellow students!
• Homework can be completed with a partner
• Projects should be completed with a partner
• Choose a partner from your discussion section
14
Asking questions is highly encouraged
![Page 96: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/96.jpg)
Collaboration
• Discuss everything with each other; learn from your fellow students!
• Homework can be completed with a partner
• Projects should be completed with a partner
• Choose a partner from your discussion section
14
The limits of collaboration
Asking questions is highly encouraged
![Page 97: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/97.jpg)
Collaboration
• Discuss everything with each other; learn from your fellow students!
• Homework can be completed with a partner
• Projects should be completed with a partner
• Choose a partner from your discussion section
14
• One simple rule: Don’t share your code, except with your partner
The limits of collaboration
Asking questions is highly encouraged
![Page 98: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/98.jpg)
Collaboration
• Discuss everything with each other; learn from your fellow students!
• Homework can be completed with a partner
• Projects should be completed with a partner
• Choose a partner from your discussion section
14
• One simple rule: Don’t share your code, except with your partner
• Copying project solutions causes people to fail this course
The limits of collaboration
Asking questions is highly encouraged
![Page 99: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/99.jpg)
Collaboration
• Discuss everything with each other; learn from your fellow students!
• Homework can be completed with a partner
• Projects should be completed with a partner
• Choose a partner from your discussion section
14
• One simple rule: Don’t share your code, except with your partner
• Copying project solutions causes people to fail this course
• We really do catch people who violate the rules, because...
The limits of collaboration
Asking questions is highly encouraged
![Page 100: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/100.jpg)
Collaboration
• Discuss everything with each other; learn from your fellow students!
• Homework can be completed with a partner
• Projects should be completed with a partner
• Choose a partner from your discussion section
14
• One simple rule: Don’t share your code, except with your partner
• Copying project solutions causes people to fail this course
• We really do catch people who violate the rules, because...
• We also know how to search the web for solutions
The limits of collaboration
Asking questions is highly encouraged
![Page 101: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/101.jpg)
Collaboration
• Discuss everything with each other; learn from your fellow students!
• Homework can be completed with a partner
• Projects should be completed with a partner
• Choose a partner from your discussion section
14
• One simple rule: Don’t share your code, except with your partner
• Copying project solutions causes people to fail this course
• We really do catch people who violate the rules, because...
• We also know how to search the web for solutions
• We use computers to check your work
The limits of collaboration
Asking questions is highly encouraged
![Page 102: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/102.jpg)
Collaboration
• Discuss everything with each other; learn from your fellow students!
• Homework can be completed with a partner
• Projects should be completed with a partner
• Choose a partner from your discussion section
14
• One simple rule: Don’t share your code, except with your partner
• Copying project solutions causes people to fail this course
• We really do catch people who violate the rules, because...
• We also know how to search the web for solutions
• We use computers to check your work
The limits of collaboration
Asking questions is highly encouraged
Build good habits now
![Page 103: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/103.jpg)
Expressions
![Page 104: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/104.jpg)
Types of expressions
16
![Page 105: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/105.jpg)
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 106: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/106.jpg)
18 + 69
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 107: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/107.jpg)
18 + 696
23
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 108: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/108.jpg)
18 + 696
23
p3493161
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 109: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/109.jpg)
18 + 696
23
p3493161
sin⇡
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 110: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/110.jpg)
18 + 696
23
p3493161
sin⇡
|� 1869|
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 111: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/111.jpg)
18 + 696
23
p3493161
sin⇡
100X
i=1
i
|� 1869|
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 112: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/112.jpg)
18 + 696
23
p3493161
sin⇡
100X
i=1
i
|� 1869|
✓69
18
◆
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 113: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/113.jpg)
18 + 696
23
p3493161
sin⇡
f(x)100X
i=1
i
|� 1869|
✓69
18
◆
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 114: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/114.jpg)
18 + 696
23
p3493161
sin⇡
f(x)100X
i=1
i
|� 1869|
✓69
18
◆
2100
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 115: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/115.jpg)
18 + 696
23
p3493161
sin⇡
f(x)100X
i=1
i
|� 1869|
✓69
18
◆
2100
log2 1024
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 116: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/116.jpg)
18 + 696
23
p3493161
sin⇡
f(x)100X
i=1
i
|� 1869|
✓69
18
◆
2100
log2 1024
7 mod 2
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 117: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/117.jpg)
18 + 696
23
p3493161
sin⇡
f(x)100X
i=1
i
|� 1869|
✓69
18
◆
2100
log2 1024
7 mod 2
limx!1
1
x
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 118: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/118.jpg)
18 + 696
23
p3493161
sin⇡
f(x)100X
i=1
i
|� 1869|
✓69
18
◆
2100
log2 1024
7 mod 2
limx!1
1
x
Types of expressions
16
An expression describes a computation and evaluates to a value
![Page 119: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/119.jpg)
Call Expressions in Python
All expressions can use function call notation
(Demo)
17
![Page 120: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/120.jpg)
Anatomy of a Call Expression
18
![Page 121: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/121.jpg)
Anatomy of a Call Expression
18
add ( 2 , 3 )
![Page 122: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/122.jpg)
Anatomy of a Call Expression
18
add ( 2 , 3 )
![Page 123: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/123.jpg)
Anatomy of a Call Expression
18
add ( 2 , 3 )
Operator
![Page 124: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/124.jpg)
Anatomy of a Call Expression
18
add ( 2 , 3 )
Operator Operand Operand
![Page 125: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/125.jpg)
Anatomy of a Call Expression
18
add ( 2 , 3 )
Operator Operand Operand
Operators and operands are also expressions
![Page 126: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/126.jpg)
Anatomy of a Call Expression
18
add ( 2 , 3 )
Operator Operand Operand
Operators and operands are also expressions
So they evaluate to values
![Page 127: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/127.jpg)
Anatomy of a Call Expression
18
Evaluation procedure for call expressions:
add ( 2 , 3 )
Operator Operand Operand
Operators and operands are also expressions
So they evaluate to values
![Page 128: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/128.jpg)
Anatomy of a Call Expression
18
Evaluation procedure for call expressions:
add ( 2 , 3 )
Operator Operand Operand
Operators and operands are also expressions
1. Evaluate the operator and then the operand subexpressions
So they evaluate to values
![Page 129: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/129.jpg)
Anatomy of a Call Expression
18
Evaluation procedure for call expressions:
add ( 2 , 3 )
Operator Operand Operand
Operators and operands are also expressions
1. Evaluate the operator and then the operand subexpressions
2. Apply the function that is the value of the operator subexpression to the
arguments that are the values of the operand subexpression
So they evaluate to values
![Page 130: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/130.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
Evaluating Nested Expressions
19
![Page 131: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/131.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
Evaluating Nested Expressions
19
![Page 132: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/132.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
Evaluating Nested Expressions
19
mul
![Page 133: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/133.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))
Evaluating Nested Expressions
19
mul
![Page 134: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/134.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))
Evaluating Nested Expressions
19
mul
add
![Page 135: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/135.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))
Evaluating Nested Expressions
19
mul
add 2
![Page 136: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/136.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))
Evaluating Nested Expressions
19
mul
add 2
mul(4, 6)
![Page 137: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/137.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))
Evaluating Nested Expressions
19
mul
add 2
mul(4, 6)
mul 4 6
![Page 138: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/138.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))
Evaluating Nested Expressions
19
mul
add 2
mul(4, 6)
mul 4 6
24
![Page 139: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/139.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))
Evaluating Nested Expressions
19
26mul
add 2
mul(4, 6)
mul 4 6
24
![Page 140: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/140.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))
Evaluating Nested Expressions
19
26mul
add 2
mul(4, 6)
mul 4 6
24
add(3, 5)
![Page 141: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/141.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))
Evaluating Nested Expressions
19
26mul
add 2
mul(4, 6)
mul 4 6
24
add(3, 5)
add 3 5
![Page 142: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/142.jpg)
mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))
Evaluating Nested Expressions
19
26mul
add 2
mul(4, 6)
mul 4 6
24
add(3, 5)
add 3 5
8
![Page 143: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/143.jpg)
208mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))
Evaluating Nested Expressions
19
26mul
add 2
mul(4, 6)
mul 4 6
24
add(3, 5)
add 3 5
8
![Page 144: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/144.jpg)
208mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))26mul
add 2
mul(4, 6)
mul 4 6
24
add(3, 5)
add 3 5
8
Evaluating Nested Expressions
20
![Page 145: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/145.jpg)
208mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))26mul
add 2
mul(4, 6)
mul 4 6
24
add(3, 5)
add 3 5
8
Evaluating Nested Expressions
20
Expression tree
![Page 146: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/146.jpg)
208mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))26mul
add 2
mul(4, 6)
mul 4 6
24
add(3, 5)
add 3 5
8
Evaluating Nested Expressions
20
Expression tree
Operand subexpression
![Page 147: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/147.jpg)
208mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))26mul
add 2
mul(4, 6)
mul 4 6
24
add(3, 5)
add 3 5
8
Evaluating Nested Expressions
20
Expression tree
Operand subexpression
Value of subexpression
![Page 148: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/148.jpg)
208mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))26mul
add 2
mul(4, 6)
mul 4 6
24
add(3, 5)
add 3 5
8
Evaluating Nested Expressions
20
Expression tree
Operand subexpression
1st argument to mulValue of subexpression
![Page 149: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/149.jpg)
208mul(add(2, mul(4, 6)), add(3, 5))
add(2, mul(4, 6))26mul
add 2
mul(4, 6)
mul 4 6
24
add(3, 5)
add 3 5
8
Evaluating Nested Expressions
20
Expression tree
Operand subexpression
1st argument to mul
Value of the whole expression
Value of subexpression
![Page 150: 61A Lecture 1 - wla.berkeley.edu](https://reader033.fdocuments.net/reader033/viewer/2022051315/627a1186e9a79a4ea7330eb7/html5/thumbnails/150.jpg)
Functions, Objects, and Interpreters
(Demo)