- Home
- MCQs by exam
- NTS
NTS MCQs · Page 65
5,604 multiple choice questions typical of the NTS exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
n equals 10, but buf is left holding all ten characters without a terminator
-
B
n equals -1, because the output was truncated by the size argument given
-
C
n equals 10, and buf holds the first seven characters plus a terminator
Correct answer
-
D
n equals 7, and buf holds exactly the seven characters that it kept
-
A
Because goto may not cross any declaration that has an initialiser
-
B
It is rejected only when n is a compile-time constant expression
-
C
Jumping into the scope of a variably modified object is not permitted
Correct answer
-
D
The jump is legal, but the array a stays uninitialised until it is used
-
A
The typedef makes both a and b pointers; the macro makes only a pointer
Correct answer
-
B
Both forms declare two pointers, since the tokens are expanded identically
-
C
The typedef makes both ints, while the macro makes a pointer and an int
-
D
The macro form is a constraint violation and does not compile in C
-
A
Both shifts on negative values are undefined behaviour in standard C
-
B
Both shifts are well defined and act on the two's complement bit pattern
-
C
Left shift of a negative is implementation-defined, but right shift is undefined
-
D
Left shift of a negative is undefined; right shift is implementation-defined
Correct answer
-
A
g() always runs first, because the arguments are evaluated right to left
-
B
Nothing; the calls are indeterminately sequenced, so either order can occur
Correct answer
-
C
f() always runs first, since it appears leftmost in the argument list
-
D
The program has undefined behaviour, because one global object is written twice
-
A
About +0.40 kJ/kg K, since compression raises the pressure of the gas
-
B
About -0.40 kJ/kg K, from R times the logarithm of the pressure ratio
Correct answer
-
C
About -0.20 kJ/kg K, from R times the logarithm of the pressure ratio
-
D
Zero, because an isothermal process for an ideal gas changes no entropy
-
A
150 N/mm2, from pressure times diameter over the wall thickness
-
B
750 N/mm2, from pressure times radius over the wall thickness used
-
C
75 N/mm2, from pressure times diameter over twice the thickness
Correct answer
-
D
37.5 N/mm2, from pressure times diameter over four times thickness
-
A
The speed varies by 2 percent of the maximum, which is 6.12 rpm here
-
B
The speed varies by about 6 rpm, from 297 to 303 about the mean speed
Correct answer
-
C
The speed varies by about 3 rpm, from 298.5 to 301.5 about the mean
-
D
The speed varies by about 12 rpm, from 294 to 306 about the mean speed
-
A
Uniform pressure, but only when the friction coefficient exceeds 0.3
-
B
Uniform wear, since the contact pressure falls as the radius increases
Correct answer
-
C
Uniform pressure, since the pressure stays constant across the facing
-
D
Both give equal torque, since only the mean radius matters in each case
-
A
17 teeth, from twice the cosecant squared of the pressure angle
Correct answer
-
B
12 teeth, from twice the cosecant squared of the pressure angle
-
C
25 teeth, from twice the cosecant squared of the pressure angle
-
D
17 teeth, whatever the pressure angle or the addendum may be
-
A
About 4.1 m, from the Darcy-Weisbach relation with the given data
-
B
About 0.2 m, from dividing the head by the pipe diameter again
-
C
About 2.0 m, from the Darcy-Weisbach relation with the given data
Correct answer
-
D
About 1.0 m, from the Darcy-Weisbach relation with the given data
-
A
NPSH required exceeds NPSH available, keeping the suction path flooded
-
B
The suction lift equals the vapour pressure head of the liquid pumped
-
C
The discharge valve is throttled so the head stays below design
-
D
NPSH available exceeds the NPSH required by that impeller at the flow
Correct answer
-
A
Flow quadruples, head doubles and power rises eightfold with the new speed
-
B
Flow halves, head quarters and power falls eightfold when speed doubles
-
C
Flow doubles, head quadruples and power rises eightfold at the new speed
Correct answer
-
D
Flow doubles, head doubles and power doubles too, since all scale with speed
-
A
It stays unchanged, since the shield has the same emissivity as both
-
B
It falls to about one third, because the view factor is reduced threefold
-
C
It falls to about one half, because the shield adds an equal resistance
Correct answer
-
D
It falls to about one quarter, because two surfaces now face each other
-
A
k divided by h, and beyond that radius adding insulation cuts heat loss
Correct answer
-
B
h divided by k, and beyond that radius adding insulation cuts heat loss
-
C
k divided by h, and beyond that radius adding insulation raises heat loss
-
D
twice k divided by h, where the insulation matches the pipe radius
-
A
Raising the boiler pressure without changing the saturation property
-
B
Raising boiler pressure without changing saturation properties
-
C
Superheating the steam before it enters the turbine at that pressure
-
D
Lowering the turbine exit enthalpy and raising work per kilogram
Correct answer
-
A
About 53.4 percent, from one minus the pressure ratio to a power
-
B
About 33.3 percent, from one minus the inverse of the pressure ratio
-
C
About 60.0 percent, because gamma cancels out of that expression
-
D
About 46.6 percent, from one minus the pressure ratio to a power
Correct answer
-
A
0.7 times the square root of the cylinder splitting strength value
-
B
0.7 times the square root of the characteristic cube strength, fck
Correct answer
-
C
0.7 times the characteristic cube strength itself, in N/mm2 units
-
D
0.5 times the square root of the characteristic cube strength value
-
A
0.0, since a purely cohesive soil cannot carry any footing load
-
B
5.7, with the other two factors contributing almost nothing then
Correct answer
-
C
5.7, but the surcharge term still supplies most of the capacity
-
D
1.0, because a frictionless soil has no bearing capacity factors at all
-
A
0.50, from one minus the sine of the friction angle of the sand
Correct answer
-
B
0.33, from the tangent-squared form used in the active case
-
C
3.00, from the reciprocal of the active pressure coefficient value
-
D
0.58, computed as one minus the sine of the friction angle given
-
A
About 4.3 years, because time scales with the time factor for the layer
Correct answer
-
B
About 1.8 years, because time scales with the square root of that factor
-
C
About 9.0 years, because time scales with the square of the time factor
-
D
About 2.0 years, because the drainage path doubles between those degrees
-
A
Bleeding is cement flocculating; segregation is water drying off the surface
-
B
Both describe water rising, but bleeding occurs only in the laboratory
-
C
Bleeding is water rising to the top; segregation is aggregate separating out
Correct answer
-
D
Bleeding is aggregate settling; segregation is water rising to the top surface
-
A
A workable mix, since values rise toward 1.0 as workability improves
Correct answer
-
B
A harsh mix, since higher values indicate a less workable concrete
-
C
A mix that has already segregated, because the value exceeds 0.90
-
D
A mix with very low water content, since the factor tracks that ratio
-
A
The Le Chatelier test, which measures the volume change of set paste
Correct answer
-
B
The Vicat apparatus test, which measures the time to set under a needle
-
C
The Blaine air permeability test, which measures fineness as surface area
-
D
The cube soundness test, which measures compressive strength gain
-
A
It bulks by only about 5 percent, too little to affect the mix design
-
B
It bulks by 50 percent or more, so weight batching has to be used
-
C
It bulks by roughly 20 to 30 percent, so volume batching over-sands
Correct answer
-
D
It shrinks by roughly 20 to 30 percent, so volume batching under-sands