Search Header Logo
Unit 1: The Print Command Review

Unit 1: The Print Command Review

Assessment

Presentation

Computers

7th - 9th Grade

Medium

Created by

Mauricio Moran

Used 3+ times

FREE Resource

19 Slides • 17 Questions

1

Unit 1: The Print Command Review


Slide image

2

Slide image

3

Slide image

4

Slide image

5

Slide image

6

Fill in the Blanks

Type answer...

7

Slide image

8

Slide image

9

Quiz Instructions

  • Do not use spaces at all.

  • Type everything exactly as it is.

  • Do not include numerical commas.

  • Use only lower case for the command.

  • Do not use strings or characters for numerical calculations.

10

Fill in the Blanks

Type answer...

11

Fill in the Blanks

Type answer...

12

Slide image

13

Fill in the Blanks

Type answer...

14

Slide image

15

Fill in the Blanks

Type answer...

16

Slide image

17

Fill in the Blanks

Type answer...

18

Slide image

19

Slide image

20

Slide image

21

Multiple Choice

Debug the following block of code print(The pursuit of Happiness)

1

print "The pursuit of Happiness"

2

print 'The pursuit of Happiness'

3

print '(The pursuit of Happiness)'

4

print ('The pursuit of Happiness')

22

Multiple Choice

Debug the following block of code which print('456.99*22+34=456.99*22+34')

1

print('456.99*22+34=456.99*22+34 ')

2

print('456.99*22+34=',456.99*22+34)

3

print('456.99*22+34='456.99*22+34)

4

None of the Above

23

Multiple Choice

The following program displays and calculates

the remainder of dividing 2034 by 34.

print ('2034/34 =', 2034/34)

1

print ('2034/34 =', 2034*34)

2

print (2034/34=, 2034/34)

3

print ('2034/34=, 2034/34')

4

print ('2034 % 34 =', 2034%34)

24

Slide image

25

Slide image

26

Multiple Choice

Which of the following program displays $599 with four decimal places?

1

print('$',format(599,'.4f'))

2

print('$',(599,'.4f'))

3

print('$',599,)

4

print('$',format(599,2f))

27

Slide image

28

Multiple Choice

Which of the following program covert 10000 to exponential notation?

1

print(format(10000,2e))

2

print(format(10000,'.2b'))

3

print(format(10000,'.2f'))

4

print(format(10000,'.2e'))

29

Slide image

30

Multiple Choice

Which of the following program covert 2345 to binary?

1

print(format(2345,b))

2

print(format(2345,f))

3

print(format(2345,e))

4

print(format(2345,'b'))

31

Slide image

32

Multiple Choice

What is debugging?

1

Looking and fixing errors.

2

A code that performs a task.

3

More than one character together.

4

A single letter, number, or symbol.

33

Multiple Choice

What is a program?

1

Looking and fixing errors.

2

A code that performs a task.

3

More than one character together.

4

A single letter, number, or symbol.

34

Multiple Choice

What is a string?

1

Looking and fixing errors.

2

A code that performs a task.

3

More than one character together.

4

A single letter, number, or symbol.

35

Multiple Choice

What is a character?

1

Looking and fixing errors.

2

A code that performs a task.

3

More than one character together.

4

A single letter, number, or symbol.

36

Poll

How confident do you feel about using the print command?

I understand everything

I understand most of the lesson.

I understand at least half of the lesson.

I feel this lesson is too challenging and I do not understand much.

Unit 1: The Print Command Review


Slide image

Show answer

Auto Play

Slide 1 / 36

SLIDE