
reFRESHIEr ICS2602 Quiz
Authored by LANCE GULINAO
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Statements that affect the order in which code is being run are called
If statements
While statements
Control Structures
Loops
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Insert the missing line of code so that the loop iterates until a newline is entered.
(input = scanner.nextLine()).length() > 0
(scanner.nextLine() = input).length() > 0
(scanner.nextLine() = input).length() == 0
(input = scanner.nextLine()).length() == 0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Conditional expressions are called
While expressions
If expressions
Switch expressions
Ternary expressions
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This statement must be inserted after a switch case to prevent fallthrough
continue;
break;
return;
goto;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
These are values that are passed into a method by the method caller
Return value
Variables
Arguments
Constants
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Complete the for loop such that the output prints the numbers from 1-10
int i = 1; i < 10; i++
int i = 1; i <= 10; i++`
int i = 0; i < 10; i++
int i = 0; i <= 10; i++
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many of the following snippets of code can be inserted such that the full code compiles and runs without any error
int i = 1; i <= numbersArray.length; i++
int i = 0; i < numbersArray.length; i++
int i : numbersArray
int i : numbersArray[]
1
2
3
4
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
10 questions
C++ Array Quiz
Quiz
•
University
15 questions
quiz pertemuan 2 asik ddp
Quiz
•
University
15 questions
Computer Applications in Banking and Finance Quiz
Quiz
•
University
10 questions
Sistema Binario
Quiz
•
1st Grade - University
10 questions
Node.js
Quiz
•
University
15 questions
Mikropemproses dan Mikropengawal
Quiz
•
12th Grade - University
10 questions
PHP Introduction - Assignment 1
Quiz
•
University
10 questions
Software Testing
Quiz
•
University
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University