a. We would like for the distance traveled to be a floating point value. Discuss
ID: 3886184 • Letter: A
Question
a. We would like for the distance traveled to be a floating point value. Discuss any issues involved in making sure that a C program will compute the correct value using the formula above. Part III. True/False questions. (T/F)_____ If your program compiles successfully, it will produce correct results. (T/F)_____ The statement #include defines the name of the current program you are writing as "math". (T/F)____ For the C programming language, files containing the code you write are named with a file extension of .g. (T/F)_____ The component of a computer that contains the ALU (Arithmetic Logic Unit) is the RAM. (T/F)____ A computer program may only be constructed in a high-level language. (T/F) ____Code that you write is called primary code, and code that the compiler produces after processing the primary code is called runtime code. (T/F) _____ It is only necessary to compile a C program once after it is completed: any change made after that will be automatically added without recompiling. (T/F) _____Testing a program only using the example data you selected when you worked the problem by hand will not guarantee that your program works correctly. (T/F) _____Comments are valuable during the development of a program, and also assist with maintenance of the program afterwards. (T/F) _____ Analyzing any assumptions made about a problem and considering what input values are valid are important steps to take before you start coding a solution.Explanation / Answer
5)Answer: False
Explanation:
no some times it will produce wrong results also.for exampl we consider below situations
->your program ran successfully, but gave an incorrect answer. Most probably your program contains a bug, or you are not interpreting the problem text correctly.
->runtime error - your program was compiled successfully, but it exited with a runtime error or crashed. You will receive an additional error message, which is most commonly one of the following.
6)Answer: False
Explantion:
math is not the name oif program, its a directive that can be used , it had predefined functions like square like that.
7)Answer: True
Explanation:
.c is A C file contains source code for the C programming language.
8)Answer: True
Explanation:
An arithmetic-logic unit (ALU) is the part of a computer processor (CPU) that carries out arithmetic and logic operations on the operands in computer instruction words.
Typically, the ALU has direct input and output access to the processor controller, main memory (random access memory or RAM in a personal computer), and input/output devices.
9)Answer: True
Explanation:
A computer program is a collection of instructions[1] that performs a specific task when executed by a computer. A computer requires programs to function and typically executes the program's instructions in a central processing unit.
A computer program is usually written by a computer programmer in a programming language. From the program in its human-readable form of source code, a compiler can derive machine code—a form consisting of instructions that the computer can directly execute. Alternatively, a computer program may be executed with the aid of an interpreter.
10)Answer: True
13)Answer: True
Explanation:
a comment is a programmer-readable explanation or annotation in the source code of a computer program. They are added with the purpose of making the source code easier for humans to understand, and are generally ignored by compilers and interpreters
14)answer: true
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.