Fundamentals of Front End Development MCQs with Answers
Practice important Fundamentals of Front End Development MCQs with answers and explanations.
Multiple Choice Questions
Q1651: Fill in the blank: The onmessage event of the EventSource object is triggered when a ______ is received from the server.
- A: message
- B: connection
- C: error
- D: request
View Answer
A
Q1652: In the provided PHP code, what does date('r') return?
- A: The current server time
- B: The current server date
- C: The server's time zone
- D: The server's date and time format
View Answer
A
Q1653: Which function in PHP ensures that the output buffer is sent to the browser immediately?
- A: flush()
- B: ob_end_flush()
- C: echo()
- D: print()
View Answer
A
Q1654: Fill in the blank: In the EventSource object, the onerror event is triggered when an ______ occurs.
- A: error
- B: open
- C: message
- D: close
View Answer
A
Q1655: What should follow the data: prefix in the Server-Sent Events format?
- A: The data to be sent
- B: The header information
- C: The status code
- D: The event type
View Answer
A
Q1656: Fill in the blank: The header('Cache-Control: no-cache') directive in PHP is used to prevent the browser from ______ the server-sent events.
- A: caching
- B: updating
- C: storing
- D: processing
View Answer
A
Q1657: What is CSS3 divided into?
- A: Files
- B: Modules
- C: Classes
- D: Libraries
View Answer
B
Q1658: Which CSS3 module is responsible for adding new selectors?
- A: Selectors
- B: Box Model
- C: Backgrounds and Borders
- D: Text Effects
View Answer
A
Q1659: Fill in the blank: The CSS3 module that deals with layout features like columns is called ______.
- A: Multiple Column Layout
- B: Box Model
- C: Animations
- D: Image Values and Replaced Content
View Answer
A
Q1660: Which of the following is NOT a CSS3 module?
- A: Box Model
- B: User Interface
- C: Selectors
- D: Grid Layout
View Answer
D