Fundamentals of



Download 9.46 Mb.
Page29/57
Date09.01.2017
Size9.46 Mb.
#8172
1   ...   25   26   27   28   29   30   31   32   ...   57

8. Macro flowchart shows

(A) Outline of Program

(C) All of the above

9. Micro flowchart shows _

(A) Outline of Program



(C) All above
(B) Detail Program

(D) None of the above
(B) Detail Program

(D) None above


10. PDL - Program Decision Language is an another name of _

(A) Test Cases (B) Algorithms



(C) Pseudo code (D) Programs

11. According to Sequence Logic a Pseudo code _

(A) Instructions are written in the order they are to be performed

(B) Instructions will be executed several time based on some condition.

(C) Instructions will be executed only ones based on some condition.

(D) None of the above.

12. According to Selection Logic (Decision Logic) of Pseudo code

(A) Instructions are written in the order they are to be performed

(B) Instructions will be executed several time based on so condition.

(C) Instructions will be executed only ones based on condition.

(D) None of the above.

13. Pseudo code is used to -


(A) Visualize program flow

(C) Write program in B language



14. Selection Logic is used to

(B) Write programming instruction in normal language




(A) Instructions are written in the order they are to be performed. (B) Instructions executed several time based on some condition. (C) Select the proper path out of two or more alternative paths

(D) None of above

15. Algorithm and flow chart help us to


(A) Know the memory capacity

(C) Direct the output to a printer

(B) Identify the base of a number system

(D) Specify the problem correctly




16. The process of walking through a program logic on paper before You actually write the program is called .


(A) (B)

Disk checking

Pseudo coding

B)Flowcharting

D)Testing


17. What is the problem with following statement?

100 =grade


(A) (B)

100 is not a reasonable grade

Data type do not match

B)100 should be in quotes



D)Value on the left must be a variable name


18. What might be considered the seventh step of programming process?

(A) Testing (B) Maintaining (C) Replacing (D) Converting

19. What symbol is used to represent output is flow chart?

(A) Square (B) Circle (C) Parallelogram (D) Triangle



20.What is the standard terminal symbol for a flow chart?

(A) Circle (B) Lozenge (C) Diamond (D) Square

21. What is assignment operator?


(A) = (B) * (C) ^

22. What is an example of string constant?

(D) %


(A) 1 (B) 12432 (C) oops” (D) O

23. In some programming language programmer must write a variable telling the compiler what

Prepared By:- Mr. Pawar A. B. 84






data type is expected for the variable.

(A) Name (B) Termination (C) Decision (D) Declaration

24. The following pseudo code is an example of a(n) structure:

Get number

Get another number

If first number is bigger than second then print first number

Else

print second number

(A) Sequence B)Decision C)Loop D)Nested

25. The following pseudo code is an example of

Get number

Get another number

Add number

Print result


A)Sequence B)Decision C)Loop

26. The following pseudocode is an example of

Do step a

Do step b

if condition c is true then

Do step d

else

Do step e end if

while condition f is true

Do step g

end while

D)Nested


(A) Nesting B)Stacking C)Posttest D)Pretest

27. The following pseudocode is an example of if condition a is true then

Do step e

else

Do step b

Do step c

Do step d end if

(B) Nesting B)Stacking C)Posttest D)Pretest

28. In a case structure the term------means if none of the other cases were true ”

(A) Else (B) Then (C) Default (D) Loop

29. Fill in the blank in the following pseudo code:

If some condition is true then Do one process do the 0 process


(A) Then

(C) Do

(B) While



(D) Else


30. What is another name for a loop structure?


(A) Execution

(C) Iteration

(B) Selection

(D) Case


31. A case structure can be replaced one or more

(A) If-then-else (B) Do-while

(C) Do-until (D) While


Download 9.46 Mb.

Share with your friends:
1   ...   25   26   27   28   29   30   31   32   ...   57




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

    Main page