Search Header Logo

A level systems 22 based

Authored by Philip Gordon

Computers

10th Grade

Used 2+ times

A level systems 22 based
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

49 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the precondition for a binary search.

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)

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?