FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
You are creating a computer program that calculates the total cost of an item after sales tax has been added. You have been testing the program using a cost of $10.00 and 10% sales tax. You know that the answer should be $11.00, but the program returns an answer of $9.00. Which type of error is most likely causing this unexpected result?
A
Logic
B
Runtime
C
Syntax
D
Validator
Explanation: 

Detailed explanation-1: -A syntax error will happen, and this will stop the program from running.

Detailed explanation-2: -RAM gives applications a place to store and access data on a short-term basis. It stores the information your computer is actively using so that it can be accessed quickly. The more programs your system is running, the more you’ll need.

Detailed explanation-3: -Program development life cycle (PDLC) The process containing the five phases of program development: analyzing, designing, coding, debugging and testing, and implementing and maintaining application software.

Detailed explanation-4: -An algorithm is a set of instructions. Algorithm: An algorithm is defined as a step-by-step process that will be designed for a problem.

There is 1 question to complete.