Professional Documents
Culture Documents
MCQ Set 3
MCQ Set 3
2) Vikas sees a thief at a distance of 80 m. He starts running after the thief who
is running at a speed of 5 m/s. Vikas is chasing him at a speed of 7 m/s. How
much distance does the thief cover before Vikas catches him?
a. 130 m
b. 50 m
c. 100 m
d. 200 m
a. 4 years
b. 1 year
c. 2 years
d. 3 years
a. 6 minutes
b. 8 minutes
c. 10 minutes
d. 4 minutes
5) A river flows at a speed of 6 km/hr. John swims downstream for some
distance in just 12 hours. But he takes 18 hours to return the same distance
upstream. How fast is John in still water?
a. 30 km/hr
b. 24 km/hr
c. 12 km/hr
d. 36 km/hr
6) A room has 6 yellow, 4 green, 2 gray and 3 purple sticks. When 2 sticks are
picked randomly, what is the probability that either both are gray or both are
purple?
a. 4/105
b. 1/35
c. 1/105
d. 1/15
a. 3 km/hr
b. 8 km/hr
c. 11 km/hr
d. 16 km/hr
8) Part of a pole broke and fell on the ground. The pole however does not fall
completely and is still attached to its breaking point. The pole top touches the
ground at a point 10m from the root of the pole, making an angle of 30°. What is
the length of the pole?
a. 103 m
b. 10/3 m
c. (2 - 1)/10 m
d. 10/2 m
10) In how many ways can we arrange the word ‘BUZZFONE’ so that all the
vowels come together?
a. 1440
b. 6
c. 2160
d. 4320
SECTION B
a. The PRIMARY KEY uniquely identifies each record in a SQL database table
b. Primary key can be made based on multiple columns
c. Primary key field allows having multiple records with NULL value in the field.
d. Primary keys must contain UNIQUE values.
13) To search for a specified pattern in a column, the keyword used in SQL is:
a. MATCH
b. LIKE
c. PATTERN
d. SEARCH
a. <body style="background-color:yellow;”>
b. <background color=”yellow”></background>
c. <body bg=”yellow”></body>
d. <body color=”yellow”></body>
15) If we want to wrap a block of text around an image, which css property will we use on
the image ?
a. wrap
b. push
c. float
d. align-items
19) Which tag can be used to insert a horizontal line on a web page?
a. < hr>
b. < br>
c. < line>
d. < line direction = “horizontal”>
20) Which of the following is the correct syntax to display "Hello" in an alert box using
JavaScript?
a. alert-box("Hello");
b. confirm("Hello");
c. msgbox("Hello");
d. alert("Hello");
a. Yes, it provides try, catch as well as throw key word for exception handling
c. Yes, but it provides only Try catch block, but does not allow throw exception
d. No
24) Which data structure is mainly used for implementing the recursive algorithm?
a. Queue
b. Stack
c. Binary tree
d. Linked list
25) Which of the following data structure is based on the principle of “First In First Out”:
a. Linear Array
b. Circular Array
c. Queue
d. Stack