CS202 MID TERM SOLVED MCQs || PAST PAPERS || GROUP-1 || FUNDAMENTALS OF FRONT END DEVELOPMENT || VuTech
Visit Website For More Solutions
www.vutechofficial.blogspot.com
CS202
Fundamentals of Front End Development
Solved Mid Term Past Papers
______________________________
MCQs
______________________________
Group-1
Question No: 1
In Javascript, = sign is used to ______________ .
a) Compare Numbers
b) Increment values of variables
c) Decrement values of variables
d) Assign values to variables
Correct Answer:
The correct answer is 'd'.
Question No: 2
Which of the following function is used to remove last element of the array?
a) Push()
b) Delete()
c) Pop()
d) Shift()
Correct Answer:
The correct answer is 'c'.
Question No: 3
In Javascript, identifiers are ________ , used to identify variables.
a) Unique Numbers
b) Unique Names
c) Strings
d) Numbers
Correct Answer:
The correct answer is 'b'.
Visit Website For More Solutions
www.vutechofficial.blogspot.com
Question No: 4
Associative arrays are also called _________ .
a) Hashes
b) Smashes
c) Slashes
d) Mashes
Correct Answer:
The correct answer is 'a'.
Question No: 5
What value will be returned by the following JavaScript function?
Math.min(2.2, 3.2, 4.2, -5.2)
a) 2.2
b) 3.2
c) 4.2
d) -5.2
Correct Answer:
The correct answer is 'd'.
Visit Website For More Solutions
www.vutechofficial.blogspot.com
Question No: 6
What value will be returned by the following JavaScript function?
Math.ceil(7.4)
a) 4
b) 7
c) 8
d) 7.4
Correct Answer:
The correct answer is 'c'.
Question No: 7
What value will be returned by the following JavaScript function?
parseInt("30 40 50")
a) 30
b) 40
c) 50
d) None
Correct Answer:
The correct answer is 'a'.
Question No: 8
What is the default position of the elements in HTML?
a) Fixed
b) Static
c) Absolute
d) Relative
Correct Answer:
The correct answer is 'b'.
Visit Website For More Solutions
www.vutechofficial.blogspot.com
Question No: 9
Which of the following value will JavaScript return if we calculate a number outside the largest possible number?
a) Infinity
b) Invalid
c) Exceeded
d) Out of Range
Correct Answer:
The correct answer is 'a'.
Question No: 10
What will be the value in variable x after executing following JavaScript code statement?
var x = "Hello" + 5;
a) It will give error
b) 5 Hello
c) None of the above
d) Hello5
Correct Answer: