• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

ISRO CS 2017

Question 61

A counting semaphore was initialized to 7. Then 20 P (wait) operations and x V (signal) operations were completed on this semaphore. If the final value of semaphore is 5, then the value x will be
  • 0
  • 13
  • 18
  • 5

Question 62

A 32 bit adder is formed by cascading 4 bit CLA adder. The gate delays (latency) for getting the sum bits is
  • 16
  • 18
  • 17
  • 19

Question 63

We consider the addition of two 2’s complement numbers bn-1bn-2...b0 and an-1an-2...a0. A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by cn-1cn-2...c0 and the carry-out by cout. Which one of the following options correctly identifies the overflow condition? GATECS2006Q39
  • A
  • B
  • C
  • D

Question 64

Consider the function
int fun(x: integer)
{
If x > 100 then fun = x – 10;
else
fun = fun(fun(x + 11));
}
For the input x = 95, the function will return
  • 89
  • 90
  • 91
  • 92

Question 65

Consider the function
int func(int num) {
int count = 0;
while(num) {
count++;
num >>= 1;
}
return(count) ;
}
For func(435) the value returned is
  • 9
  • 8
  • 0
  • 10

Question 66

In IEEE floating point representation, the hexadecimal number 0xC0000000 corresponds to
  • -3.0
  • -1.0
  • -4.0
  • -2.0

Question 67

Which of the following set of components is sufficient to implement any arbitrary Boolean function? a) XOR gates, NOT gates b) 2 to 1 multiplexers c) AND gates, XOR gates, 1 d) Three-input gates that output (A.B)+C for the inputs A, B and C.
  • a and d
  • b and c
  • c
  • All a, b, c and d

Question 68

Consider the following :
A. Condition Coverage p. Black box testing
B. Equivalence Class partitioning q. System testing
C. Volume Testing r. White box testing
D. Beta Testing s. Performance testing
Matching A, B, C, D in the same order gives.
  • r, p, s, q
  • p, r, q, s
  • s, r, q, p
  • q, r, s, p

Question 69

Consider the results of a medical experiment that aims to predict whether someone is going to develop myopia based on some physical measurements and heredity. In this case, the input dataset consists of the person’s medical characteristics and the target variable is binary: 1 for those who are likely to develop myopia and 0 for those who aren’t. This can be best classified as
  • Regression
  • Decision Tree
  • Clustering
  • Association Rules

Question 70

Consider the following C function C
#include <stdio.h>
int main(void)
   {
    char c[ ] = \"ICRBCSIT17\";
    char *p=c;
    printf(\"%s\", c+2[p] – 6[p] – 1);
    return 0;
   }
The output of the program is
  • SI
  • IT
  • TI
  • 17

There are 79 questions to complete.

Last Updated :
Take a part in the ongoing discussion