Self Studies

Computer Scienc...

TIME LEFT -
  • Question 1
    2 / -0.66

    If transaction T1 reads a change made by transaction T2, then T1 commits only after T2 commits. This property of a transaction schedule is known as:

  • Question 2
    2 / -0.66

    Given the following binary number in 32-bit (single precision) IEEE-754 format:

    11000100010101100000000000000000

    The decimal value closest to this floating-point number is

  • Question 3
    2 / -0.66

    What shall be the 2’s complement represented of -24 in a 16 bit computer?

  • Question 4
    2 / -0.66

    Consider two relations P and Q. Let M is a primary key of relation Q and N is the foreign key of relation P. N refers to M. Let A be a set of all values of column M and B be a set of all non-NULL values of column N. Which of the following statement is correct ? (Suppose A and B holds in all instances of P and Q)

  • Question 5
    2 / -0.66

  • Question 6
    2 / -0.66

    Consider the following recursive C function that takes two arguments

    unsigned int rer (unsigned int n, unsigned int r) {

    if (n > 0) return (n%r + rer (n/r, r));

    else return 0;

    }

    What is the return value of the function rer when it is called as rer (513, 2)?

  • Question 7
    2 / -0.66

    Consider 10 KBPS IO device interfaced to 32–bit CPU in cycle stealing mode of DMA. Whenever 16 word data is available in the buffer, it is transferred to main memory. Machine cycle time is 100 micro seconds . How much % of CPU time is consumed in this operation?

  • Question 8
    2 / -0.66

    Consider the following statements:

    S1 : ∀x P(x) ∨ ∀xQ(x) and ∀x(P(x) ∨ Q(x)) are not logically equivalent.

    S2 : ∃x P(x) ∧ ∃x Q(x) and ∃x (P(x) ∧ Q(x)) are not logically equivalent

    Which of the following statements is/are correct?

  • Question 9
    2 / -0.66

    Directions For Questions

    Consider a pipelined processor operating at 2 GHZ with 5 stages, Instruction fetch (IF), Instruction decode (ID), Execute (EX), Memory access (MEM), and write back (WB). Each stage of the pipeline, except the EX stage, takes one cycle. The EX takes one cycle for ADD and SUB, three cycles for MUL, two cycles for DIV Instruction.

    ...view full instructions

    Consider the following instructions:

    l1 : ADD R1, R2, R3 ;           R1 ← R2 + R3

    l2 : SUB R3, R2, R1 ;          R3 ← R2 - R1

    I3 : MUL R4, R1, R2 ;           R4 ← R5 * R2

    l4 : DIV R3, R4, R3 ;                      R3 ← R4 / R3 

    Find, the number of true data dependences in the above code and the execution time using operand forwarding technique respectively is______.

  • Question 10
    2 / -0.66

    Consider the following 6 concurrent processes where the semaphore is initialized to zero.
    A: down(s); cs; up (s);
    B: down(s); cs; up (s);
    C: down (s); cs; up(s);
    D: up(s); cs; down(s);
    E: up(s); cs; down(s);
    F: up(s); cs;down(s);

    What is the maximum value of s?

Submit Test
Self Studies
User
Question Analysis
  • Answered - 0

  • Unanswered - 10

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
Submit Test
Self Studies Get latest Exam Updates
& Study Material Alerts!
No, Thanks
Self Studies
Click on Allow to receive notifications
Allow Notification
Self Studies
Self Studies Self Studies
To enable notifications follow this 2 steps:
  • First Click on Secure Icon Self Studies
  • Second click on the toggle icon
Allow Notification
Get latest Exam Updates & FREE Study Material Alerts!
Self Studies ×
Open Now