
WEEK 1-2 Quiz on Python Basics and Data Structures
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Darwin Vargas
Used 5+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to print a message in Python?
print "Hello"
console.log("Hello")
print("Hello")
System.out.println("Hello")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used to start a comment in Python?
#
//
/* */
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types is immutable in Python?
List
Dictionary
Tuple
Set
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of type([1, 2, 3]) in Python?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define a function in Python?
func
define
def
function
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to add an item to a Python list?
append()
add()
push()
insert()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the first element of a list named my_list?
my_list[1]
my_list[0]
my_list.first()
my_list[-1]
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
15 questions
15 Vragen over HTML-tags
Quiz
•
12th Grade
20 questions
js DOM
Quiz
•
12th Grade - Professi...
16 questions
Revision MIT App Inventor after lvl3 clouds
Quiz
•
5th - 12th Grade
20 questions
مراجعه حاسب اول ثانوي
Quiz
•
12th Grade
20 questions
Câu hỏi về phần mềm Scratch
Quiz
•
11th Grade - University
15 questions
10.2 Effective use of the internet
Quiz
•
9th - 12th Grade
15 questions
HTML is FuN! 2
Quiz
•
10th Grade - University
20 questions
Ulangan Harian 1 CSS PPL 2
Quiz
•
9th - 12th Grade
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
