Efficiency of Algorithms Quiz

Efficiency of Algorithms Quiz

12th Grade

15 Qs

quiz-placeholder

Similar activities

Algorithm questions

Algorithm questions

12th Grade - University

20 Qs

ONE 6th FORM A* & Dijkstras and complexities

ONE 6th FORM A* & Dijkstras and complexities

12th Grade

20 Qs

chapter4 cs 12th

chapter4 cs 12th

12th Grade

10 Qs

J277 - 2.1 - Inputs, Outputs and Processes

J277 - 2.1 - Inputs, Outputs and Processes

10th Grade - University

10 Qs

AP CSP Linear Search

AP CSP Linear Search

12th Grade

10 Qs

AP Computer Science Principles Unit 6

AP Computer Science Principles Unit 6

9th - 12th Grade

15 Qs

Unit 2 - Testing Algorithms

Unit 2 - Testing Algorithms

12th Grade

20 Qs

Code.org Lesson 1-14

Code.org Lesson 1-14

9th - 12th Grade

15 Qs

Efficiency of Algorithms Quiz

Efficiency of Algorithms Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Donna Callender

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following factors determine the efficiency of an algorithm?

Time requirements

Space requirements

Human coding time

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is human coding time?

Time taken to design a program

Time taken to design an algorithm

Time taken to test an algorithm

Time taken to develop and maintain the program

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the property of programs that makes it easier to understand by another programmer?

Understandability

Readability

Maintainability

Simplicity

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following denotes the parameter 'time' in the time function?

Number of memory accesses

Number of comparisons

Number of times a loop is executed

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does space requirements denote?

Amount of memory needed to store a program

Amount of memory required to complete the task by an algorithm

Amount of memory required to store variables

Number of lines in a program

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is TRUE about nested loops?

Increase in the time taken to run the algorithm

Increase in the space taken to run the algorithm

Nested loops are used to optimise the code

Both A and B

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is TRUE about refactoring?

Codes are restructured

A core is restructured without changing its purpose and behaviour

Codes are made more clear, readable and efficient

Both B and C

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?