wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DATA STRUCTURE Basic Info

Total questions: 41

Worksheet time: 25mins

Name
Class
Date
1.

It refers to collection of variables, possibly of several different data types connected in various ways.

a)

Data Structures

b)

Database

c)

Arrays

d)

Abstraction

2.

The process of accessing data stored in a serial access memory is similar to manipulating data on a/an:

a)

Array

b)

BInary Tree

c)

Heap

d)

Stack

3.

Which of the following data structure store the homogeneous data elements?

a)

Records

b)

Arrays

c)

Lists

d)

Pointers

4.

Which of the following is NOT a Type of Data Structures?

a)

Arrays

b)

Tables

c)

Stacks

d)

Trees

5.

Which of the following data structures CANNOT store the non-homogeneous data elements?

a)

Pointers

b)

Array

c)

Records

d)

Stack

6.

Data that a variable can hold in a programming language, all programming language has a set of it.

a)

Programming

b)

Algorithms

c)

Data Types

d)

Variables

7.

Storage for data defined in terms of set of operations to be performed on the data 

a)

Arrays

b)

Variables

c)

Abstract Data Types

d)

Algorithms

8.

Are the data items presented to the algorithm. An algorithm has either no input or a predetermined number of them.

a)

Data

b)

Procedure

c)

Output

d)

Input

9.

Are the data items presented to the outside world as the result of the execution of a program based on the algorithm.

a)

Input

b)

Procedure

c)

Output

d)

Raw data

10.

The number of edges from the node to the deepest leaf is called ___ of the tree.

a)

Depth

b)

Height

c)

Length

d)

Width

11.

Which of the following is non-liner data structure?

a)

Stacks

b)

List

c)

Stringd

d)

Tress

12.

It can be used to encapsulate parts of an algorithm by localizing in one section of a program all the statements relevant to a certain aspect of a program.

a)

Algorithms

b)

Pseudocodes

c)

Flowcharting

d)

Procedures

13.

Ordered set of a variable number of elements to which additions and deletions may be made 

a)

Array

b)

List

c)

Variables

d)

Constant

14.

Ordered collection of data items of the same type referred to collectively by a single name 

a)

List

b)

Array

c)

Variables

d)

Constants

15.

Which of the following definitions of Array Terms is CORRECT?

a)

Index - each variable or cell in an array

b)

Dimensions - an integer from 1 - n called dimensioned variables 

c)

Elements-Individual data indicated by the array name

d)

All of the Choices

16.

A series of values stored in memory is called ___

a)

A struct

b)

A matrix

c)

A tress

d)

An array

17.

n some languages, arrays are also called ___

a)

Groups of arrows

b)

roots or leaves

c)

lists of vectors

d)

Lines or strings

18.

Almost all programming languages start arrays at index 0.

a)

True

b)

False

19.

Arrays of characters, like letters, numbers, punctuation and other written symbols, are called ___

a)

Structs

b)

Ventors

c)

Strings

d)

Groups

20.

type of struct that stores a variable, like a number, and also a pointer is called ___

a)

A nodule

b)

a radix

c)

a node/ element

d)

a root

21.

A flexible data structure that can store many nodes is called ___

a)

A tree

b)

A linked list

c)

A pointer

d)

A queue

22.

Complex data structures built on top of linked lists, that use First-In First-Out behaviour, are called ___

a)

Queues

b)

Vectors

c)

Strings

d)

Stacks

23.

When linked lists are used as stacks, what kind of behaviour is implemented?

a)

First-In-First_Out (FIFO)

b)

First-In-Last-Out (FILO)

c)

Last-In-Last-Out (LILO)

d)

Last-In-First-Out (LIFO)

24.

Which data structure is used for data that links arbitrarily, and includes things like loops?

a)

Stack

b)

Tree

c)

Graphs

d)

Queue

25.

What is a static structure?

a)

A structure fixed in size

b)

A structure that cannot be changed

c)

A structure that cannot be moved

d)

A structure that is influenced by electricity

26.

What is a dynamic structure?

a)

A structure that can be moved

b)

A structure that moves by itself

c)

A structure which's size can change

d)

A structure that works

27.

Which structures does an array have?

a)

Dynamic and immutable structures

b)

Dynamic and mutable structures

c)

Static and immutable structures

d)

Static and mutable structures

28.

What is an array?

a)

A list of things

b)

Collection of elements with array keys

c)

Mathematical division

d)

None of the above

29.

What do you call a collection of items stored at contiguous memory locations?

a)

Linked List

b)

Linear List

c)

Array

d)

Data Structure

30.

Which of the following are examples of Data Structures? (Click 2 possible answers)

a)

Linear List

b)

Linked List

c)

Stacks

d)

Pseudocodes

31.

A _____d L___ is a linear data structure, in which elements are not stored at contiguous memory locations.

(a)  

32.

What does LIFO stand for?

(a)  

33.

What do you this data structure classification in which the elements are stored/accessed on a non-linear order such as trees and graphs.

a)

trees

b)

linear

c)

non-linear

d)

graphs

34.

G (a)   are used to represent networks. The networks may include paths in a city or telephone network or circuit network.

35.

In linked list, the elements are using P (a)   s to linked the data item to the next address in memory location.

36.

Arranging the books in order and removing from the topmost book is an example for________

a)

Linked List

b)

Queue

c)

Stack

37.

In ___________ type of linked lists we can traverse in both the directions.

a)

Singly linked list

b)

Circular linked list

c)

One dimensional linked list

d)

Doubly linked list

38.

._____________ is a data structure in which every individual node consists of INFO to store data and LINK to store the address of the next node.

a)

Queue

b)

Stack

c)

Singly Linked List

d)

Circular queue

39.

Which of the following is a linear data structure?

a)

Graph

b)

Tree

c)

Linked list

40.

How can we describe an array in the best possible way?

a)

The Array shows a hierarchical structure.

b)

Arrays are immutable (Not Modifiable)

c)

The Array is not a data structure

d)

Container that stores the elements of similar types

41.

Which of the following is not the correct statement for a stack data structure?

a)

Arrays can be used to implement the stack

b)

Stack follows FIFO

c)

Elements are stored in a sequential manner

d)

Top of the stack contains the last inserted element