Exam 1 Practice

Quiz
•
Computers
•
University
•
Medium
Tyler Lovell
Used 91+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to get a value from the user of the program in Python?
print()
input()
read()
inp()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3.5
3
4
2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to find the remainder of a division in Python?
//
%
/
**
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the possible results from the randint function with arguments 2 and 8?
2, 3, 4, 5, 6, 7, 8
2 or 8
3, 4, 5, 6, 7
2, 3, 4, 5, 6, 7
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3
4
1
2
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following code snippets correctly checks if a number entered by the user is even or odd?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the code snippet, what will be the output?
Greater
Lesser
There will be an error
There will be no output
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
0xDebug - Python

Quiz
•
University
12 questions
Python Quiz

Quiz
•
University
15 questions
Control Statements - Java

Quiz
•
University
20 questions
Python Programming

Quiz
•
University
12 questions
C Basics

Quiz
•
University
16 questions
PSC ALM QUIZ

Quiz
•
University
10 questions
CSE 6R Midterm Review

Quiz
•
University
10 questions
TIU Quiz-4

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

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

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade