Arrays and Files

Arrays and Files

12th Grade

18 Qs

quiz-placeholder

Similar activities

HTML

HTML

8th - 12th Grade

15 Qs

TMK Tahun 6 - Pengaturcaraan

TMK Tahun 6 - Pengaturcaraan

KG - 12th Grade

20 Qs

Grade 12-Python selection&iteration

Grade 12-Python selection&iteration

11th - 12th Grade

15 Qs

Bài kiểm tra giữa kì 2

Bài kiểm tra giữa kì 2

9th - 12th Grade

20 Qs

Toán tử trong C ++

Toán tử trong C ++

10th - 12th Grade

20 Qs

Teknik Pengolahan Audio dan Video

Teknik Pengolahan Audio dan Video

12th Grade

20 Qs

Google Sheet Formulas Functions

Google Sheet Formulas Functions

11th - 12th Grade

20 Qs

Arrays and Files

Arrays and Files

Assessment

Quiz

Computers

12th Grade

Practice Problem

Easy

Created by

Salah Salah

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?