Write structured pseudocode to show the following: if the value in the studentGrade variable is greater than or equal to RANGE1 and less than RANGE2, move "OK" to outMessage.Significant declarations:string outMessagenum studentGradenum RANGE1 = 0num RANGE2 = 101

What will be an ideal response?


if studentGrade >= RANGE1 AND studentGrade < RANGE2 then
   outMessage = "OK"
endif

Computer Science & Information Technology

You might also like to view...

Answer the following statement(s) true (T) or false (F)

1. To be an effective Web designer, it is unnecessary to study Web design in depth, thanks to the user-friendly tools offered by Photoshop. 2. When planning Web pages, it is important to consider the page’s purpose. 3. Web pages usually fall within certain height and width limits. 4. After the title bar of a Web page, the heading is the next place that users will look. 5. Photoshop’s type tools use the SHIFT key combined with the character code to create special characters.

Computer Science & Information Technology

Match the following range names with their appropriate description of any problem with the name:I.10YearGoalII.Ten Year GoalIII.Ten_Year_Goal!IV.Goal10YearV.Ten_Year_GoalA.No problem, underscore used for readabilityB.No Special charactersC.No problem. Numbers used appropriatelyD.Must start with a letterE.Spaces are not allowed

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

Computer Science & Information Technology

In the example above, the user might not enter an integer, the conversion to an integer might fail, and an exception might be thrown. Why is this a problem and what are some possible options for fixing these types of errors?

What will be an ideal response?

Computer Science & Information Technology

Which of the following is an audio port that connects to an external home theater audio system, providing digital audio output?

A. S/PDIF B. FireWire C. Thunderbolt D. eSATA

Computer Science & Information Technology