Search Header Logo

January mock revision quiz

Authored by Salah Salah

Computers

12th Grade

Used 2+ times

January mock revision quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An array is a data type containing several elements of the same data type

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name given to a composite data type formed by the inclusion of several related items that may be of different data types

Records

Arrays

2D arrays

Strings

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct declaration statement for some data to be used in a program?

DECLARE <identifier> : <data type>

<identifier> : <data type>

DECLARE <data type> : <identifier>

DECLARE Name : CHAR

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the algorithm that checks each element of an array in order from the lower bound to the upper bound, until the item is found or the upper bound is reached

Linear search

Bubble sort

Searching an array

Searching a record

5.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

a (a)   sort is a method of sorting where each element of the array is compared with the next element and swapped if the elements are in the wrong order

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is the loop length for a bubble sort one less than the length of the array?

The last element in the list does not have an adjacent element to compare it with

The last element in the list is already sorted

The length of the array might be dynamic

None of the options are correct

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is required when using files in pseudocode

OPEN, Operation (read, write or append) and close

OPEN and close the file

READ, WRITE or APPEND

EOF

Access all questions and much more by creating a free account

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?