0% found this document useful (0 votes)
268 views16 pages

Honeywell Model Question Paper

The document contains 38 multiple choice questions from a previous year's Honeywell placement paper. The questions cover topics such as data structures, algorithms, C programming, operating systems, computer networks, and microprocessors. Some sample questions included are on binary search trees, isolation levels in databases, normalization forms, network layer protocols like SNMP, and assembly language programming concepts.

Uploaded by

lingamurthyb
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
268 views16 pages

Honeywell Model Question Paper

The document contains 38 multiple choice questions from a previous year's Honeywell placement paper. The questions cover topics such as data structures, algorithms, C programming, operating systems, computer networks, and microprocessors. Some sample questions included are on binary search trees, isolation levels in databases, normalization forms, network layer protocols like SNMP, and assembly language programming concepts.

Uploaded by

lingamurthyb
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

HoneyWell Previous year Question Paper

::Q1:: One of the applications of binary search tree is

~ Recursion

~ Sorting

~ Indexing

~ All the above

::Q2:: Which method will be appropriate for an application requiring a search with constant time for
all the cases (best,worst,average)?

~ Binary Search

~ Linear Search

~ Hashing

~ None of the above

::Q3:: The average case analysis of partition exchange short is

~ O(Nlog2N)

~ O(N2)

~ O(Nlog10N)

~ O(log2N)

::Q4:: What is the postfix notation of (A+B)*C-(D-E)^(F+G) ?

~ AB+C*DE--FG+^
HoneyWell Previous year Question Paper

~ BA+C*DE--FG+^

~ AB+C*DE-+FG-^

~ AB+C*DE--FG^+

::Q5:: While implementing a queue, there was a debate on whether to use an array or to use a linked
list. Which of the following statements is not valid?

~ Array implementation consumes less space

~ Linked List implementation has less programming complexity

~ Array implementation is not flexible to future changes

~ Linked list implementation consumes more space

::Q6:: Given the functional dependencies {AB->C,C->D} for the relation schema R(ABCD), the
dependency A->D can be inferred by

~ the reflexive rule

~ the augmentation rule

~ the transitive rule

~ nne of the above

::Q7:: with SQL, how do you select all the records from a table named "Authors" where the value of
the column "AuthorName" is starting with "Peter"?

~ SELECT [all] FROM Authors WHERE AuthorName LIKE 'Peter%'

~ SELECT * FROM Authors WHERE AuthorName LIKE 'Peter%'

~ SELECT [all] FROM Authors WHERE AuthorName ='Peter%'


HoneyWell Previous year Question Paper

= SELECT * FROM Authors WHERE AuthorName ='Peter%'

::Q8:: Transaction A begins.\n Update employee set salary = 31650 where empno = '000090' \n
Transaction B begins.\n Select * from employee \n Transaction B sees data updated by transaction
A. Those updates have not yet been confirmed. \n what is the isolation level?

~ Read Uncommitted Isolation Level

~ Read Committed Isolation Level

~ Repeatable Read Isolation Level

~ Serializable Isolation Level

::Q9:: Which of he following is not correct?

~ A table is said to be in 1NF, if all values of the columns are atomic.

~ A table is said to be 2NF if it is in 1NF and every non-key column is non transitively dependent
upon its primary key.

~ A relational table is in second normal form 3NF if it is in 2NF and every one-key column is fully
dependent upon the primary key.

~ A table is said to be 3NF if, all non key columns are functionally dependent only upon the primary
key.

::Q10:: which of the following is correct?

~ An SQL query automatically eliminates duplicates

~ An SQL query will not work if there are no indexex on the relations

~ SQL permits attribute name to be repeated in the same relation


HoneyWell Previous year Question Paper

~ none of the above

::Q11:: Belady's anomaly is related to

~ Job Scheduling

~ Page Replacement

~ Disk Scheduling

~ Segment replacement

::Q12:: Dijiktra's banker's algorithm is an OS solves the problem of

~ Mutual exclusion

~ Deadlock recovery

~ Deadlock avoidance

~ Deadloack prevention

::Q13:: Situations where 2 or more processes are reading or writing some shared data and the final
result depends on who runs precisely are called

~ Message passing

~ Critical Section

~ Mutual exclusion

~ Race Condition

}
HoneyWell Previous year Question Paper

::Q14:: Process spawning is

~ OS Creating a process on request from user

~ OS Creating a process on explicit request by another process

~ OS changing the priority of process

~ OS kills an unused process

::Q15:: In the context of scheduling the number of process completed per time is called

~ CPU utilization

~ Response Time

~ Turnaround Time

~ Throughput

::Q16:: There is a need to transmit data from one computer, which can transmit at the rate of 200
bits per second to another computer, which can receive at the rate of 50 bits per sec. Which layer
ensures that the transmission happens without any errors because of the slow consume rate of the
receiver?

~ Session Layer

~ Data Link Layer

~ Application Layer

~ Presentation Layer

::Q17:: Network resources are static in

