Programming Logic Pre-Assessment

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

32 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What are the two possible results of evaluating a logical expression?
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 Wayground
19 questions
Computer Science Explorations Final Review

Flashcard
•
9th - 12th Grade
23 questions
AP CSP Unit 4 Test REVIEW

Flashcard
•
11th Grade
36 questions
HTML & CSS (Code.org) Unit 2

Flashcard
•
9th - 12th Grade
21 questions
Domain and Range

Flashcard
•
9th - 12th Grade
30 questions
HTML Intro

Flashcard
•
9th - 12th Grade
20 questions
CodeHS Unit 5

Flashcard
•
8th - 12th Grade
31 questions
Веб-программирование

Flashcard
•
KG - University
20 questions
FOC Unit 8 HTML Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade