Short answer or circle the response that makes the sentence correct. The first p
ID: 3862778 • Letter: S
Question
Short answer or circle the response that makes the sentence correct. The first programming language (was, was not) machine language. Programs (do, do not) begin as ideas in the head of the programmer. A compiler (is, is not) a nice but unneeded part of going from source code to a finished, running program in C++. Write down the program "sandwich" as discussed in class. Business programs (do, do not) generally have more calculations than scientific programs. The purpose of a program (is, is not) to present the computer with a compact set of instructions. Variables (must, need not) be declared before they can be used in a C++ program. Usually the last executable line in a programmer is - return 0; - what does this statement do? List the five arithmetic operators. What is the major difference between an integer and a float value?Explanation / Answer
Answer
1. the first programming language was FORTRAN, which is a low level language, and hence was machine language.
2. Programs do begin as ideas in the head of the programmer. (As from ideas, the program gets its structure)
3. A compiler is not a nice but unneeded part of going from source code to a finished running program in C++. Because a compiler is very important part between a finished source code and runnable program.
4. Note: this answer cannot be provided as the discussion portion has not been shared
5. Business programs do not generally have more calculations than scientific programs. (Because scientific programs includes complex mathematics where as business program includes simple mathematics)
6. The purpose of the program is to present the computer with a compact set of instructions.
7. Variables must be declared before they can be used in a C++ program.
8. In the main funtion the last statement is generally return 0 which means the exit status of the application (.exe file which gets created)and also the code worked as expected.
9. the fire arithmetic operators are:
i. + (addition)
ii. - (subtraction)
iii. * (multiplication)
iv. / (division)
v. % (modulus)
10. Major differences between integer and a float value are:
i. Integer represents whole numbers, float represents fractiona; numbers.
ii. Integer takes 2 or 4 bytes, float takes 4 bytes
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.