CMPT 120- Final Exam Guide - Comprehensive Notes for the exam ( 38 pages long!)
meghan78 and 39786 others unlocked
29
CMPT 120 Full Course Notes
Verified Note
29 documents
Document Summary
Computer science is problem solving using 2 components: a way of thinking algorithms, a way of communicating programming languages. Algorithms: list of steps to complete a task (instructions/ recipe: algorithms a(cid:374)swer (cid:862)how(cid:863) History of programming: 1842, lady ada lovelace wrote the first computer program for charles. Comments = lines of code the computer will ignore (#: name, title, date, header, what are you trying to do, creates organization. String = sequence of letters/ words surrounded by quotation marks (command) Grading: participation: 15, midterm 1: theory (feb 7) coding in lab (feb 8, midterm 2: theory (mar 7) coding in lab (mar 8, final exam (april 15) Can: contain letters, numbers, and underscores, should start with a letter. Cannot: they cannot contain spaces or symbols, cannot be one of the reserved keywords. Making a list in python: square brackets, equal sign, and comments (#6) For next class: add a third question for the chatbot.