Mod 2 Test

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Scott Freeman
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
y = 2 + 3 * 5.
print(Y)
error
25.
17
17.0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code if the user enters two lines containing 2 and 4 respectively?
x = input()
y= input()
print (x +y)
2
24
4
6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The 0o prefix means that the numbers after it is denoted as:
binary
decimal
hexadecimal
octal
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The print() function can outpur values of:
just one argument
not more than five arguments
any number of arguments (excluding zero)
any number of arguments (including zero)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The meaning of the keyword parameter is determined by:
Its positions within the argument list
its value
the argument's name specified along with its value
its connection with existing variables
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following variable names are illegal?
select two
True
true
TRUE
and
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following snippet (code) if the user enters two lines containing 2 and 4 respectively?
x = int(input())
y = int(input())
x = x//y
y= y//x
print(y)
4.0
error
2.0
8.0
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
python basics

Quiz
•
11th Grade - University
20 questions
Python variables and operators quiz

Quiz
•
9th - 12th Grade
22 questions
mod 4 test

Quiz
•
9th - 12th Grade
22 questions
Java Code Snippets Quiz 1

Quiz
•
10th Grade
15 questions
Java Increment Quiz

Quiz
•
11th Grade
20 questions
Python Basics ;)

Quiz
•
11th Grade
16 questions
C-Programming Basics

Quiz
•
12th Grade
20 questions
BOOLEAN ALGEBRA

Quiz
•
11th 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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade