Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
695 views
in Programming by (114k points)
closed by

Which of the following statements is/are TRUE ?

(a) In HTML, character entities are used to incorporate external content into a web page, such as images.

(b) Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.


1. Only (a) is TRUE.
2. Only (b) is TRUE.
3. Both (a) and (b) are TRUE
4. Neither (a) nor (b) is TRUE.

1 Answer

0 votes
by (113k points)
selected by
 
Best answer
Correct Answer - Option 4 : Neither (a) nor (b) is TRUE.

The correct answer is option 4.

EXPLANATION

Statement I: False

Entities are used to display characters that have special HTML meanings, such as "<" and ">".

Statement II: False

Not every request sends the cookies. It depends on the cookie configuration and client-server connection. For example, if your cookie's secure option is set to true then it must be transmitted over a secure HTTPS connection. This means when you see that website with HTTP protocol then these cookies won't be sent by browsers as the secure flag is true.
If the cookie has been expired it will not send by browsers as the secure flag is true.

∴ Hence the correct answer is Neither (a) nor (b) is TRUE.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...