Advanced Python Quiz1

Quiz
•
Specialty, Other, Computers
•
6th - 8th Grade
•
Medium

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
What is the output of the given function call?
9
num=9
print 9
return 9
3.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which of the following prints all letters in alpha? (More than one answer)
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
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
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
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
Similar Resources on Wayground
10 questions
supercars

Quiz
•
7th Grade
9 questions
Growth Mindset Quiz

Quiz
•
6th Grade
10 questions
Indiana University Campus Tour Quiz

Quiz
•
8th Grade
10 questions
Attack on Titan

Quiz
•
3rd - 9th Grade
13 questions
Scratch

Quiz
•
8th Grade
15 questions
Alice in Wonderland

Quiz
•
3rd - 6th Grade
15 questions
nascar

Quiz
•
5th - 6th Grade
12 questions
NAME THE CAR

Quiz
•
4th - 6th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Specialty
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
30 questions
Teacher Facts

Quiz
•
6th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
22 questions
Figurative Language

Quiz
•
7th Grade