0% found this document useful (0 votes)
2 views

Javascript FIB ANS key

Uploaded by

Rupali Tidke
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Javascript FIB ANS key

Uploaded by

Rupali Tidke
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

1. An ....

Is an object that can store


a collection of an item.ANS:Array
2. JavaScript has several ........ or
core language object.ANS:Built -in
3. ..... Object is used to store
and manipulate the text.
ANS: String
4. ...... Are the action done by the user
or application.
Ans:Event
5. A JavaScript object is an entity
having state and ..…
Ans:behaviour
6. XML stands for. …
Ans: Extended Markup language
7. ..... Method of DOM object is the way
of accessing form elements.

Ans:getElementById
8. In JavaScript, properties and
methods of object are accessed with
operator.
Ans: ‘.’ [period]
9. The .... Keyword is used to create
user defined object in JS.
Ans:new
10. ..... Statement of JS is used to jump out
of the loop.
Ans:break.
11. In switch case statement,the value
for the case must be of similar .... as
the variable.

Ans:datatype
12. Server Side scripting language is
used for ..... Applications where code is
not visible.
Ans:backend
13. Ruby is the example of ..... Side
scripting language.
Ans: server side
14. For loop combines ...... , ...... And.....in
single statement.
Ans: initialization, condition and loop
iteration
15. When keyword ....Is encountered
inside the loop,Control automatically
passes to the next statement after the
loop.

Ans: break
16. To skip the statement block and
take control at the beginning for next
iteration.
Ans: continue
17. In For loop....... Means increment
or decrement value os running
variable.
Ans:loop iteration
18. ..... Method of Window object
displays dialog box to get input from
the user.
Ans: prompt()
19. ..... Event occurs when image has
been loaded.
Ans:onload
20. String object is used to store....Or
more characters of text within single
or double quotes.
Ans: zero
21. An .... Is the special variable that
can hold more than 1 value at a time.
Ans:array
22. The index of first element of an array is
..…
ans: zero
23. ...... Math object method returns any
number between 0 and 1.
ans:random()
24. To join 2 or more array elements .....
Method is used.
Ans:concat()
25. To add new element in array.....Method
and to remove .... Method is used.
Ans:push(),pop()
26. ParseInt(10.23abc) will returns ...…
ans:10
27. An object of window is
created automatically by .…
ans: the broswer
28. Window objet is ..... Object of all
other object
ans:parent
29. SetTimeout() calls a function
after specified number of ...…
ans:miliseconds
30. ..... Method of array, calls a function for
each array element.
Ans: forEach()
31. JS provide...... Multiway
decision statement.
ANS: switch
32. ...... Is a programming interface for
HTML and XML.
Ans:DOM
33. To return the largest minimum value
in JavaScript .... Property of number
object used used.
Ans:MIN_VALUE
34. ..... Math object method returns the base
to the exponent power.
Ans:pow()
35. ....... Helps to work with numbers.
Ans: number object
36. For today date, getDay() will return .…
ans:day of week
37. getTime() Method of date object
will return the number of milliseconds
since midnight........…

ans: jan 1, 1970


38. ..... Event occurs when form
is submitted.
Ans: onsubmit
39. In JS Event are handled using ...…
ans: event handler
40. ..... are the named memory location
that contains data.

Ans: variable
41. In JS functions are called in....Section
of HTML5.
Ans: head
42. In JavaScript it is best practice to use ..

ans:semicolon[;]
Symbol at end of every statement.
43. ..... Attribute of <script> tag in HTML 5
is replaced by type attribute.

Ans: language
44. A .... is the collection of JavaScript
code that performs a specific task
ans:function()
45. ParseFloat(Ab10.5)Method of number
object will returns ...…
ans: NaN

You might also like