File tree Expand file tree Collapse file tree 4 files changed +75
-26
lines changed Expand file tree Collapse file tree 4 files changed +75
-26
lines changed 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
2
2
## [ fit] Python — Session 1 — Answers
3
- ### Live at 10am
4
3
5
4
---
6
5
7
6
## Any Questions
8
- ### go to sli.do #python2020
7
+ ### Drop it in the chat?
9
8
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
2
2
## [ fit] Python — Session 1 — Lesson
3
- ### Live at 10am
4
3
5
4
---
6
5
10
9
11
10
# Course Overview
12
11
- 10 weeks
13
- - Tuesday — 10–11am - Lesson
14
- - Thursday — 10–11am - Answers
12
+ - Wednesday - Lesson
13
+ - Monday - Questions and Answers
15
14
16
15
---
17
16
18
17
## Any Questions?
19
- ### sli.do #python2020
20
18
21
19
---
22
20
@@ -52,7 +50,7 @@ print("Hello, World!")
52
50
53
51
---
54
52
55
- # [ fit] repl.it
53
+ # [ fit] replit.com
56
54
57
55
---
58
56
@@ -337,13 +335,3 @@ correct_sum = (4 + 5) * 2
337
335
# [ fit] Coding Time
338
336
## Section B
339
337
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
2
2
## [ fit] Python — Session 1 — Lesson
3
3
4
4
---
5
5
6
- # [ fit] IHF : Code
6
+ # [ fit] KPMG : Code
7
7
## [ fit] Python — Session 1 — Answers
You can’t perform that action at this time.
0 commit comments