Search This Blog

Friday 6 January 2012

Honeywell Placement Paper

Honeywell Placement Paper  2011:-

1.  SNMP is used in which layer

2. Banker's algorithm is used for

3. Belady's anomaly is related to___

4. How can u increase ports of a microprocessor?

a)8255 b)8259 c)8253 d)8251

5 Which of the following maintains a constant time(best,worst,average)?

a)searching b)sorting c)indexing d)none

6. In a database a table is stored not fully..it is an example of

7. Which of the following is illegal
(a)void v;
(b)void *v;
(c)void **v;
(d)all are legal

8.  #define int INTEGER/*line1*/
#define INTEGER int/*line 2*/
main()
{
INTEGER p=10;/*line 5*/
printf("%d",p);
}
o/p?
(a) compiler error at line 1
(b) compiler error at line 2
(c) compiler error at line 5
(d) No error,prints 10
ans:c

9. main()
{
int counter=1;
for(;;)
{
counter++;
if(counter>9)
break;
}

}
in the above program
(a)error b coz for should have parameters
(b)error bcoz 2 semicolons in a for loop are invalid
(c)no error,loop is executed once
(d) no error ,loop is executed 10 times

10.  main()
{
char str={ H , E , L , L , O , \0 }
printf("%s/n",str+1);
}
o/p?
(a)prints ELLO
(b)prints HELLO
(c)prints ILLO (i.e. H is incremented by 1)
(d)...

11. Binary search tree is used in

a) sorting  b) searching   c) indexing  d) all the above

12. Given a tree..write the preorder traversal

13. Given an infix expression. write its postfix

14. First general purpose microprocessor

a) 2002 b)4004 c)8080 d)8085

15.  ____flag is not used in 8085 jump instructions

16. How many cubes have only one face painted?
(1) 8
(2) 16
(3) 24
(4) 32

17. How many cubes have only two faces painted?
(1) 0
(2) 16
(3) 24
(4) 32

18. How many cubes have only four faces painted?
(1) 0
(2) 8
(3) 12
(4) 16

19. How many cubes have no faces painted?
(1) 0
(2) 8
(3) 16
(4) 24

20. 'Win' is related to 'Competition' in the same way as 'Invention' is related to?
(1) Discovery
(2) Experiment
(3) Trial
(4) Laborator

1 comment: