wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CCIS 104 Quiz # 1.3

Total questions: 11

Worksheet time: 7mins

Name
Class
Date
1.

Which of the following is NOT a feature of ADT?

a)

Robust

b)

Abstract

c)

Specified Implementation

d)

Better Conceptualization

2.

Stack is a First In First Out data structure.

a)

TRUE

b)

FALSE

3.

This operation inserts a new element at the top of the stack.

a)

isFull()

b)

peek()

c)

pop()

d)

push()

4.

Select a possible visual representation of a stack.

a)
b)
c)
d)
5.

This function returns the number of elements in a stack.

a)

pop()

b)

size()

c)

peek()

d)

peek()

6.

Which of the following is NOT an example of a primitive data type?

a)

char

b)

int

c)

array

d)

long

7.

A stack ADT can be implemented using linked list and array.

a)

TRUE

b)

FALSE

8.

You are only allowed to insert and delete at the top of a stack.

a)

TRUE

b)

FALSE

9.

List and Stack are BOTH linear data structures.

a)

TRUE

b)

FALSE

10.

What function will you use to check whether the stack is empty or not?

(a)  

11.

BONUS: What is the end of everything?

(a)