Py-Hackathon - Week 2 - Day 2

Py-Hackathon - Week 2 - Day 2

University

15 Qs

quiz-placeholder

Similar activities

CHAPTER 7 part 2

CHAPTER 7 part 2

University

12 Qs

CC 105 - Quiz 2 FINAL TERM

CC 105 - Quiz 2 FINAL TERM

University

10 Qs

1.1 Information technology

1.1 Information technology

University

20 Qs

Level 2 Digital Technologies

Level 2 Digital Technologies

8th Grade - Professional Development

18 Qs

Database

Database

University

15 Qs

Cybersecurity Fundamentals Week 2 Quiz

Cybersecurity Fundamentals Week 2 Quiz

KG - University

10 Qs

HCI QUIZ #1 and #2

HCI QUIZ #1 and #2

University

15 Qs

Predictive analytics

Predictive analytics

University

10 Qs

Py-Hackathon - Week 2 - Day 2

Py-Hackathon - Week 2 - Day 2

Assessment

Quiz

Computers

University

Hard

Created by

Alumni Education

Used 17+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is printed when the following code is written?

have

['have', 'fun']

fun

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

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

Media Image

What is the output of the following code?

HelloPython-

Hello-Python

-HelloPython

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

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

Media Image

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

Media Image

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?