Python Review Module 16 - Searching Sorting Algorithm

Python Review Module 16 - Searching Sorting Algorithm

University

17 Qs

quiz-placeholder

Similar activities

Agentes Públicos

Agentes Públicos

University

15 Qs

ACP 6 - PARTNERSHIP FORMATION

ACP 6 - PARTNERSHIP FORMATION

University

16 Qs

S3-Adobe illustrator

S3-Adobe illustrator

University

12 Qs

QUIZ #1 MICROFINANCE

QUIZ #1 MICROFINANCE

University

15 Qs

TES AWAL MODUL 2 TIPE A DAN C

TES AWAL MODUL 2 TIPE A DAN C

University

12 Qs

IMPORTANT BRANDING DECISSIONS

IMPORTANT BRANDING DECISSIONS

University

15 Qs

Quiz ODC-Jan 2021

Quiz ODC-Jan 2021

University

20 Qs

Research Sampling

Research Sampling

University

15 Qs

Python Review Module 16 - Searching Sorting Algorithm

Python Review Module 16 - Searching Sorting Algorithm

Assessment

Quiz

Science, Other

University

Practice Problem

Medium

Created by

Karen Diggs

Used 43+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A(n) ______ is a sequence of steps for accomplishing a task.

structure

algorithm

linear sort

order of complexity

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Linear search is a search algorithm that sorts the list _____.

in descending order and then searches the list until the search key is found

in ascending order and then searches the list until the search key is found

by splitting the list into two halves and searching each half until the search key is found

from the start of a list and checks each element until the search key is found

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which scenario can a binary search be used to find an element?

A list of students’ weights and heights for a class

A list of client details for a company

An alphabetical list of employee names

A list of students’ marks for a class

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given a list of 64 elements, how many elements will be checked to look for a value that is larger than the largest value in the list using binary search?

6

7

10

8

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All functions that have the same _____ are considered equivalent in Big O notation.

number of terms

growth rate

number of loops

number of variables

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following algorithms has a logarithmic runtime complexity?

binary search

merge sort

linear search

selection sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following functions will have the biggest growth rate?

Log2N

NLog2N

N2

N

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?