3rd Year August Quiz

Quiz
•
Computers
•
University
•
Hard
Anand Bhasme
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
FullStack Django - [26 Apr 24] TEST - 2

Quiz
•
University
35 questions
Multimedia Quiz 35 q/a

Quiz
•
University
40 questions
ICC1 - Cloud Computing GrpB - 40 GenAI questions

Quiz
•
University
45 questions
Midterm Examination-Infoman 2

Quiz
•
University
40 questions
Machine Learning Concepts Quiz

Quiz
•
University
45 questions
TECHNICAL QUIZ

Quiz
•
University
35 questions
Data Science Quiz

Quiz
•
University
40 questions
Quiz on Conceptualizing Interaction Design

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University