
python basic quiz AQ1

Quiz
•
Other
•
University
•
Medium
Ruchi Talwar
Used 5+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
name = "Dave"
print (name)
Dave
'Dave'
name
(name)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to output "Hello World" in Python?
print("Hello World")
echo("Hello World");
p("Hello World")
echo"Hello World"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in Python code?
#This is a comment
/*This is a comment*/
//This is a comment
This is a comment
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to output the type of a variable or object in Python?
print(typeOf(x))
print(typeof(x))
print(typeof x)
print(type(x))
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
print(2**3 + (5 + 6)**(1 + 1))
8
121
129
127
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Pelatihan 2 - BE - Bootcamp DCI

Quiz
•
University
13 questions
Python Fundamentals Assessment

Quiz
•
University
18 questions
Computer Vocabulary

Quiz
•
3rd Grade - University
15 questions
indabax python series quiz 1

Quiz
•
University
14 questions
Worksheet #2 Cpet1L and COM1

Quiz
•
University
14 questions
Intro to Python Programming Quiz 9B

Quiz
•
10th Grade - University
12 questions
Intro to Python Programming Quiz 9C

Quiz
•
10th Grade - University
20 questions
Week 1 QUIZ

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade