Question
A boat travels 600 metres against the stream in 20
seconds and returns the same distance with the stream in 15 seconds. Determine the speed of the boat in still water.Solution
ATQ,
Speed of boat in upstream = (600 / 20) = 30 m/s
Speed of boat in downstream = (600 / 15) = 40 m/s
Speed of the boat in still water = [(30 + 40) / 2] = 35 m/s
In a machine learning experiment, the company wants to predict future sales based on advertising spend. What is the dependent variable in this scenario?
What does the following list comprehension produce?
result = [x**2 for x in range(5) if x % 2 == 0]
print(result)
Which of the following best explains the role of an independent variable in data analysis?
A data analyst is assessing a dataset with inconsistent categorical entries, such as "USA," "U.S.A," "United States," and "US" for the country field. Wh...
A disk scheduling system receives requests for the following cylinders: 98, 183, 37, 122, 14, 124, 65, 67. If the current position of the disk head is a...
Which of the following techniques is used to evaluate a postfix expression efficiently?
Which of the following best describes the seasonal component in time series data?
In SQL, which of the following best describes the role of a subquery within a SELECT statement?
Which of the following best illustrates the use of trend analysis in marketing?
Consider the following code snippet. What is the output of the program?Â
#include < stdio.h >
int main ( ) {
  int arr[5] = {1...