STMicroelectronics-Sample-Question-Paper
STMicroelectronics-Sample-Question-Paper
a. float to int
b. int to float
c. char to float
Ans: d
a. register set
b. data section
c. thread id
d. ?
Ans : b
main()
int x=5, y;
y= x*x++ * ++x ;
// print x and y
CPI of A = 1
CPI of B=3
Cpi of c =2
cpi of d= 4
https://www.freshersnow.com/
STMicroelectronics Sample Question Paper
( this que was repeated in section 2 & 3)
6. main()
int a=10,b=5
?b;
++a;
print (a);
print (b);
7. main()
char i;
printf(?%c?, i);
answer: s(s-2)/(s-3)(s-4)
https://www.freshersnow.com/
STMicroelectronics Sample Question Paper
9. One question on sampling theorems, if sampling frequency is fs then the signal having same
characteristics will be of frequency.. (in terns of fs)
- if the amplitude of the signal is reduced to half & N bits samples are used with M quantization level,
then the SNR will be reduced by a factor of
Ans: 6 db
11. Calculating the bit rate to be transmitted across the given capacity channel
12. Calculating the checksum for the bits to be transmitted given the frame- 11000101 and
generator is 1100.
13. Calculating the no of bits required for the error detection & the error correction for the
given codeword set.
codeword a:
0000
0001
0011
1111
codeword b:
101111
110101
https://www.freshersnow.com/
STMicroelectronics Sample Question Paper
a. collision approval
b. collision avoidance
c. critical access
16. In a triangle, without changing the angle, if we double the sides, then new area will be
17. There is a pipe having diameter 6mm, then how many pipes having 1mm diameter wiill be
needed to provide the same amount of water.
ans. 36
18. In which of the following schemes after page replacement the entered page will enter in
the same memory location as of the replaced one.
b. n-set associative
c. associative
d. none of them
ans TLB
signal (mutex)
critical section
wait (mutex)
b: PM
c: AM
https://www.freshersnow.com/
STMicroelectronics Sample Question Paper
23. C language program
int i=0;
switch(i)
case 1: printf(?hi?);
case 0: printf(?zero?);
case 2: printf(?world?);
ans: zeroworld
a: static string
b: ?static string?
c: ?static string?
d:char sting[30]
d:
a: fread(x,100,?.)
b. fread(100,x,??.)
c. gets(x)
d. read(x)
https://www.freshersnow.com/