ISRO Scientist/Engineer Question Paper Computer Science 2017

61. Question

In software maintenance tackling the changes in the hardware or software environment where the software works, is




Answer
62. Question

What will be the output of the following C code?
#include <stdio.h>
main( )
{
int i;
for ( i=0; i<5; i++ )
{
int i = 10;
printf ( “ %d”, i );
i++;
}
return 0;
}




Answer
63. Question

What does the following program do when the input is unsigned 16-bit integer?
#include <stdio.h>
main( )
{
unsigned int num;
int i;
scanf (“%u”, &num);
for ( i = 0; i<16; i++)
{
printf (“%d”, (num << i & 1 << 15 ) ? 1:0);
}
}




Answer
64. Question

What is the output of the following program?
#include <stdio.h>
int tmp=20;
main( )
{
printf(“%d “,tmp);
func( );
printf(“%d “,tmp);
}
func( )
{
static int tmp=10;
printf(“%d “,tmp);
}




Answer
65. Question

Which product metric gives the measure of the average length of words and sentence in documents?




Answer