Get in here to get the Interview Tips of Various Companies. Or see how to improve performances related to your job.

by Saurabh 25 Aug 2006, 21:01
Test Paper :1
Paper Type : General - other
Posted By : admin

Future Soft Sample Test Paper


S --> AB|AS
A --> a|aA
B --> b

What is the grammer accepted by the above?
Ans. aa*b

How many address lines are needed to address a 64Kb segment with each register storing upto 512 bytes.
Ans. 14 address lines
3. Find the expression representing the following K-map

1 1 1

1 1
1 1 1

For the POS form of the expression given below
_ _ _
X.Y.Z + X.Y.Z + X.( Y + Z )

In a computer system the ROM :
(a) contains boot software
(b) is permanent
(c) Both of the above
(d) None of the above
Ans. (c)

The binary equivalent of 3B7F is
Ans. 0011 1011 0111 1111

The register used by the shift reduce passing method is
Ans. Stack

A microprogram can be defines as to consist of
Ans. A primitive operation

Find the output for the following C program
int array[4][4] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};
for (i=2;i<0;i--)
for (j=2;j<=0;j--)
printf("%d", arr[i][j]);

Find the output for the following C program
void main()
int i,x,sum=0;
int arr[6]=[1,2,3,4,5,6]
for (i=0;i<4> E + E| E * E | E/E | E - E| .... then which is correct
(a) It is ambigous
(b) It is inherently ambigous
(c) It is non inherently ambigous
(d) None of the above

If there are n nodes and K edges in a graph then what is the order of traversing
Ans. O(n²)

A graph is represented as an adjacency list with n vertices and e edges
What is its time complexity
Ans. O(n + e)

An array with address KV[a] had n elements. Which of the following correctly addresses the ith element of the array.
(a) KV(a) - 2a + 2i
(b) KV(a) +2i
(c) KV(a) - 2a
(d) None of these

Give an example of a primitive instruction in microprocessors.

A computer has 8 bit data bus and 16 bit address line. How many machine cycles will it take to store the contents to a memory location?

Where is a variable defined in a function stores?
Ans. Process Swappable Area

For the following C progralm
int d=0;
for(int i=0;i<31;i++)
for(int j=0;j<31;j++)
for(int k=0;k<31;k++)
if (((i+j+k) % 3)==0)
Find value of d

e=<e> | <e> | <e> | <id>
What forms do the expressions created by the above definition fit in
Ans. All arithematic expressions

If a set of numbers are in sorted order then which of the following sorting method is best
Ans. Bubble Sort

A magnetic tape is similar to which of the following structures
Ans. List

The s/n id 3 dB Find the capacity of the line.