Tuesday, March 18, 2025

Introduction to Internet Programming CAT

 

1. Define the Internet and explain its role in web development. (2 marks)

The Internet is a global network of interconnected computers that communicate using standard protocols such as TCP/IP. It enables data sharing, communication, and access to resources worldwide.

In web development, the Internet provides the foundation for hosting and accessing websites. Developers use it to deploy websites, store data on remote servers, and enable users to interact with online applications.


2. List and describe any two common Internet connection methods. (4 marks)

  1. Fiber Optic Connection – Uses light signals to transmit data through fiber optic cables. It provides high-speed and reliable Internet access, suitable for streaming, gaming, and large data transfers.

  2. Mobile Data (4G/5G) – Uses cellular networks to provide Internet access on mobile devices. It offers flexibility and high-speed connectivity but depends on network coverage.


3. Discuss three web development tools and their importance. (3 marks)

  1. Visual Studio Code (VS Code) – A popular code editor with features like syntax highlighting, debugging, and extensions for various programming languages.

  2. Git and GitHub – Git is a version control system that helps track code changes, while GitHub is a platform for storing and collaborating on projects.

  3. Bootstrap – A front-end framework that provides pre-designed components for responsive web design, making development faster and easier.


4. What is the role of a web browser in Internet programming? Name any two popular web browsers. (4 marks)

A web browser is software that retrieves, interprets, and displays web pages from the Internet. It processes HTML, CSS, and JavaScript to render websites for users.

Two popular web browsers:

  1. Google Chrome

  2. Mozilla Firefox


5. What is XML, and how is it different from HTML? (2 marks)

XML (eXtensible Markup Language) is a markup language used to store and transport data in a structured format. It does not define how data is displayed but focuses on data organization.

Difference from HTML:

  • HTML is used for structuring and displaying web pages, while XML is for storing and transporting data.

  • HTML has predefined tags, while XML allows custom tag definitions.


6. Explain the difference between frontend development and backend development. (2 marks)

  • Frontend Development focuses on the visual and interactive aspects of a website that users see, using HTML, CSS, and JavaScript.

  • Backend Development handles server-side logic, databases, and application functionality, using languages like Python, PHP, and Node.js.


7. What are meta tags in HTML, and why are they important? (2 marks)

Meta tags are HTML elements in the <head> section that provide metadata about a web page, such as descriptions, keywords, and author information.

Importance:

  • Help search engines understand page content (SEO).

  • Define how the page appears on search results and social media.

  • Improve accessibility and browser behavior (e.g., character encoding).


8. Describe the role of DNS (Domain Name System) in Internet communication. (2 marks)

The DNS (Domain Name System) translates human-readable domain names (e.g., www.example.com) into IP addresses that computers use to communicate. This allows users to access websites without memorizing numerical IP addresses.


9. Explain the role of a search engine in web browsing and mention any two search engines. (4 marks)

A search engine is a software system that indexes and retrieves web pages based on user queries. It helps users find relevant information on the Internet by ranking websites according to relevance and popularity.

Two search engines:

  1. Google

  2. Bing


10. Explain the difference between static and dynamic websites. Give two examples of each type. (5 marks)

  • Static Website – Displays fixed content that does not change unless manually updated. Built with HTML, CSS, and sometimes JavaScript.
    Examples:

    1. Personal portfolio website

    2. Small business brochure site

  • Dynamic Website – Generates content dynamically based on user interaction or database queries. Uses server-side scripting like PHP, Python, or JavaScript (Node.js).
    Examples:

    1. Social media platforms (e.g., Facebook)

    2. E-commerce websites (e.g., Amazon)

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home