Introduction to Programming important MCQs in English/Hindi | Nielit Notes | PDF
In this post, we cover all important Questions from the topic "Introduction to Programming".
These MCQs will definitely help to pass IT and Computer students in any exam and interview that have Introduction to Programming topic.
Introduction to Programming chapter covers the following topics:
1. The basic Model of computation.
2. Algorithms.
3. Flowcharts.
4. Programming Languages.
5. Compilation.
6. Testing & Debugging and documentation.
After completion of Introduction to Programming unit, Students will be able to:
- Understand the concept of Programming.
- Understand evolution of Programming.
Introduction to Programming MCQs
Here are the 42 most important and frequently asked MCQs from the "Introduction to Programming" topic.
1. A detailed flowchart is called ______
a. Stack
b. Macro
c. Micro
d. Union
Ans.
2. What is an algorithm?
a. A flowchart
b. A flowchart or pseudocode
c. A decision
d. Step by step instructions used to solve a problem
Ans.d
3. In a flowchart, how are the symbols connected?
a. Symbols are not connected together in a flowchart
b. With lines and arrows to indicate the direction of flow
c. With dotted lines and numbers
d. With continuous lines to link events
Ans.b
4. What is the difference between a flowchart and a pseudocode?
a. A flowchart is a diagram while the pseudocode is written in a programming language (e.g. Pascal or Java.
b. A flowchart is textual but the pseudocode is a diagram
c. A flowchart is a schematic description of an algorithm, while pseudocode is a textual description of an algorithm.
d. A flowchart and a pseudocode are the same
Ans.c
5. A flowchart _______ ?
a. Helps you design the software code
b. is a type of graphical diagram that represents an algorithm
c. Uses shapes to help organize a process
d. All the answers are true
Ans.d
6. A sequence of instructions in a computer language to get the desired result is known as :
a. An algorithm
b. A decision table
c. A program
d. None of the above
Ans.c. A program
7. Which of the following is not an advantage of a flowchart?
a. Better communication
b. Efficient coding
c. Systematic testing
d. Improper documentation
Ans.d
8. Any algorithm is a program.
a. True
b. False
Ans.b
9. Bug means :
a. A logical error in a program
b. A difficult syntax error in a program
c. Both a. and b.
d. None of the above
Ans.c
10. What is a Flowchart?
a. A way to design a text-based algorithm
b. A specific programming language
c. A diagram that represents a set of instructions
d. A scheme of instructions
Ans.c
11. The lines connecting the symbols in a flowchart are called as __________
a. Flowlines
b. Symbol lines
c. Connectors
d. Connecting lines
Ans.a
12. Any algorithm is a program.
a. True
b. False
Ans.b
13. In a flowchart, an input or output instruction is represented by _____?
a. A diamond
b. Rectangle
c. Parallelogram
d. A circle
Ans.c
14. When you write an algorithm, the order of the instructions is very important?
a. True
b. False
Ans.a
15. Which type of errors are flagged by Compilers?
a. Logical errors
b. Syntax errors
c. Both a. and b.
d. None of these
Ans.b. Syntax errors
16. What should be considered when designing an algorithm?
a. If the hardware is used correctly
b. If the software is used correctly
c. If there is more than one way to solve the problem
d. All the answers are true
Ans.c
17. Flowcharts and Algorithms are used for
a.Better Programming
b.Easy testing and Debugging
c.Efficient Coding
d.All
Ans.d. All
18. An Algorithm represented in the form of programming languages is _________
a.Flowchart
b.Pseudo code
c.Program
d.None
Ans.c. Program
19. GUI stands for
a.Graphical User Interface
b.Graphical input Unit
c.Graph Under Instruction
d.None
Ans.a Graphical User Interface
20. In a flowchart, a calculation (process) is represented by _____?
a. A diamond
b. Rectangle
c. Parallelogram
d. A circle
Ans.b
21. A flowchart that outlines with all detail is called as
a.Micro flowchart
b.Macro flowchart
c.Flowchart
d.Algorithm
Ans.a Micro flowchart
22. Structured Programming is
a.Dividing the program into different program modules
b.Dividing the program into different classes
c.Using Structures in the program
d.Using classes in the program
Ans.a
23.Finding and solving errors in the source code is…
a. desk checking
b. debugging
c. decoding
d. testing
Ans.b
24. To repeat a task, we use a ____?
a. Input
b. Condition
c. Loop
d. Output
Ans.c
25. Pseudo code is also known as
a.Program Design Language
b.Hardware Language
c.Software Language
d.Algorithm
Ans.a Program Design Language
26. Macro flowchart shows the
a.Outline of the program
b.To make structure chart
c.Program Detail
d.None
Ans.a Outline of the program
27. Indentation in a program
a.Improves its readability and understanding
b.Is compulsory
c.Both
d.None
Ans.a
28. Programming languages give instructions to the computer.
a. True
b. False
Ans. a
29. When can we use algorithms?
a. Only with computers
b. Only when programming
c. Only when we want to put our flowchart in place.
d. At any time to design solutions to problems
Ans.d
30. A ______________ is diagram that depicts the flow of a program.
a. Algorithm
b. Hash Table
c. Graph
d. Flowchart
Ans.d
31. Algorithm is
a.step by step execution of program
b.Object file
c.Executable file
d.Source file
Ans.d. Source file
32. A flowchart that outlines the main segments of a program.
a. Queue
b. Macro
c. Micro
d. Union
Ans.b
33. Which of the following statements is wrong?
Algorithms can be represented:
a. As pseudo codes
b. As syntax
c. As a program
d. As a flowchart
Ans.b
34. The step by step procedure for solving a problem…
a. programming
b. algorithm
c. planing
d. flowchart
Ans.b. algorithm
35. Macro flowchart is also called as
a.Simple detailed flowchart
b.Less Detail flowchart
c.More detail flowchart
d.None
Ans.b. Less Detail flowchart
36. Translates the source code into machine language…
a. operating system
b. programming language
c. language processor
d. all of these
Ans.c.
37. When an algorithm is presented in the form of a Programming language it becomes a ______
a. Program
b. flowchart
c. Pseudo code
d. Syntax
Ans.a
38. The __________ in a flowchart is called input/output symbol.
a. Oval
b. Rectangle
c. Parallelogram
d. Diamond
Ans.c
39. Which of the following is not a flowchart structure?
a. Process
b. Sequence
c. Repetition
d. Case
Ans.a
40. communication between user and the computer is…
a. programming language
b. software
c. syntax
d. english language
Ans.a.
41. A program that translates a high-level language program into a machine language program is called?
a. Compiler
b. Interpreters
c. Both a. and b.
d. None of the above
Ans.c.
42. When an algorithm is written in a programming language, it becomes a _________?
a. flowchart
b. program
c. pseudo-code
d. Syntax
Ans. b
No comments: