Python - Unit Test 2
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

13 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following correctly allows for the input of "Integers"? Options: ex = input("Enter something: "), ex =int(input("Enter something: ")), ex = Integers(input("Enter something: ")), ex = float(input("Enter something: ")), ex = decimals(input("Enter something: "))
Back
ex =int(input("Enter something: "))
2.
FLASHCARD QUESTION
Front
Which of the following is not a data type of Python? char, int, float, str, complex
Back
char
3.
FLASHCARD QUESTION
Front
Which of the following outputs would generate a "syntax" error? Options: print(5.0 + 2), print(5.0 - 2), print(5.0 # 2), print(5.0% 2), print(5.0 * 2)
Back
print(5.0 # 2)
4.
FLASHCARD QUESTION
Front
Given the following program. If the user inputs: 5 and 4, what output would be generated? Options: 9, 20, 54, Syntax Error, Runtime Error
Back
54
5.
FLASHCARD QUESTION
Front
Given the following program. If the user inputs: 5 and 4, what output would be generated? Options: 9, 20, 54, Syntax Error, Runtime Error
Back
9
6.
FLASHCARD QUESTION
Front
Which of the following correctly allows for the input of "Decimals"? Options: ex = input("Enter something: "), ex =int( input("Enter something: ")), ex = Integers(input("Enter something: ")), ex = float(input("Enter something: ")), ex = decimals(input("Enter something: "))
Back
ex = float(input("Enter something: "))
7.
FLASHCARD QUESTION
Front
Which of the following correctly allows for the input of "Strings"? Options: ex = input("Enter something: "), ex =int( input("Enter something: ")), ex = Integers(input("Enter something: ")), ex = float(input("Enter something: ")), ex = decimals(input("Enter something: "))
Back
ex = input("Enter something: ")
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
ENGLISH
Flashcard
•
KG
10 questions
Vocabulary Flashcards
Flashcard
•
KG
3 questions
Chris B Remediation CIA 3 Algebra
Flashcard
•
9th - 12th Grade
13 questions
Money
Flashcard
•
9th - 12th Grade
5 questions
Cvc word game
Flashcard
•
KG - University
12 questions
Hazard Profiles and Tectonic Hazards Flashcard
Flashcard
•
11th Grade - University
6 questions
unit2-PG-QUANTIFIERS
Flashcard
•
7th Grade - University
15 questions
Naming Binary Ionic Compounds
Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade