Search Header Logo
Lesson 2 - Python -  Crunching Numbers

Lesson 2 - Python - Crunching Numbers

Assessment

Presentation

Computers

7th - 9th Grade

Medium

Created by

Kieran Haren

Used 6+ times

FREE Resource

19 Slides • 6 Questions

1

media

2

Multiple Choice

Question image

What will be the output of print when this program is executed?​

1

My lucky number is lucky​

2

My lucky number is 7​

3

It is not possible to know the output without executing the program​

4

There is an error in the program

3

Multiple Choice

Question image

What will be the output of print when this program is executed?​

1

My lucky number is lucky​

2

My lucky number is 7​

3

It is not possible to know the output without executing the program​

4

There is an error in the program

4

Multiple Choice

Question image

What will be the output of print when this program is executed?​

1

Hello user

2

Hello and whatever the user has typed on the keyboard

3

It is not possible to know the output without executing the program​

4

There is an error in the program

5

media

6

media

7

media

8

media

9

media

10

media

11

media

12

media

13

media

14

Open Ended

Question image

Rearrange (change the order of) the statements, so that the program runs to completion without errors.

15

Multiple Choice

Question image

What will be the value of double, after executing line  A ?

1

10

2

30

3

Line A is not a valid assignment: number already has a value

16

Multiple Choice

Question image

What will be the value of number, after executing line A?

1

5 and 15

2

15

3

There are no valid values for number

4

Line A is not a valid assignment: number already has a value

17

media

18

media
media

19

media

20

media

21

media

22

media

23

media

24

media

25

media
media

Show answer

Auto Play

Slide 1 / 25

SLIDE