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
17 questions
Python 3

Quiz
•
9th Grade
21 questions
Struktur kawalan ulangan

Quiz
•
1st - 12th Grade
17 questions
Sorting Simple List and List processing in Python

Quiz
•
9th Grade
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
19 questions
Midterm 12C SU

Quiz
•
12th Grade
20 questions
Java Conditional Constructs

Quiz
•
9th - 10th Grade
20 questions
Python Conditionals Practice

Quiz
•
9th - 12th Grade
17 questions
Input and Output devices

Quiz
•
7th - 11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade