Question 1 (10 points) Match the phrase on the left with the correct description
ID: 3591359 • Letter: Q
Question
Question 1 (10 points) Match the phrase on the left with the correct description on the right. logic error input 1. caused by an error in your algorithm 2. hardware performing all arithmetic operations 3. data that travels from user to machine 4. C++ arithmetic data type that is always stored exactly 5. software to translate high level languages to binary 6 values that may be modified during execution 7. caused by error in C++ translation 8. C++ arithmetic data type often stored approximately 9. data that travels from machine to user 10. values that may not be modified during execution variables constants central processing unit output double compiler syntax error int SaveExplanation / Answer
1.caused by an error in your algorithm.
Ans : logic error.
Explanation:A logic error is a bug in a program that causes it to operate incorrectly, program may not be terminated for algorithm errors, A logic error produces unintended or undesired output or other behaviour, although it may not immediately be recongnized as such.
2.hardware performing all arithmetic operations
ans: Central processing unit
explanation:
central processing unit is a hardware that containg alrithmetic logic units,generally known as ALU. every arithmetic operation performed in central processing unit.
3.data that travels from user to machine.
ans: input
Explanation:
the data which is sends through keyboard or other input devices is known as input, user can enter input by using input devices.
4.c++ arithmetuc data type that is stored exactly.
ans:int
Explanation: c++ supports the following arithmetic operators for numbers: short,int,long,longchar,float,long double, double.
5.software to translate highlevel languges to binary
ans: compiler
Explanation :compiler is a software which is coonverts the highlevel language into machinelevel language or binary code,compiler createdfor binry block/.
6.values that may be modified during execution
ans: variables
Explanation: In a computer programming , a variable is a value that can be altered by the program during execution.
7.caused by an error in c++ translation
ans: syntax error.
Explanation: synatx error are detected at the time that the program translated into machine language. these error related to syntax of the programming language also.
8.c++ arithmetic datatype often stored approxmately
ans: double
Explanation: c++ can store the maximum arithmetic data type is double.
9.data that travels from machine user.
ans: output.
Explanation: output is final result of the program, and it is the data which travels from machine to user.
10.values that may not be modified during execution.
ans: constants
Explanation: In a computer programming , a constant is a value that cannot be altered by the program during execution.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.