Philnits Review 1

5 Questions | Attempts: 977
Share

SettingsSettingsSettings
Philnits Quizzes & Trivia

10 points each question.
4 question each review
1 review set each week


Questions and Answers
  • 1. 

     Hospital    A   has   500   patient   rooms,    each   numbered      with   a  three-digit   number  beginning at 001.       However, the digits 4 and 9 are not used anywhere in any room  numbers.      What is the room number for the 125th room?

    • A.

      120

    • B.

      166

    • C.

      186

    • D.

      202

    Correct Answer
    D. 202
    Explanation
    there are 77 4's and 9's from 001 to 125

    Rate this question:

  • 2. 

    What is the 8-bit fixed-point binary representation of the decimal number  -5.625? In this problem, the decimal point position comes between the 4th and 5th bits, and  two’s complement is used for negative numbers.

    • A.

      01001100

    • B.

      10100101

    • C.

      10100110

    • D.

      11010011

    Correct Answer
    C. 10100110
  • 3. 

    The function Random(n) is a function which returns an integer between 0 and n-1 with uniform probability.         When the following series of operations is executed for the integer type variables A, B and C, what is the probability that C will be 0? A = Random  (10) ;                                 B = Random  (10 ); C = A–B

    • A.

      1/100

    • B.

      1/20

    • C.

      1/10

    • D.

      1/3

    Correct Answer
    C. 1/10
  • 4. 

    X NAND Y is the negation logical product of X and Y and is defined as NOT (X AND Y).  What is the logical formula for X OR Y using only NAND?

    • A.

      ((X NAND Y)NAND X)NAND Y

    • B.

      (X NAND X) NAND (YNAND Y)

    • C.

      (X NAND Y) NAND (XNAND Y)

    • D.

      X NAND (YNAND (X NAND Y))

    Correct Answer
    B. (X NAND X) NAND (YNAND Y)
  • 5. 

     Which of the following is equivalent to the difference set S-T?  In this problem,"?" represents “sum,” "n" represents “product,” and "C" represents “complement.”

    • A.

      S? (SnT)

    • B.

      S?T C

    • C.

      Sn (S?T)

    • D.

      SnT C

    Correct Answer
    D. SnT C

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 20, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Dec 14, 2009
    Quiz Created by
    Rathan072007

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.