- Home
- MCQs by exam
- NTS
- Computer Science MCQs
NTS MCQs – Computer Science MCQs · Page 18
455 multiple choice questions typical of the NTS exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
order
-
B
float
-
C
position
-
D
z-index
Correct answer
-
A
"Hi"
Correct answer
-
B
"!"
-
C
"Hi!"
-
D
null
-
A
Iterable
-
B
AutoCloseable
Correct answer
-
C
Runnable
-
D
Serializable
-
A
16 bits
Correct answer
-
B
32 bits
-
C
4 bits
-
D
8 bits
-
A
Method overloading
-
B
Method overriding
Correct answer
-
C
Abstraction
-
D
Encapsulation
-
A
private static void main(String[] args)
-
B
public void main(String[] args)
-
C
public static void main(String[] args)
Correct answer
-
D
public static int main(String[] args)
-
A
SharedPreferences
Correct answer
-
B
External storage
-
C
Room database
-
D
Content Provider
-
A
gNodeB
-
B
NodeB
-
C
eNodeB
Correct answer
-
D
BTS
-
A
Cellular voice calls across national networks
-
B
Low-power short-range links for wearables
Correct answer
-
C
Wired fast charging of mobile devices
-
D
High-speed video streaming over long distances
-
A
onResume()
-
B
onRestart()
-
C
onStart()
-
D
onCreate()
Correct answer
-
A
Spear phishing
Correct answer
-
B
Smishing
-
C
Vishing
-
D
Clone phishing
-
A
Hiding database error messages from users
-
B
Encrypting database backups every night
-
C
Locking accounts after three failed logins
-
D
Parameterised queries (prepared statements)
Correct answer
-
A
Switch
Correct answer
-
B
Router
-
C
Repeater
-
D
Hub
-
A
ICMP
-
B
DHCP
-
C
DNS
-
D
ARP
Correct answer
-
A
30
-
B
64
-
C
126
-
D
62
Correct answer
-
A
absolute
Correct answer
-
B
sticky
-
C
relative
-
D
static
-
A
250px
Correct answer
-
B
200px
-
C
240px
-
D
225px
-
A
#nav
Correct answer
-
B
.nav
-
C
nav a
-
D
.nav a
-
A
Queue<T>
-
B
LinkedList<T>
-
C
List<KeyValuePair<K, V>>
-
D
Dictionary<TKey, TValue>
Correct answer
-
A
Native machine code
-
B
LLVM IR
-
C
CIL (MSIL)
Correct answer
-
D
Java bytecode
-
A
lock
-
B
checked
-
C
using
Correct answer
-
D
fixed
-
A
Unchecked exceptions such as NullPointerException
-
B
Checked exceptions such as IOException
Correct answer
-
C
Errors such as OutOfMemoryError
-
D
Runtime exceptions such as ArithmeticException
-
A
Vector
-
B
ArrayList
-
C
HashSet
Correct answer
-
D
LinkedList
-
A
false
Correct answer
-
B
true
-
C
A runtime exception
-
D
A compile-time error
-
A
volatile
-
B
transient
-
C
abstract
-
D
final
Correct answer