Python Input

Python Input

11th Grade

7 Qs

quiz-placeholder

Similar activities

String Warm Up

String Warm Up

8th - 12th Grade

12 Qs

Programming Java

Programming Java

9th Grade - University

11 Qs

QUIZ PERTAMA PBO

QUIZ PERTAMA PBO

11th Grade

10 Qs

Sains Komputer (Java) 1: Sintaks Asas & Pembolehubah

Sains Komputer (Java) 1: Sintaks Asas & Pembolehubah

10th Grade - University

10 Qs

C++ References

C++ References

6th - 12th Grade

12 Qs

Recursion in Java (AP Computer Science A)

Recursion in Java (AP Computer Science A)

9th - 12th Grade

10 Qs

Kabeer Python Assessment Quiz

Kabeer Python Assessment Quiz

7th - 12th Grade

10 Qs

Java Data Types

Java Data Types

11th Grade

10 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