AP Computer Science A Unit 1

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Christopher Shears
Used 60+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following does NOT describe a Java Class?
The container for all of our programs
One of the primitive data types
A blueprint that defines the characteristics of an
object
The class title must match the name of the file in
which you are working
2.
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
3.
MULTIPLE CHOICE QUESTION
45 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
4.
MULTIPLE CHOICE QUESTION
45 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
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a valid variable name in Java?
first name
99problems
a_1_sauce
7.
MULTIPLE CHOICE QUESTION
45 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);
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Java Chapter 1 CS2

Quiz
•
9th - 12th Grade
20 questions
แบบทดสอบความรู้เบื้องต้น, ตัวแปรและชนิดข้อมูล ม.4/1

Quiz
•
9th Grade
15 questions
Java Variables, Input and Output

Quiz
•
10th - 12th Grade
17 questions
Unit 7 Review 1

Quiz
•
9th - 12th Grade
20 questions
UTS DASPRO

Quiz
•
1st - 10th Grade
20 questions
The String Class

Quiz
•
12th Grade
16 questions
Python Beginner

Quiz
•
9th - 10th Grade
20 questions
Functions With Parameters and Returns

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