AP Computer Science A: <= Unit 4

Flashcard
•
Computers
•
10th - 12th Grade
•
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();
Similar Resources on Wayground
6 questions
Conversation Vocabulary S1

Flashcard
•
9th - 12th Grade
4 questions
Функции в Python

Flashcard
•
KG - University
4 questions
Cause and Effect

Flashcard
•
9th - 12th Grade
10 questions
How To Greet and Welcome The Guest

Flashcard
•
KG
12 questions
Email Etiquette

Flashcard
•
10th - 12th Grade
11 questions
Calculator commands/keyword/process

Flashcard
•
9th - 12th Grade
12 questions
Story 4 2024 Redemption

Flashcard
•
9th - 12th Grade
6 questions
Animals

Flashcard
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade