2nd Year August Quiz

Quiz
•
Computers
•
University
•
Hard
Anand Bhasme
Used 1+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a correct variable name in Python?
1variable
variable_1
variable-1
variable#1
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct way to create a list in Python?
mylist = [1, 2, 3]
mylist = (1, 2, 3)
mylist = {1, 2, 3}
mylist = <1, 2, 3>
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code?
5
10
15
Error
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the print() function do in Python?
Prints data to the console
Saves data to a file
Converts data to a string
Executes data
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of the pass statement in Python?
To terminate a loop
To skip a block of code
To raise an exception
To indicate no action is required
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code?
[4, 1, 2, 3]
[1, 2, 3, 4]
None
Error
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following methods is used to add an element at a specific index in a list?
append()
insert()
extend()
add()
Create a free account and access millions of resources
Similar Resources on Wayground
35 questions
IT Online Quiz Bowl

Quiz
•
University
40 questions
BASIS DATA 1

Quiz
•
University
40 questions
Introduction to Machine Learning

Quiz
•
University
35 questions
ITD11303 DATABASE

Quiz
•
University
40 questions
Global info revision

Quiz
•
11th Grade - University
39 questions
Distributed Computing with Spark SQL

Quiz
•
University
35 questions
IT 211- Data Structures and Algorithm Quiz 1

Quiz
•
University
40 questions
NETWORK & COMMUNICATION FINAL (Long Quiz)

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University