Data Structures and Algorithms

Data Structures and Algorithms

University

30 Qs

quiz-placeholder

Similar activities

Python Credential Test

Python Credential Test

9th Grade - Professional Development

31 Qs

Python Their Certification

Python Their Certification

9th Grade - Professional Development

31 Qs

Repaso de Python básico

Repaso de Python básico

University

25 Qs

Python-предметная олимпиада по программированию

Python-предметная олимпиада по программированию

University

30 Qs

PYTHON PROGRAMMING STRING Q6

PYTHON PROGRAMMING STRING Q6

University

25 Qs

Programming Logic & Design

Programming Logic & Design

KG - University

28 Qs

Python Pandas Quiz

Python Pandas Quiz

University

26 Qs

Python Certified Specialist

Python Certified Specialist

9th Grade - Professional Development

31 Qs

Data Structures and Algorithms

Data Structures and Algorithms

Assessment

Quiz

Computers

University

Hard

Created by

mukilan selvaraj

Used 4+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure follows the LIFO (Last In, First Out) principle?

Queue

Stack

Linked List

Tree

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of accessing an element in a Python list by its index?

O(1)

O(n)

O(log n)

O(n²)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a mutable data structure in Python?

Tuple

String

List

Frozenset

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to initialize a dictionary in Python?

dict = []

dict = {}

dict = ()

dict = set()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which algorithm uses a divide-and-conquer approach?

Bubble Sort

Merge Sort

Linear Search

Insertion Sort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst-case time complexity of the Bubble Sort algorithm?

O(n)

O(n log n)

O(n²)

O(log n)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used for implementing a FIFO (First In, First Out) principle?

Stack

Queue

Array

Graph

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?