Search Header Logo
Programming Recap 2

Programming Recap 2

Assessment

Presentation

Computers

10th - 11th Grade

Hard

Created by

Leah Tomlinson

Used 1+ times

FREE Resource

10 Slides • 7 Questions

1

Programming Recap 2

Slide image

2

Multiple Choice

What is a variable?

1

A value which stays the same when a program runs

2

A value which changes each time the program is run

3

A function used in programs

3

Multiple Select

Which of the following will have a string data type?

1

x = 5

2

x = Hello

3

x = "Hello"

4

y = "9"

4

Task

Attached to the assignment is a number of different scenarios for you to create a program for. Attach a screenshot of your code into the presentation or, share your colab files with me.

5

Slide image

6

Slide image

7

Slide image

8

Fill in the Blank

What is missing in the code below?

age = input("please enter your age")

if age > 16

print("You are over 16")

else:

print("You are under 16")

9

Slide image

10

Slide image

11

Slide image

12

Multiple Choice

Which code is the correct way to find the square root of a value?

1

sqrt()

2

squareroot()

3

root()

13

Multiple Choice

Which does the ceil() function do?

1

Rounds a number up to the nearest whole number

2

Rounds a number down the the nearest whole number

14

Multiple Choice

Which code is the correct way to find the max value in a list?

1

min()

2

mx()

3

max()

15

Slide image

16

Multiple Select

Which of the following are examples of validation?

1

Value Check

2

Range Check

3

Present Check

4

Type Check

5

Form Check

17

Slide image

Programming Recap 2

Slide image

Show answer

Auto Play

Slide 1 / 17

SLIDE