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
python - Advanced level

Quiz
•
7th - 12th Grade
11 questions
Naruto vs. Dragon Ball Z

Quiz
•
KG - Professional Dev...
15 questions
Simp Test 0-70 your not a simp 71-100 SIMP ALERT

Quiz
•
6th Grade
10 questions
CyberCrime

Quiz
•
5th Grade - Professio...
11 questions
Artificial Intelligence Quiz

Quiz
•
8th Grade
10 questions
Laws of Robotics

Quiz
•
3rd - 6th Grade
10 questions
Warm-up SOL CE.13c TAXES

Quiz
•
8th Grade
15 questions
✨Design a house of your own✨

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Specialty
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Multiplying and Dividing Integers

Quiz
•
7th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
20 questions
Figurative Language Review

Quiz
•
8th Grade