Determine the value of the following expressions.
Assume A = 5, B = 2, C = 4, D = 6 and E = 3.
A > B.
Midterm Examination (COMPROG1 7-8 PM)
Quiz
•
Computers
•
University
•
Hard
School 2022
Used 1+ times
FREE Resource
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Determine the value of the following expressions.
Assume A = 5, B = 2, C = 4, D = 6 and E = 3.
A > B.
The Relational expression is True. Therefore the value is
1
The Relational expression is True. Therefore the value is 5
The Relational expression is False. Therefore the value is 1
The Relational expression is False. Therefore the value is 5
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A person's age is equal to 30
age =30
age ==30
age =>30
age <=30
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A person's temperature is greater than 98.6
temp > 98.6
temp < 98.6
temp = 98.6
temp == 98.6
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A person's height is less than 6 feet
height => 6.00
height = 6.00
height > 6.00
height < 6.00
5.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
The current month is 12 (December)
month ==112
moth ==12
month =12
month ==12
6.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
The letter input is m
let = ‘m’
let_in == ‘m’
let == ‘m’
let_in = ‘m’
7.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
A person's age is equal to 30 and the person is taller than 6 feet.
age == 30 & ht > 6.00
age == 30 && ht > 6.00
age == 30 && ht < 6.00
age = 30 && ht > 6.00
30 questions
MPP Pra UTS
Quiz
•
University
30 questions
OODP_Batch 1_Quiz
Quiz
•
University
35 questions
python
Quiz
•
11th Grade - University
30 questions
Python Function
Quiz
•
University
35 questions
Final Exam - BECC0302
Quiz
•
University
30 questions
BASIC PYTHON
Quiz
•
University
31 questions
C++ Basics
Quiz
•
University
30 questions
blitz
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade