Python Input

Python Input

11th Grade

7 Qs

quiz-placeholder

Similar activities

BenchmarkI RetestPractice - CMPI

BenchmarkI RetestPractice - CMPI

9th - 12th Grade

10 Qs

Python Ch. 1 & 2

Python Ch. 1 & 2

9th - 12th Grade

10 Qs

Methods in Java

Methods in Java

11th - 12th Grade

10 Qs

45. Programming 1 : Data Types and Casting

45. Programming 1 : Data Types and Casting

9th - 12th Grade

11 Qs

Java Strings

Java Strings

9th - 12th Grade

12 Qs

Variables and Data Types

Variables and Data Types

10th - 12th Grade

10 Qs

C#

C#

11th Grade

10 Qs

C# Variables and Data Types

C# Variables and Data Types

8th Grade - University

9 Qs

Python Input

Python Input

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Michael Alves

Used 2+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to retrieve text from the user?

input

print

variable

int

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of variable is used to store the text retrieved from the user?

float

int

string

boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when the input function is called?

It stores the text in a variable

It converts a string into an integer

It prints a prompt and retrieves text from the user

It performs a mathematical operation

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to convert a string into an integer?

variable

input

int

print

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the type of the variable when the user enters a number without using a number function?

boolean

float

string

int

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the int function do?

It prints a prompt and retrieves text from the user

It converts a string into a decimal number

It stores the text in a variable

It converts a string into a whole number

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the int function do when given the string '22'?

It converts it into an integer

It converts it into a boolean

It converts it into a string

It converts it into a float