
Praxis 5652 Computer Science Prep Mod 5 Operators

Quiz
•
Computers
•
Professional Development
•
Medium
Brandon Milam
Used 2+ times
FREE Resource
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the code segment below.
int x <-- 10
int y <-- x % 3
What is the value of y?
0
1.0
3
1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following variable declaration and initializations.
What will print?
17
35
41
27
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following variable declaration and initializations.
int a ! <- 25
int b ! <- 5*5
print (a == b)
What is printed as a result of executing the code segment?
true
25 == 25
5 == 5
false
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following variable declaration and initializations.
int x !<- 15
int y ! <- 18/3
print (x y)
What is printed as a result of executing the code segment?
1
0
False
True
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed as a result of executing the following statement?
print ( 2 * 4 + 3 * 2)
28
22
32
14
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following variable declaration and initializations.
What is the value of z?
3
13
12
10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
Error: num not defined
555
100
65
Create a free account and access millions of resources
Similar Resources on Wayground
27 questions
Flapo SRE Quizzzz

Quiz
•
Professional Development
33 questions
Chapter 4 : JavaScript Introduction

Quiz
•
Professional Development
34 questions
Friday Pop Quiz 5

Quiz
•
Professional Development
32 questions
Day 3 Bootcamp Quiz

Quiz
•
Professional Development
30 questions
BPP(20APC0526) BASICS-1

Quiz
•
Professional Development
35 questions
Software Testing V1.1

Quiz
•
Professional Development
35 questions
Last Quiz

Quiz
•
Professional Development
30 questions
Python - Basic Data, Structure, and Concepts

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade