Identify the precondition for a binary search.
A level systems 22 based

Quiz
•
Computers
•
10th Grade
•
Hard
Philip Gordon
Used 2+ times
FREE Resource
49 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The array/data must be in order/sorted
The array/data must be unsorted
The array/data must be ascending sorted
The array/data must be descending sorted
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Describe how a linear search works. step 1 = Compare the search item with the ??? value
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the time Big O notation for linear search
enter the value O(???)
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The address of the parameter is passed, this is pass by ???
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
If the data stored in a parameter is to be allowed to change the original variable, this would be pass by ???
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify a drawback of global variables
Increases processor usage (as it is used until full program execution is over)
Variable doesn’t need passing as a parameter
You don’t need to return a value
Alterations within the function may have unwanted side effects elsewhere in the program.
Can be accessed from any function / anywhere in the program
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify a benefit of global variables
Increases processor usage (as it is used until full program execution is over)
Variable doesn’t need passing as a parameter
Variable does need passing as a parameter
You do need to return a value
Increases memory usage (as it is used until full program execution is over)
Create a free account and access millions of resources
Similar Resources on Quizizz
50 questions
Soal Kejuruan TKJ 4

Quiz
•
10th - 11th Grade
48 questions
L1 What is a computer network

Quiz
•
10th Grade
50 questions
PTS PTMJ

Quiz
•
10th Grade
44 questions
LATIHAN PYTHON

Quiz
•
10th Grade - University
50 questions
Computer Systems and Algorithms Quiz

Quiz
•
10th Grade - University
50 questions
UAS GANJIL INFORMATIKA X

Quiz
•
10th Grade - University
50 questions
Quiz Komponen Komputer

Quiz
•
10th Grade - University
50 questions
INFORMATIKA

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University