AP CSA Unit One Review
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Avi Gujjula
Used 5+ times
FREE Resource
Enhance your content in a minute
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following answer choices display the correct format for a Java main class?
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);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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!”);
Welcome back IA! Hope you had a great summer!
Hope you had a great summer!
Welcome back IA!
Welcome back IA!
Hope you had a great summer!
Welcome backIA
Hope you had a great summer!
Welcome back IA!Hope you had a great summer!
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a Java Primitive Data Type
String
double
integer
char
boolean
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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”)
}
}
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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);
0.5
0
0.0
2
2.0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary use of the Scanner class in Java?
To generate random numbers
To create graphical user interfaces
To read input of primitive data types and strings
To manage database connections
To handle file input/output
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
18 questions
Adobe Illustrator Tools
Quiz
•
10th - 12th Grade
20 questions
Tryout TIK level 6.1
Quiz
•
6th Grade - University
20 questions
Higher SDD Revision
Quiz
•
11th - 12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
20 questions
Basic Principles of Layout
Quiz
•
11th Grade
20 questions
Word 2016 - Lessons 1 & 2
Quiz
•
9th - 12th Grade
20 questions
Primary storage
Quiz
•
9th - 11th Grade
20 questions
Semester 1 - Microsoft Word
Quiz
•
9th - 12th 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
