0% found this document useful (0 votes)
16 views

Intro

Uploaded by

yadavsingh3012
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Intro

Uploaded by

yadavsingh3012
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Cmpt 120 – Introduction to Programming I

Bobby Chan: [email protected]

• Introduction to Course and Topics


• Admin Overview
• Computer Science Overview
• Running a Python Program

Course Admin
Course Topics:
• Information Representation in Computers
• Fundamental algorithms
• Pseudocode
• Basics of Procedural Programming in Python
• Data types and Control Structures
• Basics of Computing and Complexity
• Basics of Recursion
• Basics of Data File Management
Course Admin
Evaluations:
• Midterms (32%)
Jun 11, July 16, both contain:
(i) A theory portion
(ii) A practical version
• Assignments and Labs (15%)
• Based on materials from the previous lectures
• Lab activity will provide an opportunity to work through the materials
discussed
• Quizzes (20%)
• FINAL (35%)

Note:
• Students must attain an overall passing grade on the weighted average of exams in the
course in order to obtain a clear pass (C- or better).
• Students must attain a passing grade on the final exam to obtain a passing grade in the
course (D or better)

Admin
Tips for doing well
• Print online notes and understand examples in lecture
• Speak up and ask questions whenever you are confused,
chances are, you are not the only one
• Spend time outside of class reviewing and doing posted
exercises
• Do all assignments, labs, come to my office hours with any
questions.
Introduction
- Learning outcomes (1)

By the end of this course, you can expect to be able to:


• Describe fundamental concepts pertaining to computing
science: algorithms, programming, etc.
• Describe and apply fundamental concepts and terminology of
Python: variables, types, functions, execution flow, etc.
• Create, analyze, and explain the behaviour of simple algorithms.
• Design, create, and test small to medium size programs in
Python.
• Decompose a solution to a problem in modules; decompose a
Python program logic into functions.
• Use Python’s data types (including objects) appropriately.

Introduction
- Learning outcomes (2)

By the end of this course, you can expect to be able to:


• Use predefined classes within Python coding.
• Manipulate binary encodings of simple data types.
• Describe fundamental concepts of time complexity. Identify the
order of basic algorithms.
• Describe the concept of recursive definitions and recursive
functions
• Analyze, design and implement simple recursive functions.
• Use data files
Introduction
- Prerequisites

From previous experience, it is assumed that you are proficient at


the basics of a computer.
● You are comfortable using directories/folders to
● find,
● create,
● copy and
● edit files.
● You can check email
● You can use a web browser.

Students
• Computing Science
• Software System
• CS Major
• Engineering / Mechatronics?
• Other:
• Faculty of Arts & Social Sciences
• Faculty of Business Administration
• Faculty of Education, Environment or Health Sciences
• Faculty of Physical Sciences or Math
• Faculty of Communication, Art and Technology
Introduction
- Expectations

Our expectations of you:


WORKLOAD
● 10 hours per week - standard workload for SFU courses
● CMPT 120
● 4 hours lecture
● 2 hours lab
● 4-5 hours reviewing / studying / solving assignment problems

Introduction

RESPECT
Theme: Do not interfere with the learning of others.
● show up to class on time
● no talking during class [about non lecture-related material]
● no texting / Facebook / youtube in the e-free zone
● DO NOT take video on your phone – very distracting for
others (and myself :P)
● complete / submit your OWN work == be academically
honest

Bottom line: Do not interfere with the learning of others.


Textbook

• Required:
– None
• Recommended:
How to think like a Computer Scientist
– eBook Edition
http://greenteapress.com/thinkpython2/html/index.html
– Interactive Edition
https://runestone.academy/runestone/books/published/thinkcspy/in
dex.html

Python

• You should download python


– It is available on the lab computers but I highly recommend that
you install it on your own computer
– You can download it from
https://www.python.org/download/
we will be using version 3.9
• You may also use replit: https://replit.com/
• You can type commands directly into the python interpreter
– The python interpreter is what you get when run the python
program
• You can write python in a text editor and save it with the extension
“.py” or you can use IDLE
Python

• The “Hello, world!” program is often the first program anyone writes in
a new language
– It’s tradition, so we’ll start with it too
• Writing a program that displays “Hello, world!” is typically the simplest
program to write in any language
• Basically, what we want is for the program to display the output “Hello,
world!”

You might also like