Shubham WD Final Assessment Test
Shubham WD Final Assessment Test
D
M
Total Questions - 50 Score - (39 / 50) 78%
A
J 2) What will happen when height and width of the video is not set while video loads? 1M
D A) Page crash
B) Page does not load
R
C) Page filckers
J
D) none of the above
C
3) In HTML Audio/Video DOM, __________ returns a TimeRanges object representing the buffered parts of the audio/video
A) preload 1M
F
B) network state
R
C) buffered
D) controller
5) Which of the following property sets the shadow for a box element?
A) shadow 1M
B) set-shadow
C) shadow-box
D) box-shadow
10) if the flow of the gradient is from botom to top the what is the value of the direction parameter in
linear-gradient().
A) to top 0M
https://wingz.itvedant.com/index.php/assignment-test-student/exam-view-topic?id=7912 1/7
3/10/24, 11:40 AM WD Final Assessment Test
D 11) The webpage layout in which width and height of the html elements are specified in percentage is
called as ....
M A) static 1M
B) fluid
A C) adaptive
D) responsive
A
12) what is the in general value given to initial-scale attribute of the meta tag view port. 1M
A) 1.0
I B) 2.0
Q
C) 3.0
D) 4.0
J
D
13) Which of the following class in Bootstrap is used to provide a responsive fixed width container?
A) .container-fixed 1M
R
J
B) .container-fluid
C) .container
C D) none of above
F
14) How many columns are allowed in bootstrap grid system? 1M
A) 16
R B) 12
C) 24
D) All of above
A) No output 1M
B) compile error
C) //comments
D) None of the above
A) True 0M
B) False
C) -
D) -
https://wingz.itvedant.com/index.php/assignment-test-student/exam-view-topic?id=7912 2/7
3/10/24, 11:40 AM WD Final Assessment Test
M 22)
Hoisting is a mechanism in JavaScript where variables and function declarations are moved
A __________________ their scope before code execution.
A) to the right side of 1M
A B) to the bottom of
C) to the top of
D) to the left side of
I
Q
23)
Hoisting is a mechanism in JavaScript where variables and function declarations are moved
J
D __________________ their scope before code execution.
A) to the right side of 1M
R B) to the bottom of
J C) to the top of
D) to the left side of
C
24) If the expression evaluate TRUE in IF-ELSE Statement in JavaScript, then ___________ 1M
F A) Compile error will be thrown
B) controller will be passed to the next statement
R C) statement will be executed.
D) None of the above
25) State whether the following is the right syntax for IF-ELSE statement
IF expression THEN
statements;
ELSE
if-statements;
END IF;
A) True 0M
B) False
C) -
D) -
26) State whether following is the right syntax for the IF-ELSEIF-ELSE statement
IF expression THEN
statements;
elseif-statements;
...
ELSE
else-statements;
END IF;
A) True 1M
B) False
C) -
D) -
27) What among the following is an appropriate event handler for input text among the below options ?
A) onclick 0M
B) onchange
C) onkeyup
D) onblur
https://wingz.itvedant.com/index.php/assignment-test-student/exam-view-topic?id=7912 3/7
3/10/24, 11:40 AM WD Final Assessment Test
28)
A
A) document.register.name.value 1M
B) document.getElementById ("name").value
A C) document.getElementByName ("name").value
D) None of the above
I
Q
29) What is the purpose of the NamedNodeMap object?
A) Unordered collection of arrays 1M
J B) Unordered collection of elements
D C) Unordered collection of nodes
D) Unordered collection of attributes
R
J 30) The W3C DOM standard is separated into _____ different parts
A) 1 1M
C B) 2
C) 3
F
D) 4
32) Which of the following display property value is described by treats the element as inline?
A) block 0M
B) inline
C) list-item
D) inline-block
35)
What will be the output of the following JavaScript code?
function info()
{
var a=1;
var b=2;
return a*b;
}
document.write(info());
A) 1 1M
B) 2
C) 3
D) error
36)
https://wingz.itvedant.com/index.php/assignment-test-student/exam-view-topic?id=7912 4/7
3/10/24, 11:40 AM WD Final Assessment Test
function demo(javascript)
{
return (javascript ? “yes” : “no”);
}
bool ans=true;
D console.log(demo(ans));
A) Compilation error 1M
M B) Runtime error
C) Yes
A
D) No
39)
For displaying data in JavaScript, we cant use ____________ 0M
A) document.write()
B) console.log()
C) innerHTML
D) document.getElementById()
43) Which is the function that calls another function after a time interval?
A) setTimeout() 1M
D B) setTime()
C) callafter()
M D) timeSet()
R
47) Which JavaScript keyword is used to declare a variable? 1M
A) Var
B) var
C) Let
D) All of the above
for (i=0;i<msgs.length;i++){
</script>
49)
Variable declared is example of ___________ Variable.
function message() {
var name = "Bench";
alert(name);
}
A) Local 1M
B) Global
C) Semi-global
D) None of the above
50)
what will be the output of the below code?
num1=5;
function cal() {
num1=10;
num2=5;
num3=num2*num1;
https://wingz.itvedant.com/index.php/assignment-test-student/exam-view-topic?id=7912 6/7
3/10/24, 11:40 AM WD Final Assessment Test
console.log(num3);
}
cal();
A) 25 1M
D B) 50
C) 100
M
D) Error cannot have more than one variable with same name
A
A
I
Q
J
D
R
J
C
F
R
https://wingz.itvedant.com/index.php/assignment-test-student/exam-view-topic?id=7912 7/7