8.1-Python-input and print

8.1-Python-input and print

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Python

Python

9th - 12th Grade

16 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Python basics recap

Python basics recap

9th - 12th Grade

20 Qs

python quiz

python quiz

12th Grade

20 Qs

"switch" Java Statement - 1

"switch" Java Statement - 1

9th - 10th Grade

17 Qs

Bài kiểm tra giữa kì 2

Bài kiểm tra giữa kì 2

9th - 12th Grade

20 Qs

Python Review Quiz

Python Review Quiz

7th - 9th Grade

20 Qs

ASK T3-STRUKTUR KOD ARAHAN

ASK T3-STRUKTUR KOD ARAHAN

9th Grade

15 Qs

8.1-Python-input and print

8.1-Python-input and print

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Serkan Oektem

Used 16+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command (function) is used to prompt the user to enter data?

print ()

enter ()

insert ()

input ()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the right use of input function?

input X

X = input ()

input () = X

X , input ()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The insert () function allows the user to enter data.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

input ("Enter your name: ") is an invalid statement.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

name = input ("Enter your name: ") is an invalid statement.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, any type of user input, text or numbers, is a string (text) value by default.

True

False

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

score = int (input ("Score"))

Which of the following is/are true? (choose all applicable)

int () is unnecessary addition to input command if a numeric data is entered

int () ensures numeric input is converted to integer

if the user enters a non-numeric data, the program craashes

if the user enters a non-numeric data, the program rejects the input

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?