ISRO Scientist/Engineer Question Paper Computer Science 2013

76. Question
What is the output of the following Java program?

Class Test
{
publich static void main(String [] args)
{
int x=0;
int y=0;
for(int z=0;z<5;z++)
{
if(++x>2||(++y>2))
{
x++
}
}
System.out.println(x+””+y)
}
}




Answer
77. Question
Consider the list of page references in the time line as below:
9 6 2 3 4 4 4 4 3 4 4 2 5 8 6 8 5 5 3 2 3 9 6 2 7
What is the working set at the penultimate page reference if is 5




Answer
78. Question
What is the cyclomatic complexity of the module which has seventeen edges and thirteen nodes?




Answer
79. Question
Which of the following types of coupling has the weakest coupling




Answer