Exam 4: Fundamental Data Types

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The problem solving process emphasizes a "first, do-it-by-hand" approach because

(Multiple Choice)
4.8/5
(36)

A student's class average can be computed by dividing the number of points they have earned by the number of points possible in the class. Assume the following variables have been declared as shown and given values elsewhere: Int pointsEarned, pointsPossible; Double classPercentage; Which of the following statements will assign the correct percentage average to classPercentage? For example, if pointsEarned is 725 and pointsPossible is 1000, classPercentage should be assigned the value 72.5.

(Multiple Choice)
4.8/5
(38)

In an airline reservation system, the number of available seats in an airplane is required. Which data type should be used to store this value?

(Multiple Choice)
4.9/5
(35)

Which of the following statements is correct about constants?

(Multiple Choice)
4.9/5
(37)

What is the value of the following expression? 1 % 12

(Multiple Choice)
4.8/5
(40)
Showing 121 - 125 of 125
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)