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
15 questions
Car Companies of the world (1.1 update)

Quiz
•
KG - University
12 questions
Anime

Quiz
•
3rd - 11th Grade
14 questions
Pokémon & Yandere. Characters

Quiz
•
6th Grade - Professio...
9 questions
The Ultimate Diep.io Quiz

Quiz
•
KG - Professional Dev...
10 questions
Transitions

Quiz
•
6th - 8th Grade
14 questions
Computer Hardware Review 7G

Quiz
•
6th - 8th Grade
15 questions
Car Brands and Models (Smart Car guys only)

Quiz
•
3rd Grade - University
10 questions
Hygien who 5 nycklar

Quiz
•
6th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Specialty
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Quiz
•
7th Grade
20 questions
Morpheme Mastery Quiz for Grade 7

Quiz
•
7th Grade