Advanced Python Quiz1

Advanced Python Quiz1

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

LIAMISABOY

LIAMISABOY

KG - Professional Development

14 Qs

cats

cats

KG - 12th Grade

6 Qs

Queen quiz

Queen quiz

KG - Professional Development

8 Qs

Physical Computing Review Quiz 1

Physical Computing Review Quiz 1

7th - 8th Grade

13 Qs

board games

board games

KG - University

15 Qs

Car Companies of the world (1.1 update)

Car Companies of the world (1.1 update)

KG - University

15 Qs

Cars and Automobiles

Cars and Automobiles

6th Grade - Professional Development

13 Qs

How well do you know Jay?

How well do you know Jay?

KG - Professional Development

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