CS 101
Sneak Preview and Review
Lecture 25
CS Pre-Major
CSc 101
Intro to Computer Science
CSc 110
Intro to Computer Programming I
CSc 120
Intro to Computer Programming II
You are here
This is the intro course sequence for the CS department
CS Pre-Major
If you have a little bit of background, or do not but you want a “fast-paced” introduction, 110
CSc 101
Intro to Computer Science
CSc 110
Intro to Computer Programming I
CSc 120
Intro to Computer Programming II
Prerequisites:
College Algebra
CS Pre-Major
If you have significant CS background, or completed 110
CSc 101
Intro to Computer Science
CSc 110
Intro to Computer Programming I
CSc 120
Intro to Computer Programming II
Prerequisites:
CS 110 (or much exp)
CS Pre-Major
https://drive.google.com/file/d/0B2LrxH2S7N-1TURGZXJnQTQ5RGs/view�
CSc 101
Intro to Computer Science
CSc 110
Intro to Computer Programming I
CSc 120
Intro to Computer Programming II
Prerequisites:
CS 110 (or much exp)
CSc 110
CSc 110
Declaring variables
Processing | Python |
int offset = 0; �float grade = 0.28;� String name = "Benjamin";��boolean skyBlue = true; | |
Declaring variables
Processing | Python |
int offset = 0; �float grade = 0.28;� String name = "Benjamin";��boolean skyBlue = true; | offset = 0 �grade = 0.28� name = "Benjamin"��skyBlue = True |
Conditionals (if-statements)
Processing | Python |
int score = 75;��if (score >= 90) {� println("You got an A!");�} else if (score >= 80) {� println("You got a B!");�} else {� println("C or lower");�} | |
Conditionals (if-statements)
Processing | Python |
int score = 75;��if (score >= 90) {� println("You got an A!");�} else if (score >= 80) {� println("You got a B!");�} else {� println("C or lower");�} | score = 75��if score >= 90:� print("You got an A!")�elif score >= 80:� print("You got a B!")�else:� print("C or lower") |
For-loops
Processing | Python |
for (int i=0; i<100; i+=10) {� rect(i, 10, 8, 10);�} | |
For-loops
Processing | Python |
for (int i=0; i<100; i+=10) {� rect(i, 10, 8, 10);�} | for i in range(0, 100, 10):� rect(i, 10, 8, 10)� |
Functions
Processing | Python |
void drawTarget(int x, int y) { ellipse(x, y, 30, 30); ellipse(x, y, 20, 20); ellipse(x, y, 10, 10); } | |
Functions
Processing | Python |
void drawTarget(int x, int y) { ellipse(x, y, 30, 30); ellipse(x, y, 20, 20); ellipse(x, y, 10, 10); } | def drawTarget(x, y): ellipse(x, y, 30, 30) ellipse(x, y, 20, 20) ellipse(x, y, 10, 10) |
Other 110 topics
101 Final Exam
101 Final Exam
Future Section Leaders?
Future Section Leaders?
Materials
Materials
Review
Problem Solving
Problem Solving
Problem Solving
Problem Solving
Representing Information
Representing Information
Representing Information
Representing Information
Computer Dissection
Computer Dissection
Computer Networking
Computer Networking
Computer Networking
Computer Networking
Internet and HTML
Internet and HTML
Internet and HTML
Internet and HTML
Security
Security
Security
Security
Cryptography
Cryptography
Cryptography