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
15 questions
Technology for Teaching and Learning 1

Quiz
•
University
20 questions
Day 6 - ONLINE TEST - PL03 PYTHON PROGRAMMING

Quiz
•
University
12 questions
Discipline 2

Quiz
•
University
20 questions
Python Unit 1 Quiz

Quiz
•
University
10 questions
PYTHON PROGRAMMING

Quiz
•
University
10 questions
DEBUG THE CODE

Quiz
•
University
13 questions
Lesson 5 - Searching the Web Quiz

Quiz
•
6th Grade - University
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
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
Appointment Passes Review

Quiz
•
6th - 8th 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
20 questions
Grammar Review

Quiz
•
6th - 9th Grade