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
13 questions
Algorithms Quiz
Quiz
•
12th Grade
14 questions
Informatics Practices Quiz (SARAFALI. P)
Quiz
•
11th Grade
7 questions
Computer Science Essentials Vocabulary
Quiz
•
9th - 12th Grade
11 questions
Scratch Lesson 1
Quiz
•
6th - 10th Grade
12 questions
Computer Science
Quiz
•
3rd - 12th Grade
12 questions
Hour of Code
Quiz
•
6th - 12th Grade
15 questions
Swift Playgrounds Part 2
Quiz
•
9th Grade
10 questions
Pseudocode - OCR ERL
Quiz
•
9th - 12th 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