FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which term describes the testing method used by programmers to work through program code by hand using a pencil and paper?
A
Desk checking
B
Error testing
C
Syntax checking
D
Real-time testing
Explanation: 

Detailed explanation-1: -Code tracing is a method in which the programmer uses paper and pencil to hand trace the execution of a program or code segment in order to track the variable values as they change during execution and to determine the output of the code.

Detailed explanation-2: -Desk checking is a manual (non computerised) technique for checking the logic of an algorithm. The person performing the desk check effectively acts as the computer, using pen and paper to record results.

Detailed explanation-3: -Desk checking is also known as hand tracing that implies the technique of testing an algorithm’s logic and input/output variables by the programmer. Desk check is performed manually by walking through every line in a pseudo-code to identify the bugs in logic and to ensure if the algorithm works as intended.

Detailed explanation-4: -Definition: Debugging is the process of detecting and removing of existing and potential errors (also called as ‘bugs’) in a software code that can cause it to behave unexpectedly or crash. To prevent incorrect operation of a software or system, debugging is used to find and resolve bugs or defects.

Detailed explanation-5: -Modular design is a technique for breaking down a complex system (such as a large application) into smaller components called modules. Each of these modules can be developed independently, and should contain everything required to execute one part of the overall application.

There is 1 question to complete.