
Unit 1 Practice Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Gary Phelps
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the following is not a primitive data type?
int
bool
Scanner
double
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
How are variables stored?
on the hard drive
in the processor
in memory
they are not stored
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the value of x after this code runs?
int x = 3;
x = 7;
x = 15;
15
3
7
10
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the proper syntax to initialize a variable called moneyEarned to have the value of 37.9?
int moneyEarned = 37.9;
moneyEearned = (double)37.9;
(double)moneyEarned = 37.9;
double moneyEarned = 37.9;
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the result of this expression? (int) (13 + 2 / 4 + 3)
2
16
2.14
2.0
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What expression returns the 1's place of an integer x?
x % 100
x % 10
x / 10
x + 1
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the value of myInteger after this line of code is executed?
int myInteger = (int) 7.9;
8
7
79
0
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
20 questions
JAVA FUNDAMENTALS

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
16 questions
Java Основи

Quiz
•
11th Grade - University
15 questions
MP1 Test 1 - Objects Classes and Methods

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

Quiz
•
9th - 12th Grade
18 questions
Pemrograman C++ (Dasar)

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade