
ict5_mt_w2_sw2
Authored by JB Presa
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A program needs to store the number of students in a class. What is the most appropriate data type?
double
int
String
char
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You need to store the average grade of a student (e.g., 91.5). Which data type should you use?
int
double
char
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You want to store whether a student is enrolled or not. What data type is best?
boolean
char
String
int
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a primitive data type in Java?
String
Array
boolean
Scanner
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You want to store a person’s middle initial. Which is the correct data type?
String
char
int
double
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are writing a program that stores the message “Welcome to Java!”. Which data type will you use?
char
boolean
String
int
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You declared: float price = 12.99; — What is wrong with this code?
Float cannot store decimals
Missing f after the value
price is a reserved word
Value must be in quotes
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
15 questions
emptech L1 A
Quiz
•
12th Grade
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
16 questions
Algo Quiz
Quiz
•
University
18 questions
Quiz on Misinformation and Bias
Quiz
•
10th Grade - University
20 questions
IT 101 - Quiz 3
Quiz
•
University
20 questions
COA_QUIZ_UNIT I
Quiz
•
University
20 questions
Online Platform Block Q
Quiz
•
11th - 12th Grade
20 questions
City & Guilds Award in Business Processes
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade