Py-Hackathon - Week 2 - Day 2
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Alumni Education
Used 17+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is printed when the following code is written?
have
['have', 'fun']
fun
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following list function?
[10, 20, 30, 40, 50, 60][10, 20, 30, 40, 50, 60]
[10, 20, 30, 40, 50, 60][10, 20, 30, 40, 50, 60, 60]
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following code?
HelloPython-
Hello-Python
-HelloPython
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the output of the following list function?
[20, 30, 40, 50][10, 20, 40]
[10, 20, 30, 40][10, 20, 30, 50]
[10, 20, 30, 40][10, 20, 40]
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Select the correct way to print Emma’s age.
student[0][1]
student[1][“age”]
student[0][“age”]
6.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Select correct ways to create an empty dictionary.
sampleDict = {}
sampleDict = dict()
sampleDict = dict{}
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Select the correct way to access the value of a history subject.
sampleDict[‘class’][‘student’][‘marks’][‘history’]
sampleDict[‘class’][‘student’][‘marks’][1]
sampleDict[‘class’][0][‘marks’][‘history’]
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
16 questions
Tips for Searching the Internet
Quiz
•
6th Grade - University
10 questions
การทำงานของคอมพิวเตอร์ Part 2
Quiz
•
University
13 questions
CLASS ORIENTATION - GET TO KNOW
Quiz
•
University
15 questions
Software Engineering Chapter 2
Quiz
•
University
10 questions
Round 1: Get to know US :)
Quiz
•
University
10 questions
QUIZ 2 NDJ10303 v1
Quiz
•
University
14 questions
Unit 2 - Abstraction and Automation
Quiz
•
12th Grade - University
20 questions
Spreadsheet Fundamentals - Quiz2
Quiz
•
University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
