Search Header Logo
Data Types, Addition, and Errors

Data Types, Addition, and Errors

Assessment

Presentation

Computers

9th - 12th Grade

Easy

Created by

Laura FisherJohnson

Used 1+ times

FREE Resource

14 Slides • 10 Questions

1

Data Types, Addition, and Errors

By Laura FisherJohnson

2

media

3

media

4

media

5

Multiple Choice

class_numbers=21+"3"

1

24

2

Type Error

3

18

4

The correct answer isn't listed.

6

Multiple Choice

num=6+5

1

TypeError

2

1

3

11

4

13

7

Multiple Choice

Name=Fisher + Johnson

1

TypeError

2

FisherJohnson

3

Fisher Johnson

4

NameJohnson

8

media

9

media

10

media

11

Poll

What does the following code print?

Type(38)

int

string

float

12

Multiple Choice

What does the following code print:

type("print")

1

int

2

string

3

float

13

Multiple Choice

What does the following code print?

type(3.14)

1

int

2

string

3

float

14

media

15

Multiple Choice

What is another name for adding strings? (mentioned several slides ago)

1

Summing of the strings

2

strumming

3

yarn

4

Concatenation

16

media

17

media

18

media

19

media

20

media

21

media

22

Poll

Which type of error occurs when a colon: is left out

Syntax Error

TypeError

Logic Error

Runtime Error

23

Poll

Which type of error is it when an error occurs that stops the program in the middle of running like dividing by zero (0)

Syntax Error

TypeError

Logic Error

Runtime Error

24

Poll

Which type of error occurs when your program just doesn't do what you expect it to do. You are expecting an output of 3 but you get 9 instead?

Syntax Error

TypeError

Logic Error

Runtime Error

Data Types, Addition, and Errors

By Laura FisherJohnson

Show answer

Auto Play

Slide 1 / 24

SLIDE