HCL Question Paper : November 2014 Set : 6
Passage:
What will be the output of the following code statements?
integer a = 50, b = 25, c = 5
print a * b / c + c
Question
120
125
255
250
Choose the correct answer:
Assume the following precedence (high to low). Operators in the same row
have the same precedence:
(.)
* /
+ -
AND
OR
For operators with equal precedence, the precedence is from left-to-right in
expression.
Passage:
Every element of a data structure has an address and a key associated with it. A search
mechanism deals with two or more values assigned to the same address by using the
key. What is this search mechanism?
Question
Linear Search
Binary search
Hash Coded Search
None of these
Passage:
A linear list of elements in which deletion can be done from one end (front) and
insertion can take place at the other end (rear) is known as
Question
Queue
Stack
Tree
Branch
What will be the output of the following code statements?
integer a = 50, b = 25, c = 5
print a * b / c + c
Question
120
125
255
250
Choose the correct answer:
Assume the following precedence (high to low). Operators in the same row
have the same precedence:
(.)
* /
+ -
AND
OR
For operators with equal precedence, the precedence is from left-to-right in
expression.
Passage:
Every element of a data structure has an address and a key associated with it. A search
mechanism deals with two or more values assigned to the same address by using the
key. What is this search mechanism?
Question
Linear Search
Binary search
Hash Coded Search
None of these
Passage:
A linear list of elements in which deletion can be done from one end (front) and
insertion can take place at the other end (rear) is known as
Question
Queue
Stack
Tree
Branch
0 comments:
Post a Comment