AP Computer Science A: <= Unit 4
Flashcard
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

5 questions
Show all answers
1.
FLASHCARD QUESTION
Front
The code segment is intended to print a value that is 1 more than twice the value of n.
Back
I only
2.
FLASHCARD QUESTION
Front
What is printed as a result of executing the code segment? Options: ABCD, BCDE, BCEF, BCDEF, ABCDEF
Back
BCEF
3.
FLASHCARD QUESTION
Front
What value is returned as a result of the method call changeStr("12345") ?
Back
"53"
4.
FLASHCARD QUESTION
Front
boolean x = (5 < 8) == (5 == 8); What is the value of x?
Back
false
5.
FLASHCARD QUESTION
Front
Which of the following code segments, if located in a method in a class other than Thing, will cause the message "Hello my friend" to be printed? Options: Thing a = new Thing(); Thing.talk(); Thing.name(); Thing a = new Thing(); Thing.greet(); Thing a = new Thing(); a.talk(); Thing a = new Thing(); a.greet(); Thing a = new Thing(); a.name(); a.talk();
Back
Thing a = new Thing();
a.greet();
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
6 questions
Haemoglobin
Flashcard
•
11th Grade
6 questions
SQL Views
Flashcard
•
KG - University
6 questions
Unit 3.8 Market Structure
Flashcard
•
11th Grade
5 questions
Structure and Form GCSE Dance
Flashcard
•
10th Grade
2 questions
W6.4
Flashcard
•
KG - University
10 questions
Strategies to Avoid Communication Breakdown
Flashcard
•
11th - 12th Grade
10 questions
Marketing Mix - Place and Distribution
Flashcard
•
10th Grade - University
4 questions
Hairstyle Descriptions
Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade