• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

ISRO CS 2020

Question 61

If ABCD is a 4-bit binary number, then what is code generated by the following circuit ?
  • BCD code
  • Gray code
  • 8421 code
  • Excess-3 code

Question 62

The number of tokens in the following C code segment is
switch(inputvalue)
 {
  case 1 : b = c * d; break;
  default : b = b++; break;
 } 
  • 27
  • 29
  • 26
  • 24

Question 63

In a two-pass assembler, resolution of subroutine calls and inclusion of labels in the symbol table is done during
  • second pass
  • first pass and second pass respectively
  • second pass and first pass respectively
  • first pass

Question 64

One instruction tries to write an operand before it is written by previous instruction. This may lead to a dependency called
  • True dependency
  • Anti-dependency
  • Output dependency
  • Control hazard

Question 65

If every non-key attribute functionally dependent on the primary key, then the relation will be in
  • First normal form
  • Second normal form
  • Third normal form
  • Fourth normal form

Question 66

The SQL query
SELECT columns
FROM TableA
RIGHT OUTER JOIN TableB
ON A.columnName = B.columnName
WHERE A.columnName IS NULL 
returns the following:
  • All rows in Table B, which meets equality condition above and, none from Table A, which meets the condition
  • All rows in Table A, which meets equality condition above and none from Table B, which meets the condition
  • All rows in Table B, which meets equality condition
  • All rows in Table A, which meets equality condition
  • None of these

Question 67

To send same bit sequence, NRZ encoding require
  • Same clock frequency as Manchester encoding
  • Half the clock frequency as Manchester encoding
  • Twice the clock frequency as Manchester encoding
  • A clock frequency which depend on number of zeros and ones in the bit sequence

Question 68

The persist timer is used in TCP to
  • To detect crashes from the other end of the connection
  • To enable retransmission
  • To avoid deadlock condition
  • To timeout FIN_Wait1 condition

Question 69

An array of 2 two byte integers is stored in big endian machine in byte address as shown below. What will be its storage pattern in little endian machine ?
Address Data
0 × 104 78
0 × 103 56
0 × 102 34
0 × 101 12 
  • 0 × 104 12
    0 × 103 56
    0 × 102 34
    0 × 101 78 
  • 0 × 104 12
    0 × 103 34
    0 × 102 56
    0 × 101 78 
  • 0 × 104 56
    0 × 103 78
    0 × 102 12
    0 × 101 34 
  • 0 × 104 56
    0 × 103 12
    0 × 102 78
    0 × 101 34 

Question 70

A non-pipelined CPU has 12 general purpose registers (R0, R1, R2, ..... R12). Following operation are supported:
ADD Ra, Rb, Rr Add Ra to Rb and store the result in Rr
MUL Ra, Rb, Rr Multiply Ra to Rb and store the result in Rr 
MUL operations takes two clock cycles, ADD takes one clock cycle. Calculate minimum number of clock cycles required to compute the value of the expression XY + XYZ + YZ. The variables X, Y, Z are initially available in registers R0, R1 and R2 and contents of these registers must not be modified.
  • 5
  • 6
  • 7
  • 8

There are 80 questions to complete.

Last Updated :
Take a part in the ongoing discussion