
Chapter 1
Quiz
•
Instructional Technology
•
1st - 5th Grade
•
Practice Problem
•
Hard
Akshita Santra
Used 1+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment.
System.out.print("Java is ");
System.out.println("fun ");
System.out.print("and cool!");
What is printed as a result of executing the code segment?
Java is fun and cool!
Java isfun and cool!
Java is fun and cool!
Java is fun and cool!
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code segment.
System.out.println("Roses are red, ") // Line 1;
System.out.println("Violets are blue, ") // Line 2;
System.out.print("Unexpected '}' ") // Line 3;
System.out.print("on line 32. ") // Line 4;
The code segment is intended to produce the following output but may not work as intended.
Roses are red,
Violets are blue,
Unexpected '}' on line 32.
Which change, if any, can be made so that the code segment produces the intended output?
Replacing print with println on lines 3 and 4.
Replacing println with print on lines 1 and 2.
Removing the single quotes in line 3.
Putting the semicolon after the ) on each line.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type should you use to represent the average grade for a course?
int
double
boolean
String
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type should you use to represent the number of people in a household?
int
double
boolean
String
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type should you use to hold the first name of a person?
int
double
boolean
String
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type should you use to record if it is raining or not?
int
double
boolean
String
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type should you use to represent the amount of money you have?
int
double
boolean
String
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
Malowanie Natryskowe z PRO-MAESTRO.COM
Quiz
•
1st Grade
20 questions
WORD PLANTILLAS
Quiz
•
5th Grade
20 questions
Mantenimiento de PC
Quiz
•
1st Grade
20 questions
mBot Unit 1 Review
Quiz
•
4th - 8th Grade
23 questions
Netiqueta
Quiz
•
5th Grade
20 questions
ARDUINO
Quiz
•
2nd Grade
20 questions
EXCEL Busqueda
Quiz
•
1st Grade
25 questions
TIN HỌC 6. ÔN TẬP CHỦ ĐỀ A
Quiz
•
KG - 1st 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 Instructional Technology
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
15 questions
Equivalent Fractions
Quiz
•
4th Grade
10 questions
Groundhog Day Trivia Questions
Interactive video
•
3rd - 6th Grade
9 questions
Point of View
Quiz
•
3rd - 4th Grade
