AP CSA Unit One Review

Quiz
•
Computers
•
11th Grade
•
Hard
Avi Gujjula
Used 5+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
JAVA FUNDAMENTALS

Quiz
•
9th - 12th Grade
19 questions
Java Base

Quiz
•
9th - 12th Grade
25 questions
Java Review

Quiz
•
9th Grade - University
18 questions
STATIC KEYWORD IN JAVA

Quiz
•
9th - 12th Grade
23 questions
Java conditional/loop/method/user input

Quiz
•
9th - 12th Grade
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
19 questions
AP Computer Science A Unit 1

Quiz
•
9th - 12th Grade
18 questions
AP CSA U1L01-03

Quiz
•
11th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade