Class 1: What this course is about. Assignments Reading: Chapter 1, pp 1-33 Do in Class 1: –Exercises on pages 13, 14, 22, 28 To hand in in Class 2: –Exercises.

Slides:



Advertisements
Similar presentations
CS 206 Introduction to Computer Science II 01 / 20 / 2009 Instructor: Michael Eckmann.
Advertisements

MAT 3751 Analysis II Winter 2014
Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
Python Programming Chapter 1: The way of the program Saad Bani Mohammad Department of Computer Science Al al-Bayt University 1 st 2011/2012.
Intro to CIT 594
CS 232 Geometric Algorithms: Lecture 1 Shang-Hua Teng Department of Computer Science, Boston University.
CMSC 132: Object-Oriented Programming II Nelson Padua-Perez William Pugh Department of Computer Science University of Maryland, College Park.
CS 206 Introduction to Computer Science II 09 / 03 / 2008 Instructor: Michael Eckmann.
CS 232 Geometric Algorithms: Lecture 1 Shang-Hua Teng Department of Computer Science, Boston University.
OBJECT ORIENTED PROGRAMMING I LECTURE 1 GEORGE KOUTSOGIANNAKIS
CSC 171 – FALL 2004 COMPUTER PROGRAMMING LECTURE 0 ADMINISTRATION.
Math 115a– Section 4  Instructor: Kerima Ratnayaka   Phone :  Office : MTL 124B.
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 10: INTRODUCTION TO COMPUTER SCIENCE Dr. Natalie Linnell with credit to Cay Horstmann and Marty Stepp.
Ten-Key Proficiency BSAD 264  to the orientation for the ten-key class!  This presentation gives you important information about the course. Press enter.
COP4020/CGS5426 Programming languages Syllabus. Instructor Xin Yuan Office: 168 LOV Office hours: T, H 10:00am – 11:30am Class website:
Thanks to: Dr. John S. Mallozzi Department of Computer Science 1. Introduction 2. Overview of programming in Python.
Python Mini-Course University of Oklahoma Department of Psychology Day 1 – Lesson 2 Fundamentals of Programming Languages 4/5/09 Python Mini-Course: Day.
Introduction COMP104: Fundamentals and Methodology.
Abstraction IS 101Y/CMSC 101 Computational Thinking and Design Tuesday, September 17, 2013 Carolyn Seaman University of Maryland, Baltimore County.
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
COMP 111 Programming Languages 1 First Day. Course COMP111 Dr. Abdul-Hameed Assawadi Office: Room AS15 – No. 2 Tel: Ext. ??
COMP Introduction to Programming Yi Hong May 13, 2015.
Welcome on Board CSCE 106. Course Information (Lecture 0) Eman Nasr MSc, MPhil, PhD CSCE106 – Fundamentals of Computer Science.
Instructor: Tina Tian. About me Office: RLC 203A Office Hours: Wednesday 1:30 - 4:30 PM or .
PhD, Senior Lecturer, Baimuratov Olimzhon A LGORITHMS & P ROGRAMMING (P YTHON ) Lecture 1 From SDU:
What does it take to make the most of Your Math Homework ?
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
CS 140 Computer Programming (I) Second semester (3 credits) Imam Mohammad bin Saud Islamic University College of Computer Science and Information.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
PHY 1405 Conceptual Physics (CP 1) Spring 2010 Cypress Campus.
Class 1: What this course is about. Assignment Read: Chapter 1 Read: Chapter 1 Do: Chapter 1 ‘workbook’ pages not finished in class Do: Chapter 1 ‘workbook’
Course Information Andy Wang Operating Systems COP 4610 / CGS 5765.
Chapter 1 Introduction Chapter 1 Introduction 1 st Semester 2015 CSC 1101 Computer Programming-1.
Jongwook Woo CIS 528 Introduction to Big Data Science (Syllabus) Jongwook Woo, PhD California State University, LA Computer and Information.
January 16, 2007 COMS 4118 (Operating Systems I) Henning Schulzrinne Dept. of Computer Science Columbia University
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
CIS 842: Specification and Verification of Reactive Systems Lecture ADM: Course Administration Copyright , Matt Dwyer, John Hatcliff, Robby. The.
Lecture 1: Overview CMSC 201 Computer Science 1. Course Info This is the first course in the CMSC intro sequence, followed by 202 CS majors must pass.
CSCE 1030 Computer Science 1 First Day. Course Dr. Ryan Garlick Office: Research Park F201 B –Inside the Computer Science department.
1 CS 101 Today’s class will begin about 5 minutes late We will discuss the lab scheduling problems once class starts.
Syllabus Highlights CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Today’s Agenda Quick Quiz(zes) Your TA Course/Section Administration –Resources for Students –Homework and Grading Questions? (HW 0?) Syntax vs. Semantic.
CS210: Programming Languages Overview of class Dr. Robert Heckendorn.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
COP4020 INTRODUCTION FALL COURSE DESCRIPTION Programming Languages introduces the fundamentals of the design and implementation of programming languages.
Physics 211 College Physics I. Introduction  Instructor:Larry Watson  Office:105 Witmer  Phone:   web:und.nodak.edu/instruct/lwatson/211.
Math 115a Section 2(Summer 05)  Instructor: Kerima Ratnayaka   Phone :  Office.
PROBLEM SOLVING AND PROGRAMMING ISMAIL ABUMUHFOUZ | CS 170.
Computer Science I ISMAIL ABUMUHFOUZ | CS 180. CS 180 Description BRIEF SUMMARY: This course covers a study of the algorithmic approach and the object.
W4118 Operating Systems Junfeng Yang. What this course is about  Fundamental OS concepts  OS: one of the most crucial, almost everything thru OS  What?
CSc 120 Introduction to Computer Programing II
CMPT 201 Computer Science II for Engineers
Andy Wang Object Oriented Programming in C++ COP 3330
Topic: Python’s building blocks -> Variables, Values, and Types
Welcome to General Biology II!
CMSC201 Computer Science I for Majors Lecture 13 – Midterm Review
CS515: Bioinformatic Algorithms
CMSC201 Computer Science I for Majors Lecture 27 – Final Exam Review
Teaching Computing to GCSE
Welcome to CS 1010! Algorithmic Problem Solving.
Andy Wang Object Oriented Programming in C++ COP 3330
Welcome to CS 1010! Algorithmic Problem Solving.
Syllabus.
CMSC201 Computer Science I for Majors Lecture 25 – Final Exam Review
Accelerated Introduction to Computer Science
CMSC201 Computer Science I for Majors Final Exam Information
Term Dr Abdelhafid Bouhraoua
CS 232 Geometric Algorithms: Lecture 1
Presentation transcript:

