Python Round 1

Quiz
•
Computers
•
University
•
Hard
Noor Malik
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code?
```python
print("Hello, world!")
```
Hello, world
"Hello, world!"
Hello, world!
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How do you check the data type of a variable in Python?
type(variable)
typeof(variable)
datatype(variable)
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a valid variable name in Python?
my_variable
123variable
variable123
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct way to write a comment spanning multiple lines in Python?
// This is a comment
/* This is a comment */
''' This is a comment '''
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct way to create a function in Python?
create myFunction():
def myFunction():
function myfunction():
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, 'Hello', is the same as "Hello"
True
False
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code?
```python
x = "Hello"
y = "World"
print(x + y)
```
Hello World
HelloWorld
Hello + World
Similar Resources on Wayground
10 questions
Python Basics Quiz

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

Quiz
•
University
10 questions
Introduction to Python Quiz

Quiz
•
8th Grade - University
10 questions
PF Unit 10

Quiz
•
9th Grade - University
10 questions
ทำความรู้จักกับภาษาไพทอน

Quiz
•
University
10 questions
BTNVSP

Quiz
•
University
6 questions
8D.1 Intro to Python Exit

Quiz
•
7th Grade - University
9 questions
Python Basics Quiz for KS3

Quiz
•
11th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University