CompSci 101 Introduction to Computer Science February 16, 2016 Prof. Rodger “All your troubles are due to those ‘ifs’,” declared the Wizard. If you were.

Slides:



Advertisements
Similar presentations
CompSci 101 Introduction to Computer Science February 3, 2015 Prof. Rodger Lecture given by Elizabeth Dowd.
Advertisements

BINDER UPDATE FEBRUARY 13, UP TO TODAY, CHECK THAT… 1.You have glued or taped the cover sheet to the front of the first divider and filled it in.
Introduction to Computer Programming I CSE 113
CS150 Introduction to Computer Science 1
ITC242 – Introduction to Data Communications ITC431 – Computer Networks Week 13 Exam Preparation.
Today’s quiz on 8.2 A Graphing Worksheet 1 will be given at the end of class. You will have 12 minutes to complete this quiz, which will consist of one.
EnPh 131 Lec B04 Introduction Course syllabus Course components ….
Strategies for Math Success Russell Conwell Learning Center Online Workshop.
Math 010 online work that was due today at the start of class:
Quiz 2 Results: Grade Scale
CompSci 101 Introduction to Computer Science January 13, 2015 Prof. Rodger compsci 101 spring
Welcome to CS 115! Introduction to Programming. Class URL Please write this down!
Math Requirements and Procedures Math Requirements and Procedures 8th Grade.
BIT 115: Introduction To Programming1 Sit in front of a computer Log in –Username: 230class –password: –domain: student Bring up the course web.
CompSci 101 Introduction to Computer Science January 20, 2015 Prof. Rodger compsci 101, spring
Warm Up :Read.. Testing Schedule ELA April (1 section per day) Math April (1 section per day) Science April (8 th grade only) Keystone.
Your First Data Structure: 1D Array Shirley Moore CS 1401 Spring 2013 cs1401spring2013.pbworks.com April 9-11, 2013.
Welcome to CS 221! First Course in Computer Science for Engineers.
By the end of this session you should be able to...
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
CompSci 6 Introduction to Computer Science October 20, 2011 Prof. Rodger.
Daily Agendas Pre-Algebra and Algebra. Monday Pre-Algebra Finish and turn-in p. 6-8 problems 1-3 through 1-7 Moby Max – Placement.
CompSci 101 Introduction to Computer Science September 23, 2014 Prof. Rodger.
CompSci 101 Introduction to Computer Science Sept. 9, 2014 Prof. Rodger President Brodhead speech graduation 2010 CompSci 101 Fall
CompSci 6 Introduction to Computer Science Sept 29, 2011 Prof. Rodger “All your troubles are due to those ‘ifs’,” declared the Wizard. If you were not.
CompSci 6 Introduction to Computer Science November 8, 2011 Prof. Rodger.
CompSci 101 Introduction to Computer Science November 18, 2014 Prof. Rodger.
Week 61 Introduction to Programming Ms. Knudtzon C Period Tuesday October 12.
CompSci 6 Introduction to Computer Science September 13, 2011 Prof. Rodger.
Compsci 101, Fall Plan For The Day (PFTD) l Practice solving problems  Some solved with a computer, some with Python  Differences in solving.
CompSci 101 Introduction to Computer Science March 31, 2015 Prof. Rodger Thanks to Elizabeth Dowd for giving this lecture Review for exam.
CompSci 101 Introduction to Computer Science February 10, 2015 Prof. Rodger “All your troubles are due to those ‘ifs’,” declared the Wizard. If you were.
Math 010 online work that was due today at the start of class: Section 1.3A Online Homework.
Compsci 101.2, Fall Plan for WEFWOO l Review for exam, studying and practicing for exams and APTs in Compsci 101  Why memorization doesn't help.
CompSci 4 Chap 6 Sec 2 Sep 30, 2010 Prof. Susan Rodger “All your troubles are due to those ‘ifs’,” declared the Wizard. If you were not a Flutterbudget.
Announcements DS-203 Spring Week 1: January 18, 2009 Read: –The practice of Business Statistics: Using Data for Decisions Chapter 1, sections 1.
CompSci 101 Introduction to Computer Science Feb 24, 2015 Prof. Rodger.
CompSci 6 Introduction to Computer Science Sept. 20, 2011 Prof. Rodger CompSci 6 Fall
CompSci 101 Introduction to Computer Science February 11, 2016 Prof. Rodger.
CompSci 101 Introduction to Computer Science January 26, 2016 Prof. Rodger compsci 101, spring
CompSci 101 Introduction to Computer Science November 11, 2014 Prof. Rodger CompSci 101 Fall Review for exam.
Welcome to Fourth Grade Math. New Math Books Never write anything in the book. Be careful when turning pages. If your book is damaged when you turn it.
CompSci 101 Introduction to Computer Science February 25, 2016 Prof. Rodger compsci101 spring20161.
CompSci 101 Introduction to Computer Science January 15, 2015 Prof. Rodger 1.
PROBLEM SOLVING AND PROGRAMMING ISMAIL ABUMUHFOUZ | CS 170.
CompSci 6 Introduction to Computer Science September 27, 2011 Prof. Rodger CompSci 6 Fall
CompSci 101 Introduction to Computer Science April 7, 2015 Prof. Rodger.
CompSci 101 Introduction to Computer Science February 5, 2015 Prof. Rodger Lecture given by Elizabeth Dowd compsci101 spring151.
CMSC201 Computer Science I for Majors Lecture 05 – Comparison Operators and Boolean (Logical) Operators Prof. Katherine Gibson Prof. Jeremy.
CompSci 101 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
CMSC201 Computer Science I for Majors Lecture 13 – Midterm Review
CompSci 6 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
CMSC202 Computer Science II for Majors Lecture 08 – Overloaded Constructors Dr. Katherine Gibson Based on slides by Chris Marron at UMBC.
CompSci 101 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
Welcome to CS 1010! Algorithmic Problem Solving.
CompSci 101 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
CMSC201 Computer Science I for Majors Lecture 25 – Final Exam Review
Testing and Repetition
CompSci 101 Introduction to Computer Science
functions: argument, return value
CMSC201 Computer Science I for Majors Final Exam Information
REVIEW for the FINAL EXAM
Presentation transcript:

