Case-Based Critical Thinking QuestionsCase 1You have just starting working at Quantum Company. As a new programmer, you have been asked to review and correct various pseudocode.You are working with parallel arrays to detemine the grade a student earns in a class. The student earns a grade based on the following:minimum points to earn an A is 900minimum points to earn a B is 800minimum points to earn a C is 700minimum points to earn a D is 600below 600 earns an FThe points array is defined as follows: num points[5] = 900,800,700,600,0How should the grades array be defined?

A. num grades[5] = A,B,C,D,F
B. string grades[5] = "A","B","C","D","F"
C. num grades[5] = "A","B","C","D","F"
D. string grades[5] = "F","D","C","B","A"


Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following statements about the CPU cache and registers is TRUE?

A) They are slower than other forms of storage. B) They are one of the cheaper types of storage. C) They keep track of where the next instruction will be coming from and store intermediate values for complex calculations. D) Together they hold more data than the hard drive.

Computer Science & Information Technology

Grouping data must be done after clicking the Totals icon in the Design tab of the ribbon

Indicate whether the statement is true or false

Computer Science & Information Technology

Describe the inter-mail server vulnerability.

What will be an ideal response?

Computer Science & Information Technology

_______ programming is a style of programming that focuses? on using objects to design and build applications.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology