Fundamentals of Front End Development MCQs with Answers
Practice important Fundamentals of Front End Development MCQs with answers and explanations.
Multiple Choice Questions
Q1611: Fill in the blank: The code localStorage.lastname = "Adeel"; is used to ______.
- A: Retrieve data
- B: Store data
- C: Remove data
- D: Check data
View Answer
B
Q1612: What is the main purpose of HTML5 Application Cache?
- A: To increase server load
- B: To enable offline browsing
- C: To improve server speed
- D: To store data in cookies
View Answer
B
Q1613: Which attribute must be added to the <html> tag to enable application cache?
- A: cache
- B: manifest
- C: appcache
- D: offline
View Answer
B
Q1614: What is the recommended file extension for a manifest file?
- A: .html
- B: .cache
- C: .manifest
- D: .appcache
View Answer
D
Q1615: Which section of the manifest file lists files that should be cached?
- A: NETWORK
- B: CACHE MANIFEST
- C: FALLBACK
- D: UPDATE
View Answer
B
Q1616: What is the purpose of the NETWORK section in a manifest file?
- A: List files to be cached
- B: Specify files that should never be cached
- C: Provide fallback pages
- D: Update cached files
View Answer
B
Q1617: Fill in the blank: The ______ section of the manifest file specifies fallback pages if a page is inaccessible.
- A: CACHE MANIFEST
- B: NETWORK
- C: FALLBACK
- D: UPDATE
View Answer
C
Q1618: Fill in the blank: The first line of a manifest file must be "______".
- A: CACHE MANIFEST
- B: NETWORK
- C: FALLBACK
- D: UPDATE
View Answer
A
Q1619: What should you do to ensure the browser updates the cached files?
- A: Change the file on the server
- B: Modify the manifest file
- C: Clear the browser's cache
- D: Disable caching
View Answer
B
Q1620: Fill in the blank: Files listed under the ______ header in the manifest file will be cached after they are downloaded for the first time.
- A: CACHE MANIFEST
- B: NETWORK
- C: FALLBACK
- D: UPDATE
View Answer
A