IDT S1 Final Review Part 2

IDT S1 Final Review Part 2

8th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Quiz sobre Python

Quiz sobre Python

8th Grade

15 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

CSE_CodeHS_intro_python_unit_3_5

CSE_CodeHS_intro_python_unit_3_5

9th - 12th Grade

15 Qs

N5 SDD - Python input and output

N5 SDD - Python input and output

7th - 11th Grade

12 Qs

Python

Python

8th - 11th Grade

13 Qs

Advanced Java Study Guide

Advanced Java Study Guide

11th - 12th Grade

10 Qs

Велечини логічного типу

Велечини логічного типу

8th Grade

10 Qs

IDT S1 Final Review Part 2

IDT S1 Final Review Part 2

Assessment

Quiz

Mathematics, Computers

8th - 12th Grade

Medium

Created by

Jason Bentley

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?