ISRO Scientist or Engineer Computer Science May 2017

Instructions

For the following questions answer them individually

Question 51

What is the output of the following program?
main( )
{
int a = 10;
if ((fork ( ) == 0))
a++;
printf (“%d\n”, a );
}

Video Solution
Question 52

Given reference to the following pages by a program 0, 9, 0, 1, 8, 1, 8, 7, 8, 7, 1, 2, 8, 2, 7, 8, 2, 3, 8, 3
How many page faults will occur if the program has three page frames available to it and uses an optimal replacement?

Video Solution
Question 53

In a doubly linked list, the number of pointers affected for an insertion operation will be

Video Solution
Question 54

Consider the following C function
void swap ( int x, int y )
{
int tmp;
tmp = x;
x= y;
y = tmp;
}
In order to exchange the values of two variables a and b:

Video Solution
Question 55

What does the following C-statement declare?
int (*f) (int*);

Video Solution
Question 56

Mutual exclusion problem occurs

Video Solution
Question 57

$$(1217)_{8}$$ is equivalent to

Video Solution
Question 58

Which of the following is not a life cycle model?

Video Solution
Question 59

The best data structure to check whether an arithmetic expression has balanced parenthesis is a

Video Solution
Question 60

The cyclomatic complexity of each of the modules X and Y shown below is 10. What is the cyclomatic complexity of the sequential integration shown on the right hand side?

Video Solution
cracku

Boost your Prep!

Download App