Fundamentals of



Download 9.46 Mb.
Page53/57
Date09.01.2017
Size9.46 Mb.
#8172
1   ...   49   50   51   52   53   54   55   56   57

21. Indentation is used to format

(A) Program source code


(B) Object code



(C) Executable code

(D) All of the above

22. Consider the following statements regarding algorithms:

(a) Each instruction of an algorithm should be executed in a finite time



(b) One or more instructions of an algorithm should not be repeated infinitely

(c) Any program is an algorithm
(A) A, B, C and D are true (B) Only A, Band D are true (C) Only B, C and D are true (D) Only A, Band C are true

23. Another name for pseudo code is

(A) Imitation code



(B) Flowchart

(C) Program

(D) Algorithm

24. How many basic symbols are available to draw a flowchart?

(A) 4 (B) 6 (C) 8 (D) 7



25. Which of the following is not the way to represent an algorithm?

(A) As an executable code

(B) As a program

(C) As a flowchart

(D) As a pseudo code

26. Consider the following statements and determine which of the following is correct?

(a) Indentation makes programs more readable and simpler to understand



(b) Indentation is compulsory while writing a program
(A) Only (a) is true

(B) Only (b) is true



(C) Both (a) & (b) are true

(D) Both (a) & (b) are false

27. The valid symbol(s) in flowchart is/are _

(A) Connector

(B) Terminal Symbol

(C) Processing Symbol

(D) All of above

28. The algorithm cannot be represented as

(A) A flowchart (B) a program (C) a process



(D) a pseudo code

29. A decision symbol can be used for

(A) A two way branch decision (B) A three way branch decision (C) Multiple way branch decision (D) All of the above



30. What is a Hungarian notation?

(A) Notation for writing Loops (B) Notation for Manipulating Pointers



(C) Notation for writing Variable Names

(D) Flowchart Notation

31. Each step in an algorithm should be performed in a time.


(A) Finite

(C) short

(B) Infinite

(D) Long.


32. Which of the following statement is not appropriate?

(A) Indentation improves the performance of the program.



(B) Indentation is needed to make the program more readable.

(C) Indentation helps the program to distinguish control statements.

(D) Indentation makes the program easy to debug.

33. The structured programming languages are also known as languages.

(A) Object oriented

(B) Procedure oriented

(C) Modular programming

(D) All the above

34. A Symbol is used in a flowchart to represent arithmetic and data movement instructions.


(A) Flow lines

(C) Input/output

(B) Processing

(D) Terminal.


35. The with arrowheads are used to indicate the flow of an operation, that is, the exact Sequence in which the instructions are to be executed.

(A) Flow lines (B) Processing

(C) Decision (D) Terminal.

36. The use of an algorithm is not intended for

(A) Modularizing the programs



(B) Documentation

(C) Writing variable names



(D) Debugging

37. Which of the following is a low level language?

(A) C

(B) LISP

(C) Machine Level Language

(D) JAVA

38. Which of the following language is best suited for system-level programming?


(A) BASIC (C) LISP

(B) C

(D) JAVA


39. Which of the following sequence is correct?

(A) Source code - compiler - object code - linker - executable code (B) Source code -linker - object code compiler - executable code (C) Object code - compiler - source code - linker - executable code



(D) Object code -linker - source code - compiler - executable code

40. The computer software has been classified into two categories. They are _

(A) Hardware & Software



(B) Input & Output

(C) System Software & Application software

(D) Linker & Loader

41. A 'C' program is portable means it


(A) Can run on any machine



(B) Can write on any machine

(C) Can read from as well as write to any machine

(D) All of the above

42. Which programming language is machine independent?

(A) Machine level language (B) Assembly level language (C) High level language



(D) Both A and B

43. A program that aids in effective execution of user programs is called

(A) Application program



(B) System program

(C) Both System and Application program

(D) N either System nor Application program



44. instruct the assembler to perform certain actions during the assembly of programs

(A) Assembler directives



(B) Compiler directives

(C) Declarative statements

(D) Imperative statements

45. is an example of a High Level language.


(A) C ++ (C) Java

(B) Assembly language.

(D) Both A & C


46. Low level languages are _

(A) Machine level language (B) Assembly level language (C) High level language



(D) Both A and B


47. Language is understood by a computer without using translation as

Assembly language



(B) Symbolic language

(C) Machine language

(D) Higher level language

48. Application software can be for _

(A) Operating system

(B) Translator

(C) General-purpose application & Application specific solutions

(D) All of the above


Download 9.46 Mb.

Share with your friends:
1   ...   49   50   51   52   53   54   55   56   57




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

    Main page