STRUCTURED PROGRAMMING MCQ by MINS
STRUCTURED PROGRAMMING MCQ by MINS
What are the four major steps involved in the Software Development Cycle?
a) Program Design, Program Testing, Debugging, Maintenance
b) Software Specification, Software Development, Software Validation,
Software Evolution
c) Input Statements, Algorithms, Output Statements, Properties of Algorithms
d) Sorting, Searching, Flowcharts, Subprograms
What is the language in which the instructions for the computer to execute are
written?
a) Machine language
b) Assembler language
c) High level language
d) All of the above
9. Which step of the Software Development Cycle involves using the software
specification to develop the required software for the client?
a) Software Specification
b) Software Development
c) Software Validation
d) Software Evolution
10. What is the term for the process of converting a program into an executable
file?
a) Compilation
b) Interpretation
c) Execution
d) Debugging
11. What is the term used for a set of instructions for solving problems written
for a computer to execute?
a) Algorithm
b) Flowchart
c) Variable
d) Program
13. What is the main aim of the step "Maintenance" in the Software
Development Cycle?
a) To validate the software
b) To provide description of the program
c) To ensure that the software meets the changing need of the customers
d) To develop the required software for the client
14. What is the term used for the act of writing a set of instructions in solving
problems for a computer to execute?
a) Software Development
b) Program Design
c) Computer Programming
d) Program Testing
16. What is the property of algorithms that ensures they can produce the
required output after a finite number of steps for any input?
a) Generality
b) Definiteness
c) Finiteness
d) Effectiveness
18. What is the main aim of the step "Maintenance" in the Software
Development Cycle?
a) To validate the software
b) To provide description of the program
c) To ensure that the software meets the changing need of the customers
d) To develop the required software for the client
22. How are variables declared in most programming languages like C++?
a) DECLARE variable AS datatype
b) DECLARE variable, datatype
23. Which type of error is usually detected when there is a disparity between
the program output and the expected output?
a) Syntax error
b) Logical error
c) Runtime error
d) Compilation error
25. Which of the following is NOT a data type commonly used in programming?
a) INTEGER
b) DOUBLE
c) BOOL
d) DECIMAL
26. Which property of algorithms ensures that all instructions should be basic
and capable of being performed mechanically within a finite amount of time?
a) Generality
b) Definiteness
c) Effectiveness
d) Finiteness
28. What is the term used for a graphical/pictorial representation of the logical
set of instructions?
a) Pseudocode
b) Flowchart
c) Algorithm
d) Variable
34. Which control structure defines the order in which program statements are
executed?
a) Decision making
b) Looping
c) Sequence
d) Function
37. Which control structure is used for decision making in choosing between 2
or more alternatives?
a) Sequence
b) Looping
c) Decision making
d) Function