7th imp

 

I. Choose the correct answer (0.5 × 8 = 4)

  1. b. type – Specifies the type of input field.

  2. b. src – Specifies the source of an image.

  3. b. To create a list item<li> is for list items.

  4. b. Numbered<ol> is an ordered (numbered) list.

  5. d. Multiline Text Input<textarea> creates a multi-line input box.

  6. d. Image – Image is not a form control.

  7. c. <a href="#top">Top of the page</a> – Correct internal link syntax.

  8. d. AutoNumber – Odd one, others are form attributes.


II. Fill in the blanks (0.5 × 6 = 3)

  1. poster – Displays an image before a video starts.

  2. autoplay – Automatically plays audio/video.

  3. – Table heading tag.

  4. security – AI enables real-time monitoring in smart cities.

  5. traffic – AI manages traffic systems.

  6. caption – Centrally aligned bold text inside a table cell.


III. True or False (0.5 × 6 = 3)

  1. False – We can use an image as a list item marker.

  2. False – Ordered lists can start from any number, letter, or roman numeral.

  3. False – Padding adds space inside the element, not for positioning table.

  4. True – rowspan and colspan are attributes of <td> / <th>.

  5. True – Smart highways use AI for traffic safety and hazard warnings.

  6. False – Intelligent security systems use AI, not manual monitoring alone.


IV. Write the uses (2 × 3 = 6)

  1. Use of <img> and <video> in HTML:

    • <img> is used to display images on a web page.

    • <video> is used to display videos and can include controls like play, pause, and autoplay.

  2. Use of <form> tag:

    • <form> is used to collect input from users through controls like text boxes, checkboxes, radio buttons, and submit buttons.

  3. How AI is helpful in homes:

    • AI helps in smart homes by controlling lights, fans, air conditioning, security cameras, smart assistants, and household appliances automatically.


V. Write the differences (3 × 3 = 9)

  1. <ol> and <ul>:

    Feature<ol><ul>
    TypeOrdered / Numbered listUnordered / Bulleted list
    ItemsDisplayed with numbers/lettersDisplayed with bullets
    UseFor stepwise instructionsFor general lists without sequence
  2. Internal linking and external linking:

    FeatureInternal LinkingExternal Linking
    Link TypeLinks within the same webpage or siteLinks to another website/page
    Syntax<a href="#section">Text</a><a href="https://example.com">Text</a>
    PurposeNavigation within siteRedirect to other sites
  3. List-style-type and list-style-image:

    Featurelist-style-typelist-style-image
    FunctionChanges bullet type (circle, square, decimal)Uses an image as bullet
    Valuescircle, square, disc, decimalurl("image.png")
    Examplelist-style-type: square;list-style-image: url('star.png');

VI. Answer the following (3 × 5 = 15)

  1. Timeline of AI:

    • 1950s: Birth of AI (Turing Test, early AI programs)

    • 1960s-70s: Development of problem-solving and logic-based AI

    • 1980s: Expert systems boom

    • 1990s: AI applied in games (chess), machine learning begins

    • 2000s: AI in robotics, natural language processing

    • 2010s-present: Deep learning, AI assistants, smart homes, smart cities

  2. How internal linking is done on a web page:

    • Internal links connect sections within the same page.

    • Steps:

      1. Give a section an id, e.g., <h2 id="top">Header</h2>

      2. Link to it using <a href="#top">Go to top</a>

  3. Various form controls in HTML:

    • Text box (<input type="text">)

    • Password field (<input type="password">)

    • Radio buttons (<input type="radio">)

    • Checkboxes (<input type="checkbox">)

    • Submit button (<input type="submit">)

    • Reset button (<input type="reset">)

    • Dropdown list (<select>), Text area (<textarea>), File input (<input type="file">)

  4. How to specify multiple conditions while designing a query:

    • In SQL, use logical operators like AND, OR, and NOT

    • Example: SELECT * FROM Students WHERE Class='VII' AND Marks>80;

  5. Purpose of a key in a relational data model:

    • A key uniquely identifies a record in a table

    • Types: Primary Key (unique identifier), Foreign Key (links tables), Candidate Key (possible unique identifiers)




I. Choose the correct answer (0.5 × 8 = 4)

  1. c. <td style="text-align: center; vertical-align: middle;"> – Correct syntax for horizontal and vertical alignment.

  2. b. src – Specifies the image source.

  3. b. To create a list item<li> is for list items.

  4. d. Multiline Text Input<textarea> creates a multi-line input box.

  5. c. <a href="#top">Top of the page</a> – Correct internal link.

  6. d. AutoNumber – Odd one out, others are form attributes.

  7. d. Image – Image is not a form control.

  8. b. Numbered<ol> is an ordered (numbered) list.


II. Fill in the blanks (0.5 × 6 = 3)

  1. security – Smart cities use AI-based security technology.

  2. traffic – AI manages traffic systems.

  3. – Table heading tag.

  4. caption – Centrally aligned bold text inside a table cell.

  5. poster – Displays an image before a video starts.

  6. autoplay – Automatically plays audio/video.


III. True or False (0.5 × 6 = 3)

  1. False – We can specify an image as a list item marker.

  2. False – Ordered lists can start from any number, letter, or Roman numeral.

  3. False – Padding adds space inside the element, not for table positioning.

  4. True – rowspan and colspan are attributes of <td> / <th>.

  5. True – Smart highways use AI for traffic safety and hazard warnings.

  6. False – Intelligent security systems use AI, not just human operators.


IV. Write the uses (2 × 3 = 6)

  1. Use of print preview of a report:

    • Print preview allows you to see how a report will look when printed, check layout, margins, page breaks, and make corrections before actual printing.

  2. Use of anchor <a> tag:

    • The <a> tag is used to create hyperlinks to navigate to another webpage, section of the same page, or download a file.

  3. How AI is helpful in homes:

    • AI powers smart homes to control lights, fans, AC, appliances, and security cameras automatically.

    • It can also provide voice assistance, optimize energy use, and enhance safety.


V. Write the differences (3 × 3 = 9)

  1. Form and Report:

    FeatureFormReport
    PurposeTo collect data from usersTo display data in organized format
    InteractionUser enters informationMostly read-only / printed
    ExampleLogin form, feedback formStudent marks report, sales report
  2. List style type and list style image:

    Featurelist-style-typelist-style-image
    FunctionChanges bullet type (circle, square, decimal)Uses an image as bullet
    Valuescircle, square, disc, decimalurl("image.png")
    Examplelist-style-type: square;list-style-image: url('star.png');
  3. Internal linking and external linking:

    FeatureInternal LinkingExternal Linking
    Link TypeLinks within same page/siteLinks to other sites/pages
    Syntax<a href="#section">Text</a><a href="https://example.com">Text</a>
    PurposeNavigation within siteRedirect to other sites

VI. Answer the following (3 × 5 = 15)

  1. Timeline of AI:

    • 1950s: Birth of AI; Turing Test, early AI programs.

    • 1960s–70s: Development of problem-solving and logic-based AI.

    • 1980s: Expert systems become popular.

    • 1990s: AI in games (chess), machine learning begins.

    • 2000s: AI in robotics, natural language processing.

    • 2010s–present: Deep learning, AI assistants, smart homes, smart cities.

  2. How internal linking is done on a web page:

    • Assign an id to a section: <h2 id="top">Header</h2>

    • Create a link to it: <a href="#top">Go to top</a>

  3. Various form controls in HTML:

    • Text box (<input type="text">)

    • Password field (<input type="password">)

    • Radio buttons (<input type="radio">)

    • Checkboxes (<input type="checkbox">)

    • Submit button (<input type="submit">)

    • Reset button (<input type="reset">)

    • Dropdown list (<select>), Text area (<textarea>), File input (<input type="file">)

  4. How to specify multiple conditions while designing a query:

    • Use logical operators: AND, OR, NOT

    • Example:

      SELECT * FROM Students 
      WHERE Class='VII' AND Marks>80;
      
  5. Purpose of a key in relational data model:

    • A key uniquely identifies a record in a table.

    • Types: Primary Key, Foreign Key, Candidate Key.

    • Ensures data integrity and enables linking between tables.



Comments

Popular posts from this blog

class 8 computer chapter 5

class 7 last chapter

CLASS 8 COMPUTER