Class 1: What this course is about

Assignments Reading: Chapter 1, pp 1-33 Do in Class 1: –Exercises on pages 13, 14, 22, 28 To hand in in Class 2: –Exercises on p 33

In a nutshell This course is about writing computer programs which solve problems –First step: ‘grok’ the problem. (Look up the meaning and origin of ‘grok’.) –Second step: write the program –Third step: make sure the program correctly solves the problem

What is an algorithm? An algorithm is an unambiguous, step-by- step procedure for solving a problem A recipe is an example of an algorithm An algorithm provides the design for a computer program

What is a computer language? A computer language is a notation for writing down algorithms ‘High level’ languages are readable, like natural human languages Computer languages are precise enough to be executed by (unthinking) machines All computer languages are fundamentally equivalent in their expressive power

What is a program? A program is a set of instructions written in a computer language A program implements an algorithm A program written in a high-level language may be translated into a low level language (the natural language of a computer)

What is a computer? A computer is a machine that executes programs (unlike a lawn mower) A computer can execute any program (unlike a CD-player) Since computers are Universal Machines, they are all fundamentally equivalent in computing power

How do you write a program? A computer can execute programs that are tools for creating programs The programmer’s everyday tools are: –editor –interpreter or compiler –debugger A suite of such tools is called an integrated development environment (IDE) We are using the Idle IDE for Python

The editor An editor is used to write programs Programs are written in plain text The file containing the program in a high- level language is called the source file A Python source file has the extension ‘.py’

The interpreter An interpreter translates from a high-level language to the computer’s language (instruction set) The Python shell interprets line by line. A line of computer code can not be translated and executes unless it is syntactically (grammatically) correct

Debugging Just because you’ve written some code doesn’t mean you’ve solved your problem. Testing is the process of trying to discover errors in your program. Debugging is the process of fixing errors you discover. (The sentence ‘Colorless green ideas sleep furiously’ is grammatically correct, but what does it mean? Look in up on the Web.)

Panic abatement advice Expect to spend lots of time –Programmer wisdom: it always takes longer than you think Expect things to go wrong –Murphy’s law of computers: anything that can’t go wrong, will –Don’t panic: every bug has a fix

Tips for success Start every assignment early Don’t fall behind Ask if you don’t know Do your own work

Getting help Use the online help system Every CA and instructor has office hours Sign up for one of the study/homework sessions (hint: best right after class) Learn to work with a partner or team as well as to tackle problems on your own.

Grading Homework (almost every class) 15% Roadmap projects 15% Midterm 1 20% Midterm 2 20% Final 25% Misc5% All sections have same work and tests Course is graded on a curve

Attendance Lecture attendance is mandatory (you are asked to sign in). Five absences will lead to withdrawal

Homework HWs are handed in paper (hard copy) and electronically No late HWs will be accepted Every HW hard copy must be neatly printed and stapled Every HW must have student name and ID, date, HW # and section #

Honesty Cheating on an exam will result in failing the course You may discuss HW problems with each other You may not take credit for something you did not do