Honeywell Model Question Paper
Honeywell Model Question Paper
~ Recursion
~ Sorting
~ Indexing
::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
~ O(Nlog2N)
~ O(N2)
~ O(Nlog10N)
~ O(log2N)
~ 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?
::Q6:: Given the functional dependencies {AB->C,C->D} for the relation schema R(ABCD), the
dependency A->D can be inferred by
::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"?
::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?
~ 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.
~ An SQL query will not work if there are no indexex on the relations
~ Job Scheduling
~ Page Replacement
~ Disk Scheduling
~ Segment replacement
~ 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
::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
~ Application Layer
~ Presentation Layer
{
HoneyWell Previous year Question Paper
~ Circuit Switching
~ Packet Switching
~ Message Switching
::Q18:: In Packet Switching, who determines the bit rate, format and framing method?
~ Sender
~ Reciver
~ Carrier
~ Both a and b
~ 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
::Q21:: Which of the peripherals given below is used to increase the ports of 8085?
~ 8255
~ 8251
~ 8259
~ 8253
~ 2bit processor
~ 4bit processor
~ 16bit processor
~ 8bit processor
}
HoneyWell Previous year Question Paper
::Q24:: 8251 is
::Q25:: For a three byte instruction in 8085 what does the second byte signify?
~ opcode
~ Higher-order address
~ operand
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
if(number = 12)
number1 = 100;
else
number1 = 0;
printf("%d",number);
printf("%s",",");
printf("%d",number1);
= 12,100
~ 99,0
~ 100,99
~ 0,12
if(sizeof(p)==sizeof(q))
printf("hello");
else
printf("World");
= hello
~ World
#include<stdio.h>
main()
printf("array = %s,",array);
f1(array);
printf("array = %s",array);
}
HoneyWell Previous year Question Paper
array[0]='f';
void main()
printf("%d",out);
int out=100;
= Compiler error
~ 500
~ 100
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
::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
::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};
printf("%d",today);
~ Mon
~0
~1
= Compiler error
char a[10];
a="Hello World";
printf("%s",a);
~ hello World
~a
~ "Hello World"
= Compiler error
struct Student
{
HoneyWell Previous year Question Paper
int Regno;
}*s1;
s1.Regno = 3051;
union Student
int Regno;
char name[10];
}a;
union Student1
char sex;
char name[10];
}b;
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));
~ 900
~ Compiler Error
= 60