What will this code return given checkMethod(false, true)?
APCSA Unit 3

Quiz
•
Computers
•
9th Grade
•
Hard
Thomas Wright
Used 26+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
1
0
-1
This method call will error.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will this method call output given yesOrNo(true)?
"No"
"Yes"
0
This program will error
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Given the following call, what value would be returned for findTheMiddle(2110890125)?
8
the code will error
9
89
4.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Which expression is true?
choose two
true && !true
!false || !true
true && false
false || false || true
false || false || !true
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will this code output?
Hello Karel
Hello Karel
Second if statement!
Second if statement!
This program will print nothing
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will this program print if the value of grade is 80?
A
B
C
nothing
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will the values of x and y be after this code segment runs?
x = 100
y = 200
x = 99
y = 100
x = 101
y = 101
x = 99
y = 199
x = 200
y = 100
Create a free account and access millions of resources
Similar Resources on Quizizz
19 questions
Unit 4: Operators in Java

Quiz
•
9th - 10th Grade
16 questions
Subroutines

Quiz
•
9th - 11th Grade
20 questions
Code.org CSD Unit 3 Lessons 1-12

Quiz
•
3rd - 12th Grade
15 questions
App Lab

Quiz
•
6th - 9th Grade
18 questions
Python basics

Quiz
•
7th - 10th Grade
21 questions
CodeHS JavaScript

Quiz
•
8th - 12th Grade
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
19 questions
Excel Review

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
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
Discover more resources for Computers
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