CompSci 101 Introduction to Computer Science

Slides:



Advertisements
Similar presentations
Lecture 1: Overview CMSC 201 Computer Science 1 (Prof. Chang version)
Advertisements

COMP 110 Introduction to Programming Tabitha Peck M.S. January 9, 2008 MWF 3-3:50 pm Philips 367.
Lecturer: Fintan Costello Welcome to Hdip 001 Introduction to Programming.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Adrian Ilie COMP 14 Introduction to Programming Adrian Ilie Summer Session II, 2005 MTWRF 9:45-11:15 am.
COMP 14 Introduction to Programming Miguel A. Otaduy Summer Session I, 2004 MTWRF 9:45-11:15 am Sitterson Hall 014.
COMP 110 Introduction to Programming Jingdan Zhang June 20, 2007 MTWRF 9:45-11:15 am Sitterson Hall 014.
COMP 110 Introduction to Programming Mr. Joshua Stough August 22, 2007 Monday/Wednesday/Friday 3:00-4:15 Gardner Hall 307.
COMP 14 – 02: Introduction to Programming Andrew Leaver-Fay August 31, 2005 Monday/Wednesday 3-4:15 pm Peabody 217 Friday 3-3:50pm Peabody 217.
Computer Science 102 Data Structures and Algorithms V Fall 2009 Lecture 1: administrative details Professor: Evan Korth New York University 1.
Welcome to CompSci 100! As You Arrive… Make sure you grab a syllabus packet. Read through it. I will be covering the most essential points in my talk,
CompSci 101 Introduction to Computer Science January 13, 2015 Prof. Rodger compsci 101 spring
WEEK 1 CS 361: ADVANCED DATA STRUCTURES AND ALGORITHMS Dong Si Dept. of Computer Science 1.
CSE 501N Fall ‘09 00: Introduction 27 August 2009 Nick Leidenfrost.
COMP Introduction to Programming Yi Hong May 13, 2015.
CS 106 Introduction to Computer Science I 01 / 25 / 2010 Instructor: Michael Eckmann.
Catie Welsh January 10, 2011 MWF 1-1:50 pm Sitterson 014.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
CompSci 6 Introduction to Computer Science October 20, 2011 Prof. Rodger.
Compsci 101.2, Fall Plan For the Day l Discuss Algorithms and Programming at a high level, examples with cooperative/group work  Connect to reading.
CompSci CompSci 6 Programming Design and Analysis I Dietolf (Dee) Ramm
CompSci 101 Introduction to Computer Science Sept. 9, 2014 Prof. Rodger President Brodhead speech graduation 2010 CompSci 101 Fall
June 19, Liang-Jun Zhang MTWRF 9:45-11:15 am Sitterson Hall 011 Comp 110 Introduction to Programming.
Software Design 14.1 CPS 108 l Object oriented design and programming of medium-sized projects in groups using modern tools and practices in meaningful.
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 January 19, 2016 Prof. Rodger compsci 101 spring
CompSci 101 Introduction to Computer Science January 28, 2016 Prof. Rodger compsci101 spring161.
CompSci 101 Introduction to Computer Science November 11, 2014 Prof. Rodger CompSci 101 Fall Review for exam.
1 Computer Science 1021 Programming in Java Geoff Draper University of Utah.
All materials copyright UMBC unless otherwise noted CMSC201 Computer Science I for Majors Lecture 02 – Algorithmic Thinking.
CompSci 101 Introduction to Computer Science Sept 13, 2016 Prof. Rodger compsci101 fall161.
Introduction to CSCI 1311 Dr. Mark C. Lewis
How to Learn in This Course
CMPT 201 Computer Science II for Engineers
電腦圖學 Computer Graphic with Programming
Course Overview - Database Systems
CMSC201 Computer Science I for Majors Lecture 02 – Algorithmic Thinking Prof. Katherine Gibson Based on slides by Shawn Lupoli and Max Morawski at UMBC.
CompSci 101 Introduction to Computer Science
Introduction to Eclipse
Introduction to Programming
CompSci 101 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
Discussion 11 Final Project / Git.
CompSci 6 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
Database Design and Implementation
CompSci 101 Introduction to Computer Science
Send the professor (This is also listed in the syllabus)
Computer Science 102 Data Structures CSCI-UA
CompSci 101 Introduction to Computer Science
CSE1320 INTERMEDIATE PROGRAMMING
CSE1320 INTERMEDIATE PROGRAMMING
Week 1 Gates Introduction to Information Technology cosc 010 Week 1 Gates
CGS 2100 Lab sections 0029, 0031, 0035, 0045, /9/18.
CSE1320 INTERMEDIATE PROGRAMMING
CSE1320 INTERMEDIATE PROGRAMMING
Course Overview - Database Systems
CompSci 101 Introduction to Computer Science
CompSci 101 Introduction to Computer Science
Physics 3232 Optics I Professor Rick Trebino Howey Physics Building
EECE 310 Software Engineering
CSE1320 INTERMEDIATE PROGRAMMING
CSE1320 INTERMEDIATE PROGRAMMING
Accelerated Introduction to Computer Science
CSIS110 - Introduction to Computer Science
Intro to CIT 594
Intro to CIT 594
Professor: Shereen Khoja
Welcome to Intro to C/C++ CISC 192
Presentation transcript:

CompSci 101 Introduction to Computer Science Sept 1, 2016 Prof. Rodger compsci 101 fall 2016

Announcements Reading for next time on calendar page RQ 2 due Thursday Assignment 1 due Tuesday Have fun with Blockly Install your environment! Get Help! Lab 1 this week! Plan for Today: Problem Solving and Python Where do you find the assignment? Where do you find install instructions? compsci 101 fall 2016

Software Failure compsci 101 fall 2016

Software Failure compsci 101 fall 2016

Software Failure compsci 101 fall 2016

Software Failure compsci 101 fall 2016

Software Failure compsci 101 fall 2016

Review Scratch program "Hello World" Scratch Program Colors Duke blue: motion Mustard: control Light blue: sensing Orange: data Purple: looks This has a bug, you need to move the “if on edge bounce to after the “say time to change direction” How long is forever? Will she get tired and stop? compsci 101 fall 2016

Python code: hello.py compsci 101 fall 2016

Run hello.py compsci 101 fall 2016 Do other examples also, add two numbers? Show how in the interactive console too compsci 101 fall 2016

Python data reading code f = open("kjv10.txt") st = f.read() total = len(st) zc = st.count('z') print "total # chars = ",total print "number of z’s",zc for ch in 'aeiou': print ch, st.count(ch) compsci 101 fall 2016

Woa!!! Am I suppose to understand all that code right now!!!! We will learn all that over The next month! compsci 101 fall 2016

Explaining Python code? http://bit.ly/101f16-0901-1 compsci 101 fall 2016

Duke Connection: Fred Brooks '53 What Would FB Say? "The most important single decision I ever made was to change the IBM 360 series from a 6-bit byte to an 8-bit byte, thereby enabling the use of lowercase letters. That change propagated everywhere." "Fred Brooks" by Copyright owned by SD&M (www.sdm.de) - Request for picture sent by email to Fred Brooks by uploader (Mark Pellegrini; user:Raul654) Fred sent this photo back, along with contact information for Carola Lauber at SD&M, who gave copyright permission.. Licensed under CC BY-SA 3.0 via Wikimedia Commons - https://commons.wikimedia.org/wiki/File:Fred_Brooks.jpg#/media/File:Fred_Brooks.jpg Duke Alum, Turing Award Winner and founded UNC Chapel Hill Computer Science Dept. compsci 101 fall 2016

Why is programming fun? Fred Brooks First is the sheer joy of making things Second is the pleasure of making things that are useful Third is the fascination of fashioning complex puzzle-like objects of interlocking moving parts Fourth is the joy of always learning Finally, there is the delight of working in such a tractable medium. The programmer, like the poet, works only slightly removed from pure thought-stuff. compsci 101 fall 2016

Lab 1 This Week Install Before attending if can Modify Python program Scratch program compsci 101 fall 2016

Our Programming Environment Install 5 items Why Java? – not using Eclipse – platform for development Python – programming language Pydev – Python IDE for Eclipse Canopy – python libraries Ambient – turnin/snarf files to/from Duke compsci 101 fall 2016

How does one get help in CompSci 101? Consulting hours Sunday-Thursday 7:30-11:30pm Office hours (prof, TAs) Collaborate with other students Piazza Ask questions Do not post your code and ask what is wrong! Post error message and line of code for error message If added class late, may need to add yourself Piazza is your friend!

How to succeed in Compsci 101 Start assignments early, they'll take longer than you think Read the book, we'll build on it in class Collaborate well, but be sure you can do work on your own! Be curious, work hard at beginning, think carefully Show collaboration policy and talk about it. compsci 101 fall 2016

Your goal is to … Get all assignments completed and turned in on time. AND… compsci 101 fall 2016

Your goal is to … Get all assignments completed and turned in on time. Understand the code you turn in. Be able to explain the code you turn in. AND… compsci 101 fall 2016

Algorithm Recipe Sequence of steps that constitute instructions Step-by-step procedure for calculations What does Nate Silver do? http://53eig.ht/1tZy909 How do Netflix and Amazon know me? Compsci101 project: capable of implementation as a program, but much more basic Cooking something - Cake and decorate with mints (BRING MINT BOWL AND Say Put 10 mints on the cake) – How do I get them out of the bowl? And the wrapper? , Baby Names – Nate Silver – Statitician and journalist. he has predicted presidential winner in every state – last two years, also big in sports Recommender - project later in the semester http://moreintelligentlife.com/content/features/anonymous/slaves-algorithm compsci 101 fall 2016

compsci 101 fall 2016

Google “algorithm” compsci 101 fall 2016 Google for Algorithm using news, not web. Google has an algorithm for determining what to display. How does that algorithm work? What kind of people are interested in that algorithm? Influential but we don’t know what that algorithm is…. compsci 101 fall 2016