Programming and Problem Solving Through Python Language Theory Question
Introduction to Programming - Set 2
What is easier for a program to read and write
Binary file
Text file
Doc file
Excel file
Answer : A
Explain: Computer only understand binary language which is 0 and 1.
__________ is part of user documentation.
Class Diagram
Code Comment
Use Case
Installation Guide
Answer : D
Explain: Installation Guide is part of user documentation, which helps user to install the product and use it.
The examination of changing values of variables is called stepping.
True
False
Can‟t say
May be
Answer : B
Explain: The examination of changing values of variables is called tracing.
Which of the following language is understood by computer ?
Machine language
Assembly language
High-level language
None of the above
Answer : A
Explain: Computer understand only machine language which is made up of binary numbers or bits.
The process of finding errors in code is called as __________.
Compiling
Running
Testing
Debugging
Answer : D
Explain: Debugging is the process of finding errors in software code.
Testing is known as :
A stage of all projects
Finding broken code
Evaluating deliverable to find errors
None of above
Answer : C
Explain: Testing is done to find out the error in program.
Operations to be repeated a certain number of times are done by __________.
Selection
Sequential
Simple
Loop
Answer : D
Explain: Loop is a way to repeat a program to a certain number of times.
A computer programme that manages and controls a computer's activity :
Interpreter
Modem
Compiler
O.S
Answer : D
Explain: Operating system (OS), program that manages a computer's resources, especially the allocation of those resources among other programs.
Debugging is __________
Creating program code
Finding and correcting errors in the program code
Identifying the task to be computerized
Creating the algorithm
Answer : B
Explain: Debugging is method to correct the error occur in program.
Select one of the true statement for the compiler?
The input of the compiler is source program
It translates the source code into object code as a whole
The output of the compiler is object code
All of above
Answer : D
Explain: Compiler converts whole program, the program entered in compiler is known as source code which is made by programmer and compiler converts it into object code which is understand by computer.
Translates the source code into machine language
Operating system
Programming language
Language processor
All of these
Answer : C
Explain: Translate source code (which is written by programmer) into machine language (object code) with the help of language processor.
Python is an example of which generation programming language ?
1 Gen.
2 Gen.
3 Gen.
4 Gen.
Answer : D
Explain: Python is a fourth generation high level programming language.
Software mistakes during coding are known as
Errors
Failures
Bugs
Defect
Answer : C
Explain: Sometimes when coding there is bugs means an unexpected problem occur(software mistake).
Technical documentation is addressed to :
User
Programmer
Owner
Company
Answer : B
Explain: Technical documentation is addressed to programmer for futher use to modify and changes in program.
The pseudocode is
Algorithm
Flowchart
Object code
coding
Answer : A
Explain: There are mainly three types of Algorithm : Flowchart, pseudocode and program.
a set of logically sequenced instructions that allows to find the solution to a problem is:
algorithm
Pseudocode
Programming
program
Answer : A
Explain: Algorithm is a process to find the solution of the problem step by step.