Polaris Technical model test paper - placement paper

Polaris Technical model test paper – placement paper


Consider the following programs and answer the questions:

void main()
{
int i;
i=(2,3);
prinf("%d",i);
}




void()
{
int i;
for(i=0;i++;i<100>
prinf("%d",i);
}




void main()
{
int i;
for(i=1;i++;i<100>
prinf("%d",i);




void main()
{
char c[] = "cdef";
prinf("%d %d", sizeof(c),strlen());





1. In the first program what will be the output?

A. 4
B. 3
C. Garbage
D. None

2. In second program, how many times will the loop run?

A. 0
B. 10
C. Infinity
D. 100

3. In third program, how many times will the loop run?

A. 0
B. 10
C. Infinity
D. 100


4. What will be the output of fourth program?

A. 4 5
B. 5 4
C. 2 6
D. None

5. Local Variables are stored in?

A. Register
B. Queue
C. Stack
D. All of the above

6. Register variables can be found in?

A. Heap
B. Stack
C. CPU Register
D. None of the above

7. Program code is found in?

A. CPU Register
B. Stack
C. Queue
D. Heap

8. In C, which interrupt has the highest priority?

A. INT
B. RS7
C. TRAP
D. RS6

9. Which of these words best relates to the function of a kernel?

A. I/O Request
B. Compilation
C. Error
D. None of the above

10. In microprocessors, the storage type is?

A. FIFO
B. LIFO
C. Uses both alternatively
D. Uses both serially

11. How many bytes does SJMP instruction take in a microcontroller?

A. 1
B. 3
C. 4
D. 2

12. Buses in a Microprocessor are used for the following:

A. Carrying control signal
B. Carrying address
C. Carrying Data
D. All

13. Which clock system is used in microprocessors and is efficient in terms of consumption of power?

A. Oscillator
B. Crystal
C. Both are equal
D. Both consume high power

14. Which motor is used in ceiling fan and washing machines?

15. What is a 8255?

16. What is the number of address lines and data lines in 8085?

17. 8051 is a __ bit microcontroller?

18. What are the transmission lines parameters called?

19. A motor has 5 poles and runs on the synchronous speed of 200. Find the frequency.

20. How many flags does 8085 have?
Post your comment