Py-Hackathon - Week 2 - Day 2

Quiz
•
Computers
•
University
•
Hard
Alumni Education
Used 17+ times
FREE Resource
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’]
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Claveria, Rheena Josell A. E-Portfolio Quiz

Quiz
•
University
13 questions
Informatik 1 - Part 2

Quiz
•
University
20 questions
[Python For All] Quiz 2 - Rewind.py

Quiz
•
University
15 questions
Python-Day-3

Quiz
•
12th Grade - University
20 questions
8-期中总结

Quiz
•
University
20 questions
Mastering Python Loops and Functions

Quiz
•
10th Grade - University
20 questions
Audio

Quiz
•
University
10 questions
METODE PENELITIAN-UNM_PERTEMUAN 2

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade