
AP CS A Unit 1 Test Review
Authored by Scott Chamberlain
Computers
9th - 12th Grade
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which is NOT a function of the Java compiler?
Checks comments for grammar and spelling
Validates syntax of program code
Translates code to machine language
Links in external libraries
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the origin of the term "computer bug"?
It was named after Computer science pioneer Grace Hopper ("grasshopper")
The first bug was found by a programmer who drove a Volkswagen Beatle
Finding computer bugs makes programmers nauseous (stomach bug)
A moth shorted out the early Mark II computer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the println method do differently than print?
Sends output to a printer
Keeps output on the current line
Forces output to the next line
Allows you to omit quotation marks
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct syntax for defining a new Scanner variable?
Scanner scan = new Scanner(System.in);
System.in.scan(Scanner);
Scanner = new.scan.System;
scan = System.in.nextScan();
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Java?
first name
99problems
a_1_sauce
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assuming that n is a variable for someone's name, which of the following commands is correct?
System.out.println("Happy Birthday n");
System.out.println("Happy Birthday + n");
System.out.println("Happy Birthday " & n);
System.out.println("Happy Birthday " + n);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which term refers to the possible values that can be stored in a variable?
domain
function
sequence
range
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
32 questions
Test próbny EE.09 (PHP C++)
Quiz
•
9th - 12th Grade
30 questions
TYPES AND COMPONENTS OF A COMPUTER SYSTEM
Quiz
•
10th Grade
30 questions
C quiz by Rachai
Quiz
•
5th Grade - University
29 questions
SY2223_WD_IA 3_Review
Quiz
•
9th - 12th Grade
32 questions
BTEC - Digital Information Technology - Component 3 A
Quiz
•
10th - 11th Grade
30 questions
Unit 2.5 - Programming Languages & IDEs
Quiz
•
10th Grade
30 questions
UKD3 Multimedia 11
Quiz
•
11th Grade
30 questions
Python программалоо тили
Quiz
•
7th - 11th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade