File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ 1 . What is programming?
2+ - Giving the computer instructions - A
3+ - Choosing a television show
4+ - Knitting a scarf
5+ - Completing some math equations
6+
7+ 2 . What is a text editor?
8+ - A place to write an essay
9+ - A place to write code - A
10+ - A place to write a report
11+ - A place to edit a novel
12+
13+ 3 . When naming a Python file, what is the file extension used?
14+ - .doc
15+ - .xlsx
16+ - .py - A
17+ - .csv
18+
19+ 4 . What does print() do?
20+ - prints out a document to a printer
21+ - prints the code output to the screen - A
22+ - 3D prints a Python
23+ - posts to social media
24+
25+ 5 . What are the rules for variables?
26+ - Lowercase
27+ - Underscore instead of spaces
28+ - No punctuation
29+ - All of the above - A
30+
31+ 6 . Which of the below is a string?
32+ - "hello world" - A
33+ - 6
34+ - True
35+ - 7.9
36+
37+ 7 . Which of the below is a float?
38+ - "hello world"
39+ - 6
40+ - True
41+ - 7.9 - A
42+
43+ 8 . Which character lets you put in a new line?
44+ - "\n" - A
45+ - "/n"
46+ - "\t"
47+ - "\l"
48+
49+ What will be the output of the below:
50+ 9 . first_name = "Steve"
51+ last_name = "Shirley"
52+ full_name = first_name + " " + last_name
53+ print("Good morning, " + full_name)
54+
55+ - Good morning Steve
56+ - Good evening Steve
57+ - Good morning Steve Shirley - A
58+ - Good morning Shirley
59+
60+ 10 . What will be the output of the below:
61+ correct_sum = 4 + 5 * 2
62+ print(correct_sum)
63+ - 18
64+ - 14 - A
65+ - 13
66+ - 0
Original file line number Diff line number Diff line change 1- # [ fit] IHF : Code
1+ # [ fit] KPMG : Code
22## [ fit] Python — Session 1 — Answers
3- ### Live at 10am
43
54---
65
76## Any Questions
8- ### go to sli.do #python2020
7+ ### Drop it in the chat?
98
10- ---
11-
12- # [ fit] Next Session
13- ### Tuesday 12th May 10am
14- ### Lesson 2
9+ ---
Original file line number Diff line number Diff line change 1- # [ fit] IHF : Code
1+ # [ fit] KPMG : Code
22## [ fit] Python — Session 1 — Lesson
3- ### Live at 10am
43
54---
65
109
1110# Course Overview
1211- 10 weeks
13- - Tuesday — 10–11am - Lesson
14- - Thursday — 10–11am - Answers
12+ - Wednesday - Lesson
13+ - Monday - Questions and Answers
1514
1615---
1716
1817## Any Questions?
19- ### sli.do #python2020
2018
2119---
2220
@@ -52,7 +50,7 @@ print("Hello, World!")
5250
5351---
5452
55- # [ fit] repl.it
53+ # [ fit] replit.com
5654
5755---
5856
@@ -337,13 +335,3 @@ correct_sum = (4 + 5) * 2
337335# [ fit] Coding Time
338336## Section B
339337
340- ---
341-
342- ### Questions?
343- ### go to sli.do #python2020
344-
345- ---
346-
347- # [ fit] Next Session
348- ### Thursday 7th May 10am
349- ### Answers
Original file line number Diff line number Diff line change 1- # [ fit] IHF : Code
1+ # [ fit] KPMG : Code
22## [ fit] Python — Session 1 — Lesson
33
44---
55
6- # [ fit] IHF : Code
6+ # [ fit] KPMG : Code
77## [ fit] Python — Session 1 — Answers
You can’t perform that action at this time.
0 commit comments