Class Notes (922,247)
US (355,925)
UC-Irvine (14,259)
I&C SCI (347)
I&C SCI 31 (69)
Gassko (11)
Lecture 2

I&C SCI 31 Lecture 2: Lecture 2 notes ICS 31 Winter 2018 Irene Gassko

3 Pages

Information and Computer Science
Course Code
I&C SCI 31

This preview shows page 1. Sign up to view the full 3 pages of the document.
Page: of

Loved by over 2.2 million students

Over 90% improved by at least one letter grade.

Leah — University of Toronto

OneClass has been such a huge help in my studies at UofT especially since I am a transfer student. OneClass is the study buddy I never had before and definitely gives me the extra push to get from a B to an A!

Leah — University of Toronto
Saarim — University of Michigan

Balancing social life With academics can be difficult, that is why I'm so glad that OneClass is out there where I can find the top notes for all of my classes. Now I can be the all-star student I want to be.

Saarim — University of Michigan
Jenna — University of Wisconsin

As a college student living on a college budget, I love how easy it is to earn gift cards just by submitting my notes.

Jenna — University of Wisconsin
Anne — University of California

OneClass has allowed me to catch up with my most difficult course! #lifesaver

Anne — University of California
ICS 31 Winter 2018 Irene Gassko A typical computer system [slightly enhanced from class]: HARDWARE: Equipment Internal: Processor (CPU), Storage (memory, RAM, disks) External, peripherals: screen, phone, disk, also keyboard, mouse, speaker, printer, SOFTWARE: Steps the computer follows. DATA (Ingredients). Our focus is mostly on the software (and a little on the data) Software: Instructions Cooks recipes are software, written in terms a cook understands. Algorithm: Stepbystep process leading to solution of a problem. A recipe is an algorithm, written in language a cook understands. An algorithm written in a form a computer can follow is a COMPUTER PROGRAM. CODE: The text of a computer program. SYNTAX is the grammar rules computer will usually notice errors and complain SEMANTICS is the meaning of a program computer doesnt know what you mean, it does what you say Here Python complains user_name = input(Whats your name, user? ) print (Your name is, name) name is not defined; should be user_name This works as intended name = input(Whats your name, user? ) print (Your name is, name) print (name, Whats your age?) age = input() print (Your age is, age, name) However, when we try one additional step, it complains name = input(Whats your name, user? )
More Less
Unlock Document

Only page 1 are available for preview. Some parts have been intentionally blurred.

Unlock Document
You're Reading a Preview

Unlock to view full version

Unlock Document

Log In


Don't have an account?

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.