COMPSCI 101 S1 2015 Principles of Programming Lecture 1 – Introduction.

Slides:



Advertisements
Similar presentations
CSc 2310 Principles of Programming (Java)
Advertisements

ITCS 3181 Logic and Computer Systems
Lecture 1: Overview CMSC 201 Computer Science 1 (Prof. Chang version)
Welcome to Introduction to Java Programming At J.D.O’Bryant Science & Mathematics Chonho Lee Department of Computer Science University of Massachusetts.
1 TEL 104 / MKK Fundamental Programming: Introductory Lecture.
CIS101 Introduction to Computing Week 11. Agenda Your questions Copy and Paste Assignment Practice Test JavaScript: Functions and Selection Lesson 06,
CS3381 Des & Anal of Alg ( SemA) City Univ of HK / Dept of CS / Helena Wong 0. Course Introduction - 1 CS3381 Design and Analysis of Algorithms.
July 23, 2003 CSI 121 Structured Programming Language Introductory Lecture Sabbir Muhammad Saleh Lecturer Department of CSE University of South Asia.
Introduction to Programming Environments for Secondary Education CS 1140 Dr. Ben Schafer Department of Computer Science.
1 Are you ready?. 2 Professor: Vladimir Misic Office : Phone: Office Hours : Mon, Tue; 2:00pm – 4:00pm Website :
Summer 2009 Math 1431 and Math 1432 begin. What to do… Watch the orientation video from the spring online classes. Please note that the spring classes.
Lecture 2 - Variables, program execution, calculations, print() COMPSCI 101 Principles of Programming.
Welcome to CS 115! Introduction to Programming Fall 2015.
Welcome to CS 115! Introduction to Programming. Class URL Please write this down!
CSCI 1301 Principles of Computer Science I
PLEASE GRAB A SEAT ANYWHERE FOR NOW. Welcome to the CMSC 201 Class!!! Mr. Lupoli ITE 207.
COMP 111 Programming Languages 1 First Day. Course COMP111 Dr. Abdul-Hameed Assawadi Office: Room AS15 – No. 2 Tel: Ext. ??
General Physics1 Welcome to Phys 130! Blackboard blackboard.siena.edu.
CSc 2310 Principles of Programming (Java) Dr. Xiaolin Hu.
Welcome to CS 115! Introduction to Programming. Class URL
ECEN 301Discussion #1 – Syllabus1 All Sections MWF 1:00 – 1:50 PM 256 CB Lecture: MW Recitation: F Labs: M or Th Instructor: Prof. David Long Office: CB.
Prof. Barbara Bernal NEW Office in J 126 Office Hours: M 4pm - 5:30 PM Class Lecture: M 6 PM - 8:30 in J133 Weekly Web Lecture between Tuesday to Sunday.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Welcome to CS 221! First Course in Computer Science for Engineers.
Welcome to CS 115! Introduction to Programming. Class URL ~mjspra2/ 115summer/
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
CPSC 121: Models of Computation Unit 0 Introduction George Tsiknis Based on slides by Patrice Belleville and Steve Wolfman.
Ministry of Higher Education Sohar College of Applied Sciences IT department Comp Introduction to Programming Using C++ Fall, 2011.
King Saud UniversityCSC112 - First Semester CSC 112 Java Programming I Introduction.
CSE 1105 Week 1 CSE 1105 Course Title: Introduction to Computer Science & Engineering Classroom Lecture Times: Section 001 W 4:00 – 4:50, 202 NH Section.
CSE 1105 Week 1 CSE 1105 Introduction to Computer Science & Engineering Time: Wed 4:00 – 4:50 Thurs 9:30 – 10:20 Thurs 4:00 – 4:50 Place: 100 Nedderman.
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.
Welcome to CS 101! Introduction to Computing I. Greeting! Kiho Lim CS 101 – Teaching Assistant
Structured Programming (4 Credits)
COMP1927 Course Introduction 16x1
Welcome to CS 101! Introduction to Computers Fall 2015.
CS151 Introduction to Digital Design Noura Alhakbani Prince Sultan University, College for Women.
Winter 2016CISC101 - Prof. McLeod1 CISC101 Elements of Computing Science I Course Web Site: The lecture outlines.
CSE 1340 Introduction to Computing Concepts Class 1 ~ Intro.
Course Information and Introductions Intro to Computer Science CS1510 Dr. Sarah Diesburg University of Northern Iowa 1.
Course Information CSE 2031 Fall Instructor U.T. Nguyen Office: CSE Home page:
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.
Introduction to Computers Spring 2017
Course Overview - Database Systems
Computer Engineering Department Islamic University of Gaza
CSE 102/ISE 102 Introduction to Web Design and Programming
CS101 Computer Programming I
Course Information and Introductions
CSc 1302 Principles of Computer Science II
Course Information and Introductions
Introduction to Programming
TK1914 C++ Programming Course Introduction.
It’s called “wifi”! Source: Somewhere on the Internet!
Course Information and Introductions
Welcome to CS 1010! Algorithmic Problem Solving.
Course Overview - Database Systems
Welcome to CS 1010! Algorithmic Problem Solving.
Introduction to Computers Fall 2017
Introduction to Computers Spring 2018
Welcome to CS 1301! Principles of Programming I.
Introduction to Computers Fall 2018
Introduction to Computers SPRING 2019
C Programming Lecture 1 : Introduction
C Programming Lecture 1 : Introduction
Computer Engineering Department Islamic University of Gaza
Lecture 1a- Introduction
CS Problem Solving and Object Oriented Programming Spring 2019
CSC 241: Introduction to Computer Science I
Presentation transcript:

COMPSCI 101 S Principles of Programming Lecture 1 – Introduction

Learning outcomes  At the end of this lecture, students should be able to:  understand where to obtain information about CompSci 101  understand which parts of the CompSci 101 assessment contribute to the practical mark  understand which parts of the CompSci 101 assessment contribute to the theory mark  understand that to pass CompSci 101, both the practical part of the course and the theory part of the course need to be passed  understand an algorithm CompSci 1012

The CompSci 101 website  This is the address of the CompSci 101 website  Here you will find all the information about our course set up  Get used to looking at this website for information about lecture slides, lab documents, assignment resources, assessment, people involved in the course and lots more. CompSci 1013

People in this course Ann Cameron (Lab Supervisor) Phone: ext Room: 303S.479 CompSci 1014

People in this course  Angela Chang (Course Coordinator)   Phone: ext  Room: 303S.494  Office Hours: Open door policy – Visit any time  Adriana Ferraro   Phone: ext  Room: 303S.490  Dr Jing Sun   Phone: ext  Room: 303S.481 CompSci 1015

Lecture schedule  On the course information sheet there is a schedule of the lectures for CompSci 101. CompSci 1016

Lecture Slides  Lecture slides will be available on the web before each lecture. CompSci 1017

There is no textbook for CompSci 101  No textbook but we do have an online reference book, Think Python – How to think like a computer scientist.  Please be aware that we are teaching the CompSci 101 material in a different order to the ordering in this book. This book is a reference book, not a textbook for this course. CompSci 1018

 Labs start in the second week  Labs are held in room 279 (Building 303S) which is on the second floor of the Computer Science building.  There are 9 labs and worth 9% of your final mark.  At your lab time you will be given programming problems to solve within the 2 hours for your lab. More about labs CompSci 1019

Before the first lab  Visit the lab on Friday between 11am and 12:30pm.  Before the first lab you need to complete the lab preparation sheet (I will hand this out).  In order to fill the sheet you need to visit the CompSci 101 lab on Friday. CompSci 10110

Assignments  The assignments are worth 9% of your final mark.  Assignments give you the experience of solving problems on your own. Never share your code. Solve the problem on your own – discuss the assignment with others but never share code. CompSci 10111

Assignments  There are 4 assignments.  All assignments are due at 4:30pm on the due date.  The assignments are handed in using the Assignment Drop Box: CompSci 10112

Code Runner Exercises  There are 3 Code Runner Exercises and are worth 7% of your final mark.  All exercises are due at 4:30pm on the due date.  Exercises are to be completed using the Code Runner System: CompSci 10113

Plagiarism integrity.html Plagiarism: Any work that you take credit for, but which is done by someone else. This is treated very seriously in an academic environment. Plagiarism CompSci 10114

Academic Integrity academic-integrity.html CompSci 10115

Test  The test is worth 15% of your final mark  The test date and time is: Tuesday 5th May 6:30pm - 7:45pm  The test is 75 minutes long plus 5 minutes of reading time. Arrive at 6:20 because your reading time starts at 6:25pm.  More about this closer to the time. Angela the CompSci 101 course coordinator, if you are unable to attend the test CompSci 10116

Exam  The exam is worth 60% of your final mark. information/cs-examination-information.html CompSci 10117

Passing CompSci 101 PRACTICAL THEORY Test15% Exam60% Labs9% Code Runner7% Assignments 9% To pass the course you MUST pass the PRACTICAL (i.e. get 12.5 / 25) you MUST pass the THEORY (i.e. get 37.5 / 75) Assessment  CompSci 10118

The CompSci 101 website  Most of the resources you will need (e.g., lecture slides, lab material, assignments, course information) can be found on the CompSci 101 website: CompSci 10119

Cecil  On Cecil you will find:  your marks  class announcements  lecture recordings CompSci 10120

Computing resources Undergraduate Labs: There are demonstrators in these labs to help you This is a quiet lab GCL (room 091) – Ground Floor Computer Lab CompSci 10121

Learning outcomes for CompSci 101  determine the state of the program both during and after execution, given a code listing that may include functions and parameters, loops, conditionals and sequences,  implement a given algorithm using Python,  show that a program meets given specifications by writing appropriate tests,  provide a useful level of documentation, in the form of program comments, for all programs developed,  decompose a simple problem into several smaller tasks,  given a brief textual description of the problem,  compose functions that perform a specified task into a program that solves a given problem,  describe program design and syntax using written language, CompSci 10122

Algorithms  A finite set of steps that specify a sequence of operations to be carried out in order to solve a specific problem.  A better definition: An algorithm is a well-defined, unambiguous sequence of steps CompSci 10123

HOW TO GET TO UNI Algorithms – what kind of steps? Walk to the bus stop at the shops up the road Get on bus number "101" Pay the bus driver $3.50 Get off at the Symonds St bus stop Walk 200m to the Computer Science building sequential operations An algorithm is a well-defined, unambiguous sequence of steps CompSci 10124

Algorithms – what kind of steps? Open the front door IF it is raining THEN take an umbrella Walk down the driveway and turn left Walk 50m down the street An algorithm is a well-defined, unambiguous sequence of steps conditional operations HOW TO WALK TO THE BUS STOP CompSci 10125

Algorithms – what kind of steps? Open wallet WHILE you still haven't paid enough give the driver another coin Take a seat An algorithm is a well-defined, unambiguous sequence of steps iterative operations HOW TO PAY THE BUS FARE CompSci 10126

Basic programming steps  TASK ALGORITHM 1 design 2 coding 3 testing CODE PROGRAM CompSci 10127

Programming - Step 2 - write the code  We will use the Python programming language to implement our algorithms ALGORITHM 2 coding Python CODE CompSci 10128

Hangman | | | ========= Word: _ _ _ _ _ _ _ _ _ Letters Missed: Letters Guessed: Letters Available: abcdefghijklmnopqrstuvwxyz Enter a letter: a Enter a letter: d | | 0 | /|\ | / \ | | ========= Word: l a _ _ b o n e s Letters Missed: r m k c u d Letters Guessed: a e s n o l b Letters Available: fghijpqtvwxyz Sorry, you have lost in the game of Hangman... The word was lazybones CompSci 10129

Welcome to Tic Tac Toe! Do you want to be X or O: X The computer will go first. | | | | O | | | | | | What is your next move? (1-9): 5 TicTacToe  What is your next move? (1-9): 6 | | O | X | O | | | | O | X | X | | | | X | O | O | | The game is a tie! Do you want to play again? (yes or no): n CompSci 10130

What you need to do this week…  Go to our course website:   Download and Install Python (Version 3.x): 3.3 or 3.4   Download and Install Notepad++   Set up Notepad++ to run Python programs   Download Python reference book: Think Python   CompSci Add a command: Macro -> Run Python