AP CS A Unit 1 Test Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Scott Chamberlain
Used 11+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Algorithms, Flowcharts, Scratch & Python

Quiz
•
10th Grade
32 questions
Unit 1 APCSA

Quiz
•
9th Grade - University
35 questions
class 10 output

Quiz
•
10th Grade
35 questions
Strings In java

Quiz
•
9th - 10th Grade
35 questions
APCSA Unit 4 test

Quiz
•
9th Grade
37 questions
AP CSA Review Set #1

Quiz
•
9th - 12th Grade
34 questions
CB30: Unit 2 Test Review

Quiz
•
9th - 12th Grade
30 questions
UAS Informatika Semester Genap TA. 2024/2025

Quiz
•
10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade