SST 202 • UNIT 7 • Statistics

Arrays

Topics covered: Arrays in Java, One Dimensional Array, iCreating iArrays, Processing Arrays, Passing Arrays to Methods, Returning an Array from a Method, The Arrays Class, Two-Dimensional Array

Open in Prep Studio →
Looking for SST 202 Arrays PDF material?
Generate printable PDF revision notes, past examination papers with marking rubrics, and formula cheat sheets.
Download Study Pack (PDF)

Verified Examination Problems

1 verified question in catalog

Question 3 (15 marks)

(a) Evaluate the following statement: (6 marks)

$$
x = 2 \% 2 + 2 * 2 - 2 / 3
$$

(b) Write a Java program that creates a two dimensional array with four rows and five columns and fills it with the sum of the row and column indexes. (9 marks)

Full Step-by-Step Solution & Marking Rubric Locked
View Solution in Studio →
Ready to practice this topic interactively?
Generate custom exam variants, chat with the AI course tutor, and solve past papers.
Launch Interactive Study