Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Data Structure Quiz-1

Total questions: 8

Worksheet time: 3mins

Name
Class
Date
1.

What is a data type in computer science?

a)

A collection of objects and a set of operations

b)

A type of computer hardware

c)

A type of computer software

d)

A type of computer network

2.

What is an example of a predefined data type?

a)

Struct

b)

Int

c)

Queue

d)

ADT

3.

What is the concept of Abstract Data Type (ADT)?

a)

A predefined data type

b)

A user-defined data type

c)

A type of computer memory

d)

A type of computer storage

4.

What is a structure in C/C++?

a)

A collection of variables of the same data type

b)

A collection of variables of different data types

c)

A type of computer algorithm

d)

A type of computer function

5.

How do you declare a variable of a structure in C/C++?

a)

Using the keyword 'variable'

b)

Using the keyword 'struct'

c)

Using the keyword 'declare'

d)

Using the keyword 'define'

6.

What is a linked list in data structures?

a)

A dynamic data structure

b)

A type of computer storage

c)

A static data structure

d)

A type of computer network

7.

What is a queue in data structures?

a)

A type of computer software

b)

A data structure with FIFO behavior

c)

A data structure with LIFO behavior

d)

A type of computer hardware

8.

What is a stack in data structures?

a)

A type of computer storage

b)

A data structure with LIFO behavior

c)

A data structure with FIFO behavior

d)

A type of computer network