What are the two possible results of evaluating a logical expression?
Programming Logic Pre-Assessment

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

32 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
true or false
2.
FLASHCARD QUESTION
Front
What is an "if" statement used for in a program?
Back
To execute a block of code if a condition is true
3.
FLASHCARD QUESTION
Front
Which of these is not a relational operator? Options: >, <, +, <=
Back
+
4.
FLASHCARD QUESTION
Front
Given the following pseudocode, what will be displayed when the program is run?
int A = 10;
int B = 5;
Console.Write(A < B);
Console.Write(" ");
Console.Write(A >= B);
Console.Write(" ");
Console.Write(A != B);
Back
False True True
5.
FLASHCARD QUESTION
Front
Which of the following expressions (A, B, C) are considered logical expressions? A) 6 + 4 B) (6 + 4) >= 10 C) 4 < 10
Back
B and C only
6.
FLASHCARD QUESTION
Front
What is the difference between the following three if() statements?
double sodaCost = 2.50;
if (sodaCost > 2.00) Console.WriteLine("I'll have water instead");
if (sodaCost > 2.00)
Console.WriteLine("I'll have water instead");
if (sodaCost > 2.00)
Console.WriteLine("I'll have water instead");
Back
All three work exactly the same way and produce the same output
7.
FLASHCARD QUESTION
Front
In a switch() statement, what comes between the "case" keyword and the colon?
Back
A specific number, letter, or quoted-string value
Create a free account and access millions of resources
Similar Resources on Quizizz
29 questions
Web Page Development

Flashcard
•
9th - 12th Grade
22 questions
HTML Flashcard

Flashcard
•
9th - 12th Grade
23 questions
HTML Tags - Exam Review

Flashcard
•
9th - 12th Grade
29 questions
HTML and CSS Review

Flashcard
•
9th - 12th Grade
26 questions
Code.org: Unit 2 Lesson 1-13 Flashcard

Flashcard
•
9th - 12th Grade
31 questions
HTML Web Design Review

Flashcard
•
9th - 12th Grade
20 questions
HTML/CSS

Flashcard
•
9th - 12th Grade
30 questions
ITS HTML CSS 2

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade