CMPT 120 Lecture 14: CMPT120 – Lecture 14

129 views3 pages
meghan78 and 39786 others unlocked
CMPT 120 Full Course Notes
29
CMPT 120 Full Course Notes
Verified Note
29 documents

Document Summary

Cmpt120 lecture 14 (midterm review: 15-20 questions m/c and 2/3 coding questions, double-sided cheat sheet for coding exam (friday) , look at slides to review questions. Study tips: get help with ta"s i(cid:374) la(cid:271, re-do the coding questions from fridays, textbook links are there for clarification, wo(cid:374)"t (cid:271)e dire(cid:272)tl(cid:455) fro(cid:373) the li(cid:374)ks o(cid:374) e(cid:454)a(cid:373) Questions: does the. split() change a string to a list. It creates a new list containing the elements of a string: string remains unchanged but it creates a new list with the contents of the string, python modules are extra programs that contain extra functionality. Modules are a way to share code: what does a dot after a module name do, allows you to access a function in that module. If the module contains 10 different functions, then putting the dot after the name lets you access any of those 10 functions: can be used for chaining, when do you use =, ==, ===

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents