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

January mock revision quiz

Quiz
•
Computers
•
12th Grade
•
Medium
Salah Salah
Used 1+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 BLANK QUESTION
1 min • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Intro to HTML

Quiz
•
8th - 12th Grade
25 questions
JAVASCRIPT

Quiz
•
12th Grade
21 questions
CodeHS JavaScript

Quiz
•
8th - 12th Grade
22 questions
Python-Stacks & Queues

Quiz
•
12th Grade
20 questions
Python

Quiz
•
9th - 12th Grade
20 questions
Data structure test1

Quiz
•
12th Grade
17 questions
Intro to Web Design

Quiz
•
9th - 12th Grade
17 questions
HTML

Quiz
•
7th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade