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

Introduc) On To The Founda) Ons of Computa) On I

This document provides an overview and syllabus for a Python programming course (CMPUT 174). The summary includes: - The course will cover Python fundamentals like types, variables, input/output, control flow, data structures, and object-oriented programming. - The format will include lectures, labs, assignments, and exams. Lectures will have slides, exercises, and materials posted online. Labs are weekly programming exercises. - Recommended textbooks and other Python resources are mentioned. The course will use Python 3. Problem solving is emphasized as a key computer science skill.

Uploaded by

iBleach-
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Introduc) On To The Founda) Ons of Computa) On I

This document provides an overview and syllabus for a Python programming course (CMPUT 174). The summary includes: - The course will cover Python fundamentals like types, variables, input/output, control flow, data structures, and object-oriented programming. - The format will include lectures, labs, assignments, and exams. Lectures will have slides, exercises, and materials posted online. Labs are weekly programming exercises. - Recommended textbooks and other Python resources are mentioned. The course will use Python 3. Problem solving is emphasized as a key computer science skill.

Uploaded by

iBleach-
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

!"#$%&'()%" #% #+, -%'"&.

)%"/
%0 1%23'#.)%" !
CMu1 174
14567 89:
! !"/#$'(#%$; <.(=',>?", @2?#+
AB(,; CSC 1-43
C2.?>; [esmlLh[ualberLa.ca


! 1%'$/, D,E/?#, ;
,(>.//F/$GF'.>E,$#.F(.
7+, (%'$/, %'#>?",H >.E /(+,&'>, .$, 3%/#,& %" #+, (%'$/,
I,E/?#,F
2
D+.# D?>> E, 1%G,$,&J
yLhon fundamenLals
! 1ypes, varlables, daLa manlpulauon
! lnpuL/CuLpuL, ConLrol llow
! 8epeuuon (loops)
Modular program deslgn
uaLa sLrucLures
! LlsLs, Luples, dlcuonarles
8ecurslon
Class and ob[ecLs
roblem Solvlng
3
1%'$/, -%$2.#
LecLures
! Slldes, whlLeboard, programmlng exerclses
! owerpolnLs and code wlll be posLed on eClass
! CLher noLes, handouLs, eLc. wlll noL
Labs
! Weekly lab exerclses sLarung nexL week
! llrsL lab ls mandaLory auendance, for Lhe resL:
Avallable Lhe nlghL before your lab secuon
uue aL 11:39 M of Lhe day of your lab secuon
SubmlL vla eClass
AsslgnmenLs, Lxams
4
7,K#E%%L/
1exLbooks wlll be good references.
! .especlally lf you:
Pave noL programmed ln yLhon before
Pave noL programmed a loL ln anoLher
language before
Are Lhere oLher LexLs?
! AbsoluLely! Cne excellenL (and free)
yLhon book ls Pow Lo 1hlnk Llke a CompuLer SclenusL by 8rad
Mlller and uavld 8anuman.
lL ls avallable aL
hup://lnLeracuvepyLhon.org/coursellb/sLauc/Lhlnkcspy/lndex.hLml
3
5M#+%"
yLhon 2.7.2? yLhon 3? WhaL?
! 1hese are &?N,$,"# languages (programs for one do noL run on
Lhe oLher)
! 8uL Lhey are also G,$M /?2?>.$ languages (programs for one need
mlnor changes Lo run ln Lhe oLher)
! ln CMu1 174 we wlll use yLhon 3
Are Lhere oLher resources?
! AbsoluLely! use Lhe help() funcuon ln yLhon from day one!
! hup://www.pyLhon.org/doc/
! hup://docs.pyLhon.org/LuLorlal/ (Lhough Lhls ls for yLhon 2.7.2, lL
sull covers all Lhe fundamenLals of Lhe language)
6
@M>>.E'/ ."& 1%'$/, 5%>?(?,/
osLed on eClass
lease make sure you read Lhrough Lhese!
7
5$,$,='?/?#,/
Plgh school maLh
no programmlng experlence requlred!
8
CK3,(#.)%"/ %0 4,; ! I?>>O
8e organlzed ln my lecLures and omce hours
1reaL all sLudenLs wlLh respecL
Crade course work falrly and equlLably
8e avallable for help
uo my besL Lo make Lhe lecLures clear and lnLeresung
1hanks Lo ur Loppnow for Lhls!
CK3,(#.)%"/ %0 P%'; P%' I?>>O
8e respecuul of lnsLrucLor, 1As and classmaLes
! 1hls lncludes noL dlsLurblng oLhers ln labs or lecLures wlLh cell phones,
lapLops, conversauon, eLc.
1ry Lo solve problems on your own rsL, buL ask for help as soon
as you're Lruly sLuck (don'L walL unul Lhe lasL mlnuLe!)
noL cheaL/copy/plaglarlze
undersLand LhaL l may noL always be avallable lmmedlaLely
Check eClass frequenLly and keep yourself on Lrack
Laugh aL all my [okes
10
@%O I+.# ?/ 1%23')"Q @(?,"(,J
11
1%23')"Q @(?,"(,J
Mlchael 8. lellows and lan arberry
!"#$%&'( *+,'-+' ,. -" #"(' /0"%& +"#$%&'(. &1/-
/.&("-"#2 ,. /0"%& &'3'.+"$'.4 0,"3"52 ,. /0"%&
#,+(".+"$'.4 "( +1'#,.&(2 ,. /0"%& 0'/6'(. /-7 &'.& &%0'.8
*+,'-+' ,. -"& /0"%& &""3.8 9& ,. /0"%& 1": :' %.' &1'# /-7
:1/& :' ;-7 "%& :1'- :' 7"."
12
-%$2.> R,S"?)%"
!"#$%<-5 .+,'-+' ls Lhe sLudy of /35"(,&1#., lncludlng
Lhelr properues, Lhelr hardware and llngulsuc reallzauons,
and Lhelr appllcauons.
13
T>Q%$?#+2/
AlgorlLhm: a well-ordered seL of unamblguous &
eecuvely compuLable operauons whlch, when
execuLed, solves a glven problem

lay a cenLral role ln CompuLer Sclence
8eclpe = meLhod + lngredlenLs
rogram = algorlLhm + daLa
Analogous
14
D+.# ?/ . U5$%Q$.2VJ
A seL of lnsLrucuons whlch Lells a compuLer Lo perform
some acuon(s)

Why do we wrlLe programs?
! 8ecause we wanL Lo solve problems uslng Lhls Lool called a
compuLer
Soluuon Lo a problem: algorlLhm!
rogrammlng == Lelllng Lhe compuLer whaL Lo do
13
5$%Q$.22?"Q ?/ . 3$%(,//
undersLand/dene Lhe
problem
1hlnk
ueslgn an .>Q%$?#+2 wlLh
Lhe concepLual soluuon
7$."/>.#, Lhe concepLual
soluuon lnLo a 3$%Q$.2 ln
a programmlng language
8un Lhe 3$%Q$.2
16
5$%E>,2 @%>G?"Q
1he slngle 2%/# ?23%$#."# sklll for a Compuung SclenusL
-%$2'>.#, Lhe problem preclsely (uslng a
formal language)
7+?"L creauvely abouL soluuons
R,/?Q" ." T>Q%$?#+2: Lxpress soluuons
clearly and accuraLely (so you can wrlLe a
program LhaL lmplemenLs lL)
17
W%2,I%$L
lnsLall yLhon 3 and WlngluL 101 on your personal
compuLer
! 1hls would be helpful even lf you plan Lo use Lhe lab machlnes
only
CreaLe a bookmark folder on your browser for CMu1 174
! 8ookmark Lhe yLhon language documenLauon
! 8ookmark oLher resources, such as Lhe LexLbooks menuoned ln
class
18
@'$G,M
?our reasons for Laklng Lhls course
?our prevlous programmlng experlence (lf any)
?our expecLauons for Lhe course
lease use Lhe back of Lhe sheeL lf you need Lo!
19

You might also like