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
Programming Techniques Survey

Quiz
•
8th - 12th Grade
20 questions
Python Functions

Quiz
•
9th Grade
15 questions
Python Conditionals and If Statements

Quiz
•
8th Grade - University
19 questions
Excel Review

Quiz
•
9th - 12th Grade
17 questions
Python - Quiz

Quiz
•
9th - 11th Grade
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
15 questions
AP CSP Exam Review: Big Idea 3

Quiz
•
8th - 10th Grade
18 questions
Python basics

Quiz
•
7th - 10th Grade
Popular Resources on Quizizz
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade