Showing 1–10 of 23 questions
in IBM Questions
Select the word that best completes the analogy: Ephemeral is to Permanent as Verbose is to ____
A
Talkative
B
Concise
C
Silent
D
Articulate
Correct Answer:
B. Concise
EXPLANATION
Ephemeral (short-lived) is opposite to Permanent (long-lasting). Similarly, Verbose (using many words) is opposite to Concise (using few words). The analogy requires antonyms.
In a logical sequence: 2, 6, 12, 20, 30, ?, what is the next number?
EXPLANATION
The pattern is n(n+1) where n = 1,2,3,4,5,6... First term: 1×2=2, Second: 2×3=6, Third: 3×4=12, Fourth: 4×5=20, Fifth: 5×6=30, Sixth: 6×7=42.
A train travels from City A to City B at 60 km/h and returns at 40 km/h. If the total journey time is 10 hours, what is the distance between the two cities?
A
240 km
B
300 km
C
360 km
D
420 km
Correct Answer:
A. 240 km
EXPLANATION
Let distance = d. Time = Distance/Speed. Going: d/60, Returning: d/40. Total: d/60 + d/40 = 10. Taking LCM: (2d + 3d)/120 = 10, so 5d/120 = 10, therefore d = 240 km.
If the probability of an event A is 0.4 and event B is 0.3, what is the probability of both A and B occurring (assuming independence)?
A
0.7
B
0.12
C
0.1
D
0.35
EXPLANATION
For independent events: P(A and B) = P(A) × P(B) = 0.4 × 0.3 = 0.12
In the context of cybersecurity, what is a firewall?
A
Software that deletes viruses
B
A security system that monitors and controls incoming and outgoing network traffic
C
A type of encryption algorithm
D
A backup system for data
Correct Answer:
B. A security system that monitors and controls incoming and outgoing network traffic
EXPLANATION
A firewall is a security barrier that filters network traffic based on predetermined rules to protect systems from unauthorized access
What is the main purpose of agile methodology in software development?
A
To eliminate all bugs before release
B
To deliver software incrementally with continuous feedback and adaptation
C
To reduce the number of developers needed
D
To eliminate the need for testing
Correct Answer:
B. To deliver software incrementally with continuous feedback and adaptation
EXPLANATION
Agile methodology emphasizes iterative development, continuous feedback, and adaptability rather than fixed lengthy development cycles
What is normalization in database design?
A
Converting data to uppercase
B
Reducing data redundancy and improving data integrity
C
Making all tables have the same structure
D
Splitting one database into multiple databases
Correct Answer:
B. Reducing data redundancy and improving data integrity
EXPLANATION
Normalization is the process of organizing data to reduce redundancy and dependency, improving database integrity
What is the primary difference between ArrayList and LinkedList in Java?
A
ArrayList is faster for random access; LinkedList is faster for insertion/deletion
B
LinkedList is faster for random access; ArrayList is faster for insertion/deletion
C
They have identical performance
D
ArrayList can only store integers
Correct Answer:
A. ArrayList is faster for random access; LinkedList is faster for insertion/deletion
EXPLANATION
ArrayList uses arrays (O(1) random access) while LinkedList uses nodes (O(n) random access but O(1) insertion/deletion at ends)
Which of the following is NOT a characteristic of Cloud Computing?
A
On-demand self-service
B
Broad network access
C
Physical hardware always on-premises
D
Rapid elasticity
Correct Answer:
C. Physical hardware always on-premises
EXPLANATION
Cloud computing is characterized by remote resources, not physical hardware on-premises. All others are cloud characteristics
What is polymorphism in OOP?
A
Using multiple classes in one program
B
The ability of objects to take multiple forms
C
Creating multiple instances of the same class
D
Inheriting from multiple parent classes
Correct Answer:
B. The ability of objects to take multiple forms
EXPLANATION
Polymorphism allows objects to take multiple forms - same method name can behave differently in different contexts (method overriding, overloading)