ISRO Scientist or Engineer Computer Science May 2017

Instructions

For the following questions answer them individually

ISRO Scientist or Engineer Computer Science May 2017 - Question 51


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

ISRO Scientist or Engineer Computer Science May 2017 - 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?

ISRO Scientist or Engineer Computer Science May 2017 - Question 53


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

ISRO Scientist or Engineer Computer Science May 2017 - 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:

ISRO Scientist or Engineer Computer Science May 2017 - Question 55


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

ISRO Scientist or Engineer Computer Science May 2017 - Question 56


Mutual exclusion problem occurs

ISRO Scientist or Engineer Computer Science May 2017 - Question 57


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

ISRO Scientist or Engineer Computer Science May 2017 - Question 58


Which of the following is not a life cycle model?

ISRO Scientist or Engineer Computer Science May 2017 - Question 59


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

ISRO Scientist or Engineer Computer Science May 2017 - 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?

cracku

Boost your Prep!

Download App