Programming for the Web - Assessment Quiz

Answer all 20 questions to demonstrate your understanding of web programming concepts

Instructions

Part 1: Multiple Choice Questions (Easy - Q1-8)

Basic concepts in web programming and data transmission

Question 1: Web Applications
Which of the following is an example of an interactive webpage/website?
Question 2: Progressive Web Apps
What is a key characteristic of Progressive Web Apps (PWAs)?
Question 3: IPv4 Addresses
Which of the following is a valid IPv4 address format?
Question 4: Domain Name System (DNS)
What is the primary function of DNS?
Question 5: HTTP vs HTTPS
What is the main difference between HTTP and HTTPS?
Question 6: Email Protocols
Which protocol is used for sending email?
Question 7: Plain Text vs Cipher Text
In encryption terminology, what is "plain text"?
Question 8: Data Packets
What is a data packet in the context of internet communication?

Part 2: Multiple Choice Questions (Medium - Q9-15)

More complex web protocols, security, and architecture concepts

Question 9: TCP/IP Protocol
What is the role of TCP (Transmission Control Protocol) in the TCP/IP model?
Question 10: FTP vs SFTP
What is the primary advantage of SFTP over FTP?
Question 11: SSL/TLS Certificates
What is the primary purpose of an SSL/TLS certificate on a website?
Question 12: Authentication vs Authorization
What is the difference between authentication and authorization?
Question 13: Hash Values
What is a hash value commonly used for in web security?
Question 14: Metadata
In the context of web architecture and big data, what is metadata?
Question 15: Digital Signatures
What is the primary purpose of a digital signature?

Part 3: Open-Ended Questions (Medium-Hard - Q16-20)

Provide detailed explanations demonstrating your understanding

Question 16: E-Commerce Security
An e-commerce website needs to securely process customer credit card payments. Explain three specific security measures that should be implemented to protect customer data during transmission and storage. For each measure, describe how it contributes to overall security.
Question 17: Data Packets Journey
Describe the journey of data packets from when a user types a URL in their browser until the webpage is displayed. In your answer, explain the role of at least three different protocols (DNS, TCP/IP, HTTP/HTTPS) and how they work together in this process.
Question 18: Encryption Keys
Explain the difference between symmetric and asymmetric encryption, including how encryption keys are used in each approach. Provide one advantage and one disadvantage for each encryption method.
Question 19: Big Data and Streaming Services
A video streaming service like Netflix handles massive amounts of data from millions of users. Explain how data mining and metadata contribute to improving user experience and service management. Provide specific examples of what data might be collected and how it could be used.
Question 20: Protocol Ports and Security
Different web protocols use different port numbers (e.g., HTTP uses port 80, HTTPS uses port 443). Explain why port numbers are necessary in network communication and discuss the security implications of leaving certain ports open on a web server. Provide at least two specific examples of ports and their associated risks.

Make sure you've answered all questions before submitting.