AHJN: Unit19-Computational Thinking

AHJN: Unit19-Computational Thinking

12th Grade

38 Qs

quiz-placeholder

Similar activities

Logic Gates

Logic Gates

8th - 12th Grade

42 Qs

AQA Computer Science GCSE - 3.5 Computer networks

AQA Computer Science GCSE - 3.5 Computer networks

10th - 12th Grade

39 Qs

CSP Unit 10: Algorithms

CSP Unit 10: Algorithms

9th - 12th Grade

41 Qs

Computer History & Hardware

Computer History & Hardware

9th - 12th Grade

40 Qs

Data Structures and Algorithms Quiz

Data Structures and Algorithms Quiz

12th Grade

40 Qs

Data Structures - Stacks

Data Structures - Stacks

12th Grade

35 Qs

Binary to Hexadecimal

Binary to Hexadecimal

7th Grade - Professional Development

35 Qs

Unit 2 review

Unit 2 review

9th - 12th Grade

42 Qs

AHJN: Unit19-Computational Thinking

AHJN: Unit19-Computational Thinking

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Ahmad Janoudi

FREE Resource

38 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which search algorithm has a time complexity of O(log n)?

Binary search

Linear search

Bubble sort

Insertion sort

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a necessary condition for using a binary search algorithm?

The data must be sorted

The data must be stored in a linked list

The data must contain only numeric values

The data must be stored in a queue

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an abstract data type (ADT)?

Stack

Queue

Binary tree

Algorithm

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What notation is commonly used to compare the efficiency of algorithms?

Big O notation

Little O notation

Alpha-beta notation

Theta notation

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a linear search algorithm, what is the worst-case time complexity when searching through n elements?

O(n)

O(log n)

O(1)

O(n²)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about binary search is correct?

It has a worst-case time complexity of O(log n)

It always requires more comparisons than linear search

It can be used on unsorted data

It requires a linked list data structure

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many comparisons would a binary search require in the worst case to find a value in a sorted array of 1024 elements?

10

11

512

1024

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?