Unit 2 Quiz review

Quiz
•
Computers
•
12th Grade
•
Hard
Nicholas Savold
Used 4+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the method to print out text in Java?
System.out.println()
System.out.printline()
System.output()
System.out.PRINTLN()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following lines? int x = 24; System.out.println("The total is + x + x);
The total is 24
The total is 2424
The total is 48
The total is x + x
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a primitive type?
int
double
String
boolean
char
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after this code? int x = 5; x = 10; x = 4;
5
10
4
true
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper syntax to initialize a double called temperature to have the value 70.4?
int temperature = 70.4;
double temperature = 70.4;
temperature = 70.4;
float temperature = 70.4;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of this expression? Assume all numbers are int. 5 + 2/3 + 1
5
6
6.67
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which expression returns the 1's place of an integer x?
x % 10
x/10
x % 100
x + 1
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Java OOP Connections

Quiz
•
10th - 12th Grade
18 questions
SAINS KOMPUTER TING 4 - 1.5 AMALAN TERBAIK PENGATURCARAAN

Quiz
•
12th Grade - University
20 questions
Java Values and datatypes

Quiz
•
9th - 12th Grade
22 questions
C# Quiz

Quiz
•
9th - 12th Grade
18 questions
Java Wiederholung

Quiz
•
12th Grade
20 questions
Quarter 3 Final Exam: Functions and Parameters

Quiz
•
9th - 12th Grade
20 questions
OOP Java

Quiz
•
12th Grade
20 questions
Java Casting & Booleans

Quiz
•
10th - 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
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University