Final Term Assessment Paper with Solution 2024
-----------------------------------------------------------------------------------------------------------------------------
DO ANY TWO AMONGST 4 PRACTICALS
PRACTICAL NO.1
Assignment: Creating a Simple Webpage with HTML
Objective: To demonstrate your understanding of basic HTML tags and attributes by creating a simple webpage.
Instructions:
- Create a new HTML file using a text editor such as Notepad or Visual Studio Code.
- Structure your webpage using HTML tags including <html>, <head>, and <body>.
- Include the following elements in your webpage:
- A paragraph of text.
- At least one line break.
- A heading (you can choose the level from 1 to 6) and a subheading.
- Center-aligned text.
- Text with different font sizes (you can choose from 1 to 7).
- Text with different font colors (choose any colors you like).
- Text with different font faces (choose from common font formats).
- Ensure proper indentation and organization of your HTML code for readability.
- Save your HTML file with an appropriate filename (e.g., index.html).
- Test your webpage by opening it in a web browser to ensure all elements display as expected.
- Submit your HTML file to your teacher for evaluation.
PRACTICAL NO.2
Assignment: Creating Lists with HTML
Objective: To demonstrate your understanding of creating lists using HTML.
Instructions:
- Create a new HTML file using a text editor such as Notepad or Visual Studio Code.
- Structure your webpage using HTML tags including <html>, <head>, and <body>.
- Create an unordered list containing at least three items related to your favorite hobbies or interests.
- Create an ordered list containing at least three steps of a process (e.g., how to make a sandwich, how to tie a shoelace, etc.).
- Ensure each list item is represented using the <li> tag.
- Save your HTML file with an appropriate filename (e.g., index.html).
- Test your webpage by opening it in a web browser to ensure all lists display as expected.
- Submit your HTML file to your teacher for evaluation.
PRACTICAL NO.3
Assignment: Inserting Images with HTML
Objective: To demonstrate your understanding of inserting images using HTML.
Instructions:
- Create a new HTML file using a text editor such as Notepad or Visual Studio Code.
- Structure your webpage using HTML tags including <html>, <head>, and <body>.
- Download an image of your choice from the internet (ensure you have the necessary permissions to use the image).
- Place the image file in the same directory as your HTML file or provide the correct file path if it's stored elsewhere.
- Insert the image into your HTML file using the <img> tag with the appropriate src attribute pointing to the image file.
- Add a border around the image using the border attribute. Experiment with different border sizes to see their effects.
- Save your HTML file with an appropriate filename (e.g., index.html).
- Test your webpage by opening it in a web browser to ensure the image displays with the specified border.
- Submit your HTML file to your teacher for evaluation.
PRACTICAL NO.4
Assignment: Creating Tables with HTML
Objective: To demonstrate your understanding of creating tables using HTML.
Instructions:
- Create a new HTML file using a text editor such as Notepad or Visual Studio Code.
- Structure your webpage using HTML tags including <html>, <head>, and <body>.
- Insert a table into your HTML file using the <table> tag.
- Set the table properties including a border size of 1, cellspacing of 5, and cellpadding of 5 using the appropriate attributes.
- Create a table row (`
<tr>`) inside the `<table>` tag. 6. **Insert table data** (`
<td>`) within the table row to represent each cell of the table. 7. **Add content** inside each table data cell to represent the data you want to display in the table. 8. **Save your HTML file** with an appropriate filename (e.g., index.html). 9. **Test your webpage** by opening it in a web browser to ensure the table displays with the specified properties and content. 10. **Submit your HTML file** to your teacher for evaluation.
Practical 3rd Six Weekly
-----------------------------------------------------------------------------------------------------------------------------
Umair
Adeeb
__________________________________________________________________________________
03122020556-click me for more info
Office manager, The Phone Company
Expert in formula 3x2+4y2=12xy
Office manager, Southridge Video
Associate degree, H.R. Management, Bellows College
Info
xyz
-----------------------------------------------------------------------------------------------------------------------------
3rd Six Weekly Assessment Paper
Note: Perform all practical's and save it in word file in c: lan school file . word file must be with your name, class and section.
Practical No.1
Question:
Write HTML code in Notepad to create a web page displaying the course details of a technical institute. The webpage should include the institute's name, address, and categorized course details. Additionally, add a hyperlink to the institute’s official website (techinstitute.com.pk).
Institute Name: XYZ Technical Institute
Location: Gulshan-e-Iqbal, Karachi.
Course Details:
- Comprehensive Courses
a. Computer Basics
b. Diploma in IT - Short-Term Courses
- Financial Accounting
- Online Banking
- Specialized Training
i. Office Management
ii. Photography & Editing
For further details, visit: techinstitute.com.pk
Create a clickable link for techinstitute.com.pk.
Practical No.2
Write HTML code in Notepad to create a web page with the following details.
Apply Heading 3 to the text "Popular Online Resources" and insert a horizontal line immediately after the heading.
Popular Online Resources
- Google
- Wikipedia
- Yahoo
☝ These three website names should be clickable links.
Practical No.3
Write HTML code in Notepad to perform the following tasks:
a. Display the text "Evolution of Computers" in Heading 2 format and add a horizontal line below it.
b. Create an ordered list with the following items: Early Computers, Vacuum Tube Era, Transistor Era, Microprocessor Era, and Artificial Intelligence Era.
c. Insert an image with a width of 300 pixels and a height of 200 pixels.
-----------------------------------------------------------------------------------------------------------------------------
Solved Exam Paper 8A
Section A: Objective Type (6 Marks)
Fill in the blanks. (1.5 mark each)
1. A field name is the label for a column in a table.
2. The default data type in MS Access is Short Text.
The Field Size property sets the maximum
number of characters or digits.
3. A form provides a user-friendly way to enter and view data.
Section B: Short Answer Type (8 Marks)
Answer the following questions. (2 marks
each)
1.
1. What is a data type in MS
Access?
Answer: A data type defines the kind of
data a field can store, such as text, number, or date.
2.
What is the use of the Default
Value property?
Answer: The Default Value property sets a
value that automatically appears in the field when a new record is created.
3.
3. What is a primary key and
why is it important?
Answer: A primary key is a field that
uniquely identifies each record in a table. It prevents duplicate records.
4.
4. What is the Form Wizard used
for in MS Access?
Answer: The Form Wizard helps users create
forms step-by-step by selecting fields and layout options.
Section C: Application/Scenario-Based (6 Marks)
Answer the following questions. (3 marks each)
5.
You want to create a field that
stores pictures of students. Which data type will you use and why?
Answer: Use the 'Attachment' data type to
store pictures or other types of files related to each student.
6.
2. Suppose you want users to
pick their city from a list instead of typing it. Which data type or feature
would you use to achieve this?
Answer: Use the 'Lookup Wizard' data type
to allow users to select a city from a predefined list.
Solved Exam Paper 8B
Fill in the blanks. (1.5 marks each)
1. Q: A ______________ is the label for a column in a table.
A: A field name is the label for a column in a table.
2. Q: The ______________ property sets a value that appears automatically in the field.
A: The Default Value property sets a value that appears automatically in the field.
3. Q: The data type used to store Yes/No answers is ______________.
A: The data type used to store Yes/No answers is Yes/No.
4. Q: A ______________ helps create forms step-by-step.
A: A Form Wizard helps create forms step-by-step.
Section B: Short Answer Type (8 Marks)
Answer the following questions. (2 marks each)
5. Q: What characters are not allowed in field names in MS Access?
A: Characters not allowed in field names include periods (.), exclamation marks (!), and square brackets ([]).
6. Q: What does the “Required” field property do?
A: The 'Required' property ensures that a field must be filled in and cannot be left blank.
7. Q: What is a form in MS Access and how is it useful?
A: A form in MS Access is a user-friendly way to enter and view data. It simplifies data entry and displays information clearly.
8. Q: What is the Lookup Wizard data type used for?
A: The Lookup Wizard data type allows users to choose a value from a predefined list of options.
Section C: Application/Scenario-Based (6 Marks)
Answer the following questions. (3 marks each)
9. Q: You want users to enter only valid ages between 1 and 100 in a field. Which property will you use and how does it help?
A: You will use the 'Validation Rule' property. It restricts data entry to values between 1 and 100, ensuring only valid ages are entered.
10. Q: You’re designing a form and want to add a company logo and a button to submit data. What are these elements called and how do they help improve the form?
A: These elements are called controls. Controls like logos and buttons improve the form's appearance and make it more functional and user-friendly.
-----------------------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment