Search Header Logo

Abstract Data Types - Test me

Authored by subscription ISB

Computers

12th Grade

Abstract Data Types - Test me
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

36 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An ADT is best described as:

the exact code used to store data

a high-level description of data and allowed operations

a sorting algorithm

a programming language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which pair is the best example of ADT → implementation?

HashMap → Key-value ADT

Stack ADT → Array-based stack

BSTNode → BST ADT

ArrayList → Queue ADT

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why can ADTs improve maintainability?

They automatically make programs faster

They allow implementation changes without changing how the structure is used

They remove the need for testing

They prevent all errors

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a singly linked list, each node stores:

data only

data + index

data + reference to next node

data + references to prev and next nodes

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a doubly linked list, each node stores:

next only

prev only

both prev and next

neither prev nor next

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A circular linked list is one where:

the head is always null

the last node points back to the head

nodes are stored contiguously

it cannot be traversed

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is accessing the 500th element usually faster in an array than a linked list?

arrays store duplicates

arrays support direct indexing; linked lists require traversal

linked lists are always sorted

arrays are always smaller

Access all questions and much more by creating a free account

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

Already have an account?