Skip to content

Instantly share code, notes, and snippets.

-------------------------------- MCQ ---------------------------------------
Ques 1: What is an activity in android?
a)android class
b)android package
c)A single screen in an application with supporting java code
d)None of the above
Ans: c
Ques 1: What are 2 native functions to run code asynchronously in JavaScript ?
a)timeout
b)setTimeout
c)startInterval
d)setInterval
Ans: b & c
Ques 2: What is the function to stop an interval timer?
a)stopTimer
Q 1)
SheetDB is an array of what dimension?
a. 1-D
b. 2-D
c. 3-D
d. 4-D
ans: b
Q 2 SheetDB contains contains another sub-array which further contains JS objects to store all the properties.
Q 1) Which is predifined function to evaluate any logical expression?
a. eval()
b. evaluate()
c. solve()
d. getval()
Ans: a
Q 2) Function to divide any string based on some value in string?
a. divide()
Q 1) What does true signifies in visited array?
a. it is not visited
b. it is visited
c. it will be visited next
d. it was last visited
ans: b
Q 2) Can the graph be disconnected?
a. true
Q1 We have used Depth First Traversal in the cycle Validation?
A) True
B) False
Ans A
Q2 We have used which array to store whether we have visited any node or not in any particular row?
A) visited[]
B) dfsVisited[]
c) visitedRow[]
d) dfsVisitedRow[]
Q 1
What have we used to prevent the overflowing of the sheets added in the sheets container?
a) scrollintoview();
b) scrollIntoView();
c) scrollTo();
d) scrollto();
Ans: b
Q2
Q 1
If we have reference of any cell in variables lets say, "cell" then how can we automatically click on that cell?
a) cell.click;
b) cell.click();
c) cell.Click;
d) cell.Click();
Ans: b
Q2
<<<<<<<<<2.4>>>>>>>>>>>
<<<<<<MCQ>>>>>>>>
Ques 1: Which object is passed as the argument to handlers for keydown, keyup, and keypress events?
A.KeyboardEvent
B.Key Event
C.Mouse Event
D.Alphabet Event
Ans: a
<2.3>
<MCQ>
Ques 1: Which of the following is not a DOM Mouse Event?
a)onmouseup
b)ondblclick
c)onmouseeneter
d)oninit