{
HoneyWell Previous year Question Paper

~ Circuit Switching

~ Packet Switching

~ Message Switching

~ All the above

::Q18:: In Packet Switching, who determines the bit rate, format and framing method?

~ Sender

~ Reciver

~ Carrier

~ Both a and b

::Q19:: SNMP- Simple Network Management Protocol is used in

~ Netwrok Layer

~ Transport Layer

~ Application Layer

~ Presentation Layer

::Q20::When a system running TCP/IP receives a data packet, which of the following does it use to
determine what service to forward the packet to?

~ Port Number

~ Packet ID Number

~ Data IP Number
HoneyWell Previous year Question Paper

~ IP Protocol Service Type

::Q21:: Which of the peripherals given below is used to increase the ports of 8085?

~ 8255

~ 8251

~ 8259

~ 8253

::Q22:: In assembly language programming, Mnemonics are used because

~ they are more meaningful than hex or binary values

~ reduce the chances of making an error

~ are easier to remember than bit values

~ All the above

::Q23:: The first developed general purpose microprocessor is a

~ 2bit processor

~ 4bit processor

~ 16bit processor

~ 8bit processor

}
HoneyWell Previous year Question Paper

::Q24:: 8251 is

~ Universal Synchronous/ Asynchronous Receiver Transmitter

~ Universal Asynchronous Receiver Transmitter

~ Universal Synchronous Receiver Transmitter with fixed baud rate

~ Universal Synchronous Receiver Transmitter

::Q25:: For a three byte instruction in 8085 what does the second byte signify?

~ Low order address

~ opcode

~ Higher-order address

~ operand

::Q26:: What is the output of the following program?

void main()

char pt=malloc(12*sizeof(char));

strcpy(ptr,"Confidence");

(*ptr)++;

printf("%s\n",ptr);

*ptr++;

printf("%s\n",ptr);\}\

~ Donfidence onfidence
HoneyWell Previous year Question Paper

~ Bonfidence Onfidence

~ error

~ nfidence onfidence

::Q27:: What is the output of the following code?

int number= 99;

int number1 = 100;

if(number = 12)

number1 = 100;

else

number1 = 0;

printf("%d",number);

printf("%s",",");

printf("%d",number1);

= 12,100

~ 99,0

~ 100,99

~ 0,12

::Q28:: What is the output of the following piece of code?


HoneyWell Previous year Question Paper

char *p; int* q; float* r;

if(sizeof(p)==sizeof(q))

printf("hello");

else

printf("World");

= hello

~ World

~ Run time error

~ Compile time error

::Q29:: What is the output of the code below?

#include<stdio.h>

void f1(char array[7]);

main()

char array[7] = "lakers";

printf("array = %s,",array);

f1(array);

printf("array = %s",array);

}
HoneyWell Previous year Question Paper

void f1(char array[7])

array[0]='f';

~ array = lakers, array = lakers

= array = lakers, array = fakers

~ array = fakers, array = lakers

~ array = fakers, array = fakers

::Q30:: What will be the output of the code given below?

void main()

extern int out;

int out = 500;

printf("%d",out);

int out=100;

= Compiler error

~ 500

~ 100

~ Run time error

::Q31:: Which of the following statements below is not correct?


HoneyWell Previous year Question Paper

= main cannot have arguments

~ main can have command line arguments

~ main can have variable number of arguments

~ main can return any value

::Q32:: The scanf function takes address of variables to be read because:

~ While reading we have to specify location

~ To simulate a call by reference behaviour

~ Syntactically it is wrong to use variables without &

~ Since there can be any number of arguments to scanf, & is a must

::Q33:: What is the output of the following?

main()

int x=4;

printf("%d %d %d\n",x,x<<2,x>>2);

~ 4 1 10

~ 4 1 16

~ 4 10 1

= 4 16 1

}
HoneyWell Previous year Question Paper

::Q34:: While opening a file using the statement mastfile = fopen("empmast.dat","rb+");

which of the following is correct?

~ File is opened in binary mode

~ mastfile has to be declared before use

~ we can work with file only if mastfile is not NULL

~ empmast.dat can be opened in note pad and edited

::Q35:: What will be output of the following C program segment given below?

int a=100;

void main()

int a =200;

a++;

printf("%d",a);

~ 200

~ 100

= 201

~ None of the above

::Q36:: What will be the output of the C Program segment given below?

main()
HoneyWell Previous year Question Paper

enum Day{sun,mon,tue,wed,thur,fri,sat};

enum color{red,green,black};

enum Day today =green;

printf("%d",today);

~ Mon

~0

~1

= Compiler error

::Q37:: What will be the output of the following code?

char a[10];

a="Hello World";

printf("%s",a);

~ hello World

~a

~ "Hello World"

= Compiler error

::Q38:: Go through the piece of code below?

struct Student

{
HoneyWell Previous year Question Paper

int Regno;

}*s1;

s1.Regno = 3051;

printf("\n The Regno is %d",s1.Regno);

which of the following is appropriate for the code

~ The code has no errors and prints 3051

~ The code prints 3051 if the dot(.) is replaced by arrow(->)

= even if dot(.) is replaced by arrow(->) it produces run time error

~ *s1 is not a proper decleration

::Q39:: Consider the two union declerations below?

union Student

int Regno;

char name[10];

}a;

union Student1

char sex;

char name[10];

}b;

Which of the statements below is the most appropriate one?

~ a and b need not ne of same size

~ a and b are of same size


HoneyWell Previous year Question Paper

~ a and b are illegal declerations

~ Array decleration is not allowed inside union

::Q40:: What will be the output of the program segment below?

double f1(double x)

return x+x;

double f2(double x)

return x*x;

void main()

double (*pf)(double);

pf = f1;

printf("%f",pf(30));

~ Run Time Error

~ 900

~ Compiler Error

= 60

You might also like