- Home
- MCQs by exam
- NTS
- Computer Science MCQs
NTS MCQs – Computer Science MCQs · Page 17
455 multiple choice questions typical of the NTS exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
DHCP
Correct answer
-
B
SMTP
-
C
DNS
-
D
ARP
-
A
Variable-size contiguous partitions
-
B
Pure segmentation of memory
-
C
Fixed-size partitions or pages
Correct answer
-
D
Periodic memory compaction
-
A
Nothing; each thread has private memory
-
B
Their individual call stacks
-
C
Program counter and registers
-
D
Code, data and heap memory
Correct answer
-
A
Binary semaphore
Correct answer
-
B
Counting semaphore
-
C
Monitor
-
D
Condition variable
-
A
The disk scheduler serves requests in random order
-
B
Two processes wait forever for each other's resources
-
C
The system spends more time paging than executing
Correct answer
-
D
The CPU overheats and lowers its clock speed
-
A
First-Come, First-Served
-
B
Shortest Job First
Correct answer
-
C
Round Robin
-
D
Priority with aging
-
A
public
-
B
private
-
C
protected
-
D
internal
Correct answer
-
A
true if both a and b are null
-
B
a if it is not null, otherwise b
Correct answer
-
C
a and b combined into one string
-
D
b if it is not null, otherwise a
-
A
auto
-
B
object
-
C
var
Correct answer
-
D
dynamic
-
A
It is read-only inside the called method
-
B
It must be initialised by the caller before the call
-
C
It can only be used with value types, not classes
-
D
It must be assigned inside the method before returning
Correct answer
-
A
Thread
-
B
IAsyncResult
-
C
Task
Correct answer
-
D
void
-
A
Compiling C# code into CIL
-
B
Profiling memory leaks at runtime
-
C
Managing third-party library packages
Correct answer
-
D
Hosting web apps on IIS servers
-
A
Value type
Correct answer
-
B
Pointer type
-
C
Delegate type
-
D
Reference type
-
A
About 6.2 MB
Correct answer
-
B
About 18.7 MB
-
C
About 2.1 MB
-
D
About 49.8 MB
-
A
Weiler–Atherton
-
B
Sutherland–Hodgman
-
C
Cohen–Sutherland
Correct answer
-
D
Liang–Barsky
-
A
2 × 2
-
B
3 × 3
Correct answer
-
C
2 × 3
-
D
4 × 4
-
A
RGB
-
B
HSV
-
C
YUV
-
D
CMYK
Correct answer
-
A
Fill polygons with gradient colours
-
B
Compress images for faster display
-
C
Draw lines using only integer arithmetic
Correct answer
-
D
Remove hidden surfaces in 3D scenes
-
A
Bias rises and variance falls
-
B
Both bias and variance fall
-
C
Both bias and variance rise
-
D
Bias falls and variance rises
Correct answer
-
A
Feature scaling
-
B
Clustering
Correct answer
-
C
Regression
-
D
Classification
-
A
Hold a conversation indistinguishable from a human's
Correct answer
-
B
Recognise faces more accurately than people
-
C
Solve mathematical problems faster than humans
-
D
Learn to play chess without being programmed
-
A
Association rule mining
-
B
Unsupervised learning
-
C
Supervised learning
Correct answer
-
D
Reinforcement learning
-
A
@media (max-width: 768px)
Correct answer
-
B
@media (max-height: 768px)
-
C
@media (min-width: 768px)
-
D
@media (min-height: 768px)
-
A
vmin
-
B
ch
-
C
rem
Correct answer
-
D
em
-
A
align-content
-
B
justify-content
Correct answer
-
C
flex-direction
-
D
align-items