Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : APPLICATION DEVELOPMENT
LAB (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
LAB (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
A network monitoring system records the packet loss percentage of a router every minute. During a congestion event, the packet loss first increases and after reaching a peak it decreases as the network stabilizes.
Thus the array
of packet loss values is bitonic (strictly increasing followed by strictly decreasing).
The administrator wants to detect the minute when packet loss was maximum using an O(log n) algorithm based on binary search.
Suppose we examine the middle element
.
Let,
(left neighbor)
(right neighbor)
Which of the following facts allow us to correctly narrow the search space?
Thus the array
The administrator wants to detect the minute when packet loss was maximum using an O(log n) algorithm based on binary search.
Suppose we examine the middle element
Let,
Which of the following facts allow us to correctly narrow the search space?
Solution
Solution
Consider the following code snippet running in a browser. What will be the output on the console?

Solution
Consider the following code snippet running on a browser. What is the output on the console?

Solution
A developer runs the following commands starting from main. Which diagram correctly shows the repository's branch structure afterwards?

Solution
Consider the below code:

What will be the output of the above program, if executed?
What will be the output of the above program, if executed?
Solution
Consider the below code:

What happens when a request is made to “/”?
What happens when a request is made to “/”?
Solution
Consider the following relation Employee of a Company

Which of the following options is correct?
Which of the following options is correct?
Solution
Consider the below code:

What will the above code fetch?
What will the above code fetch?
Solution
Consider the middleware.

What does the above middleware do?
What does the above middleware do?
Solution
Consider this repository structure and the .gitignore file shown below.


Which files will not be tracked by Git?
Which files will not be tracked by Git?
Solution
Consider the following relation Orders:

Which of the following option(s) is/are correct?
Which of the following option(s) is/are correct?
Solution
What is the primary purpose of Node.js?
Solution
Consider the below code:

Which of the following HTTP methods will trigger this route?
Which of the following HTTP methods will trigger this route?
Solution
Consider the below code:

What does the create() do?
What does the create() do?
Solution
Which of the following statements about JWT are true?
Solution
Shape
Thickness [ / ]
3
All colors