Fundamentals of



Download 9.46 Mb.
Page7/57
Date09.01.2017
Size9.46 Mb.
#8172
1   2   3   4   5   6   7   8   9   10   ...   57

ANSWER KEY


QUE NO

1

ANS

B

QUE NO

6

ANS

A

QUE NO

11

ANS

B

QUE NO

16

ANS

B

2

D

7

A

12

D

17

C

3

B

8

C

13

D

18

D

4

C

9

A

14

A

19

C

5

D

10

C

15

D

20

A

21

C

22

C














Unit II- Algorithm & Programming Concepts

Q.1 Macro flowchart is also called as


(a)Simple detailed flowchart (c)More detail flowchart Q.2 GUI stands for (a)Graphical User Interface (c)Graphical input Unit

(b)Less Detail flowchart



(b)None
(b) Graph Under Instruction

(d)None



Q.3 Terminal symbol in a flowchart indicates


(a)End

(c)Input and Output

Q.4Continue Statement

(b)processing

(d)Decision


(a)Without Executing remaining statements takes control back to starting loop

(b)Take control outside the loop (c)Continues to program end (d)None



Q.5 Structured Programming is

(a)Dividing the program into different program modules (b)Using Structures in the program




(c)Using classes in the program Q.6Pseodocode is used for (a)Denoting the program Flow (c) For coding the program

Q.7 Macro flowchart shows the (a)Outline of the program (c)Program Detail

Q.8 Indentation in a program

(d)None
(b) To make structure chart

(d)To write program steps


(b)Program code

(d)Both (a) & (c)


(a) Improves its readability and understanding (b) Is compulsory

(c)Both (d)None

Q.9 Which of the following is used to avoid infinite loops?

(a)Sentinel (b)For (c)While (d)Do while

Q.10 Which of the following is not necessarily a characteristic of a program module?


(a)It performs a single task

(c)It is self-contained

(b)It contains Several sub modules



(d)It is relatively small in size


Q.11Which of the following is not a benefit of modular programming? (a)It increases program readability (b)It increases programmer productivity (c)It allows for the creation of a library of common programming task

(d)It allows one programmer to do the job of many in the same amount of time

Q.12 The main module of a program contains the following sequences of statements

Call Module A

------------------

Call Module B

------------------

Call Module C

------------------

Which of the following statements is executed after Call Module B?

(a)Call Module A (b)Call Module C

(c)The first Statement in Module B (d)None




Q.13 Which of the following statements is executed after all statements in ModuleB have been carried out in

above Q 12?

(a)Call Module A (b)Call Module C

(c)The first statement in Module C (d)None

Q.14 Which of the following is not a principle of structured programming?

(a)Design the program in top-down manner



(b)Write each program module as a series of control structures

(c)Code the program so that it runs correctly without testing



(d)Use good programming

Q.15 The flowchart symbol bellow (a)Process symbol (b)Input/output symbol (c)Decision symbol (d)Terminator symbol Q.16 The flowchart symbol shown below is (a)Process symbol (b)Input/output symbol (c)Decision symbol (d)Terminator symbol

Q.17 The flowchart symbol shown below is


(a)Process symbol

(c)Decision symbol

(b)Input/output symbol

(d)Terminator symbol




Q.18 The flowchart symbol shown below is


(a)Process symbol

(c)Decision symbol

(b)Input/output symbol

(d)Terminator symbol




Q.19Which of the following is not a basic control structure?


(a)The process

(c)The decision

(b)The Loop

(d)The sequential


Q.20 Which of the following is not a principle of good programming style? (a)Use descriptive variable names (b)Provide a welcome message (c)Identify using text the numbers that are output (d)Test the program

Q.21Method which uses a list of well defined instructions to complete a task starting from a given initial state from a given initial state to end state is calls as

(a)Program (b)Flowchart (c)Algorithm (d)A & B

Q.22The chart that contains only function flow and no code is called as


(a)flowchart (b)Structure chart (c)Both A and B

Q.23 Which of the following is a program planning tool?

(d)None


(a)Sequential (b)decision (c)Pseudo code (d)Both B and C

Q.24Which of the following structures are used in computer programs? (a)sequential (b)decision (c)Timesharing (d)None Q.25Execution of two or more programs by a single CPU is known as


(a)Multiprogramming (b)Multiprocessing (c)Timesharing


Download 9.46 Mb.

Share with your friends:
1   2   3   4   5   6   7   8   9   10   ...   57




The database is protected by copyright ©ininet.org 2024
send message

    Main page