Explore topic-wise MCQs in Javascript.

This section includes 78 Mcqs, each offering curated multiple-choice questions to sharpen your Javascript knowledge and support exam preparation. Choose a topic below to get started.

51.

_What are the three important manipulations done in a for loop on a loop variable?$?

A. Updation, Incrementation, Initialization
B. Initialization,Testing, Updation
C. Testing, Updation, Testing
D. Initialization,Testing, Incrementation
Answer» C. Testing, Updation, Testing
52.

_What is the purpose of the Block tab?$?

A. To block the response
B. To block the request
C. To block the mouse pointer
D. None of the mentioned
Answer» C. To block the mouse pointer
53.

_Which of the following action is possible in Firebug when used as a JavaScript Debugger and Profiler?$?

A. Pause execution in any line
B. Find Scripts easily
C. Find Scripts easily & also Pause execution in any line
D. None of the mentioned
Answer» D. None of the mentioned
54.

_Which of the following can be used for a deeper analysis of the web page’s performance?$?

A. WebPageTest
B. FireBug
C. YSlow
D. All of the mentioned
Answer» D. All of the mentioned
55.

_Which of following shows a poorer runtime performance for coalescing functionality, using functions, and using objects?$?

A. Firefox unwoundfun
B. Firefox UsingFunct
C. Firefox UsingObject
D. None of the mentioned
Answer» B. Firefox UsingFunct
56.

_Why do Web Developers use Firebug?$?

A. Track cookies
B. Track sessions
C. Both Track cookies and sessions
D. None of the mentioned
Answer» D. None of the mentioned
57.

_What does the application layer handle?$?

A. Top-level communication
B. Bottom-level communication
C. Both Top-level and Bottom-level communication
D. None of the mentioned
Answer» B. Bottom-level communication
58.

_When is an application said to show a runtime performance?$?

A. Speed of response to user
B. Speed of user request
C. All of the mentioned
D. None of the mentioned
Answer» B. Speed of user request
59.

_Which of the following methods adds an arc to the current subpath?$?

A. bezierCurveTo()
B. arcTo()
C. arc()
D. all of the mentioned
Answer» D. all of the mentioned
60.

_What is in-built in the Minify?$?

A. Dynamic compression
B. Static compression
C. Static content
D. None of the mentioned
Answer» C. Static content
61.

_What is the function of a Closure Compiler?$?

A. Originates the JavaScript
B. Compiles the JavaScript
C. Rewrites JavaScript
D. None of the mentioned
Answer» D. None of the mentioned
62.

_What does the handshake pass between the browser and the remote server?$?

A. Synchronize
B. Accept
C. Reject
D. Decline
Answer» B. Accept
63.

Which network allows you to distribute static assets like images, etc??

A. Content Delivery Network
B. Content Receiving Network
C. System Area Network
D. None of the mentioned
Answer» B. Content Receiving Network
64.

Which is the command that is used to spoof the client user agent??

A. setUserAgent
B. spoofAgent
C. spoofClientUserAgent
D. none of the mentioned
Answer» B. spoofAgent
65.

Which of the following property(s) has a default value as false??

A. disableWhenFirebugActive
B. showIconWhenHidden
C. disableXHRListener
D. Both disableWhenFirebugActive & showIconWhenHidden
Answer» D. Both disableWhenFirebugActive & showIconWhenHidden
66.

Initially, YSlow was an extension of which browser??

A. Chrome
B. Firefox
C. IE
D. Opera
Answer» C. IE
67.

Which of following shows a better runtime performance for coalescing functionality, using functions, and using objects??

A. Firefox unwoundfun
B. Firefox UsingFunct
C. Firefox UsingObject
D. None of the mentioned
Answer» C. Firefox UsingObject
68.

Firebug can be used to inspect?

A. HTML
B. CSS
C. DOM
D. All of the mentioned
Answer» E.
69.

When is an application said to show a web performance??

A. Time to respond
B. Time to load
C. Time to send a request
D. All of the mentioned
Answer» C. Time to send a request
70.

Which of the following methods adds and connects the point to the cubic bezier curve?

A. bezierConnect()
B. bezierCurveTo()
C. Connectbezier()
D. none of the mentioned
Answer» C. Connectbezier()
71.

What type of file is YUI Compressor?

A. Binary file
B. JAR file
C. Text file
D. Assembly file
Answer» C. Text file
72.

What is the default value of the property overrideConsole

A. 1
B. true
C. 0
D. false
Answer» C. 0
73.

How can we define the term Performance?

A. Speed of the input take in
B. Speed of the output display
C. Speed at which application functions
D. None of the mentioned
Answer» D. None of the mentioned
74.

What is the purpose of the product Minify?

A. Storing the data
B. Streamlining the data
C. Proxies the JavaScript file
D. All of the mentioned
Answer» D. All of the mentioned
75.

YUI Compressor is analogous to

A. Minify
B. JavaScript
C. Both Minify and JavaScript
D. None of the mentioned
Answer» B. JavaScript
76.

How do we define the term Thread?

A. Device that controls input
B. Variable that controls movement
C. Controlled execution of applications
D. All of the mentioned
Answer» D. All of the mentioned
77.

What is the return type of the script tag?

A. File I/O
B. Minify JavaScript
C. HTTP Request
D. Gzip encoded
Answer» D. Gzip encoded
78.

What does the Minify return back to the Script tag?

A. File I/O
B. Minify JavaScript
C. HTTP Request
D. Gzip encoded
E. The Minify sends back the gzip encoded back to the Script tag.
Answer» E. The Minify sends back the gzip encoded back to the Script tag.