Search Header Logo

IDT S1 Final Review Part 2

Authored by Jason Bentley

Mathematics, Computers

8th - 12th Grade

Used 3+ times

IDT S1 Final Review Part 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output by this code?

x = input ("Type something: ")

print (type (x))

<class 'str'>

<class 'int'>

<class 'float'>

error. unknown identifier x.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output by this code?

x = int (input ("Please enter your height (in inches): "))

print (type (x))

<class 'str'>

<class 'int'>

<class 'float'>

error. unknown identifier x.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output by this code?

x = float (input ("Please enter your weight (in pounds): "))

print (type (x))

<class 'str'>

<class 'int'>

<class 'float'>

error. unknown identifier x.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

\\ , \n , and \t are all examples of ____

escape characters

integers

software

syntax errors

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data would you use to store the number of students in a school?

int

float

String

boolean

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type would you use to store the words of a sentence?

int

float

String

boolean

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is output by the code?

print (4 + 3 * 2)

10

14

9

13

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?