
3rd Year August Quiz
Authored by Anand Bhasme
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to create a dictionary in Python?
mydict = [1, 2, 3]
mydict = (1, 2, 3)
mydict = {1: 'a', 2: 'b'}
mydict = <1, 2, 3>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
3
4
5
6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the map() function do in Python?
It maps elements from one list to another
It applies a function to every item of an iterable and returns a list of results
It creates a dictionary from two lists
It creates a map of key-value pairs
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about Python's GIL (Global Interpreter Lock)?
It allows multiple threads to execute Python bytecode at the same time.
It is removed in Python 3.x
It prevents multiple threads from executing Python bytecode simultaneously.
It is required for multi-threaded applications to run.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print?
99
1
2
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
[1, 2, 3]
[1, 2, 3, 1, 2, 3, 1, 2, 3]
[3, 6, 9]
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a mutable data type in Python?
tuple
list
string
integer
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
43 questions
GCSE Computer Science - 2.1-2.2
Quiz
•
University
40 questions
KUIS JARINGAN DASAR MEI 2024
Quiz
•
University
35 questions
Pemahaman Komponen Komputer
Quiz
•
10th Grade - University
40 questions
FE-Practice # 1
Quiz
•
12th Grade - University
40 questions
IOT_SARS
Quiz
•
University
39 questions
Karel Programming
Quiz
•
10th Grade - University
40 questions
CSM with Visca
Quiz
•
University
40 questions
Desain Grafis 2021
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University