Home | | Computer Science 11th std | Choose the correct answer

Chapter: 11th Computer Science : Chapter 6 : Specification and Abstraction

Algorithmic Problem Solving

Specification and Abstraction

Part I

1. Which of the following activities is algorithmic in nature?

(a) Assemble a bicycle.

(b) Describe a bicycle.

(c) Label the parts of a bicycle.

(d) Explain how a bicycle works.

2. Which of the following activities is not algorithmic in nature?

(a) Multiply two numbers.

(b) Draw a kolam.

(c) Walk in the park.

(d) Braid the hair.

3. Omitting details inessential to the task and representing only the essential features of the task is known as

(a) specification

(b) abstraction

(c) composition

(d) decomposition

4. Stating the input property and the as :-output relation a problem is known

(a) specification

(b) statement

(c) algorithm

(d) definition

5. Ensuring the input-output relation is

(a) the responsibility of the algorithm and the right of the user.

(b) the responsibility of the user and the right of the algorithm.

(c) the responsibility of the algorithm but not the right of the user.

(d) the responsibility of both the user and the algorithm.

6. If i = 5 before the assignment i := i-1 after the assignment, the value of i is

(a) 5

(b) 4

(c) 3

(d) 2

7. If 0 < i before the assignment i := i-1 after the assignment, we can conclude that

(a) 0 < i

(b) 0 ≤ i

(c) i = 0

(d) 0 ≥i

Tags : Specification and Abstraction | Computer Science , 11th Computer Science : Chapter 6 : Specification and Abstraction
Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail
11th Computer Science : Chapter 6 : Specification and Abstraction : Choose the correct answer | Specification and Abstraction | Computer Science