Honeywell Technical Test paper

Company: Honeywell

Aptitude:
Questions from Simple train pbms,age,ratio, proportion,Profit ,loss,Time & work,Time &Distance,Pipe &Cisterns,Shaded aream,Volume ( cylinder ,cone ..),Reasoning,
2 sections a partwith 4 questions b part with 6 questions There must 4 domocrats & 3 republicans out of the 12 professors.No of X professors are A,B,C,D. Noof Y professors are E,F,G,H,I.If A comes f & G r absent ..so on.There must 4 domocrats & 3 republicans out of the 12 professors.No of X professors are A,B,C,D. Noof Y professors are E,F,G,H,I.If A comes f & G r absent ..so on.2. Technical(Computer Science)OS,cache access time -100ns,Primary memory access time -1000ns,…then some data &condition, find the actual access time.,microprocessor ( lot of questions ) 8085 no of16 bitregisters.,8086 Instruction queue byte length?,8088 Instruction queuebyte length?,6800 what is it?8085pgms…,port no calculationsData StructuresWhichData Structures to use for infix to prefixconversion,Worst case complexity for quicksort,preordertraversal Binary tree …

1.int *data[10];whatdoes the variable data denotes?

2.{
int a[]={10,20,30,40,50};

fun(a+1);}fun(int *p)
{
for(int i=1;i<=3;i++)
printf(“%d”,*(p+i));
}

3.enum day { saturday,sunday=3,monday,tuesday};
value of saturday,tuesday. 4. enum day {saturday,sunday=-1,monday,tuesday};
intx=monday;value of x? 5. #define ADD(X,Y)
X+Ymain(){-#undef ADD(X,Y) fun();
}
fun() {
int y=ADD(3,2);
printf(“%d”,y);
}
o/p?
4.#define ADD(X,Y) X+Y main()
{
#undef ADD;fun();
}
fun()
{
#if not defined(ADD)define ADD
(X+Y) X*Yint y=ADD(3,2);
printf(“%d”,y);
}
o/p?
5.int x;
int *p;
int **p1;
int ***p2;
How to assign each one?

C++ Questions

1) If there is one class template which has one static member variable that static variable will belong to
a) Every instance of class template will share the same copy of static variable
b) Every instance of class template will have its own copy of static variable.
c) Compilation error
d) Don’t remember.

2) What is template specialization ???
a) define a new template class for a specific data type.
b)
c)
d)

3) How we will overload operator *+= such that
obj1 *+= obj2;
implies that
obj1=obj1*(obj1+obj2);
four choice were there last option was d) it is not possible I checkedthat option.

4) IN C++ what does the operator overloading means.
a) Giving new meaning to existing C++ operators
b) defining functionality of existing C++ operator for user define objects.
c) defining new operators. d) don’t remember.

5) what is ‘>>’ in C++
a) right shift operator and insertion operator depend upon the use
b) right shift operator and extraction operator depend upon the context use
c) right shift operator and insertion/extraction operator depend upon the use

6) class A { int a ,b; A() : a(0) {b=0;} }; if you create obj of this class as A obj;
a) b will be initialized before a
b) a will be initialized before b
c) both will be initialized together
d) none of these.

OS Question All OS questions were based on basics of UNIX all small -2 commands.

1) how image of one process can be replaced by other process a) exec

2) how image of one process can be copied to new born process a) fork

3) how can you list all the files used by a particular process

4) how do u create a link of file
C Questions I did not attempted the C paper but still I just had a look on C and javapaper. in C most of the question were programs and their out was asked in LINUX environment.
1) int
main()
{
char *a= “Novell”;
char *b;
b=malloc(10*sizeof(char));
memset(b,0,10);
while(*b++=*a++);
printf(“%s”,b); return 0;
}

2) int
main()
{
printf(“Hello”);
fork();
printf(“World”); }

Honeywell Technical Test Paper

About Honeywell

Honeywell International Inc. is an American publicly traded, multinational conglomerate headquartered in Charlotte, North Carolina. It primarily operates in four areas of business: aerospace, building technologies, performance materials and technologies, and safety and productivity solutions. Visit Website to know more

Read More