
ict5_mt_w5-6_q2

Quiz
•
Computers
•
12th Grade
•
Medium
JB Presa
Used 2+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the individual values stored in an array called?
Variables
Identifiers
Elements
Collections
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java, which operator is specifically used to determine the remainder of a division operation?
/
*
-
%
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the difference between declaring an array with values and declaring an array without values (specifying size).
Declaring with values initializes the array elements, while declaring without values only reserves memory.
Declaring with values creates a fixed-size array, while without values creates a dynamic array.
Declaring with values uses less memory.
There is no functional difference; it's just a matter of preference.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the key difference between the == operator and the = operator in Java programming contexts.
== is used for assignment, while = is used for comparison.
== is used to declare variables, while = is used to initialize them.
== and = are interchangeable; they serve the same purpose.
== is used for comparison, while = is used for assignment.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do arrays promote "Effectiveness and Efficiency" in computer programming?
By allowing programmers to write less code to manage large datasets.
By automatically handling data conversions.
By providing built-in sorting mechanisms.
By improving the graphical user interface.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A Java application manages inventory. If currentStock is 100 and itemsSold is 25, write the Java code snippet to update currentStock after itemsSold are deducted, using an arithmetic operator.
currentStock + itemsSold;
currentStock = currentStock - itemsSold;
currentStock * itemsSold;
currentStock / itemsSold;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Declare a Java array named temperatures to store daily high temperatures for a week, and initialize it with arbitrary integer values.
int temperatures = {25, 28, 30, 27, 26, 29, 31};
int temperatures[] = {25, 28, 30, 27, 26, 29, 31};
temperatures[] = new int[7];
int temperatures[7];
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
UAS DPK

Quiz
•
University
24 questions
PRA UAS STRUKTUR DATA

Quiz
•
University
20 questions
Quiz PBO SIA

Quiz
•
University
25 questions
midterm exam. compro (part2)

Quiz
•
University
20 questions
Quiz 2 PBO

Quiz
•
University
20 questions
C++ Quiz 4

Quiz
•
University
20 questions
JAVA Basics Quiz

Quiz
•
University
25 questions
Code Carnival

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade