### 22226 PCI MCQ (Programming in C) | Unit 1: Program Logic Development

Department of Computer Engineering

Class: Computer & IT

#### Subject: 22226 PCI (Programming in C) MCQ

Unit 1: Program Logic Development

1. The word ____________comes from the name of a Persian mathematician Abu Jafar Muhammad ibn-i Musa al Khwarizmi.

a) Flowchart

b) Flow

c) Algorithm

d) Syntax

2. In computer science, an algorithm refers to a special method usable by a computer for the solution to a problem.

a) True

b) False

3. This characteristic often draws the line between what is feasible and what is impossible.

a) Performance

b) System Evaluation

c) Modularity

d) Reliability

4. The time that depends on the input: an already sorted sequence that is easier to sort.

a) Process

b) Evaluation

c) Running

d) Input

5. Which of the following is incorrect?

Algorithms can be represented:

a) as pseudo-codes

b) as syntax

c) as programs

d) as flowcharts

6. When an algorithm is written in the form of a programming language, it becomes a _________

a) Flowchart

b) Program

c) Pseudocode

d) Syntax

7. Any algorithm is a program.

a) True

b) False

8. A system wherein items are added from one and removed from the other end.

a) Stack

b) Queue

d) Array

9. Another name for 1-D arrays.

a) Linear arrays

b) Lists

c) Horizontal array

d) Vertical array

10. A data structure that follows the FIFO principle.

a) Queue

b) LL

c) Stack

d) Union

11. The symbol denotes _______

a) I/O

b) Flow

c) Terminal

d) Decision

12. In computer science, an algorithm refers to a pictorial representation of a flowchart.

a) True

b) False

13. The process of drawing a flowchart for an algorithm is called __________

a) Performance

b) Evaluation

c) Algorithmic Representation

d) Flowcharting

14. Actual instructions in flowcharting are represented in __________

a) Circles

b) Boxes

c) Arrows

d) Lines

15. The following box denotes?

a) Decision

b) Initiation

c) Initialization

d) I/O

16. A box that can represent two different conditions.

a) Rectangle

b) Diamond

c) Circle

d) Parallelogram

17. There should be certain set standards on the number of details that should be provided in a flowchart.

a) True

b) False

18. A detailed flowchart is called ______

a) Stack

b) Macro

c) Micro

d) Union

19. Which of the following is not an advantage of a flowchart?

a) Better communication

b) Efficient coding

c) Systematic testing

d) Improper documentation

20. A flowchart that outlines the main segments of a program.

a) Queue

b) Macro

c) Micro

d) Union

Happy Learning!