Question
From a point on circular track 20 km long P, Q and R
started running in the same direction at the same time with speed of 4 km per hour, 2 km per hour, 10 km per hour respectively. At what time they will meet again on the starting pointSolution
Distance = 20 km Speed of A = 4 km per hour Speed of B = 2 km per hour Speed of C = 10 km per hour Time = Distance/speed Time taken by A = 20/4 hours = 5 hours Time taken by B = 20/2 hours = 10 hours Time taken by C = 20/10 hours = 2 hours The required time = LCM of 5, 10, 2 = 10 ∴ All three will meet again at starting point after 10 hours
What is the primary output of the parsing phase in a compiler?
In LR parsing, what does the term "shift" mean?
Which of the following is an example of a "local optimization"?
Multithreading an interactive program will increase responsiveness to the user by ___________
Which code optimization technique replaces occurrences of a variable with its constant value if the variable has been assigned a constant value that is ...
Which storage class in C indicates that a variable's lifetime is throughout the program execution and its scope is local to the block it is defined in, ...
Which of the following techniques is used to ensure that a database design eliminates redundant data?
In a Syntax-Directed Definition (SDD), attributes are associated with:
Which of the following is NOT a common form of 3-address code?
What will be the output of the following C code?
#include
int main() {
int i;
for (i = 0; i < 5; i++) {
<...