What command will display the text 'Hello world!' on the screen?
Python introduction

Quiz
•
Computers
•
University
•
Medium
ALBERTO HILARIO
Used 133+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print(Hello world!)
print "Hello world!"
print("Hello world!")
print = "Hello world!"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command will ask the user his/her age correctly?
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
30 sec • 1 pt
What function will convert a number to a string?
int()
str()
chr()
ord()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of this command: print ("5" + "3")
8
"8"
"5" + "3"
53
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function will convert a string containing only digits to a number?
int()
srt()
chr()
ord()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which conditional statement will be executed if the variable x is less than 20?
if x > 20:
if x <> 20:
if x == 20:
if x < 20:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these tests checks if 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
Similar Resources on Quizizz
10 questions
Introduction to Python Quiz

Quiz
•
8th Grade - University
20 questions
1212 Midterm Review

Quiz
•
University
10 questions
Intro to Python

Quiz
•
KG - University
10 questions
PF Unit 10

Quiz
•
9th Grade - University
10 questions
Session 2 Quiz

Quiz
•
University
18 questions
Programming Fundamentals in java

Quiz
•
University
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
16 questions
Python Workshop 1 review

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade