Arrays and Files

Arrays and Files

12th Grade

18 Qs

quiz-placeholder

Similar activities

PHP Quiz

PHP Quiz

12th Grade

20 Qs

Unit 6 ArrayLists and String Methods

Unit 6 ArrayLists and String Methods

9th - 12th Grade

20 Qs

Practice Quiz - Internet and Basic HTML

Practice Quiz - Internet and Basic HTML

9th - 12th Grade

20 Qs

Software Design and Development Quick Quiz 4

Software Design and Development Quick Quiz 4

11th - 12th Grade

13 Qs

Arrays, 2D Arrays, and ArrayLists

Arrays, 2D Arrays, and ArrayLists

9th - 12th Grade

15 Qs

Latihan UPS2

Latihan UPS2

5th - 12th Grade

15 Qs

Topic 3 & 4 Practice - ArrayList and String Methods

Topic 3 & 4 Practice - ArrayList and String Methods

12th Grade

15 Qs

Java Arrays

Java Arrays

9th - 12th Grade

20 Qs

Arrays and Files

Arrays and Files

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Salah Salah

Used 4+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An array is a data structure that contains several elements of the same data type

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The position of each element is an array is identified using the arrays .......

index

Lower bound

Upper bound

Subscript

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to declare a 1D array in pseudocode?

DECLARE <Identifier> : ARRAY[LB:UB] OF <data type>

DECLARE <Identifier> : ARRAY[LB:UB],[LB:UB] OF <data type>

DECLARE <Identifier> : ARRAY[LB:UB]

DECLARE <Identifier> : ARRAY OF <data type>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to declare a 2D array in pseudocode?

DECLARE <Identifier> : ARRAY[LB:UB] OF <data type>

DECLARE <Identifier> : ARRAY[LBR:UBR,LBC:UBC,] OF <data type>

DECLARE <Identifier> : ARRAY[LB:UB]

DECLARE <Identifier> : ARRAY OF <data type>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To find an item stored in an array, the array needs to be searched, which of the following is a method of searching an array

Linear search

Bubble sort

Bubble search

Merge search

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2D arrays can be referred to as a table, with rows and columns.

False

True

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly assigns a value to a 1D array in pseudocode

myArray[x] <-- 16

myArray[x,y] <-- 16

myArray x <-- 16

myArray[x] = 16

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?