ExamVeda
Login
Home
11
How can we define the term Performance?
Discuss
Answer & Solution
Answer: Option C
Solution:
Performance refers to the speed at which an application functions. It is a multifaceted aspect of quality.
12
When is an application said to show a web performance?
Discuss
Answer & Solution
Answer: Option B
Solution:
When we’re talking about web applications, the time it takes your application to be presented to your users is what we will call web performance.
13
When is an application said to show a runtime performance?
Discuss
Answer & Solution
Answer: Option A
Solution:
The speed at which your application responds to your users’ interactions is what we’ll call runtime performance.
14
What does the span of time waiting for the page to be useful depend on?
Discuss
Answer & Solution
Answer: Option B
Solution:
The span of time that you are waiting for the page to be usable depends on web performance.
15
What is the advantage of the code produced graphics being smaller than the images themselves?
Discuss
Answer & Solution
Answer: Option A
Solution:
The code used to produce graphics on the client side is typically much smaller than the images themselves, creating a substantial bandwidth savings.
16
In order to skip or seek to a desired location in a sound or video, which property becomes helpful?
Discuss
Answer & Solution
Answer: Option B
Solution:
In addition to starting and stopping sound and video, you can skip (or “seek”) to a desired location within the media by setting the currentTime property.
17
Which of following shows a better runtime performance for coalescing functionality, using functions, and using objects?
Discuss
Answer & Solution
Answer: Option B
Solution:
When we compare the runtime performance for coalescing functionality, using functions, and using objects, the Firefox UsingFunct shows a better performance.
18
Which of following shows a poorer runtime performance for coalescing functionality, using functions, and using objects?
Discuss
Answer & Solution
Answer: Option A
Solution:
When we compare the runtime performance for coalescing functionality, using functions, and using objects, the Firefox UsingFunct shows a poorer performance.
19
In how many modes can the Closure compiler be run?
Discuss
Answer & Solution
Answer: Option A
Solution:
Closure Compiler can be run in either of two modes:
1. In Simple mode it mostly performs like most other minifiers, removing whitespace, line breaks, and comments 2. In Advanced mode it rewrites the JavaScript by renaming variables and functions from longer descriptive names to single letters to save file size, and it inlines functions, coalescing them into single functions wherever it determines that it can
20
What is the purpose of the advanced mode in the Closure compiler?
Discuss
Answer & Solution
Answer: Option B
Solution:
In Advanced mode, the Closure Compiler rewrites the JavaScript by renaming variables and functions from longer descriptive names to single letters to save file size, and it inlines functions, coalescing them into single functions wherever it determines that it can.