Quark Technical Questions: Technical Questions Part IV
Download PDF of This Page (Size: 120K) ↧
Examrace Placement Series prepares you for the toughest placement exams to top companies.
-
The standard source for standard input, standard output and standard error is
-
the terminal
-
/dev/null
-
/usr/you/input,/usr/you/output/,/usr/you/error respectively
-
None
Ans (a).
-
-
The redirection operators > and >>
-
do the same function
-
differ: > overwrites, while >> appends
-
differ: > is used for input while >> is used for output
-
differ: > write to any file while >> write only to standard output
-
None of these
Ans (b).
-
-
The command grep first second third/usr/you/myfile
-
prints lines containing the words first, second or third from the file/usr/you/myfile
-
searches for lines containing the pattern first in the files second, third, and/usr/you/myfile and prints them
-
searches the files/usr/you/myfiel and third for lines containing the words first or second and prints them
-
replaces the word first with the word second in the files third and/usr/you/myfile
-
None of the above
Ans (b).
-
-
You are creating a Index on EMPNO column in the EMPLOYEE table. Which statement will you use?
-
CREATE INdEX emp_empno_idx ON employee, empno
-
CREATE INdEX emp_empno_idx FOR employee, empno
-
CREATE INdEX emp_empno_idx ON employee (empno)
-
CREATE emp_empno_idx INdEX ON employee (empno)
Ans. c
-
-
Which program construct must return a value?
-
Package
-
Function
-
Anonymous block
-
Stored Procedure
-
Application Procedure
Ans. b
-
-
Which Statement would you use to remove the EMPLOYEE_Id_PK PRIMARY KEY constraint and all depending constraints fromthe EMPLOYEE table?
-
ALTER TABLE employee dROP PRIMARY KEY CASCAdE
-
ALTER TABLE employee dELETE PRIMARY KEY CASCAdE
-
MOdIFY TABLE employee dROP CONSTRAINT employee_id_pk CASCAdE
-
ALTER TABLE employee dROP PRIMARY KEY employee_id_pk CASCAdE
-
MOdIFY TABLE employee dELETE PRIMARY KEY employee_id_pk CASCAdE
Ans. a
-
-
Which three commands cause a transaction to end (Chosse three)?
-
ALTER
-
GRANT
-
DELETE
-
INSERT
-
UPdATE
-
ROLLBACK
Ans. a, b, f
-
-
Under which circumstance should you create an index on a table?
-
The table is small.
-
The table is updated frequently.
-
A columns values are static and contain a narrow range of values
-
Two columns are consistently used in the WHERE clause join condition of SELECT
statements.
Ans. d
-
-
What was the first name given to Java Programming Language.
-
Oak-Java
-
Small Talk
-
Oak
-
None
Ans. a
-
-
When a bicycle is in motion, the force of friction exerted by the ground on the two wheels is such that it acts
-
In the backward direction on the front wheel and in the forward direction on the rear wheel.
-
In the forward direction on the front wheel and in the backward direction on the rear wheel.
-
In the backward direction on both the front and rear wheels.
-
In the backward direction on both the front and rear wheels.
Ans (d).
-
-
A certain radioactive element A, has a half life = t seconds. In (t/2) seconds the fraction of the initial quantity of the element so far decayed is nearly
-
29%
-
15%
-
10%
-
45%
Ans (a).
-
-
Which of the following plots would be a straight line?
-
Logarithm of decay rate against logarithm of time
-
Logarithm of decay rate against logarithm of number of decaying nuclei
-
Decay rate against time
-
Number of decaying nuclei against time
Ans (b).
-
-
A radioactive element x has an atomic number of 100. It decays directly into an element y which decays directly into element z. In both processes a charged particle is emitted. Which of the following statements would be true?
-
y has an atomic number of 102
-
y has an atomic number of 101
-
z has an atomic number of 100
-
z has an atomic number of 101
Ans (b).
-
-
If the sum of the roots of the equation ax2 + bx + c = 0 is equal to the sum of the squares of their reciprocals then a/c, b/a, c/b are in
-
AP
-
GP
-
HP
-
None of these
Ans (c).
-
-
A man speaks the truth 3 out of 4 times. He throws a die and reports it to be a 6. What is the probability of it being a 6?
-
⅜
-
⅝
-
¾
-
None of the above
Ans (a).
-
-
If cos2A + cos2B + cos2C = 1 then ABC is a
-
Right angle triangle
-
Equilateral triangle
-
All the angles are acute
-
None of these
Ans (a).
-
-
Image of point (3, 8) in the line x + 3y = 7 is
-
(-1, 4)
-
(-1, 4)
-
(2, 4)
-
(-2, 4)
Ans (a).
-
-
The mass number of a nucleus is
-
Always less than its atomic number
-
Always more than its atomic number
-
Sometimes more than and sometimes equal to its atomic number
-
None of the above
Ans (c).
-
-
The maximum KE of the photoelectron emitted from a surface is dependent on
-
The intensity of incident radiation
-
The potential of the collector electrode
-
The frequency of incident radiation
-
The angle of incidence of radiation of the surface
Ans (c).
-
-
Which of the following is not an essential condition for interference
-
The two interfering waves must be propagated in almost the same direction or the two interfering waves must intersect at a very small angle
-
The waves must have the same time period and wavelength
-
Amplitude of the two waves should be the same
-
The interfering beams of light must originate from the same source
Ans (c).
-
-
When X-Ray photons collide with electrons
-
They slow down
-
Their mass increases
-
Their wave length increases
-
Their energy decreases
Ans (c).
-
-
An electron emits energy
-
Because its in orbit
-
When it jumps from one energy level to another
-
Electrons are attracted towards the nucleus
-
The electrostatic force is insufficient to hold the electrons in orbits
Ans (b).
-
-
How many bonds are present in CO2 molecule?
-
1
-
2
-
0
-
4
-
Ans (d).