
Python Coding Lesson 1-14b
Presentation
•
Computers
•
6th - 8th Grade
•
Medium
Stephanie Kimbrough
Used 1+ times
FREE Resource
10 Slides • 30 Questions
1
CODECOMBAT
LET’S PLAY!
LESSONS 1-3
2
how to play
• Start the lesson
• Take Cornell Notes in your Notebook (pages 19- 25)
• Complete the video
• Answer the questions with a score of 80% or higher
• Get a good grade!
Lesson 1
Lesson 2
Lesson 3
3
ARE YOU
READY?
4
Watch the video!
5
Match
Algorithm
Loop
Optimism
Chronological
Debug
Detailed lines of code that are written to achieve a goal
A type of code that will repeat one or more lines of code
Positive thinking
Doing things in order from 1st to last
Finding and fixing mistakes in coding
Detailed lines of code that are written to achieve a goal
A type of code that will repeat one or more lines of code
Positive thinking
Doing things in order from 1st to last
Finding and fixing mistakes in coding
6
Multiple Choice
7
Multiple Choice
An error in your code that makes it behave not as expected is a:
Job
Algorithm
Bug
Conditional
8
Multiple Choice
A program is a(n):
Icon
Set of instructions for your computer
Handbook
Blueprint
9
Multiple Choice
Which language does a computer understand?
Sync language
English language
Programming language
Note language
10
... trying something a bunch of times and making changes (small or large) each time.
...notes in your code that explain the code in each section. Python coding uses the # (hash) sign.
...find the errors in a code and fix them. Having a bug means there is an error in the code.
Take notes in Cornell Notes Form
11
Multiple Choice
Which of the following is a programming language?
Anaconda
Puppy
Dexter
Python
12
Multiple Choice
A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer is:
Debugging
Event
Algorithm
Run Program
13
Multiple Choice
Turn Left
Forward
Forward
Forward
Forward
Forward
Turn right
Forward
Forward
14
Multiple Choice
Turn Left Forward
Forward
Forward
Turn Left
Forward
Forward
Forward
Turn Right
Forward
Forward
Turn Left
Forward
Forward
15
Multiple Choice
Turn Left
Forward
Turn Right
Forward
Forward
Turn Left
Forward
Forward
Turn Right
Forward
Turn Left
Forward
Forward
Forward
Turn Right
16
Watch the video!
17
Multiple Choice
A variable in coding is...
represents a value that can change
are always negative
is the constant value in a code
used in coding to represent numbers
18
Multiple Choice
myVariable = 10
19
Dropdown
20
Multiple Choice
Which choice is a properly formed Python variable name?
dRaWsQuArE
draw_square
1draw_square
21
Multiple Choice
Which correctly declares a float variable called mole and a value of 6.02.
mole = "6.02"
mole= int(6.02)
mole = 6.02
22
Take Notes in Cornell Form
23
Multiple Choice
x= 4.5
print int(x)
What will the program print?
4
5
4.5
24
Multiple Choice
How do you print a statement in python programming?
print ( " hello world ")
print(]
print [ "c"]
None of the above
25
Multiple Choice
Select a valid string in python?
var = "string"
var == string
var =! string
var ["string"]
26
Multiple Choice
What is the output of the following code?
x="hello"
print(x)
x
hello
hi
None of the above
27
Multiple Choice
Look at the following code:
age = 23
age = float(age)
What does this code do the the data?
float(age)
changes the string to an int
changes the int to a string
adds a decimal point (23.0)
does nothing
28
Watch the video!
29
Multiple Choice
What does the following Python program print?
X = "Hello World!"
Y = "I can code "
Z = " In Python"
print( X + Y + Z)
Hello World! I can code In Python
Hello World!I can code In Python
Hello World! I can codeIn Python
Hello World!I can codeIn Python
30
Multiple Choice
5
4
3
2
1
4
3
2
1
0
0
Infinite loop
31
Multiple Choice
0
4
3
2
1
0
5
4 3 2 1 0
32
Multiple Choice
4
3
2
1
3
2
1
0
33
Multiple Choice
4
3
2
1
3
2
1
0
34
Take Cornell Notes
35
Multiple Choice
4
3
2
1
3
2
1
0
36
Multiple Choice
37
Multiple Choice
Which type of loop iterates until condition become False?
FOR loop
A count-controlled loop
Repeat-once loop
WHILE loop
38
Multiple Choice
39
Fill in the Blanks
What is the final value of the variable 'number'?
40
THANKS FOR
PLAYING
END
CODECOMBAT
LET’S PLAY!
LESSONS 1-3
Show answer
Auto Play
Slide 1 / 40
SLIDE
Similar Resources on Wayground
33 questions
9.1 Mini Lesson: Probability of Simple Events
Presentation
•
6th - 8th Grade
35 questions
ICT Computing Lesson 4 - Networks
Presentation
•
6th - 8th Grade
34 questions
Input Process Output Model
Presentation
•
6th - 8th Grade
32 questions
Light Waves
Presentation
•
6th - 8th Grade
38 questions
Rhetorical Appeals and Strategies
Presentation
•
9th Grade
36 questions
Types of Forces Lesson
Presentation
•
6th - 8th Grade
36 questions
simple machine
Presentation
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
How much do you know about our Portrait of an Eagle?
Quiz
•
10th Grade
10 questions
Fast Food Slogans
Quiz
•
6th - 8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Copyright and Fair Use
Quiz
•
6th - 8th Grade
15 questions
Internet Safety
Quiz
•
7th Grade
40 questions
Introduction to Microsoft Word
Quiz
•
8th - 12th Grade
28 questions
STEM: Engineering Design Process
Quiz
•
5th - 6th Grade