Rajasthan Technical Education Second Year Paper 2016 – Microprocessor and C Programming
What will be the output of the following ?
#include<stdio.h>
void main()
{
int k=10;
k=++k
printf(“\n%d”,k);
(a) 11
(b) 1
(c) 0
(d) 12
What is type of triggering used in RST 7.5?
(a) Level
(b) Edge
(c) Level and Edge
(d) None of the above
What will be the output of the following program segment ?
#include<stdio.h>
void main()
{
printf(“Rajast\bthan”);
}
(a) Rajastthan
(b) Rajastbthan
(c) Rajasthan
(d) Rajast than
First n channel, second generation microprocessor was
(a) 8008
(b) 4004
(c) 8088
(d) 8080
Which one of the following is NOT a reserved keyword for ‘C’ ?
(a) main
(b) void
(c) volatile
(d) struct
Size of array is known at
(a) Run time
(b) Compile time
(c) Both (a) & (b)
(d) None of the above
What is RST for TRAP ?
(a) RST 4
(b) RST 5.5
(c) RST 4.5
(d) RST 7.5
Which is stack in 8085 ?
(a) FIFO
(b) FILO
(c) LILO
(d) LIFO
What wil be the value of Z ?
If int z;
x=5, y=-10, a=4, b=2;
z=x++-(- – y)*b./a;
(a) 10.5
(b) 10
(c) 0
(d) -0.5
If you pass an array as an argument to a function, what actually gets passed ?
(a) First element of the array
(b) Address of the least element of array
(c) Value of elements in array
(d) Base address of the array
If ASCII value of ‘X’ is 120, then what will be the value of Y ?
If Y=(‘X’ – ‘P’)/3;
(a) 1
(b) 1.66
(c) 2
(d) 2.66
What would be the output of the following program segment ?
#include<stdio.h>
void main()
{
int i=50;
int *J=&i;
printf(“\n%d”,++*(j));
}
(a) 49
(b) 50
(c) 51
(d) None of the above
Which is the true statement for Sample and HOLD (S/H) circuit
(a) Low Droop rate, slow acquisition of signal
(b) High Droop rate, fast acquisition of signal
(c) Low Droop rate, fast acquisition of signal
(d) High Droop rate, low acquisition of signal
Which is NOT the type of variable ?
(a) Extern
(b) Register
(c) Global
(d) None of the above
Leave a Reply