Python

Python

15 Qs

quiz-placeholder

Similar activities

Practical Body Repair evaluation questions ADMC

Practical Body Repair evaluation questions ADMC

Professional Development

18 Qs

Introducing TEEL structure

Introducing TEEL structure

KG - University

12 Qs

6-3  Sample #5 - III Period

6-3 Sample #5 - III Period

KG - University

16 Qs

RECUPERAÇÃO DE ROBÓTICA 1T B1

RECUPERAÇÃO DE ROBÓTICA 1T B1

KG - University

12 Qs

ASSESSMENT MANAGING RISKS

ASSESSMENT MANAGING RISKS

Professional Development

10 Qs

HOTS Quiz

HOTS Quiz

9th Grade

11 Qs

Year 9 Biology Photosynthesis vs Aerobic Respiration

Year 9 Biology Photosynthesis vs Aerobic Respiration

KG - University

17 Qs

Grade 6 T1 Photosynethesis Test

Grade 6 T1 Photosynethesis Test

KG - University

13 Qs

Python

Python

Assessment

Quiz

others

Practice Problem

Hard

Created by

Sanan Yusibov

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which command will display the text 'Hello world!' on the screen?

print(Hello world!)
print "Hello world!"
print("Hello world!")
print = "Hello world!"

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which command will correctly ask the user for their age?

age = input("How old are you?")
age = input(How old are you?)
input("How old are you?") = age
How old are you = input()

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which function will convert a number to a string?

int()
str()
ord()
chr()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of this command? print ("5" + "3")

8
"5" + "3"
"8"
53

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which function will convert a string containing only digits into a number?

int()
str()
ord()
chr()

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which decision statement will be triggered if the variable x is less than 20?

if x > 20:
if x <> 20:
if x == 20:
if x < 20:

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

15. Which of these tests whether the variable x is the same as 'Hello'?

x = "Hello"
x != "Hello"
x == "Hello"
x <> "Hello"

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?