AdvancedProgramming_intro

AdvancedProgramming_intro

University

10 Qs

quiz-placeholder

Similar activities

27Mar

27Mar

University

10 Qs

Class 12 Recursion

Class 12 Recursion

12th Grade - University

10 Qs

BCSC0006 - Quiz 2 - Big-Oh Notation

BCSC0006 - Quiz 2 - Big-Oh Notation

University

10 Qs

Algorithm Complexity Final Exam

Algorithm Complexity Final Exam

University

15 Qs

Data Structure & Algorithm

Data Structure & Algorithm

University

10 Qs

Algorithms - Time Complexity

Algorithms - Time Complexity

University

10 Qs

Sorting

Sorting

University

15 Qs

Knowledge Knockout[Quiz Round](2nd-4th years)

Knowledge Knockout[Quiz Round](2nd-4th years)

University

15 Qs

AdvancedProgramming_intro

AdvancedProgramming_intro

Assessment

Quiz

Computers

University

Hard

Created by

Steve Rich

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Big O?

A term used to describe the size of a data structure.
A programming language.
A measure of how fast a computer can perform calculations.
A notation used to describe the performance or complexity of an algorithm.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these algorithms has linear time complexity? (O(n))

Linear search algorithm
Depth-first search algorithm
Bubble sort algorithm
Binary search algorithm

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

FIFO. Which data structure typically operates like this?

Stack
Binary Tree
Linked List
Queue

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What's a definition of 'recursion'?

Recursion is a programming concept where a function calls another function to solve a problem.
Recursion is a programming concept where a function solves a problem by using a loop.
Recursion is a programming concept where a function solves a problem by using conditional statements.
Recursion is a programming concept where a function calls itself to solve a problem by breaking it down into smaller subproblems.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of a binary search?

O(n^2)
O(log n)
O(1)
O(n)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

LIFO. Which data structure typically operates like this?

Stack
Linked List
Heap
Queue

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the definition of a linked list?

A linked list is a type of array.
A linked list is a sorting algorithm.
A linked list is a data structure that consists of a sequence of nodes.
A linked list is a data structure that stores data in a tree-like structure.

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?