x
Info
x
Warning
x
Danger
 / 
 / 
 / 
Multiple Choice    The amount of memory used to represent numbers

Question : Multiple Choice    The amount of memory used to represent numbers : 2043808

Multiple Choice

  1.    The amount of memory used to represent numbers declared as int is
    1.                one byte or eight bits
    2.                two bytes or 15 bits
    3.                four bytes or 32 bits
    4.                eight bytes or 64 bits.

  1.    The type of equality which means the two objects are pointing to the same instance is
    1.                deep property equality
    2.                identity equality
    3.                primitive equality
    4.                property equality

 

  1.    The type of equality which is satisfied when two objects have the same values for their instance variables
    1.                deep property equality
    2.                identity equality
    3.                primitive equality
    4.                property equality

 

  1.    What type of equality the = = operator tests for when its operands are objects?
    1.                deep property equality
    2.                identity equality
    3.                primitive equality
    4.                property equality
  2.    Which of the following operators is used when you want the result to be the remainder from integer division?
    1.                /
    2.                %
    3.                &
    4.                <

  1.    Which of the following operators is a relational operator?
    1.                =
    2.                ++
    3.                <=
    4.                +=

  1.    Which of the following operators is performed first if they all appeared in an expression?
    1.                *
    2.                >
    3.                +
    4.                =

  1.    Which of the following relational operators work with both numbers and objects?
    1.                >=
    2.                <
    3.                !=
    4.                >

  1.    Given the original values of variable x is 6 and y is 9, which of the following expressions will result in x being 9 and y being 8.
    1.                x = y --;
    2.                x = -- y;
    3.                x = y ++;
    4.                x = ++ y;
  2. Which of the following is a Boolean operator?
    1.                true
    2.                &&
    3.                %
    4.                !=

Solution
5 (1 Ratings )

Solved
Computer Science 7 Months Ago 186 Views
This Question has Been Answered!
Unlimited Access Free
Explore More than 2 Million+
  • Textbook Solutions
  • Flashcards
  • Homework Answers
  • Documents
Signup for Instant Access!
Ask an Expert
Our Experts can answer your tough homework and study questions
154368 Computer Science Questions Answered!
Post a Question