Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Which of the following is (are) reserved word(s). a. cout b. double c. char d. a

ID: 3869816 • Letter: W

Question

Which of the following is (are) reserved word(s). a. cout b. double c. char d. a and b above e. b and c above Which of the following is (are) not reserved word(s). a. Float b. cin c. int d. a and b above e. none above Which of the following translates a program written in a high-level language into machine code? a. an assembler b. a compiler c. an operating system d. an editor In C++, the phrase "standard input device" usually refers to: a. a printer b. a USB flash drive c. a display screen d. none of the above Which one of the following is not a valid identifier in C++? a. There b. top 40 c. X123Y d. Go Home e. float Which of the following statement(s) print(s) "Good Job" on one output line? a. count

Explanation / Answer

       E is the answer. That is double and char or reserved keywords.

2. Which of the following are not reserved words.

float and int are reserved keywords.

Main, cin,cout are technically not reserved keywords but some technical differences are there some times these are also reserved keywords.

But as of our discussion cin is not reserved wod

3. which of the following translates a program written in high level language to machine code.

Answer is b. compiler

4. In C++, the phrase standard input device usually refers to

a. a printer b. a USB flash drive        c. a display screen d. none of the above

none of the above because all are output devices only.

5. Which one of the following is not a valid identifier in C++?

a. There       b. top 40      c. X123Y     d. Go Home e. Float

6. Which of the following statement(s) print(s) Good Job on one output line?

a. cout<<Good Job << endl:

b. cout <<Good cout<< Job << endl;

c. cout< Goodinlob < endl;

d. a and b above

e. a, b, and c above

All the options are wrong the above options are completely wrong. Answer is none of the above but it is not there.

7. (The problem above is continued) How many bytes are required to process Good Job?

a. 1    b 4     C. 12 e. 8

answer is 8 bytes because it contains 8 chracters.

8.     (The problem above is continued) which of the following hardware is required to process “Good Job?

a.      RAM 8. b. CPU HDD d. OS e. ROM

Answer : a Random access Memory (RAM)

9.     (The problem above is continued) which of the following software is required to process “Good Job?

a. RAM b. CPU c. HDD d. OS e. ROM

Answer is : Operating System is required to process and execute the program.

10.     (The problem above is continued) which of the following hardware is required to store “Good Job after processing

a.      RAM b. CPU c. HDD d. OS e. ROM

Answer is : HDD is store the data permanently on our system if use the files.

11.     Which of the following is main memory?

a. RAM       b. CPU        c. HDD        d. OS           e. ROM

answer is : RAM

12.     Which of the following is a temporary memory storage?

a.      RAM b. CPU c. HDD d. OS e. ROM

Answer is : RAM

13. Which of the following is permanent memory storage?

OS a. RAM b. CPU c. HDD e. ROM

Answer is HDD is permanent storage device.

14. Which of the following does CPU work very closely with?

a b. CPU HDD a. RAM d. OS e. ROM

Answer : RAM

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote