
Programming Flashcard
Flashcard
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

18 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What value would be returned for findTheMiddle(2110890125)? Options: 8, The code will error, 9, 89
Back
89
2.
FLASHCARD QUESTION
Front
Which expression is true? Options: true && !true, !false || !true, true && false, false || false || !true
Back
!false || !true
3.
FLASHCARD QUESTION
Front
What will this code output? Options: Hello Karel, Hello Karel Second if statement!, Second if statement!, This program will print nothing
Back
Second if statement!
4.
FLASHCARD QUESTION
Front
What will this program print if the value of grade is 80? A, B, C, Nothing
Back
C
5.
FLASHCARD QUESTION
Front
What are the final values of x and y after the code is executed?
int x = 100;
int y = 100;
if (x <= 100)
{ if (y > 100)
{
x = 200;
}
else
{
x = 99;
}
}
else{
x++;
}
y = x + y;
Back
x = 99, y = 199
6.
FLASHCARD QUESTION
Front
Which of the following test cases can be used to show that the code does NOT work as intended? Options: calculateRate(35);, calculateRate(40);, calculateRate(45);, calculateRate(55);
Back
calculateRate(40);
7.
FLASHCARD QUESTION
Front
Given a, b, and c are properly initialized boolean values, what values would make the following expression false? (a || b) || (b || c) || (!a || b);
Back
Nothing. The expression will always be true.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Roundtable 2025
Flashcard
•
KG - University
20 questions
ikatan kimia dan bentuk molekul
Flashcard
•
11th Grade
12 questions
Trennbare Verben
Flashcard
•
KG
10 questions
Disney Trivia
Flashcard
•
KG - 12th Grade
15 questions
Stamped Chapter 1: Understanding Racism
Flashcard
•
10th Grade
15 questions
AVFX124 Name It
Flashcard
•
12th Grade
18 questions
Bradstreet's "Upon the Burning of Our House"
Flashcard
•
11th Grade
15 questions
Flashcard sobre Sistemas Operativos
Flashcard
•
11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade