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
32 questions
Unit 1 APCSA

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

Quiz
•
9th - 12th Grade
30 questions
ทดสอบ python

Quiz
•
11th Grade
30 questions
Python Introduction

Quiz
•
9th - 11th Grade
33 questions
Multidimensional Arrays Quiz

Quiz
•
10th - 11th Grade
35 questions
PGAS L3 - JAVA Operators & Escape Sequences

Quiz
•
10th Grade
38 questions
Java Array

Quiz
•
12th Grade
33 questions
Comp Sci 1 - Unit 3 Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade