Search Header Logo
4. Creating a Power of calculator

4. Creating a Power of calculator

Assessment

Presentation

Computers

8th Grade

Practice Problem

Medium

Created by

Ala Jaber

Used 3+ times

FREE Resource

5 Slides • 20 Questions

1

media

2

media

3

Multiple Select

What are the three components needed to create a base 2 'power of' program in Scratch?

1

Input

2

Power

3

Output

4

Functionality

4

media

5

Labelling

Label each part of the Scratch interface.

Drag labels to their correct position on the image

block palette

sprite list

stage

scripts area

6

Labelling

Label each part of the Scratch interface.

Drag labels to their correct position on the image

scripts area

sprite list

add extra block

block palette

Run the program

stage

7

Multiple Choice

Question image
Characters in Scratch are called
1
zeppoles
2
elves
3
sprites
4
nematodes

8

Multiple Choice

Question image

What does this block do?

1

Repeat the code forever

2

Repeat the code 2 times

3

Repeat the code until touching the sprite

9

Multiple Choice

Question image
The "forever" block is found in which of the following block types?
1
sound
2
data
3
events
4
control

10

Multiple Choice

Question image

Leo is writing a "Digital Pet" program in Scratch. What is Leo using here to store how thirsty his pet is?

1

A costume

2

A sprite

3

A function

4

A variable

11

Multiple Choice

Which control is used for the user to enter the base number?

1

a) Label

2

b) Button

3

c) TextBox

4

d) MessageBox

12

Multiple Choice

In the Power of Calculator project, what is the main purpose of the program?

1

a) To multiply two numbers

2

b) To find one number raised to the power of another

3

c) To find the square root

4

d) To divide two numbers

13

Multiple Choice

What is the output when the input is 2 and the power is 3?

1

4

2

6

3

8

4

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

15

media

16

Multiple Choice

What is the purpose of the ** operator in the Python program?

1

To add two numbers

2

To multiply two numbers

3

To raise a number to the power of another number

4

To divide two numbers

17

Match

Match the following

Addition

Multiplication

Division

Exponential

Modulos

+

*

/

**

%

18

Multiple Choice

Question image

In the code to the left, which line is an input?

1

Line 4

2

Line 3

3

Line 7

4

Line 5

19

Multiple Choice

Question image

What does the following program print?

1

<type 'str'>

2

<type 'int'>

3

<type 'float'>

4

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)

Type answer here
Deg°
Rad

21

media

22

Multiple Choice

Can either Scratch or Python calculate any number to the power of another?

1

Yes, only Scratch can

2

Yes, only Python can

3

Yes, both can

4

No, neither can

23

Multiple Choice

Question image

What is PYTHON?

1
text based programming language
2
word processor 
3
spreadsheet
4
block based programming language

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.

1

HTML

2

Scratch

3

Microbit

4

Python

25

Poll

How confident do you feel about this topic now?

Very confident
Somewhat confident
Not confident
media

Show answer

Auto Play

Slide 1 / 25

SLIDE

Discover more resources for Computers