Quiz1_HPB2021_2010t1
Quiz
•
Computers, Biology
•
1st - 12th Grade
•
Practice Problem
•
Easy
Ali Afzalian Mand
Used 5+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following code:
x = 3
if 2 > x :
print 'First'
else :
print 'Second'
if 2 > x :
print 'Third'
print 'Fourth'
print 'Fifth'
Second
Fourth
Fifth
First
Second
Third
Fourth
Fifth
Fifth
First
Third
Fifth
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
1. Which of the below statements will create a Python list?
list1 = list()
list1 = []
list1 = list([1, 2, 3])
all of the mentioned
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
If list_example is [2, 33, 222, 14, 25], What is list_example[:-1]?
Error
25
[2, 33, 222, 14]
[25, 14, 222, 33, 2]
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Find the output of the following Python code snippet:
print 'ab cd-ef'.title(),
Ab cd-ef
Ab Cd-ef
Ab Cd-Ef
None of the mentioned
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Find the output of the following Python code snippet?
print('abcd'.translate({97: 98, 98: 99, 99: 100}))
bcde
abcd
error
none of the mentioned
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Shortly explain why the output of the following Python code is 16?
count={}
count[(1,2,4)] = 5
count[(4,2,1)] = 7
count[(1,2)] = 6
count[(4,2,1)] = 2
tot = 0
for i in count:
tot=tot+count[i]
print(len(count)+tot)
output:16
Evaluate responses using AI:
OFF
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the statements about dictionary values is false?
More than one key can have the same value
The values of the dictionary can be accessed as dict[key]
Values of a dictionary must be unique
Values of a dictionary can be a mixture of letters and numbers
Create a free account and access millions of resources
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
11 questions
ICT - Networks and communication
Quiz
•
9th Grade
10 questions
4Q Week3 Review Quiz (Who missed the Quiz ONLY))
Quiz
•
9th Grade
12 questions
GCSE AQA 04 Computer Systems - Languages & Translators
Quiz
•
10th - 11th Grade
10 questions
Word 2016 Basics - Saving Document, Page Layout, Header & Foot
Quiz
•
7th Grade
10 questions
Animal Senses Quiz 1
Quiz
•
4th Grade
15 questions
Networking Quiz
Quiz
•
8th - 9th Grade
15 questions
Arduino
Quiz
•
7th - 9th Grade
10 questions
Q1 M 2 - TOPIC 2 / Check your understanding
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
PowerPoint Basics
Quiz
•
6th - 8th Grade
10 questions
App Creators Lesson 2.1-2.4
Quiz
•
8th Grade
10 questions
Exploring Computer Science Careers and Subfields
Interactive video
•
6th - 10th Grade
15 questions
AP CSP Unit 4
Quiz
•
10th - 12th Grade
45 questions
Cybersecurity Quiz
Quiz
•
12th Grade
23 questions
Prog 1 Python Q1 Practice
Quiz
•
9th - 12th Grade
20 questions
logo quiz
Quiz
•
3rd Grade
