Data Structures Quiz

Data Structures Quiz

University

20 Qs

quiz-placeholder

Similar activities

F2 First ICT Online Quiz

F2 First ICT Online Quiz

7th Grade - University

17 Qs

TLJ

TLJ

1st Grade - University

15 Qs

ITMajor1 & IntroSoftEng- Prelim Examination

ITMajor1 & IntroSoftEng- Prelim Examination

University

20 Qs

FIRST QUIZ - INTRO TO COMPUTER TROUBLESHOOTING

FIRST QUIZ - INTRO TO COMPUTER TROUBLESHOOTING

University

20 Qs

Assessment 08

Assessment 08

University

15 Qs

Chapter 1: Testing Fundamentals

Chapter 1: Testing Fundamentals

University

20 Qs

HASHING IN DBMS

HASHING IN DBMS

University

15 Qs

Data Structures Quiz

Data Structures Quiz

Assessment

Quiz

Computers

University

Medium

Created by

College 24

Used 2+ times

FREE Resource

AI

Enhance your content

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a primitive data type in C++?

Array

Integer

Stack

Queue

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An Abstract Data Type (ADT) is:

Implementation of data only

A mathematical model with data and operations

A non-primitive data type only

Same as primitive data type

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the base address of an array represent?

The last element's location

The middle element's location

The first element's memory location

The size of the array

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The time complexity of accessing any element in an array using its index is:

O(1)

O(n)

O(log n)

O(n²)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A sparse array is an array in which:

All elements are equal

Most elements are zero or empty

Only one element is present

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an advantage of linked lists over arrays?

Dynamic size

Easy insertion and deletion

Random access of elements

Efficient memory utilization

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Traversal in a linked list means:

Inserting an element

Deleting an element

Visiting each node exactly once

Searching only the last node

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?