ICT Web Technologies and Internet Services 2 — Questions and Answers
Question 1: What distinguishes HTTPS from HTTP in terms of data security?
- HTTPS uses a completely different application protocol
- HTTPS encrypts data using TLS/SSL (Correct answer)
- HTTPS is faster because it compresses all data
- HTTPS only works on mobile devices and tablets
Correct answer: HTTPS encrypts data using TLS/SSL
HTTPS uses TLS (Transport Layer Security) to encrypt data in transit, protecting it from interception by third parties.
Question 2: What is a web cookie primarily used for?
- To store large database records on the server
- To execute server-side processing scripts
- To store small pieces of data on the user's browser for session management (Correct answer)
- To compress and optimize web page images
Correct answer: To store small pieces of data on the user's browser for session management
Cookies are small text files stored on the user's browser that maintain session state, user preferences, and tracking data between visits.
Question 3: Which HTML tag is used to create a hyperlink to another web page?
- <link>
- <href>
- <url>
- <a> (Correct answer)
Correct answer: <a>
The <a> (anchor) tag with an href attribute creates clickable hyperlinks that navigate users to other pages or resources.
Question 4: What does API stand for in the context of web development?
- Automated Programming Interface
- Application Programming Interface (Correct answer)
- Advanced Protocol Integration
- Application Process Interaction
Correct answer: Application Programming Interface
An API (Application Programming Interface) defines a set of rules and protocols that allow different software components to communicate.
Question 5: What is the purpose of a web framework like React or Angular?
- To manage and query relational databases
- To provide structure and reusable tools for building web applications efficiently (Correct answer)
- To encrypt and secure web traffic
- To register and manage domain names
Correct answer: To provide structure and reusable tools for building web applications efficiently
Web frameworks provide pre-built components, conventions, and tools that help developers build web applications faster and more consistently.
Question 6: What is the default port number used for standard HTTP web traffic?
- 21
- 443
- 80 (Correct answer)
- 25
Correct answer: 80
HTTP uses port 80 by default, while HTTPS uses port 443, FTP uses port 21, and SMTP uses port 25.
Question 7: What does FTP stand for, and what is it primarily used for?
- File Transfer Protocol, used for transferring files between computers over a network (Correct answer)
- Fast Transmission Protocol, used for accelerating web page load times
- Firewall Transfer Protocol, used for managing network security rules
- Format Transfer Protocol, used for converting between different file types
Correct answer: File Transfer Protocol, used for transferring files between computers over a network
FTP (File Transfer Protocol) is a standard network protocol used to transfer files between a client and a server over a TCP/IP network.
What distinguishes HTTPS from HTTP in terms of data security?