Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger


Showing posts with label Redpine Paper. Show all posts
Showing posts with label Redpine Paper. Show all posts

Friday, 18 July 2008

Redpine Paper Aptitude - General Paper - 5

edpine - placement sample question papers


redpine signals test held on 19 oct (for cse it mca) only technical test which comprises of 100 marks after the test there r 2 technical interviews & 1 hr test consists of qs from c,ds,cn,os in the interview they mainly stressed on c & networks & the mistakes u did in the test paper pattern is as follows
c:
1)a single line prg code to find whether the given no is a power of 2
2)single line code for copying one string to other without using strcpy
3)can v jump from one function to other using goto?
4)to return more than 1 value what u will do?
5)return value of *p++
6)diff between int fun() && extern fun();
7)can we return an address of auto variable from fun.if s say how ?if not say y?

ds:
1)to store heterogenous data in linked list what ptr should we declare?
2)8queens ->backtracking
3)recursion uses -> stack
for more qs plz refer to the material given in frshersworld.com
all were from that only
so go thru it
networks
1)tftp ->trivial file transfer protocol
2)ftp uses ->tcp/ip
3)piggybacking
4)class b address range
5)mac storage ->6bytes
6)arp
7)803.11 ->lan
os:
signal can be sent thru -> kill
semaphore
analytical
1)4p 3pens 2e cost 20 & 2p 3pens 4e cost 34 how much 3(p+pens+e) cost
2)a man sold some melons which r....................
sol x be the original no of melons
)1/2+x/2 is the one he has sold
so he was left with (x-1/2-x/2)=x/2-1/2=1(given)
x=3
3)a watch loses 2sec for every 5min for 10 hrs how much time it loses
4)refer to george summers problem of sridevi playing tennis
5)one more q which was easy
ans)clark is the landlord

Whole Testpaper 25 August 2006 Paper - 2

REDPINE PAPER ON 25th AUGUST 2006 AT GNIS, HYDERABAD

hi,
I have attended the REDPINE company .i.e one of domine company for ECE students.The cut off is 70%.
First there is a written test and then interview.
Written test consists of 4 secetions
Digital--30marks
Communications---20marks
Computer---20marks
Aptitude--30marks
Each questions carry weightage differently
Digital:
It includes both STLD ,VHDL and Microprocesers.
1)Design 3:1 multiplexer using one tri-state buffer,AND gates and NOT gates.
2)The no of 2-input XOR gates required to design 19-inprt XOR gate?
3)A 26Kbyte memory,there is memory it contains 12 adderss lines and 4 bit data bus,the number of these type of memories required to design 26Kbyte memory?
4)Write a VHDL or Verilog HDL code for
input:a,clock,reset
output:out
out is assigned to 1 when a is ,1, for two clock cycles.
5)what is the output of following fig.100ps is the delay for XOR gate and 50ps for AND gate .all +ve and -ve edges start at boundaries of nanoseconds.(actually the output of fig is A(B(notC)+(not B)C) ,and the waveforms are given).
6)design forwhich the output is 10MHz clock,input to that circuit is 30MHz.
Communications:
7) What is shonan,s theorem?
8)X is Gaussianly distribuyed signal
a)p(X<=infinte)=?
b)X is zreo mean and a unit variance random variable,them find the mean and variance of y
y=2X+5;
9)because of error 000 is coded insted of 0 ,111insted of 1.then what is the error correction and error detection capability of the system?
10)A deterministic signal whose pdf is given then we have to find the minimum sampling frequency needed ?
Computers:
11)one question on bit rate.....(i didn,t rember exactly)
12)what is the application os MS world and Msperfect application is?
13)write a c code for factrial using recursion.
14)some statements are given like
putup::then lift the pen move accordingly without drawing aline,
FD N::move forward (N distance)
LD N:: move left at an angle of 90 degrees then move N
RD N::move right at an angle of 90 degrees then move N
putdown::draw alin following instructions
what is the output of following code
putdown
FD 10
putup
LD 1
FD 2
putdown
RD 8
so on like is....
13)what is the output
int a[10]={0,1,2,3,4,5,6,7,8};
int *p=a;
printf("%d\n",*p++);
14)two genaral knowledge questions..
15)what is expansion of GMSK?
16)find out the 5 digit number in that 4th digit is 4 nore than the second digit ,3rd digit is 3 less the 2nd digit andfirst is 3 times the last digit?

