Question
A boat takes 28 hours for travelling downstream from
point A to point B and coming back to point C midway between A and B. If the velocity of the stream is 6km/hr and the speed of the boat in still water is 9 km/hr, what is the distance between A and B?ÂSolution
Downstream speed = 9+6 = 15 Upstream speed = 9-6 = 3 Now total time is 28 hours If distance between A and B is d, then distance BC = d/2 Now distance/speed = time, so d/15 + (d/2)/3= 28 Solve, d = 120 km
What is the primary purpose of the UNION ALL operator in SQL?
Consider the following Python code:
text = "banana"
char_to_find = 'a'
count = 0
for i in range(len(text)):
  if ...
A C function attempts to copy a substring.
#include
#include
#include
char* copy_substring(c...
Which SQL command is primarily used to retrieve records from a database table?
What is the primary characteristic of the Spiral Model in software development?
Which architecture is used in modern NLP tasks like BERT and GPT?
Which functional dependency does not holds in given relation and why?
Which of the following data structures follows the Last-In, First-Out (LIFO) principle?
In Big Data architecture, which component is responsible for real-time data streaming?
In dimensional modeling, what is a fact table?