ISRO Scientist or Engineer Computer Science 2014

Instructions

For the following questions answer them individually

Question 31

A IP packet has arrived in which the fragmentation offset value is 100, the value of HLEN is 5 and the value of total length field is 200. What is the number of the last byte?

Video Solution
Question 32

What is the output of the following C program?

#include <stdio.h>
void main (void)
{
int shifty;
shifty = 0570;
shifty = shifty >> 4;
shifty = shifty << 6;
printf("The value of shifty is %o \n", shifty);
}

Video Solution
Question 33

The following Finite Automaton recognizes which of the given languages?

Video Solution
Question 34

How much memory is required to implement z-buffer algorithm for a $$512 \times 512 \times 24$$ bit-plane image

Video Solution
Question 35

Using the page table shown below,translate the physical address 25 to virtual address. The address length is 16 bits and page size is 2048 words while the size of the physical memory is four frames.

Video Solution
Question 36

Consider a standard circular queue ‘q’ implementation (which has same condition for queue full and queue empty) whose size is 11 and the elements of the queue are q[0], q[1l,.... q[10]. The front and rear pointers are initialized to pointat q[2]. In whichposition will the ninth element be added?

Video Solution
Question 37

The probability that two friends are born in the same month is ___?

Video Solution
Question 38

How many lines of output does the following C code produce?
#include <stdio.h>

float i = 2.0;
float j = 1.0;
float sum = 0.0;

main()
{
while(i/j > 0.001)
{
j += j;
sum = sum + (i/j);
printf("%f \n", sum);
}
}

Video Solution
Question 39

If only one memory location is to be reserved for a class variable, no matter how manyobjects are instantiated, then the variable should be declared as ............

Video Solution
Question 40

Assume that a 16 bit CPU is trying to access a double wordstarting at an odd address. How many memory operations are required to access the data?

Video Solution
cracku

Boost your Prep!

Download App