Sify Previous Years Solved Sample Placement Papers
- Memory allocation of variables declared in a program is:
(a) allocated in RAM
(b) allocated in ROM
(c) allocated on stack (Ans)
(d) assigned to registers - A software that allows a personal computer to pretend as a computer terminal is:
(a) terminal adapter
(b) bulletin board
(c) modem
(d) terminal emulation (Ans) - Which type of entity represents a logical generalization whose actual occurrence is represented by a second, associated entity?
(A) Supertype entity
(B) Subtype entity
(C) Archetype entity
(D) Instance entity
Ans: C
- You have a bucket of jelly beans. Some are red, some are blue, and some green. With your eyes closed, pick out 2 of a like color. How many do you have to grab to be sure you have 2 of the same?
(A) 2
(B) 4
(C) 5
(D) 6
Ans: B
- There is an escalator, and 2 persons move down it. A takes 50 steps and B takes 75 steps while the escalator is moving down. Given that the time taken by A to take 1 step is equal to the time taken by B to take 3 steps, find the number of steps in the escalator while stationary.
Ans: Solve using relative speed and time.
- If I walk with 30 miles/hr, I reach 1 hour early, and if I walk with 20 miles/hr, I reach 1 hour late. Find the distance between two points and the speed needed to reach exactly at 11 am.
Ans: 120 miles and 24 miles/hr
- At a certain moment, a watch shows a 2-minute lag, although it is fast. If it showed a 3-minute lag at that moment but gained 1/2 minute more a day than it does, it would show the true time one day sooner than it usually does. How many minutes does the watch gain per day?
(A) 2
(B) 5
(C) 6
(D) 4
(E) 7.5
Ans: E
HCL Technical Questions
- What is an advantage of placing computations in SQL views?
(A) To save users from having to write an expression.
(B) To ensure that the results are consistent.
(C) To accomplish both of the above.
(D) None of the above is correct - computations cannot be placed in a view.
Ans: C
- The XSLT processor copies the elements of the stylesheet until it finds a command in the format:
(A) SELECT ... FROM ... WHERE.
(B) {item, action}.
(C) {for-each select}.
(D) ...<\HTML>.
Ans: B
- When 60 is subtracted from 60 % of a number, the resulting number 60 then the number is:
A. 250
B. 100
C. 200
D. 300
Answer: C - What is the value of x if 12/5 = 36/x
A. 17
B. 16
C. 15
D. 14
Answer: C - A man buys a computer for Rs. 7,000 and sells it for 11,500. The % profit is nearly
A. 54%
B. 58%
C. 64.3%
D. 70.6%
Answer: C - A solution is to be prepared by combining chemical X, Y and Z in the ratio of 18 : 3 : 2. How many liters of solution can be prepared by using 36 liter of X?
A. 46L
B. 47L
C. 45L
D. 49L
Answer: A -
It is easier for a computer to process a postfix expression than an infix expression.
a) True
b) False
Answer: a
Explanation: Computers can easily process a postfix expression because a postfix expression keeps track of precedence of operators.
-
What is the postfix expression for the infix expression?
a-b-c
a) -ab-c
b) ab – c –
c) – -abc
d) -ab-c
Answer: b
Explanation: The corresponding postfix expression for the given infix expression is found to be ab-c- and not abc- -.
-
What data structure is used when converting an infix notation to prefix notation?
(a) Stack
(b) Queue
(c) B-Trees
(d) Linked-list
Answer: (a)
Explanation: To convert infix to prefix, reverse the equation and use the infix-to-postfix algorithm. This process utilizes stacks for operator precedence and association.