AP Computer Science A Unit 1
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Christopher Shears
Used 61+ times
FREE Resource
Enhance your content in a minute
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
20 questions
CSS - Operating System
Quiz
•
11th Grade
17 questions
Aplicaciones Web
Quiz
•
12th Grade
15 questions
Security
Quiz
•
9th Grade
18 questions
The Rise of Intelligent Machines
Quiz
•
8th Grade - University
20 questions
Browser dan CMS
Quiz
•
7th - 9th Grade
20 questions
Administrasi Sistem jaringan KD1
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
