Fundamentals of



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

structures.




32. Which name is best suited to a module that calculates overtime pay?

(A) CalcoO (B) CoO

(C) Calculate overtimeO (D) CalculateovertimeO

33. The------- can be a useful tool when a program must be modified months or years after the original

writing.

(A) Flowchart (B) Hierarchy chart (C) Pseudo code (D) Variable declaration

34. In a program, the user sees a screen and can typically make Selections using a mouse or other

pointing device.

(A) Reusable (B) Modular (C) GUI (D) Command-line

35. Which step occurs first?


(A) Understanding user's needs

(C) Coding program

(B) Clarifying requirements

(D) Developing program logic




36. Variable declarations are made in the section of a program,

(A) Main loop (B) End-of-job routine (C) Housekeeping



37. Declaring a variable involves selecting a name and a

(A) Size (B) Length

(C) Style (D) Type
(D) File opening


38. Some use a variable-naming convention called notation, in which a variable's data type or other information is stored as part of the name. For example, a numeric field might always start with the prefix num.

(A) Prefix (B) American (C) Polish (D) Hungarian

39. A group of variables is often called a .

(A) Linked group (B) Data structure (C) Data object (D) Module

40. When a variable is it is both declared and initialized.

(A) Set (B) Instantiated (C) Defined (D) Documented

41.The time factor when determining the efficiency of algorithm is measured by

(A) counting microseconds

(B) Counting the number of key operations

(C) Counting the number of statements



(D) Counting the kilobytes of algorithm

42. The space factor when determining the efficiency of algorithm is measured by

(A) Counting The Maximum Memory Needed By The Algorithm

(B) Counting The Minimum Memory Needed By The Algorithm

(C) Counting The Average Memory Needed By The (A)lgorithm

(D) Counting the maximum disk space needed by the algorithm



43. Which of the following case does not exist in complexity theory

(A) Best case (B) Worst case (C) Average case D) Null case

44. The Worst case occur in linear search algorithm when

(A) Item is somewhere in the middle of the array

(B) Item is not in the array at all

(C) Item is the last element in the array

(D) Item is the last element in the array or is not there at all



45. The Average case occur in linear search algorithm (A) When Item is somewhere in the middle of the array (B) When Item is not in the array at all

(C) When Item is the last element in the array

(D) When Item is the last element in the array or is not there at all

46. --------is used to write the algorithms.

(A) Computer Language 'C' (B) Computer Language 'C++'




(C) Any Programming Language (D) English Language



47. There is no symbol for expressing while drawing a flowchart or writing an algorithm.


(A)Assertion

(C)Negation

(B)Comparison

(D)No Action


48. A program design tool in which standard graphical symbols are used to represent the logical flow of


data is called as a

(A)Flowchart



_

(B)Pseudocode (C)Algorithm (D) Structured Chart


49. Which of the following is 8.n iterative control structure?

(A)Decision Making (B )Sequential (C)Jump

50. Which of the following structures are used in computer

programs
(D)loop


(A)Sequential
ANSWERS

(B)Decision (C) Iterative (D)All of above





1.A

2.C

3.C

4.D

5.B

6.B

7.A

8.A

9.B

10.C

11. A

12. C

13. B

14. C

15. D

16.C

17.D

18.B

19.C

20.A

21.A

22.C

23.A

24.B

25.A

26.A

27.A

28.C

29.D

30.C

31.A

32.D

33.C

34.C

35.A

36.D

37.D

38.D

39.B

40.C

41.B

42.A

43.D

44.D

45.A

46.D

47.D

48.A

49.D

50.D



1. Which of the following scenario is correct?

(A) flowchart->algorithm- > programming language (B) flowchart->programming language->algorithm (C) algorithm->flow chart->programming language (D) algorithm->programming language->flow chart



2. Instructions in algorithms should be

(A) Precise (B) Unambiguous

(C) Precise & Unambiguous (D) None of above

3. As compared to a flowchart, it is easier to modify the of a program logic when program


Download 9.46 Mb.

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




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

    Main page