Advanced Python Quiz1

Advanced Python Quiz1

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Im gay

Im gay

1st Grade - Professional Development

9 Qs

VOLLEY BALL RULES

VOLLEY BALL RULES

7th Grade

8 Qs

Y10 Spring Programming Audit

Y10 Spring Programming Audit

8th - 10th Grade

13 Qs

Children

Children

6th Grade

10 Qs

the giver: chapter 9

the giver: chapter 9

7th Grade

7 Qs

Crash Course: Games Dawn of Games and Atari

Crash Course: Games Dawn of Games and Atari

6th - 12th Grade

10 Qs

kpop quiz 1

kpop quiz 1

KG - Professional Development

10 Qs

soo educational

soo educational

6th Grade

13 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?