AP CSA Unit One Review

Flashcard
•
Computers
•
11th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

23 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following answer choices display the correct format for a Java main class?
Options:
public static void main(String [] args),
public void main static(String [] args),
public static main static(String [] args);
public static void main static(Int [] args),
public static main static(String {} args);
Back
public static void main(String [] args)
2.
FLASHCARD QUESTION
Front
Which of the following answer choices shows the output of the following snippet of code?
System.out.print(“Welcome back”);
System.out.println(“IA!”);
System.out.println(“Hope you had a great summer!”);
Back
Welcome backIA
Hope you had a great summer!
3.
FLASHCARD QUESTION
Front
Which of the following is NOT a Java Primitive Data Type: String, double, integer, char, boolean?
Back
String
4.
FLASHCARD QUESTION
Front
True or False: This code will run with no errors
public class QuizOne
{
public static void main(String[]args)
{
System.out.println(“Today is Monday”)
}
}
Back
False
5.
FLASHCARD QUESTION
Front
Which of the following lines of code will print “Hello IA” to the console: System.out.print(“Hello IA”), System.out.println(“Hello IA”);, System.outprint(Hello IA);, System.out.println(Hello IA)
Back
System.out.println(“Hello IA”);
6.
FLASHCARD QUESTION
Front
Assuming this code has a main class and runs with no errors, what will be the output on the console:
double z = 6.7;
int x = 4;
int y = 8;
z = x/y;
System.out.println(z);
Back
0.0
7.
FLASHCARD QUESTION
Front
What is the primary use of the Scanner class in Java?
Back
To read input of primitive data types and strings
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Unit 3 Python TEST

Flashcard
•
11th - 12th Grade
18 questions
Java Basics MP1 Test 3

Flashcard
•
11th Grade
18 questions
AP CSA Unit 1 Review

Flashcard
•
10th - 12th Grade
16 questions
Lesson 3.5 - If Structures Practice

Flashcard
•
11th Grade
16 questions
Q3-2 Review Questions

Flashcard
•
11th Grade
23 questions
Array & ArrayList Review

Flashcard
•
10th - 12th Grade
13 questions
CSAwesome: 1.2 - Java Basics HW Review

Flashcard
•
11th - 12th Grade
22 questions
CodeHS AP CSP Unit 3 Review

Flashcard
•
11th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade