Advanced Python Quiz1

Advanced Python Quiz1

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Kids Trivia

Kids Trivia

5th - 6th Grade

15 Qs

the hardest cars quiz

the hardest cars quiz

1st Grade - University

12 Qs

Ralph Breaks the Internet

Ralph Breaks the Internet

2nd - 7th Grade

12 Qs

Pusheen savannah

Pusheen savannah

4th - 8th Grade

10 Qs

Guess the blackpink song lyrics

Guess the blackpink song lyrics

4th Grade - Professional Development

10 Qs

History of fortnite

History of fortnite

6th - 7th Grade

14 Qs

F1 in schools QLD

F1 in schools QLD

5th - 12th Grade

6 Qs

LIAMISABOY

LIAMISABOY

KG - Professional Development

14 Qs

Advanced Python Quiz1

Advanced Python Quiz1

Assessment

Quiz

Specialty, Other, Computers

6th - 8th Grade

Medium

Created by

Himasai Polimetla

Used 91+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

To access mathematical functions in python, we need this line in our code.

import math functions

import math

from python import math

from py import mathematics

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the given function call?

9

num=9

print 9

return 9

3.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Media Image

Which of the following prints all letters in alpha? (More than one answer)

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What Python command takes the answer from the user and assigns it to ur_name variable.

ur_name = val("Please enter your name")

ur_name = input("Please enter your name")

ur_name = print("Please enter your name")

ur_name = answer("Please enter your name")

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the given code?

['cat','dog','elephant','tiger']

['cat','dog','elephant']

['dog','elephant','tiger']

['dog','elephant','tiger','fox']

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the given code?

The car is awesome. The car wins the race

The car wins the race

The car is awesome

ERROR

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Given this class, how would you make McQueen win the race?

McQueen.win()

McQueen(win)

win.McQueen()

win(McQueen)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?