
AP CS A Quiz 01: Data Types & Variables
Quiz
•
Computers
•
10th - 12th Grade
•
Easy
Karen Kikuchi
Used 6+ times
FREE Resource
Enhance your content
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which one is correct?
public static main(Strings[] args) { }
public private static main(Strings[] args) { }
public static void main(Strings[] args) { }
public void static main(Strings[] args) { }
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
(=) sign means
equals and it is used for math problems in Java
assignment operator. It used to assign a value
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which one is used for remainder in Java?
/
%
+
*
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
int x = 3; in this case, which of the following statement is true?
x = x+1;
x++;
x += 1;
All of above
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
This data type returns true or false
String
boolean
char
int
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Name the data type: 1.0
double
int
char
boolean
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What data type would you use for storing the average test score in a class?
boolean
char
int
double
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
30 questions
Sistem Komputer - Gerbang Logika
Quiz
•
10th Grade
35 questions
Quiz Kewirausahaan Teknologi-X TKJ 2
Quiz
•
10th Grade - University
32 questions
Python 6 topic (lists and dictionaries)
Quiz
•
5th - 12th Grade
35 questions
EmTech Q1 Reviewer
Quiz
•
11th Grade
35 questions
Basic HTML and CSS Quiz 1.0
Quiz
•
12th Grade
30 questions
AS Computer Science
Quiz
•
12th Grade - University
32 questions
OCR J275 Databases
Quiz
•
9th - 11th Grade
30 questions
KTHK HK1- K11- v01
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
