8.1-Python-input and print

8.1-Python-input and print

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

8th - 12th Grade

23 Qs

Python programming language Quiz - Week 9

Python programming language Quiz - Week 9

9th Grade

15 Qs

Quiz Materi Pemrograman 1

Quiz Materi Pemrograman 1

11th Grade

20 Qs

Java-Chapter 12 Exam

Java-Chapter 12 Exam

9th - 12th Grade

20 Qs

Python Sem. Review P1

Python Sem. Review P1

11th Grade

20 Qs

AIB_2Q

AIB_2Q

12th Grade

20 Qs

MAC - Unit 2

MAC - Unit 2

9th - 12th Grade

18 Qs

G8 Practice PC

G8 Practice PC

12th 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 18+ 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?