wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Computer Science Slip test 2

Total questions: 10

Worksheet time: 8mins

Name
Class
Date
1.

Which of the following is a powerful concept that allows programmers to treat codes as objects?

a)

Encapsulation

b)

Data abstraction

c)

Inheritance

d)

Polymorphism

2.

Which of the following provides modularity?

a)

Datatypes

b)

objects

c)

classes

d)

abstraction

3.

ADT expansion is

a)

Abstract data template

b)

absolute data type

c)

abstract data type

d)

application developement tool

4.

The process of provideing only the essentials and hiding the details is known as

a)

functions

b)

abstraction

c)

encapsulation

d)

pairs

5.

How many ways to implement an ADT?

a)

Only one

b)

Two

c)

Three

d)

Many

6.

Which of the following are implemented using lists?

a)

Singly linked list ADT

b)

Doubly Linked list ADT

c)

Stack ADT

d)

Queue ADT

e)

All of these

7.

Which of the following gives an implementation independent view?

a)

Abstract

b)

Concrete

c)

Datatype

d)

Behavior of an object

8.

Which of the following extract the information of the object?

a)

Constructors

b)

Functions

c)

Selectors

d)

Destructors

9.

Which of the following are functions that build the abstract datatype?

a)

Constructors

b)

DEstructors

c)

Selectors

d)

All of these

10.

Which of the following function that facilitate the data abstraction?

a)

Constructors

b)

Selectors

c)

DEstructors

d)

a and b