
PROG2013_Quiz_Unit1a
Authored by Lisa W
Information Technology (IT)
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you print the value stored in the variable message?
echo(message)
echo(message)
print(message)
message.print()
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code?
y = 50
y = 100
print(y)
50
100
150
Error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following correctly assigns values to multiple variables in a single line?
a, b, c = 10, 20, 30
a = b = c = 10, 20, 30
a b c = 10, 20, 30
a, b, c == 10, 20, 30
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct way to assign the value 10 to a variable x?
x == 10
x = 10
x <- 10
x => 10
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the type() function do in Python?
Checks the syntax of a variable
Prints the content of a variable
Displays the data type of a variable
Converts the data type of a variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of the following code?
num1 = 15
num2 = 4
print(num1 * num2)
19
60
11
45
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly calculates 3 raised to the power of 4?
3 * 4
3 ** 4
pow(3, 4)
Both b and c
Access all questions and much more by creating a free account
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
20 questions
Quiz KTI
Quiz
•
University
15 questions
ViewSonic LCD Training
Quiz
•
12th Grade - University
19 questions
CHAPTER 3: SYSTEM ANALYSIS AND DESIGN
Quiz
•
University
10 questions
Chapter 8: Developing Business IT Solutions
Quiz
•
University
12 questions
QUIZ KEJAHATAN DUNIA MAYA
Quiz
•
University
10 questions
Data Visualization with Qlik Cloud
Quiz
•
University
18 questions
Repaso RV
Quiz
•
University
20 questions
Quiz 1 | Information Security | Kali Linux Commands
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University