Skip to content

Punjab (PTB) · Chapter test · Free

9th Class Computer Chapter 5 TestWEB DEVELOPMENT WITH HTML, CSS AND JAVASCRIPT

30 marks · 40 minutes · 21 questions. Covers: CHAP 5: WEB DEVELOPMENT WITH HTML, CSS AND JAVASCRIPT.

Your school name

9th Class Computer Chapter 5 Test

9th Class · Computer · Punjab (PTB)

Name: ____________Roll No: ________Class/Section: ________Date: ________Total marks: 30Time: 40 minutes

Q1. Multiple choice questions (Attempt all · 10 × 1 = 10)

  1. What does CSS stand for?

    1. Computer Style System

    2. Cascading Style Sheets

    3. Creative Style System

    4. Colorful Style System

  2. The user sends a request to the web server through ...... to access a webpage:

    1. Text editor

    2. Web browser

    3. Search engine

    4. HTML

  3. What is the role of databases in back-end development?

    1. Make the website pretty

    2. Store and manage data

    3. Create animations

    4. Improve SEO

  4. Which of the following is not a heading tag?

  5. Which tag is used to insert a line break?

  6. and are examples of:

    1. Paired Tags

    2. Self-closing Tags

    3. Container Tags

    4. Nested Tags

  7. Which method adds CSS directly to an HTML element?

    1. Inline style

    2. Internal styles

    3. External styles

    4. Embedded styles

  8. Which tag is used to display an image?

  9. An HTML element usually consist of ...... tags:

    1. Start

    2. End

    3. Start and end

    4. Middle

  10. In h1 {color: blue;}, "color" is a:

    1. Selector

    2. Property

    3. Value

    4. Declaration

Q2. Short questions (Attempt any 6 of 8 · 6 × 2 = 12)

  1. What is the function of the  tag in HTML?

  2. What is the use of the ol tag? Describe it with HTML code.

  3. What is Full-stack Development and why is it important?

  4. Name two fundamentals used in front-end development for creating interactive interfaces.

  5. Which tag is used to create a hyperlink in HTML?

  6. Why is proper nesting important in an HTML document?

  7. Why should HTML files be saved with a .html extension?

  8. Why is the alt attribute important in images?

Q3. Long questions (Attempt any 2 of 3 · 2 × 4 = 8)

  1. Describe the basic components of web development.

  2. Explain different data types used in JavaScript with examples.

  3. Discuss how web development skills can be used for entrepreneurship. Give examples of online businesses or services that can be created.