Advanced Python Quiz1

Advanced Python Quiz1

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Pre-Assessment (Cookery)

Pre-Assessment (Cookery)

7th - 8th Grade

15 Qs

CHAPTER 22 7th

CHAPTER 22 7th

7th Grade

10 Qs

Meme Quiz

Meme Quiz

1st Grade - Professional Development

8 Qs

Hero Gayab Mode On

Hero Gayab Mode On

6th - 12th Grade

11 Qs

Intro to Simple Machines

Intro to Simple Machines

7th - 12th Grade

15 Qs

Microbit Features Activity

Microbit Features Activity

6th - 8th Grade

9 Qs

Eeveelution Squad - Chapter 4 - Unforgettable Events

Eeveelution Squad - Chapter 4 - Unforgettable Events

1st - 7th Grade

10 Qs

Advanced Python Quiz1

Advanced Python Quiz1

Assessment

Quiz

Specialty, Other, Computers

6th - 8th Grade

Practice Problem

Medium

Created by

Himasai Polimetla

Used 91+ 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 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

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?