AP CS A Unit 1 Quiz Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Scott Chamberlain
Used 4+ times
FREE Resource
11 questions
Show all answers
1.
MATCH QUESTION
1 min • 5 pts
Match the following Java terms to their meanings.
println
A reference (class) data type for character data
String
Send output to the display and advance to the next line
Send output to the display and stay on the same line
nextLine
A method of the Scanner class used to accept character data input
Scanner
A class used to collect user input
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following java statements correctly declares a variable and sets it to the value 2.87?
int x = 2.87;
decimal x = 2.87;
float x = 2.87
double x = 2.87;
real x = 2.87;
3.
REORDER QUESTION
45 sec • 2 pts
Order the following from smallest to largest memory storage size:
double
String
int
boolean
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which statement correctly inputs an integer using a properly initialized Scanner variable?
int num = nextScan(int);
int num = scan.nextNumber();
int num = scanNextInt();
int num = scan.nextLine();
int num = scan.nextInt();
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which is a valid variable name in Java?
Select ALL that apply.
String
ip.address
address_1
2ndplace
lastName
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which variable assignment is valid in java?
double k = 13;
int b = 2.0;
double r = "3.14";
String f = 0;
String w = 98.6;
7.
MULTIPLE SELECT QUESTION
45 sec • 2 pts
System.out.println() accepts which datatype(s) as parameters?
String
double
int
boolean
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
input and print

Quiz
•
11th Grade
10 questions
Java Quiz 1: Introduction

Quiz
•
6th - 12th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
9 questions
عناوين العمليات بلغة جافا

Quiz
•
10th Grade - University
15 questions
AP Computer Science A Quiz

Quiz
•
12th Grade
10 questions
Technical Terms - Internet (A-Z) - Primitive

Quiz
•
12th Grade
10 questions
Programming - Data Types

Quiz
•
1st - 10th 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