Aptitude - General Paper - 3

edpine - placement sample question papers


redpine signals test held on 19 oct (for cse it mca) only technical test which comprises of 100 marks after the test there r 2 technical interviews & 1 hr test consists of qs from c,ds,cn,os in the interview they mainly stressed on c & networks & the mistakes u did in the test paper pattern is as follows
c:
1)a single line prg code to find whether the given no is a power of 2
2)single line code for copying one string to other without using strcpy
3)can v jump from one function to other using goto?
4)to return more than 1 value what u will do?
5)return value of *p++
6)diff between int fun() && extern fun();
7)can we return an address of auto variable from fun.if s say how ?if not say y?

ds:
1)to store heterogenous data in linked list what ptr should we declare?
2)8queens ->backtracking
3)recursion uses -> stack
for more qs plz refer to the material given in frshersworld.com
all were from that only
so go thru it
networks
1)tftp ->trivial file transfer protocol
2)ftp uses ->tcp/ip
3)piggybacking
4)class b address range
5)mac storage ->6bytes
6)arp
7)803.11 ->lan
os:
signal can be sent thru -> kill
semaphore
analytical
1)4p 3pens 2e cost 20 & 2p 3pens 4e cost 34 how much 3(p+pens+e) cost
2)a man sold some melons which r....................
sol x be the original no of melons
)1/2+x/2 is the one he has sold
so he was left with (x-1/2-x/2)=x/2-1/2=1(given)
x=3
3)a watch loses 2sec for every 5min for 10 hrs how much time it loses
4)refer to george summers problem of sridevi playing tennis
5)one more q which was easy
ans)clark is the landlord

Redpine Paper Whole Testpaper - 25 August 2006 Paper - 4

First there is a written test and then interview.
Written test consists of 4 secetions
Digital--30marks
Communications---20marks
Computer---20marks
Aptitude--30marks
Each questions carry weightage differently
Digital:
It includes both STLD ,VHDL and Microprocesers.
1)Design 3:1 multiplexer using one tri-state buffer,AND gates and NOT gates.
2)The no of 2-input XOR gates required to design 19-inprt XOR gate?
3)A 26Kbyte memory,there is memory it contains 12 adderss lines and 4 bit data bus,the number of these type of memories required to design 26Kbyte memory?
4)Write a VHDL or Verilog HDL code for
input:a,clock,reset
output:out
out is assigned to 1 when a is ,1, for two clock cycles.
5)what is the output of following fig.100ps is the delay for XOR gate and 50ps for AND gate .all +ve and -ve edges start at boundaries of nanoseconds.(actually the output of fig is A(B(notC)+(not B)C) ,and the waveforms are given).
6)design forwhich the output is 10MHz clock,input to that circuit is 30MHz.
Communications:
7) What is shonan,s theorem?
8)X is Gaussianly distribuyed signal
a)p(X<=infinte)=?
b)X is zreo mean and a unit variance random variable,them find the mean and variance of y
y=2X+5;
9)because of error 000 is coded insted of 0 ,111insted of 1.then what is the error correction and error detection capability of the system?
10)A deterministic signal whose pdf is given then we have to find the minimum sampling frequency needed ?
Computers:
11)one question on bit rate.....(i didn,t rember exactly)
12)what is the application os MS world and Msperfect application is?
13)write a c code for factrial using recursion.
14)some statements are given like
putup::then lift the pen move accordingly without drawing aline,
FD N::move forward (N distance)
LD N:: move left at an angle of 90 degrees then move N
RD N::move right at an angle of 90 degrees then move N
putdown::draw alin following instructions
what is the output of following code
putdown
FD 10
putup
LD 1
FD 2
putdown
RD 8
so on like is....
13)what is the output
int a[10]={0,1,2,3,4,5,6,7,8};
int *p=a;
printf("%d\n",*p++);
14)two genaral knowledge questions..
15)what is expansion of GMSK?
16)find out the 5 digit number in that 4th digit is 4 nore than the second digit ,3rd digit is 3 less the 2nd digit andfirst is 3 times the last digit?

Technical - Database HCU Campus Paper - 1

HI all ......................



Test pattern consists of four subjects.

The paper having 100 marks.



1) C - 42 marks(each question carries 3 or 2 marks on objective and descriptive)

2)Data Structures - 18 marks (only objective 2 or 3 marks)

3)Operating Systems - 30 marks (it consists objective and descriptive,some problems on memory management)

