Placement Papers: FutureSoft Placement Paper 24 August 2003
Download PDF of This Page (Size: 153K) ↧
Examrace Placement Series prepares you for the toughest placement exams to top companies.
40 min30 Questions
Correct ans 3 marks
Wrong ans1 mark
There were 3 or 4 different sets of questions
This is my version of questions (this is based on only a vague memory of mine and i would request any of the members who attended the test and who remember, to contribute any correction or improvisation to the questions)

S > AB  AS A > a  aA B > b What is the grammar accepted by the above?

Given a string STOCK and a stack of size 4. Which of the following strings cannot be generated using this stack.

TSOCK

TOSKC

STOCK

TKOSC


Where are the following variables stored Automatic Global Static

Heap, Stack, Heap

Stack, Heap, Heap

Heap, Heap, Stack

None of these
Answer: d


What is the greatest disadvantage of dynamic RAM over static RAM Ans. Capacitor needs to refresh every 2 ms.

What happens when the CPU gets interrupted?

Performs ISR immediately

releases the memory and data bus for the interrupting process

Finishes the current instruction and performs ISR

gets halted


The s/n id 3 dB and freq is 300hz. Find the capacity of the line.

100

150

300

200

None of these


How much infomation can be stored between fffhf00h address space.

1024 bytes

2048 bytes

4096 bytes

None of these
Answer: d


void main () { int ari[] = { 1, 2, 3, 4, 5}; char arc[] = { ‘a’ ‘b’ ‘c’ ‘d’ ‘e’ }; printf (%d %d, &ari[4]&ari[2], &arc[3]&arc[0]); } Ans → 2 3

Find the POS form of the expression given below X (bar). Y (bar). Z (bar) + X. Y. Z + X (Y + Z).

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

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

A drum rotates at 4000 rpm. What is its average access time.

What range of integral values can be stored using 32 bits?

e =  < (ee) >  then

It is ambigous

generates all the arithemetic expressions for addition, subtraction and multiplication

It is non inherently ambigous

None of the above


the sorting algorithm that requires maximum comparisons when in sorted order and minimum comparisons when in reverse order?

straight insertion sort

binary insertion sort

heap sort

bubble sort


A graph is represented as an adjacency list with n vertices and e edges What is its time complexity

A variable in a function cannot be accessed outside the function, why (think the question is like this)?

garbage collection

because it exists in swap area of memory

it gets popped out of the stack


How many addresses are possible with 512 64kb segments?

A question on pages and pagetables, i think to find the wrong statement of the given

small pages implies large page tables

larger pages implies i/o operations efficiency
(don't remember the rest of the options, though the answer lies there)


A reference string was given and using LRU page replacement algorithm we were asked to find the state of the memory during 3rd page fault, the memory size being 3 pages.

A finite automaton was given and we were asked to find the expression that represented the language that could be accepted by the finite automaton

There was a question on networks given a set of data like 5 byte header for network layer and maximum data allowed 110 bytes similar data for 2 other layers question was to find the actual number of bytes send if the data size was bytes under conditions like no separate acknowledgement frames required, etc.

there was a program given on an array of unsigned integers and i think the answer was that the program was to find the largest and second largest of the elements in an array.

John and Jacob are assigned the tasks of writing main () and a function funct (X, Y) in Pascal. Where will there be conflicts between the two?

the position of main and function

the type of function

the number of times the function is called

in the paramters (I'm not sure abt the options)


there was question on why h/w translation was required for memory relocation (pretty easy one, don't remember the options)?

to find the prefix of (a + b) * (cd)

#include void main () { int i, x = 4, sum = 0; int arr[6] = [1, 2, 3, 4, 5, 6] for (i = 0; i<4; i + + ) sum + = func (arr); printf ( “%d” sum); } func (int x) { int val, x; val = 2; return (x + val + + ); } (there was another twist in the question about a static declaration in the function, though i cannot recollect) f

With a 2 line x decoder and 2 line y decoder how many address lines could be decoded with two dimensional addressing?

4

16

32

64

Another Version

Output of folowing C code void main () { int i = 4, j = 5; printf ( “%f” i/j); }

0

0.8

1

None of these
Answer: d


In which of the following postfix notations there is no confusion between unary and binary minus.

Output of folowing C code void main () { int i = 0, j = 0; int arr[4][4] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; clrscr (); for (i = 2; i> = 0; i) for (j = 2; j> = 0; j) printf (%d, * ( * (arr + j) + i) ); getch (); }

11 10 9 7 6 5 3 2 1

11 7 3 10 6 2 9 5 1

None of these
Answer: b


If there is 4 jobs (j1, j2, j3, j4) and there deadlines (2, 4, 2, 4). Which of the followinf sheduling is not possible.

j1 j3 j2 j4

j1 j2 j4 j3

j1 j3 j4 j2

j3 j1 j2 j4


4 process allocated 8000 bytes of memory according to best fit as follows: p1 − 2000 p2 − 2000 p3 − 2500 p4 − 1500 p1 and p4 is released. If a process p with 1000 bytes enter where will it be paced

After p1

After p3

Cannot be placed
Answer: b


Heap with 10 bytes is present. Then which of the following series is possible 4 options of a series of malloc and free funtions. Don't remeber the choices but easy to get the answer.

All combinational circuits can be implemented by

Only NOR

Only NAND

Only XOR

None of these
Answer: d


void main () { int a = 10, b = 11; printf (%d, a + + + b); printf (%d, a + + + b); }

22, 23

23, 24

21, 22

none
Answer: c
