AdvancedProgramming_intro

AdvancedProgramming_intro

University

10 Qs

quiz-placeholder

Similar activities

BCA Revision u11 to 14

BCA Revision u11 to 14

University

12 Qs

DS 13 7 21

DS 13 7 21

University

9 Qs

BCSC0006 - Quiz 3 - Recursion

BCSC0006 - Quiz 3 - Recursion

University

10 Qs

Stack2

Stack2

University

10 Qs

0xDebug - Python

0xDebug - Python

University

10 Qs

Q1-DSA

Q1-DSA

University

10 Qs

Topic 4 - Recursive

Topic 4 - Recursive

University

10 Qs

DQXC

DQXC

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?