Exam 2: Using Data

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

A(n) ____________________ is a simple data type.

(Short Answer)
4.7/5
(34)

You use the ____ data type to hold any single character.

(Multiple Choice)
4.9/5
(31)

Describe and give an example of operator precedence.

(Essay)
4.8/5
(31)

100 = salesAmount; In terms of assignment operators, why is the above statement illegal?

(Essay)
4.7/5
(46)

public class YourGrade {     public static void main(String[] args)     {   int projectPoints = 89;   System.out.print("Your grade for this class is ");   System.out.print(projectPoints);   System.out.println("%");      } } Given the above code, what will be the output at the command prompt?

(Essay)
5.0/5
(38)

A(n) ____________________ number contains decimal positions.

(Short Answer)
4.9/5
(40)

A(n) ____ variable can hold only one of two values: true or false .

(Multiple Choice)
4.9/5
(25)
Showing 61 - 67 of 67
close modal

Filters

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