
SJI9-ICT 2ND QUARTER EXAM
Authored by TEACHER ROSE
Information Technology (IT)
9th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What is the result of the following expression if x = 5 and y = 10?
x == y
TRUE
FALSE
ERROR
Answer explanation
5 == 10 evaluates to false because 5 is not equal to 10.
5 == 10 evaluates to false because 5 is not equal to 10.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of this expression if x = 15 and y = 15?
x >= y
TRUE
FALSE
ERROR
Answer explanation
15 >= 15 is true because 15 is equal to 15, so the condition is satisfied.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If x = 8 and y = 5, what is the result of this comparison?
x < y
TRUE (1)
FALSE (0)
ERROR
Answer explanation
8 < 5 is false because 8 is greater than 5.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following expression if x = 3 and y = 3?
x != y
TRUE
FALSE
ERROR
Answer explanation
Explanation: 3 != 3 is false because 3 is equal to 3, so they are not different.
Explanation: 3 != 3 is false because 3 is equal to 3, so they are not different.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If x = 12 and y = 20, what will be the output of this expression?
x > y
TRUE
FALSE
ERROR
Answer explanation
12 > 20 is false because 12 is less than 20.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given x = 7 and y = 7, what is the result of this comparison?
x <= y
TRUE
FALSE
ERROR
Answer explanation
7 <= 7 is true because 7 is equal to 7, so the condition is satisfied.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the == operator do in C++?
Compares two values for equality
Compares two values for inequality
Checks if one value is greater than another
Checks if one value is less than or equal to another
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?