Array and Linked  list

Array and Linked list

University

20 Qs

quiz-placeholder

Similar activities

UTS Struktur dan Organisasi Data

UTS Struktur dan Organisasi Data

University

25 Qs

JAVA EXAM

JAVA EXAM

University

25 Qs

Lista de Exercícios – Vetores em Java - Parte I

Lista de Exercícios – Vetores em Java - Parte I

University

15 Qs

10-mavzu

10-mavzu

University

15 Qs

Oracle PL/SQL Quizz

Oracle PL/SQL Quizz

University

15 Qs

Pemahaman Berfikir Komputasional

Pemahaman Berfikir Komputasional

9th Grade - University

20 Qs

DSA (QUIZ 7) -Greedy Algorithms and Complexity Analysis

DSA (QUIZ 7) -Greedy Algorithms and Complexity Analysis

University

15 Qs

HAPPY DSA

HAPPY DSA

University

20 Qs

Array and Linked  list

Array and Linked list

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Jhonlie Melecio12

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes an array?

A dynamic collection of elements linked using pointers

A fixed-size, sequential collection of elements of the same type

A random collection of values

A binary tree structure

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an array, how is an element accessed?

Sequentially from the first element

By using its index position directly

Through pointer jumping

By searching linearly only

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the index of the first element in an array in most programming languages?

0

1

-1

Depends on the language

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an advantage of arrays?

Random access to elements

Fixed size

Easy indexing

Contiguous memory storage

5.

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 to elements

Efficient for frequently changing sizes

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does each node in a singly linked list contain?

Data only

Data and a pointer to the next node

Data and pointers to both previous and next nodes

A pointer only

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a doubly linked list, each node contains:

Data and one pointer

Only data

Data and two pointers

Data and a single array

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?