Back to marketplace

Data Types And Structures

No description yet. This curated deck is ready for daily study.

Total cards: 13•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (13)

#1
Front (Question)

Setting up a maze

Back (Answer)

SET maze[0][1] TO 1 SET maze [1][1] TO 2 SET maze [1][2] TO 5 SET maze [2][3] TO 3 SET maze [3][4] TO 7....etc

#2
Front (Question)

Moving from room to room

Back (Answer)

Procedure change

#3
Front (Question)

2D Arrays - Printing contents

Back (Answer)

FOR row from 0 TO 8 DO FOR column from 0 TO 3 DO SEND maze[row][column] TO display END FOR END FOR

#4
Front (Question)

Advantages of a linked list

Back (Answer)

Is a dynamic data structure, meaning that its size is not fixed and can grow and shrink during execution A linked list is flexible as the order of its items can be changed by moving links between data and not the actual data itself Is more memory efficient than an array because it only needs to be as large as the number of items to be stored

#5
Front (Question)

Disadvantages of a linked list

Back (Answer)

It is not possible to identify a specific item directly using its index such as in an array Instead you have to walk through the list from beginning to end

#6
Front (Question)

Linked lists are useful for implementation on

Back (Answer)

Dynamic data structures such as Queues and stacks

#7
Front (Question)

Setting up a linked list

Back (Answer)

Procedure Setuplist DECLARE data INTEGER initially DECLARE head pointer initially NUL END Procedure

#8
Front (Question)

Inserting a new node to a linked list

Back (Answer)

PROCEDURE newnode (Integer data, Pointer next) IF head = NUL THEN Next = NUL ELSE Next = NUL END IF END PROCEDURE

#9
Front (Question)

Deleting a node from a linked list

Back (Answer)

Procedure deletenode (Integer data) IF head = NUL THEN SEND list is empty TO display ELSE IF THEN END IF

#10
Front (Question)

Linked lists are useful for implementation on

Back (Answer)

Dynamic data structures such as Queues and stacks

#11
Front (Question)

Setting up a linked list

Back (Answer)

Procedure Setuplist DECLARE data INTEGER initially DECLARE head pointer initially NUL END Procedure

#12
Front (Question)

Inserting a new node to a linked list

Back (Answer)

PROCEDURE newnode (Integer data, Pointer next) IF head = NUL THEN Next = NUL ELSE Next = NUL END IF END PROCEDURE

#13
Front (Question)

Deleting a node from a linked list

Back (Answer)

Procedure deletenode (Integer data) IF head = NUL THEN SEND list is empty TO display ELSE IF THEN END IF