CompSci 101 Introduction to Computer Science February 16, 2016 Prof. Rodger “All your troubles are due to those ‘ifs’,” declared the Wizard. If you were not a Flutterbudget you wouldn’t worry.” - The Emerald City of Oz by Frank Baum Compsci 101 Spring 20161

Announcements Test 1 is Thursday! –You must take the exam in your lecture section –Accommodations for test 1? Must fill out form on website See Regrades form on website See all new Forms on website – main page Assignment 4 extended due Monday No labs this week Compsci 101 Spring 20162

Exam logistics Exam is in the regular classroom Only need a pen or pencil No scratch paper Will give you a reference sheet of Python information with the test (see resources page) Closed book, closed notes, closed neighbor Covers lecture, lab and assigned reading, assgnmts, apts Have put old quizzes back up as quiz review –This is NOT for a grade, for studying only Compsci 101 Spring 20163

The best way to study Write code on paper! Resources page has old tests and solutions –Try writing code, then look at solutions Rewrite an APT Rewrite code we did in lecture Rewrite code we did in lab Compsci 101 Spring 20164

What we have not done Tests from Fall 2014 on we have covered everything. If looking at old exams, note we have not done the following: –List comprehensions –Code in square brackets such as y = [w for w in alist] There may be other things…. If it looks strange, it might be we haven’t done it…. Compsci 101 Spring 20165

Understand What is the difference between: –[ ] and ( ) –w = and w += –print value and assigning value to a variable –print and return –When do you print? When do you return? –Does a function print or return? if, for, range, strings, lists –Understand format and how they work Parameters vs arguments Compsci 101 Spring 20166

Writing functions with formulae bit.ly/101sp Compsci 101 Spring 20167

Writing functions with formulae Using extra variables: can be really smart –Helps in making each line simple –Easy to correct if you've made a mistake See triangleArea, what about other math symbols and formula? –What do +, -, *, /, % do? –What about math.sqrt or 5**0.5 or math.sin … Compsci 101 Spring 20168

Accumulating in a loop If you are going to return a string –Initialization, return value, how to "build it" If you are going to return an int (counter) –Initialization, return value, how to "build it" If you are going to return a list –Initialization, return value, how to "build it" Compsci 101 Spring 20169

Counting 'a's in a string, 'fox' in a list? What Python functions/methods help –If you forget, how can you recreate yourself? –See exam Python reference sheet Compsci 101 Spring

Basic List/file Processing bit.ly/101sp Compsci 101 Spring