
Comp Sci Primitive Types
Authored by CONNOR S
Information Technology (IT)
9th - 12th Grade
CCSS covered
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a primitive type?
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
Tags
CCSS.6.EE.A.2C
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
Tags
CCSS.6.EE.B.6
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
QUIZ 2 (FINALS)
Quiz
•
12th Grade
25 questions
PTS Informatika Kelas 9 Semester 1
Quiz
•
9th Grade
20 questions
FASE E. TIK. Aplikasi pengolah Kata
Quiz
•
10th Grade
20 questions
Problem Solving and Program Design
Quiz
•
11th Grade
20 questions
KUIS KELAS IX BY : Bpk. Yudelis Halawa, M.Pd
Quiz
•
9th Grade
20 questions
Preguntas sobre Scratch
Quiz
•
11th Grade - University
20 questions
UT2 Tecnologías Habilitadoras Digitales
Quiz
•
12th Grade
20 questions
4º ESO. Digitalización. Tema 2 - Redes
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade