AP Computer Science A Unit 1

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Christopher Shears
Used 54+ 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
22 questions
Java Code Snippets Quiz 1

Quiz
•
10th Grade
18 questions
AP CSA U1L01-03

Quiz
•
11th - 12th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
20 questions
terstruktur

Quiz
•
10th Grade
20 questions
Java, part I

Quiz
•
11th Grade - University
20 questions
JAVA FUNDAMENTALS

Quiz
•
9th - 12th Grade
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade