What is a cookie in the context of web browsing? MCQ with Answer and Explanation

What is a cookie in the context of web browsing?
A. A small text file stored on the user's computer
B. A program that scans for viruses
C. A type of web browser
D. A protocol for secure communication
Answer: Option A
Solution (By JKSSB Mock Tests)
A cookie is a small piece of data sent from a website and stored on the user's browser, used to remember stateful information such as login sessions, preferences, etc.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
What is the difference between a static and a dynamic web page?
A. Static pages are only for mobile, dynamic for desktop
B. Static pages are pre-built, dynamic pages are generated on the fly
C. Static pages are faster, dynamic pages are slower
D. Static pages use JavaScript, dynamic pages use HTML

Correct Answer: Option B


Explanation:
Static web pages are delivered exactly as stored, while dynamic pages are generated by server-side scripts based on user interactions or data.

This question belongs to: Computer Internet and Web Technologies
Question #2
What does the 'Content-Security-Policy' (CSP) HTTP response header instruct a web browser to enforce?
A. To wipe local device browser cache modules automatically
B. To restrict the specific trusted domains from which a webpage can load scripts, styles, and assets, protecting against Cross-Site Scripting (XSS) injections
C. To double the physical data processing capacity of network router cards
D. To route incoming text emails through unencrypted FTP pathways

Correct Answer: Option B


Explanation:
CSP is an effective security layer that allows site administrators to declare approved sources of content, preventing browsers from executing unauthorized or malicious scripts.

This question belongs to: Computer Internet and Web Technologies
Question #3
What is the primary function of a 'MIME' (Multipurpose Internet Mail Extensions) header statement added inside a modern email message file?
A. To encrypt user server passwords securely using asymmetric algorithms
B. To wipe old email logs automatically from client hardware setups
C. To announce the specific media format type and character configuration of the email body payload and attachments
D. To track the geographic location coordinates of the target recipient host

Correct Answer: Option C


Explanation:
MIME headers let email clients know if an incoming message contains rich HTML text, images, sound files, or binary documents so the client software can render them correctly.

This question belongs to: Computer Internet and Web Technologies