TrueFalse questions TF If your program compiles successfull

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 executed by a computer are named with a file extension of .o. (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.

Solution

5. False [No it may produce wrong reults also]
6. False [math is not the name oif program, its a directive that can be used , it had predefined functions like square root etc]
7. False [They are named as .c ]
8. False [Centrall processing unit contains ALU]
9.  False [We can write programs in assembly language also]
10. True [Code generated during run time can be termed as run time code]
11.False [Any changes made will have to recompile again]
12.True [By only testing the sample data doesn\'t means your program will work for all case it may fail for other cases ]
13. True [Comments will defintely help in maintainence and for other developers to understand someone else written code]
14. True [By knowing the input output and analyzing it we process towards a solution ]



Thanks, let me know if there is any concern.

 True/False questions. (T/F) _____ If your program compiles successfully, it will produce correct results. (T/F) _____ The statement #include defines the name o

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site