___B_ 4. C is classified as a: A. hostile-level language B. high-level language
ID: 3665070 • Letter: #
Question
___B_ 4. C is classified as a:
A. hostile-level language B. high-level language
C. machine-level language D. low-level language
NOT SURE ON 4.
14. A variable in C can only start with a letter of the alphabet or the underscore.
A. True B. False
2. Given the following program segment, how will the output appear?
double amount = 32171.5346;
printf(“%9.3f ”,amount);
A. 32171.534 B. 32171.535 C. 32,171.534 D. 32,171.535
23. What is the computational result of the following expression:
(2/5)*3.0/2
A. 0.6 B. 6.0 C. 0.06 D. 0.0
24. Given the following C statement in postfix format, what is the equivalent C
statement?
x++;
A. x = x + 1; B. x = 1 + x; C. both A and B D. neither A or B
25. If a computation is too large to store in the memory assigned to the variable, it
is called:
A. underflow B. over underflow
C. under overflow D. overflow? I THINK?
34. How many syntax errors are in the following C expression?
Tf = (9/5)(tc+32°F);
A. one B. two C. three D. four E. five F. six
35. Which of the following assignment operations will produce the digit zero?
A. output = 9/3 - 1; B. output = 8/3 - 1;
C. output = 2 - 5/2; D. output = 3 – 8/3;
Explanation / Answer
4)it is middle level but it is also consider in high level language.
14)A
2)B
23)A
24)A
25)overflow
34)3 (* should be there,not contain F and degree)
35)c
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.