Python Marathon (Average Round)

Python Marathon (Average Round)

1st - 6th Grade

10 Qs

quiz-placeholder

Similar activities

Large numbers, decimals, percentages and fractions

Large numbers, decimals, percentages and fractions

1st Grade

15 Qs

learning about glady's

learning about glady's

KG - Professional Development

12 Qs

5 Themes of Geography

5 Themes of Geography

4th - 5th Grade

10 Qs

17 Days of SDGs Quiz - Day 11 (English)

17 Days of SDGs Quiz - Day 11 (English)

3rd Grade - Professional Development

15 Qs

Penerapan Rangkaian Elektronika

Penerapan Rangkaian Elektronika

5th Grade

10 Qs

Income Tax

Income Tax

2nd Grade

10 Qs

Safe Physical Training through Covid 19

Safe Physical Training through Covid 19

1st - 12th Grade

10 Qs

Home Alone Practice Quiz

Home Alone Practice Quiz

4th - 6th Grade

12 Qs

Python Marathon (Average Round)

Python Marathon (Average Round)

Assessment

Quiz

Professional Development

1st - 6th Grade

Practice Problem

Hard

Created by

Reymann Zubieta

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 3 pts

Which operator has the highest precedence in the following?

* multiplication operator

+ addition operator

& Bitwise AND

== Comparison Operator

2.

MULTIPLE CHOICE QUESTION

20 sec • 3 pts

Media Image

Give the output of the following code:

26

16

14

12

3.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

What is the output of the following code?

[1, 'a', 5.4, [-3, 0.8]]

[1, 'a', 5.4, -3, 0.8]

[[1, 'a', 5.4],[ -3, 0.8]]

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which of the following gives the output as [5] if the list is list1=[1,2,3,4,5,6,7,8,9]?

list1[4]

list1[5]

list1[-5:5]

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

What is the output of the following code?

NameError

25

25

25

50

50

50

6.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Media Image

Assume the following Python code was executed. What is the value of the variable answer?

'23, my name is hello!'

foo, my name is hello!

No value, SyntaxError is raised

'foo, my name is "hello"!'

7.

MULTIPLE CHOICE QUESTION

10 sec • 3 pts

How many digits are allowed in the float data type after the decimal point?

10

20

12

15

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

Already have an account?