7th imp
I. Choose the correct answer (0.5 × 8 = 4)
b. type – Specifies the type of input field.
b. src – Specifies the source of an image.
b. To create a list item –
<li>is for list items.b. Numbered –
<ol>is an ordered (numbered) list.d. Multiline Text Input –
<textarea>creates a multi-line input box.d. Image – Image is not a form control.
c.
<a href="#top">Top of the page</a>– Correct internal link syntax.d. AutoNumber – Odd one, others are form attributes.
II. Fill in the blanks (0.5 × 6 = 3)
poster – Displays an image before a video starts.
autoplay – Automatically plays audio/video.
– Table heading tag.
security – AI enables real-time monitoring in smart cities.
traffic – AI manages traffic systems.
caption – Centrally aligned bold text inside a table cell.
III. True or False (0.5 × 6 = 3)
False – We can use an image as a list item marker.
False – Ordered lists can start from any number, letter, or roman numeral.
False – Padding adds space inside the element, not for positioning table.
True – rowspan and colspan are attributes of
<td>/<th>.True – Smart highways use AI for traffic safety and hazard warnings.
False – Intelligent security systems use AI, not manual monitoring alone.
IV. Write the uses (2 × 3 = 6)
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.
Use of
<form>tag:<form>is used to collect input from users through controls like text boxes, checkboxes, radio buttons, and submit buttons.
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)
<ol>and<ul>:Feature <ol><ul>Type Ordered / Numbered list Unordered / Bulleted list Items Displayed with numbers/letters Displayed with bullets Use For stepwise instructions For general lists without sequence Internal linking and external linking:
Feature Internal Linking External Linking Link Type Links within the same webpage or site Links to another website/page Syntax <a href="#section">Text</a><a href="https://example.com">Text</a>Purpose Navigation within site Redirect to other sites List-style-type and list-style-image:
Feature list-style-type list-style-image Function Changes bullet type (circle, square, decimal) Uses an image as bullet Values circle, square, disc, decimal url("image.png") Example list-style-type: square;list-style-image: url('star.png');
VI. Answer the following (3 × 5 = 15)
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
How internal linking is done on a web page:
Internal links connect sections within the same page.
Steps:
Give a section an id, e.g.,
<h2 id="top">Header</h2>Link to it using
<a href="#top">Go to top</a>
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">)
How to specify multiple conditions while designing a query:
In SQL, use logical operators like
AND,OR, andNOTExample:
SELECT * FROM Students WHERE Class='VII' AND Marks>80;
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)
c.
<td style="text-align: center; vertical-align: middle;">– Correct syntax for horizontal and vertical alignment.b. src – Specifies the image source.
b. To create a list item –
<li>is for list items.d. Multiline Text Input –
<textarea>creates a multi-line input box.c.
<a href="#top">Top of the page</a>– Correct internal link.d. AutoNumber – Odd one out, others are form attributes.
d. Image – Image is not a form control.
b. Numbered –
<ol>is an ordered (numbered) list.
II. Fill in the blanks (0.5 × 6 = 3)
security – Smart cities use AI-based security technology.
traffic – AI manages traffic systems.
– Table heading tag.
caption – Centrally aligned bold text inside a table cell.
poster – Displays an image before a video starts.
autoplay – Automatically plays audio/video.
III. True or False (0.5 × 6 = 3)
False – We can specify an image as a list item marker.
False – Ordered lists can start from any number, letter, or Roman numeral.
False – Padding adds space inside the element, not for table positioning.
True – rowspan and colspan are attributes of
<td>/<th>.True – Smart highways use AI for traffic safety and hazard warnings.
False – Intelligent security systems use AI, not just human operators.
IV. Write the uses (2 × 3 = 6)
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.
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.
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)
Form and Report:
Feature Form Report Purpose To collect data from users To display data in organized format Interaction User enters information Mostly read-only / printed Example Login form, feedback form Student marks report, sales report List style type and list style image:
Feature list-style-type list-style-image Function Changes bullet type (circle, square, decimal) Uses an image as bullet Values circle, square, disc, decimal url("image.png") Example list-style-type: square;list-style-image: url('star.png');Internal linking and external linking:
Feature Internal Linking External Linking Link Type Links within same page/site Links to other sites/pages Syntax <a href="#section">Text</a><a href="https://example.com">Text</a>Purpose Navigation within site Redirect to other sites
VI. Answer the following (3 × 5 = 15)
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.
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>
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">)
How to specify multiple conditions while designing a query:
Use logical operators:
AND,OR,NOTExample:
SELECT * FROM Students WHERE Class='VII' AND Marks>80;
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
Post a Comment