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: "))
Python - Unit Test 2

Flashcard
•
Computers
•
9th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

13 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
Similar Resources on Quizizz
12 questions
CS Python Fundamentals Unit 4 Review

Flashcard
•
9th - 12th Grade
12 questions
CSP-A114 Flashcard

Flashcard
•
9th - 12th Grade
9 questions
CompTIA A+ 1.2, 1.3 - Mobile Devices

Flashcard
•
9th - 12th Grade
9 questions
Reading and Writing Files with Python Intro

Flashcard
•
9th - 12th Grade
11 questions
Preterit vs Imperfect

Flashcard
•
9th - 12th Grade
12 questions
USING CONTEXT CLUES IN READING

Flashcard
•
9th - 12th Grade
10 questions
Child Care Center Review Flashcard

Flashcard
•
9th - 12th Grade
10 questions
Relations and Functions Flashcard

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University