4)Computer Networks-10 marks(both objective and descriptive)



The following questions are given below.



1)what is output for the following program.

#include

main()

{

int *p,*q,i;

p=(int *)100;

q=(int *)200;

i=q-p;

printf("%d",i);

}

a)100 b)25 c)0 d)compile error

Ans : b) 25



2)what is output for the following program.
#include

#define swap(a,b) temp=a,a=b,b=temp;

main()

{

int a=5,b=6;

int temp;

if(a>b)

swap(a,b);

printf("a=%d,b= %d",a,b);

}

a)a=5 b=6 b)a=6 b=5 c)a=0 b=6 d)None



Ans : a a=5 b=6



3)what is output for the following program.





#include

main()

{

unsigned char i;

for( i=0;i<300;i++)

{

printf("*");

}

}



a)299 b)300 c)infinite d)none



ans: c (infinite)



4)what is output for the following program.

#include

main()

{

int n=2;

int sum=5;

switch(n)

{

case 2:sum=sum-2;



case 3:sum*=5;

break;

default :sum=0;

}

printf("%d",sum);

}



a)15 b)0 c)6 d)none



ans: a (15)



5)/* what is the program indicates */

#include

main()

{

char *q;

int *ip;

q=(char *)malloc(100);

ip=(int *)q;

free(ip);

}



a)it frees all allocated memory.

b)it frees 400 bytes of memory.

c)

d)segmentation fault.



Ans :



6)What is output for the following program.

#include

main()

{

int a=10,b=5;

if(a=a&b)

b=a^b;

printf("a=%d,b=%d",a,b);

}



a)a=0,b=5 b)a=10 b=5 c)a=0,b=0 d)none

Ans: a a=0,b=5



7)What is output for the following program.

#include

main()

{

int a[5],i,*ip;

for(i=0;i<5;i++)

a[i]=i;

ip=a;

printf("%d",*(ip+3*sizeof(int)));

}



a)0 b)5 c)1 d)none

Ans: d (none)



8)What is the size of the structure.

#include

main()

{

struct

{

char a;

short b;

int c;

}temp;

}

a)7 b)8 c)12 d)120

ans:b



9) What is output for the following program.

#include

main()

{

unsigned char c[]={0x1,0x2,0x3,0x4,0x11,0x22,0x33,0x44};

unsigned int *p=c;

unsigned short *s=c;

printf("%x %x %x",c[2],p[2],s[2]);

}

Ans: please execute this program.



10) What is the difference between these two declarations:



i) int *f()

ii) int (*f)()

a) b) c) d)



11) Define pointer to function that take argument as character pointer and return void pointer.



Ans: void *(*f)(char *)



12) 5-2-3*5-2 evaluates 18 then



i) - left associative * has precedence over -

ii) - right associative * has precedence over -

iii) * left associative - has precedence over *

iv) * right associative - has precedence over *



a) i b)ii c) iii d)iv

Ans: iv



DataStructure questions:



1)Difference between re-entrance and recursion.

2)In which datastructure recursion can be used.

Ans: Stack.

3)Merge sort problem can be solved using which method.

Ans: Divide and conquer strategy.

4)8 queens problem can be solved by using which method.

Ans: Back tracking.

5,6) Two problems related to inorder and post order.

First answer was : + - * a b c d (In objective its answer was (d) )

Second answer was : inorder



Operating systems:



1)what are the necessary conditions for Deadlock

refer Galvin

Answer was : b&c

2)Two problems on memory management .

One answer was : 68.5 ns(average access time.)

3) what are the different types of IPC mechanisms.

Ans:

1)direct communication.(messages)

2)Indirect communication.(mail box)

3) Synchronous/Asynchronous communication.(Naming.)

4) Context switching.

Ans : A

5) Specify any 3 regarding the context of process?

Ans:

1)Process state.

2) Process Attribute.

3)Accounting Information.

4)See PCB (Process control Block) in Galvin Book.



6)Advantages and Disadvantages of cache buffer?

7)Increasing memory many page faults occur(I dont know Question exactly)?

Ans: FIFO



Computer Networks



1)What is the use of ICMP in TCP/IP stack?

2)What is the use of ARP in TCP/IP stack?

3)What is the header length of Ether Net MAC.

4)What is the mechanisms used for error detection in Data Link Layer?

Ans: CRC(cyclic redundency check.)