If X and Y are boolean variables with values X = False, Y = True, determine the value of the following logical expressions:
X || Y && !Y ^ X || Y
Programming Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Nixon López
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 2 pts
If X and Y are boolean variables with values X = False, Y = True, determine the value of the following logical expressions:
X || Y && !Y ^ X || Y
True
False
Error
2.
MULTIPLE CHOICE QUESTION
10 mins • 2 pts
If A and B are boolean variables with values A = True, B = False, determine the value of the following logical expressions:
A && !B && !A || !B ^ A
False
True
Error
3.
MULTIPLE CHOICE QUESTION
10 mins • 2 pts
If we have variable X = 0 and Y = 1, what would be returned if we use the logical operator ^
False
True
1
0
4.
MULTIPLE CHOICE QUESTION
10 mins • 2 pts
If we have variable T = 0 and F = 1, what would be returned if we use the logical operator &&
1
0
True
False
5.
MULTIPLE SELECT QUESTION
10 mins • 2 pts
Select the types of control structures:
Secuencial
Condicional
Iteración
Algorítmica
6.
MULTIPLE CHOICE QUESTION
10 mins • 2 pts
What is the difference between using the "For" and "While" loop?
For is used when we want to execute the loop indefinitely and while is used when we know the number of times we want to execute a loop.
For is used when we know the number of times we want to execute a loop and while is used when we want to execute the loop indefinitely.
7.
MULTIPLE SELECT QUESTION
10 mins • 2 pts
Select the types of conditionals that exist:
Simple Conditionals
Compound Conditionals
Switch Conditionals
Selective Conditionals
10 questions
Latihan ICT Part 2
Quiz
•
10th Grade
15 questions
1.1 GCSE Systems Architecture
Quiz
•
9th - 10th Grade
15 questions
IF & CASE Conditional Statements
Quiz
•
9th - 12th Grade
10 questions
Coding - Computer Programming
Quiz
•
KG - University
10 questions
TEST - Trace table exercise 1
Quiz
•
11th Grade
11 questions
Basic Programming Constructs
Quiz
•
11th Grade
10 questions
Python Control structures
Quiz
•
12th Grade
10 questions
Basic Programming Terminology Quiz
Quiz
•
10th Grade
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
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University