reFRESHIEr ICS2602 Quiz

Quiz
•
Computers
•
University
•
Medium
LANCE GULINAO
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
SOAL MODUL 4 : Pemahaman Looping dan Kondisional

Quiz
•
10th Grade - University
15 questions
Soal Java

Quiz
•
11th Grade - University
15 questions
C++Arrays Loops and Functions Review

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
10 questions
Weekly Contest #3 - TechXNinjas

Quiz
•
University
10 questions
Basics Of C Programming

Quiz
•
University
7 questions
unit 4 : loops

Quiz
•
University
10 questions
C - Pointers

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University