
4. Creating a Power of calculator
Presentation
•
Computers
•
8th Grade
•
Practice Problem
•
Medium
Ala Jaber
Used 3+ times
FREE Resource
5 Slides • 20 Questions
1
2
3
Multiple Select
What are the three components needed to create a base 2 'power of' program in Scratch?
Input
Power
Output
Functionality
4
5
Labelling
Label each part of the Scratch interface.
scripts area
block palette
sprite list
stage
6
Labelling
Label each part of the Scratch interface.
add extra block
block palette
stage
sprite list
scripts area
Run the program
7
Multiple Choice
8
Multiple Choice
What does this block do?
Repeat the code forever
Repeat the code 2 times
Repeat the code until touching the sprite
9
Multiple Choice
10
Multiple Choice
Leo is writing a "Digital Pet" program in Scratch. What is Leo using here to store how thirsty his pet is?
A costume
A sprite
A function
A variable
11
Multiple Choice
Which control is used for the user to enter the base number?
a) Label
b) Button
c) TextBox
d) MessageBox
12
Multiple Choice
In the Power of Calculator project, what is the main purpose of the program?
a) To multiply two numbers
b) To find one number raised to the power of another
c) To find the square root
d) To divide two numbers
13
Multiple Choice
What is the output when the input is 2 and the power is 3?
4
6
8
10
14
Match
Match the interface element to its function:
Displays the final calculated value
Takes the exponent input
Starts the calculation process
Describes what the user should type
TextBox 1
TextBox 2
Calculate Button
Label
TextBox 1
TextBox 2
Calculate Button
Label
15
16
Multiple Choice
What is the purpose of the ** operator in the Python program?
To add two numbers
To multiply two numbers
To raise a number to the power of another number
To divide two numbers
17
Match
Addition
Multiplication
Division
Exponential
Modulos
+
*
/
**
%
+
*
/
**
%
18
Multiple Choice
In the code to the left, which line is an input?
Line 4
Line 3
Line 7
Line 5
19
Multiple Choice
What does the following program print?
<type 'str'>
<type 'int'>
<type 'float'>
The program crashes and doesn’t print anything.
20
Math Response
What is the result of the following Python print statement?
print(4 + 2 * 3 - 6)
21
22
Multiple Choice
Can either Scratch or Python calculate any number to the power of another?
Yes, only Scratch can
Yes, only Python can
Yes, both can
No, neither can
23
Multiple Choice
What is PYTHON?
24
Multiple Choice
A programming language that makes it easy to create interactive stories, animations, games, music, and art that can then easily be shared on the web.
HTML
Scratch
Microbit
Python
25
Poll
How confident do you feel about this topic now?
Show answer
Auto Play
Slide 1 / 25
SLIDE
Similar Resources on Wayground
20 questions
Emancipation Proclamation
Presentation
•
8th Grade
20 questions
Weathering Erosion Deposition
Presentation
•
8th Grade
20 questions
Slope and Graphing Lines
Presentation
•
8th Grade
20 questions
Relations, Lines & Functions
Presentation
•
8th Grade
19 questions
Safety devices in electricity
Presentation
•
8th Grade
19 questions
Algebra
Presentation
•
8th Grade
19 questions
Gerund Review and Participles
Presentation
•
8th Grade
18 questions
Storage Devices
Presentation
•
8th Grade
Popular Resources on Wayground
10 questions
GPA Lesson
Presentation
•
9th - 12th Grade
7 questions
Albert Einstein
Quiz
•
3rd Grade
31 questions
Bridge A Review
Quiz
•
3rd Grade
6 questions
Blue Sue and Red Ruth
Quiz
•
3rd Grade
8 questions
(Day12 HW) Inverse Trig Ratios
Quiz
•
9th Grade
20 questions
Summer Geometry QUIZ (Week3)
Quiz
•
9th Grade
16 questions
Theme Practice
Quiz
•
7th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade