ISRO CSE 2017 PYQ

Questions 51-55 of 80

0% completed (0/80 answered)
Your score 0/80 0 answered
Correct 0 Incorrect 0 Unanswered 80 Accuracy 0%

Question 51

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2017 PYQ

What is the output of the following program?

C
main( )
{
int a = 10;
if ((fork ( ) == 0))
a++;
printf (“%d
”, a );
}
Answers for question 51

Question 52

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2017 PYQ

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?

Answers for question 52

Question 53

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2017 PYQ

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

Answers for question 53

Question 54

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2017 PYQ

Consider the following C function

CODE
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:
Answers for question 54

Question 55

MCQ · Single Correct 1 mark
Previous Year Question ISRO CSE 2017 PYQ

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

Answers for question 55
Scroll to Top