Which of the following is not a primitive type?

Comp Sci Primitive Types

Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Hard
CONNOR S
Used 2+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int
double
String
boolean
char
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is true about variables?
The memory associated with a variable of a primitive type holds an actual primitive value.
When a variable is declared final, its value can only be changed through a direct reassignment.
A variable originally created as an int can be changed to store a double through casting.
All of these choices are true
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after this code runs?
int x = 5;
x = 10;
x = 4;
5
10
4
true
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper syntax to declare and initialize a variable called temperature to have the value 70.4?
int temperature = 70.4;
double temperature = 70.4;
temperature = 70.4;
dbl temperature = 70.4;
temperature = (double) 70.4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of this expression?
(int) (5 + 2 / 3 + 1)
5
6
6.67
7
0
6.
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
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of myInteger after this line of code is executed?
int myInteger = (int) 5.6;
6
5.6
5
9
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
SAS Dasar Program Keahlian RPL Kelas X

Quiz
•
10th Grade - University
30 questions
Java Code Output Quiz

Quiz
•
9th - 12th Grade
22 questions
Java Programming Quiz

Quiz
•
12th Grade
25 questions
Quizizz JavaScript Attempt 2 Review

Quiz
•
9th - 12th Grade
20 questions
Introduction to C# Programming

Quiz
•
10th Grade - University
20 questions
Quizizz SIOTICS #2

Quiz
•
10th Grade - University
20 questions
Video Game Programming and Design Questions

Quiz
•
9th - 12th Grade
20 questions
Assesmen Berpikir komputasi

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade