Presentation is loading. Please wait.

Presentation is loading. Please wait.

CompSci 101 Introduction to Computer Science January 13, 2015 Prof. Rodger compsci 101 spring 20151.

Similar presentations


Presentation on theme: "CompSci 101 Introduction to Computer Science January 13, 2015 Prof. Rodger compsci 101 spring 20151."— Presentation transcript:

1 CompSci 101 Introduction to Computer Science January 13, 2015 Prof. Rodger compsci 101 spring 20151

2 Announcements Reading for next time on calendar page –RQ 2 due Thursday 10am Assignment 1 is out today, due in 1 week Labs –Try to install everything before going to lab –Practice downloading and running program –Programming in Scratch Today: Problem solving, Scratch, Python compsci 101 spring 20152

3 Visitor today Prof. Ron Parr Chair, Computer Science Department compsci 101 spring 20153

4 How does one get help? Consulting hours –Sunday-Thursday 7-11pm – (see Help tab) Office hours (prof, TAs) 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 4

5 Your work in the class Lectures/Labs – work in groups Assignments/APTs – individual work –Get help from Prof., TAs, UTAs –Discuss with others in class the general idea, but you must write your own code –Acknowledge anyone you got help from or consulted with – put in README file DO NOT search for answers on the web or post your code on the web 5

6 Our Programming Environment Install 5 items Why Java? – not using Eclipse – platform for development Python – programming language Pydev – Python IDE for Eclipse Ambient – turnin/snarf files to/from Duke compsci 101 spring 20156

7 Last Time - Python code hello.py compsci 101 spring 20157

8 Last time - Python code Count 4-letter words in a file. 8 Questions?

9 Design a data file for testing bit.ly/101S15-0113-01 9 How many words? Which words?

10 Should you understand all that code? Not yet, this is a beginner class. You will be writing code that is much simpler to start. Should understand it by the first exam compsci 101 spring 201510

11 Melinda French Gates Duke Alum, CS/Econ major Duke Commencement 2013 11

12 Word Clouds Number of occurrences/emphasis indicated by size of word Site to make a word cloud: –wordle.net U.S. Presidential Speeches: –http://chir.ag/projects/preztags/http://chir.ag/projects/preztags/ compsci 101 spring 201512

13 Classwork: Word Cloud http://bit.ly/101S15-0113-02 Given a file of words Discuss how to make a word cloud –How do you organize the words? –What information do you need to calculate? –What do you need to calculate to display words? compsci 101 spring 201513

14 Computer Science and Medicine Prof. Bruce Donald Grad Student: Pablo Gainz compsci 101 spring 201514

15 Concepts you'll learn in Compsci 101 Programming –Practice, skill, art, science, engineering, creativity Problem-solving –How to solve problems using programming and a computer Impact of computer science –Scale and automation: powerful forces Foundation for future work –In many areas, not limited to compsci@duke compsci 101 spring 201515

16 Programming Examples Scratch example in class (also in lab) Hour of code: http://code.orghttp://code.org –Designed for kids, useful to millions Assignment 1 - Light-bot Python! compsci 101 spring 201516

17 Scratch scratch.mit.edu Demo – build Scratch program compsci 101 spring 201517


Download ppt "CompSci 101 Introduction to Computer Science January 13, 2015 Prof. Rodger compsci 101 spring 20151."

Similar presentations


Ads by Google