• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

ISRO CS 2015

Question 61

Which of the following compression algorithms is used to generate a .png file?
  • LZ78
  • Deflate
  • LZW
  • Huffman

Question 62

Dirty bit for a page in a page table
  • helps avoid unnecessary writes on a paging device
  • helps maintain LRU information
  • allows only read on a page
  • None of the above

Question 63

Which of the following is not an image type used in MPEG?
  • A frame
  • B frame
  • D frame
  • P frame

Question 64

Consider an uncompressed stereo audio signal of CD quality which is sampled at 44.1 kHz and quantized using 16 bits. What is required storage space if a compression ratio of 0.5 is achieved for 10 seconds of this audio?
  • 172 KB
  • 430 KB
  • 860 KB
  • 1720 KB

Question 65

What is compression ratio in a typical mp3 audio files?
  • 4:1
  • 6:1
  • 8:1
  • 10:1

Question 66

Consider the following program fragment
if(a > b)
if(b > c)
s1;
else s2;
s2 will be executed if
  • a <= b
  • b > c
  • b >= c and a <= b
  • a > b and b <= c

Question 67

The following program
main()
{
inc(); inc(); inc();
}
inc()
{
static int x;
printf("%d", ++x);
}
  • prints 012
  • prints 123
  • prints 3 consecutive, but unpredictable numbers
  • prints 111

Question 68

Consider the following program fragment i=6720; j=4; while (i%j)==0 { i=i/j; j=j+1; } On termination j will have the value
  • 4
  • 8
  • 9
  • 6720

Question 69

Consider the following declaration:
int a, *b=&a, **c=&b;
The following program fragment
a=4;
**c=5;
  • does not change the value of a
  • assigns address of c to a
  • assigns the value of b to a
  • assigns 5 to a

Question 70

The output of the following program is
main()
{
static int x[] = {1,2,3,4,5,6,7,8}
int i;
for (i=2; i<6; ++i)
x[x[i]]=x[i];
for (i=0; i<8; ++i)
printf("%d", x[i]);
} 

  • 1 2 3 3 5 5 7 8
  • 1 2 3 4 5 6 7 8
  • 8 7 6 5 4 3 2 1
  • 1 2 3 5 4 6 7 8

There are 80 questions to complete.

Last Updated :
Take a part in the ongoing discussion