Showing 1–10 of 17 questions
in Amazon Questions
Read the passage and answer: 'Amazon's supply chain relies on predictive analytics to forecast demand. This AI-driven approach reduces inventory costs and improves delivery times.' Which statement best captures the main idea?
A
Amazon uses artificial intelligence only for cost reduction
B
Predictive analytics helps Amazon forecast demand, reduce costs, and improve delivery efficiency
C
Amazon's supply chain is entirely automated
D
Inventory management is the primary focus of Amazon's strategy
Correct Answer:
B. Predictive analytics helps Amazon forecast demand, reduce costs, and improve delivery efficiency
EXPLANATION
The passage states that AI-driven predictive analytics serves three purposes: forecasting demand, reducing inventory costs, and improving delivery times. Option B accurately captures all these points.
Which of the following words is closest in meaning to 'CANDID'?
A
Deceptive
B
Frank
C
Artificial
D
Reserved
EXPLANATION
CANDID means honest, frank, and straightforward. Frank (option B) is a direct synonym meaning honest and open.
If a train travels 240 km in 4 hours and then 180 km in 3 hours, what is its average speed for the entire journey?
A
50 km/h
B
55 km/h
C
60 km/h
D
65 km/h
Correct Answer:
C. 60 km/h
EXPLANATION
Total distance = 240 + 180 = 420 km. Total time = 4 + 3 = 7 hours. Average speed = 420/7 = 60 km/h.
What does the SELECT * query do in SQL?
A
Selects the first row
B
Selects all columns from all rows
C
Selects only the primary key
D
Deletes all data
Correct Answer:
B. Selects all columns from all rows
EXPLANATION
SELECT * retrieves all columns and rows from a table. * is a wildcard meaning 'all columns'.
Which protocol is used for secure data transmission over the internet?
A
HTTP
B
HTTPS
C
FTP
D
SMTP
EXPLANATION
HTTPS (HTTP Secure) encrypts data in transit using SSL/TLS. Other protocols lack this encryption.
What is the purpose of the 'try-catch' block in Java?
A
To improve code performance
B
To handle exceptions gracefully
C
To declare variables
D
To create loops
Correct Answer:
B. To handle exceptions gracefully
EXPLANATION
try-catch blocks allow you to handle exceptions without crashing the program, providing graceful error handling.
Which of the following is NOT a principle of object-oriented programming?
A
Inheritance
B
Encapsulation
C
Polymorphism
D
Materialization
Correct Answer:
D. Materialization
EXPLANATION
The four OOP principles are Inheritance, Encapsulation, Polymorphism, and Abstraction. 'Materialization' is not an OOP principle.
Which design pattern is used when you want to ensure a class has only one instance?
A
Factory Pattern
B
Singleton Pattern
C
Builder Pattern
D
Observer Pattern
Correct Answer:
B. Singleton Pattern
EXPLANATION
Singleton Pattern restricts a class to have only one instance and provides a global access point to it.
In the context of REST APIs, what does POST primarily do?
A
Retrieve data
B
Create new resources
C
Update existing resources
D
Delete resources
Correct Answer:
B. Create new resources
EXPLANATION
POST method is used to create new resources on the server. GET retrieves, PUT/PATCH updates, DELETE removes.
What does the idiom 'break the ice' mean?
A
To literally break ice
B
To initiate conversation in a social setting
C
To make something cold
D
To surprise someone
Correct Answer:
B. To initiate conversation in a social setting
EXPLANATION
'Break the ice' idiomatically means to initiate conversation or ease tension in a social situation.