
Python Quiz Error 101 3.0
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
CODECHEF CUIET
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which language is python written?
C
C++
Java
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid Python variable name?
`my_variable`
`_variable`
`2variable`
`variable_2`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to format a string in Python?
`%`
`&`
`@`
`{}`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
'''python'''
print("Hello, world!"[-6:-1])
'world'
'world!'
'Hello'
'Hello,'
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid way to comment a single line in Python?
`/* comment */`
`<!-- comment -->`
`# comment`
`/* comment */`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code snippet output?
print(2*3 ** 3 // 4 + 5)
13
18
21
23
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Total number of keywords in Python language?
35
32
50
60
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
20 questions
data structures1
Quiz
•
University
16 questions
Quiz on List and Tuples
Quiz
•
University
20 questions
Week 5: Test your understanding part 1
Quiz
•
University
10 questions
Repaso F1007B (Bloque 3)
Quiz
•
University
15 questions
Digital Etiquette
Quiz
•
4th Grade - University
15 questions
Data Mining - Classification Mining
Quiz
•
University
20 questions
SMARTICUS
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
