
Python Quiz 1 (Beginning of lesson 4)
Authored by Susanti Susanti
Instructional Technology
12th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 sec • 10 pts
What is the result of the following code snippet?
What is the result of the following code snippet?
16
11
13
10
2.
MULTIPLE CHOICE QUESTION
5 sec • 10 pts
Which of the following is used for string concatenation in Python?
Which of the following is used for string concatenation in Python?
+
-
*
/
3.
MULTIPLE CHOICE QUESTION
5 sec • 10 pts
What will be the output of the following code?
What will be the output of the following code?
7
25
10
2
4.
MULTIPLE CHOICE QUESTION
5 sec • 10 pts
Which logical operator in Python represents "AND"?
Which logical operator in Python represents "AND"?
&
&&
||
and
5.
MULTIPLE CHOICE QUESTION
5 sec • 10 pts
What function is used to take user input in Python?
What function is used to take user input in Python?
input()
get_input()
user_input()
enter()
6.
MULTIPLE CHOICE QUESTION
5 sec • 10 pts
What is the correct way to import the random module in Python?
What is the correct way to import the random module in Python?
import random
use random
from random import *
include random
7.
MULTIPLE CHOICE QUESTION
5 sec • 10 pts
What will be the output of the following code?
What will be the output of the following code?
HelloWorld
Hello World
Helloworld
Error: Strings cannot be concatenated directly.
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
13 questions
Pensamento Computacional 02
Quiz
•
9th - 12th Grade
13 questions
IC3 GS6 Level 1 Domain 6 Assessment
Quiz
•
6th - 12th Grade
12 questions
OSHA 10 Review Lessons 11-14
Quiz
•
9th - 12th Grade
10 questions
What do you know about Welding?
Quiz
•
9th - 12th Grade
10 questions
Microsoft Office 365
Quiz
•
KG - 12th Grade
10 questions
The 5 S's Principles
Quiz
•
7th - 12th Grade
14 questions
Online Security_ETech
Quiz
•
11th Grade - University
10 questions
Sway Q&A
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Instructional Technology
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade
10 questions
Valentine's Day Trivia
Quiz
•
9th - 12th Grade