Professional Documents
Culture Documents
Guide 8
Second Edition
3
Contents
Introduction iv
Continuous and Comprehensive Evaluation 1
Lesson Plans 6
Answer Key to Student’s Book Questions
• Introduction to Microsoft Access 15
• Microsoft Access Design View, Queries, Forms, and Reports 19
• Creating Lists and Inserting Images in HTML 23
• Tables, Links, and Frames in HTML 27
• Introduction to Dreamweaver CS3 31
• Images and Framesets in Dreamweaver CS3 34
• Introduction to Photoshop 37
• Tools Used in Photoshop 40
• Networking and E-Commerce 44
• Assessment 1 47
• Assessment 2 48
• Comprehensive Assessment 1 49
• Assessment 3 50
• Assessment 4 51
• Comprehensive Assessment 2 52
• Cyber Olympiad Questions 53
• Revision Questions 54
Worksheets
• Introduction to Microsoft Access 58
• Microsoft Access Design View, Queries, Forms, and Reports 60
• Creating Lists and Inserting Images in HTML 62
• Tables, Links, and Frames in HTML 63
• Introduction to Dreamweaver CS3 65
• Images and Framesets in Dreamweaver CS3 66
• Introduction to Photoshop 68
• Tools Used in Photoshop 69
• Networking and E-Commerce 71
Answers to Worksheets 72
Test Papers
• Introduction to Microsoft Access 77
• Microsoft Access Design View, Queries, Forms, and Reports 78
• Creating Lists and Inserting Images in HTML 80
• Tables, Links, and Frames in HTML 81
• Introduction to Dreamweaver CS3 82
• Images and Framesets in Dreamweaver CS3 83
• Introduction to Photoshop 84
• Tools Used in Photoshop 85
• Networking and E-Commerce 86
Answers to Test Papers 87
1 iii
INTRODUCTION
In today’s world, the computer has become an indispensable tool. From huge machines weighing several
tonnes, the computer has evolved into light, sleek, yet powerful machines that dominate today’s knowledge-
based society. Many previously complex and time-consuming tasks have been reduced to the mere touch of
a few buttons on the keyboard. Basic computing skills such as word processing are an essential requirement
in today’s job market. The Internet has revolutionized the way people communicate and interact.
Geographical distances are no longer a constraint for effective business transactions, information
dissemination, and interpersonal interactions as distances have been overcome through extensive,
intricately-designed communication networks.
Today computer science is an academic subject in its own right, governed by scientific and mathematical
principles. Due to its increasing importance, computer studies have become an essential part of the
education curriculum around the world, including in Pakistan.
However, the trend has been to favour Information and Communications Technology (ICT) rather than
the science behind computers. ICT in schools usually focuses only on teaching how to use office
productivity software such as word processors, presentation software, and spreadsheets. However, as
teachers, we should ensure that we teach not only ICT, but also computing, especially in the lower classes.
This is an important distinction because ICT primarily involves simply understanding and memorizing
commands. As a consequence, many students may get the impression that little creativity is involved in
using computers. This may result in students losing interest in what they mistakenly believe to be
computing. Students must be introduced to how computers work and be given the opportunity to be
creative through computing activities that challenge them to use their logical and analytical skills along with
their creativity.
Computer science education should be such that students are capable of making a meaningful contribution
other to advance our digital society or use digital media optimally in their chosen field of study or work,
should they decide to do so in the future. Computer education in schools should equip every child with the
basic understanding of how computers work and demonstrate the possibilities of information technology in
a knowledge-based society and economy. This has been the rationale for developing the Keyboard: Computer
Science with Application Software (Second Edition) series.
iv 1
make the study of computer science engaging and interactive for students through a combination of
features.
The contents are based on the most recent feedback from teachers and incorporate the latest trends in
computer education. We have taken particular care to update facts and figures, and to include the latest
advancements in the field of information and communication technology. Thus, trendsetting topics such as
social networking and cloud computing have been explained along with devices such as smartphones and
tablets. Also, in keeping with the times, there is greater focus on animation and web design.
The series introduces the subject in language that is simple and direct. Technical jargon is used only where
necessary and all such terms are defined at the end of each chapter. Comic strips, icons, cartoon characters,
and illustrations make the learning process an enjoyable experience.
This series is an advanced course in computer science designed for those schools that wish to teach creative
application software such as Flash, HTML, Photoshop, and Dreamweaver along with the basic concepts of
computers, computer programming, and the Internet.
1 v
those found under Practice Time. In both, however, the questions describe a variety of situations across the
curriculum thus integrating the use of computers with problem-solving in other subjects areas.
The Revision Questions are recommended as a self-assessment tool for the students; for those who would
like to attempt the Cyber Olympiad, sample questions have been provided for practice.
Teaching Resources
The teaching resources for the Keyboard: Computer Science with Application software and (Second Edition)
consist of Teaching Guides and a Teaching Resource CD.
Teaching Guides
The Teaching Guide accompanying each Student’s Book is carefully structured to provide useful support to
teachers.
Each Teaching Guide contains the following:
• A lesson plan that details the number of periods recommended for a particular chapter, the topics
therein, the expected learning outcomes at the end of each topic, and the digital support available for
each chapter. This is intended to assist teachers in overall planning. Teachers should read through the
lesson plan before stepping into the classroom or can use the recommendations for creating their own
lesson plan.
• The complete answer key to the Student’s Book exercises has been given including answers for the In
the Lab questions, Worksheets/Assessment papers, Revision Questions, and the Cyber Olympiad
Questions.
• A set of chapter-wise worksheets follows the lesson plans, and has questions in the form of crossword
puzzles, wordsearches, jumbled words, etc. designed to reinforce conceptual understanding.
• In addition to the worksheets, a set of chapter-wise test papers has also been provided, which may be
used by teachers to create their own assessment papers, or used as they are for classroom tests.
Teaching Resouce CD
The Teaching Resource CD contains printable reinforcement and assessment materials along with a Test
Generator. Printable documents for every chapter include lesson plans, answers to the Student’s Book
exercises, worksheets, and test papers.
The comprehensive and easy-to-use Test Generator is an effective assessment tool designed to benefit
teachers by enabling them to create a variety of test papers. It includes an extensive pool of questions, such
as multiple choice, true or false, fill in the blanks, short answer, and long answer questions, as well as lab
exercises where relevant. Answers have been provided to enable efficient and effective evaluation. The Test
Generator allows the teacher to create test papers for one or more chapters.
The Students’ Books, and the accompanying Teaching Guides and digital resources together form a
complete package enabling effective teaching.
vi 1
Continuous and Comprehensive Evaluation
Learning takes place in a variety of ways—through experience, making and doing things, experimentation,
reading, discussion, asking, listening, thinking and reflecting, and expressing oneself in speech, movement,
or writing. All these modes of learning are possible both as individual or group activities. It would thus be
advantageous for students to be given the opportunity to participate in as many of these activities as
possible.
1 1
CONTINUOUS EVALUATION
Students’ Books
Beginning of Instruction (Formative Assessment)
• The introductory dialogue at the beginning of each chapter between Goggle and Toggle is a starter to
the chapter topic and can be employed to test the prior knowledge of students by using the dialogue to
ask for possible solutions or an answer to Goggle’s questions.
2 1
End-of-Chapter (Summative Assessment)
• At the end of the chapter the student can be tested on acquired knowledge through the objective and
descriptive questions in the Exercises section, and on the practical application of concepts through In
the Lab questions.
Teaching Guides
The Teaching Guides provide the following support for formative and summative assessment:
• Worksheets, one for each chapter, have questions in the form of crossword puzzles, wordsearches,
jumbled words, etc. designed to reinforce conceptual understanding.
• Test papers, one for each chapter, which may be used by teachers by photocopying them in a larger
format for classroom tests.
1 3
Digital Resources
The digital support for the series comprises the Learning Resource CD and the Teaching Resouce CD.
Learning Resource CD
The Learning Resource CD for Keyboard: Computer Science with Application Software (Second Edition) includes:
• Animation clips for conceptual topics such as those on operating systems, the history of computers,
input and output devices, etc. offer an interesting audio-visual element to technically complex or
difficult concepts. There are one or more modules for each such chapter that enable students to
reinforce what they have learnt in class.
• Demo videos that are linked to one of the Practice Time activities in software chapters (those chapters
that describe the features and commands available in a software), and present a step-by-step audio-visual
guide to solving the problem described in that particular Practice Time question. One or more objective
type question(s) has (have) been introduced at (a) strategic point(s) under the Rapid Round feature
during the demo to encourage students to participate in the solution to the problem. These questions
could be also be used as a formative assessment tool.
Teaching Resource CD
Printable documents for every chapter in the form of soft copies of the worksheets and test papers are given
for each chapter in the Teaching Guides. The teacher is free to use either version of the worksheets and test
papers as formative assessment tools.
The Test Generator accompanying the Teaching Resource CD is an effective assessment tool designed to
benefit teachers by enabling them to create a variety of test papers.
It has an extensive pool of questions including multiple choice, true or false, fill in the blanks, very short
answer, and short answer questions, as well as lab exercises where relevant. The Test Generator can be used
to create test papers for one or more chapters. The wide variety of objective and descriptive questions
makes the tool flexible enough for teachers to employ it either for formative as well as summative
assessment. Answers have also been provided for these questions to aid efficient and effective evaluation by
teachers.
Comprehensive Evaluation
Comprehensive evaluation involves, as explained above, both the scholastic and co-scholastic aspects of a
student’s growth and development. It aims to assess the student not only in the area of pure knowledge but
also in the areas of their analytical and creative ability, as well as in their general attitudes and aptitudes.
The key features in Keyboard: Computer Science with Application Software (Second Edition) have been designed
to provide both scholastic and co-scholastic development.
Scholastic
• The features such as
Did You Know?, Fast
Forward, Top Tip,
Update Office 2010,
Tricky Terms, and
Memory Bytes, enhance
and reinforce
conceptual knowledge.
4 1
Co-Scholastic
• The features such as Computer Manners, Projects, and the design of the practical exercises focus both
on scholastic and co-scholastic areas by creating awareness of the ethical and correct use of computers,
as well as the use of computers as a tool for problem-solving in other subjects.
1 5
LESSON PLANS
• A lesson plan has been devised for each chapter which details the number of periods recommended for
that chapter, the topics covered in that chapter, the recommended topic-wise allocation of periods, the
learning outcomes, and the digital support available for that chapter.
• The total number of periods in a year for computer science has been taken as 72 assuming two periods
a week for the subject.
• Teachers should go through the lesson plan before stepping into the classroom. However, this is a
proposed lesson plan, and teachers are free to modify it as per their teaching styles or teaching sequence
in respect of the chapters.
The number of periods given here is based on the assumption of two periods a week per class for computer science.
6 1
Chapter Title Total In This Topic-Wise Learning Outcomes
Periods Chapter Allocation of Teaching
Resource CD
Allocated Periods
1 7
Chapter Title Total In This Topic-Wise Learning Outcomes
Periods Chapter Allocation of Teaching
Resource CD
Allocated Periods
8 1
Chapter Title Total In This Topic-Wise Learning Outcomes
Periods Chapter Allocation of Teaching
Resource CD
Allocated Periods
1 9
Chapter Title Total In This Topic-Wise Learning Outcomes
Periods Chapter Allocation of Teaching
Resource CD
Allocated Periods
10 1
Chapter Title Total In This Topic-Wise Learning Outcomes
Periods Chapter Allocation of Teaching
Resource CD
Allocated Periods
1 11
Chapter Title Total In This Topic-Wise Learning Outcomes
Periods Chapter Allocation of Teaching
Resource CD
Allocated Periods
12 1
Chapter Title Total In This Topic-Wise Learning Outcomes
Periods Chapter Allocation of Teaching
Resource CD
Allocated Periods
1 13
Answer Key to Student’s Book Questions
• The complete answer key to the Student’s Book questions has been given here including answers for
the In the Lab questions and Worksheets.
• These are only suggested answers and variations are possible especially for the open-ended questions
such as the descriptive questions and those of In the Lab. Teachers should use their discretion while
checking students’ answers and award marks based on conceptual accuracy and clarity.
14 1
Chapter 1: Introduction to Microsoft Access
Exercises
1. a. database b. columns c. filter d. sort e. Search
2. a. T b. T c. F d. F e. T
3. a. Relational b. Field c. Report d. Primary key e. Datasheet view
4. a. A database management system (DBMS) organizes all the data so that it can be retrieved easily
whenever needed. Database management involves creating, modifying, deleting, and adding data in a
database. The software that performs these functions is called a database management system.
b. Microsoft Access and My SQL are examples of DBMS software.
c. A primary key is one (or more) column(s) whose values uniquely identify every row in a table.
The value in the primary field is different for every record and thus helps to identify records
uniquely. For example, in a table containing information about students of Class VIII A, the
column Roll No behaves as the primary key because every student has a unique roll number.
d. The four objects in a Microsoft Access database are:
i. Tables These store the data in a database.
ii. Forms These make it easy to enter data in tables.
iii. Query Based on selection criteria, a query retrieves data from one or more tables and
displays it on screen.
iv. Report This retrieves data and displays it in an easy-to-read format for printing.
e. The two ways of creating a Microsoft Access database are by using a blank database or by using a
template.
f. The Table Design view window consists of two areas:
1. The Field Grid pane or Field Entry area: This allows the user to specify field names and data
types. The user can also give a description with each field, though this is optional.
2. The Field Properties pane: This allows the user to enter more details for each field such as
field size, validation rule, etc.
g. Four data types available in Microsoft Access are Text, Memo, Number, and Date/Time.
h. Open the database. Click Table Design in the Tables group on the Create tab. The Table
Design view window appears. Here, the user can create fields and select the data types for each
field.
5. a. iv b. iv c. i d. iv e. i f. i g. ii h. iv
In the Lab
1. a. Admission No can be set as the primary key because it is unique for every record.
1 15
b. The following data types should be used for each field:
16 1
d. To enter data, click in the first field and enter the data.
e. Move to the next column by pressing Tab or the arrow keys.
f. Enter the following data:
1 17
d. To search all records of students whose name is Shahid:
i. Enter the name Shahid in the Search box at the bottom of the Access screen and press the
Enter key.
ii. Access highlights the corresponding name in the first record that matches the search.
iii. To find the next matching record, press the Enter key again.
5. Open the database you have created in Question 2.
a. In the Table Design view, enter the field name and the corresponding data type.
18 1
Chapter 2: Microsoft Access Design View, Queries,
Forms, and Reports
Exercises
1. a. Design b. Required c. primary d. query e. report
2. a. F b. T c. F d. T e. F
3. a. Field size b. Caption c. Query d. Report e. Forms
4. a. Design view in Access allows more control over table structure.
b. A validation rule limits the value that the field will accept. For example, if the validation rule for a
field is <= 100, it means that the field must be less than or equal to 100. If you enter a value
greater than 100, you will get an error message.
c. The validation rule to ensure that the value of the Salary field is less than 50000 should be < 50000.
d. The Default Value property should be used if you want the Received_Amount field to already
have the value Yes during data entry.
e. The maximum length of data in a Text field is 255 characters.
f. Queries are a method of getting answers to questions about data. Microsoft Access saves each query
in the database. A saved query can be run again anytime in the future.
g. A form provides an easy-to-use method for entering and editing data for those who are not familiar
with Access. Forms provide a way of viewing and deleting data.
h. Reports are an effective way to present data in printed format. You can control the size and
appearance of everything on a report. Thus, you can display the information the way you want to
see it.
5. a. iii b. i c. i d. i e. ii f. i g. ii h. iii
In the Lab
1. a. Create a table named Car in Design view.
b. Follow these steps to set Car_ID and Car_Model as the primary key:
i. To select the fields, hold down the Ctrl key and click the row selector for each field.
ii. Click Primary Key in the Tools group of the Design tab.
c. Follow these steps to set Car_Colour as the Lookup field:
i. Select the data type of Car_Colour field as Lookup Wizard.
ii. In screen 1 of 3 of the Lookup Wizard, click I will type in the values that I want and click
Next.
iii. In screen 2 of 3 of the Lookup Wizard, click in the blank row below Col1, type the colour as
blue and press Tab or the down arrow key to go to the next row. Add colours white, red, and
silver.
iv. In screen 3 of 3 of the Lookup Wizard, accept or change the label as you want and click
Finish.
1 19
d. Change to Datasheet view and enter the following 10 records:
20 1
v. Report Wizard screen 4 of 6 appears. Select the layout. Click Next.
vi. Report Wizard screen 5 of 6 appears. Select the style for the report. Click Next.
vii. Report Wizard screen 6 of 6 appears. Type the title for the report as EmpRep, which will be
the name assigned to the report. If you want to see the report, select Preview the report and
click Finish.
4. Create a table named Item with three fields Item_No, Item_Name, and Item_Price and enter 10
records.
a. Follow these steps to create a query—display the records in ascending order of Item Price:
i. Click Query Design in the Other group of the Create tab.
ii. The Show Table dialog box appears. Choose the table Item and click Add, or just double-click
the table. Click Close.
iii. The next screen appears. Double-click the asterisk ( ) to include all the columns of the table.
iv. Select the Sort option as ascending in the Item_Price column.
v. To save a query, click the Save option in Quick Access Toolbar. The Save As dialog box
appears. Type the name as Query1 and click OK. Query1 will appear in the Navigation Pane.
b. Follow these steps to create query—display Item_No and Item_Price from all the records.
i. Repeat the procedure in steps a (i) and (ii) with some changes.
ii. Select the field and drag it to the required column in the grid.
iii. Save the query as Query2.
5. a. Create the table named Students in Design view. Enter the following field names and data types:
1 21
c. In Design view, click Report Wizard in the Reports group of the Create tab.
d. Report Wizard screen 1 of 6 appears. Choose the table, add fields that you want to see in the
report results, and click Next.
e. Report Wizard screen 2 of 6 appears. Select the grouping level within the report and click Next.
f. Report Wizard screen 3 of 6 appears. You can sort the data up to four fields. Click Next.
g. Report Wizard screen 4 of 6 appears. Select the Columnar layout. Click Next.
h. Report Wizard screen 5 of 6 appears. Select a style for the report. Click Next.
i. Report Wizard screen 6 of 6 appears. Type the title for the report as StuRep1, which will be the
name assigned to the report. If you want to see the report, select Preview the report and click
Finish.
j. Repeat steps c to i to create another report. Select the Tabular layout and type the title for the
report as StuRep2.
k. Select the report in Navigation Pane. Select Print from the Microsoft Office Button menu.
The Print dialog box appears. Select the required options and click OK.
22 1
Chapter 3: Creating Lists and Inserting Images in HTML
Exercises
1. a. list item b. ordered c. container d. unordered e. border
2. a. F b. T c. T d. T e. F
3. a. Ordered list b. Definition list tag <dl> c. JPEG
d. ALIGN e. BACKGROUND
4. a. The <img> tag is used to insert an image. ALIGN and BORDER are two attributes used with this
tag.
b. The TYPE attribute specifies the type of numbering to be used in an ordered list. The TYPE
attribute can have A, a, i, I, or 1 as values.
c. <ol start=“value” type=“I”> Or <ol type=“I”>
d. i. Ordered list
ii. List item
iii. Unordered list
e. The output will be:
c. ENGLISH
d. Urdu
e. Maths
f. An ordered list defines a list of items in which the order of items matters. The list items are
enclosed by <ol> and </ol> tags. The START and TYPE attributes specify the numbering
scheme.
g. In the given HTML code, <ul> must be replaced by <ol>; </h4> must be replaced by </h3>;
the </body> tag should be inserted above the </html> tag.
h. Alt specifies the text to be displayed while the file loads or if the browser does not support graphics.
Border specifies the thickness of the border surrounding the image.
5. a. i b. iv c. ii d. iii e. iv f. ii g. iv h. iv i. i
In the Lab
1. <html>
<head>
<title>Courses Offered</title>
</head>
<body bgcolor=“aqua”>
<font color=“blue”>
<h2>Brilliance Classes</h2>
</font>
<font color=“red”>
<ol>
<li>2 Yrs. Integrated Program</li>
</font>
1 23
<font color=“green”>
<ul>
<li>Eligibility: Students studying in Class XI</li>
<li> Batch starts 14th April</li>
</ul>
</font>
<font color=“red”>
<li>1 Yr. Integrated Program</li>
</font>
<font color=“green”>
<ul>
<li>Eligibility: Students studying
in Class XII</li>
<li>Batch starts 16th April</li>
</ul>
</font>
</ol>
</body>
</html>
2. <html>
<head>
<title> Cooking Classes</title>
</head>
<body bgcolor=“yellow” text=“green”>
<font color=“maroon”>
<h2 align=“center”>MAZEDAR COOKING CLASSES</h2>
</font>
<hr width=“50%” align=“center” color=“orange”>
<h3>Courses Offered</h3>
<li>Cakes</li>
<li>Soups</li>
<li>Mocktails</li>
<li>Sizzlers</li>
<hr>
<center>Timings: 10.30 a.m. to 5.30 p.m. on all days except Sunday</center>
<hr>
<img src=“cake.jpg”>
<img src=“soup.jpg”>
<img src=“mocktails.jpg”>
<img src=“sizzlers.jpg”>
</body>
</html>
24 1
3. <html>
<head>
<title>Activities</title>
</head>
<body bgcolor=“green” text=“yellow”>
<font color=“red”>
<h2 align=“center”>ACTIVITIES DURING SUMMER VACATIONS</h2>
</font>
<hr width=“50%” align=“center” color=“orange”>
<h3>Sports</h3>
<li>Swimming</li>
<li>Table Tennis</li>
<li>Cricket</li>
<li>Skating</li>
<li>Aerobics</li>
<h3>Other Activities</h3>
<li>Drawing and Painting</li>
<li>Instrumental Music</li>
<li>Classical Dance</li>
<li>Flower making</li>
<li>Photography</li>
<li>Robotics</li>
<hr>
<img src=“swimming.jpg”>
<img src=“tabletennis.jpg”>
<img src=“aerobics.jpg”>
<img src=“dance.jpg”>
<img src=“drawing.jpg”>
</body>
</html>
4. <html>
<head>
<title>Ultimate Security Solutions</title>
</head>
<body bgcolor=“green”>
<font color=“yellow”><h2>Ultimate Security Solutions</h2>
</font>
<hr>
<font color=“white”>
<ul>
<li>Digital Video Recording</li>
1 25
<li> CCTV Surveillance
Cameras</li>
<li>Video Door Phones</li>
<li>Forced Intruder Alarms</
li>
<li>Electronic Door Locks</li>
</ul>
</font>
</body>
</html>
5. <html>
<head>
<title>ALSAN COLLEGE</
title>
</head>
<body bgcolor=“yellow”>
<font color=“blue”><h2 align=“center”>ALSAN COLLEGE</h2>
<h3 align=“center”>Contents</h3>
</font>
<hr>
<font color=“red”>
<ol>
<li>About the College</li>
<li>Teaching Faculty</li>
<li>Courses of Study</li>
<li>Eligibility Criteria</li>
<li>Admission Information</li>
</ol>
</font>
</body>
</html>
26 1
Chapter 4: Tables, Links, and Frames in HTML
Exercises
1. a. table b. <th> c. <caption> d. spacing e. hyperlink
2. a. T b. T c. T d. T e. F
3. a. Table tag b. <th> tag c. BGCOLOR d. 0 e. Red
4. a. <html><head>
<title>Creating a Table</title>
</head>
<body>
<table border=“1”>
<tr>
<th bgcolor=“blue”>S. No.</th>
<th bgcolor=“blue”>NAME</th>
<th bgcolor=“blue”>MARKS</th>
</tr>
<tr>
<td>1</th>
<td>Sohail</td>
<td>88</td>
</tr>
<tr>
<td>2</th>
<td>Kiran</td>
<td>95</td>
</tr>
</table>
</body>
</html>
b. <table border=“2” bordercolor=“red” cellspacing=“5”>
c. VLINK (Visited Link): The colour of a link to a page the visitor has visited. The default colour is
purple.
ALINK (Active Link): The colour of a link when the mouse is brought over it. The default
colour is red.
d. Yes, an image can be set as a hyperlink. For example,
<a href=“detail.html”><img src=“mypic.gif”></a>
e. The <frameset> tag defines how to divide the window into frames.
f. The <frame> tag specifies which HTML document to put in a frame.
g. The NORESIZE attribute is used if you do not want frame windows to be resizable.
h. Error—80%. The correct HTML code is:
<frameset rows=“30%, 70%”>
5. a. i b. iii c. i d. ii e. iii f. i g. iii h. iii
1 27
In the Lab
1. <html>
<head>
<title>Quotations</title>
</head>
<body>
<h2 align=“center”>Motivational Quotations</h2>
<hr align=“center” width=“50%” color=“maroon” size=“4”>
<font color=“blue”>
<p>We are what we repeatedly do. Excellence, therefore, is not an act but a habit.</p>
</font>
<font color=“green”>
<p align=“right”>Aristotle</p>
</font>
<font color=“blue”>
<p>Dream big and dare to fail.</p>
</font>
<font color=“green”>
<p align=“right”>Norman Vaughan</p>
</font>
<font color=“blue”>
<p>The only way of finding the limits of the possible is by going beyond them into the impossible.</
p>
</font>
<font color=“green”>
<p align=“right”> Arthur C. Clarke</p>
</font>
</body>
</html>
2. <html>
<head>
<title>Pakistani Culture and Heritage</title>
</head>
<body bgcolor=“black”>
<font color=“white”>
<h2 align=“center”>Paksitani Culture and Heritage</h2>
</font>
<hr align=“center” width=“50%” color=“yellow” size=“4”>
<font color=“white” face=“Lucida Calligraphy”>
<h3>Religions<h3>
</font>
<img align=“right”src=“religion.jpg”>
<font color=“orange” face=“Arial”>
28 1
<p>Pakistan is a land of culture and civilization. The Indus valley civilization, one of the oldest in the
world, was based along the River Indus. The remains can be found at several sites such as Mohenjodaro
and Harappa. Buddhist and Muslim civilizations have also flourished in this land.</p>
</font>
<font color=“white” face=“Lucida Calligraphy”>
<h3>Food<h3>
</font>
<img align=“right” src=“food.jpg”>
<font color=“orange” face=“Arial”>
<p>Pakistani food is as diverse in nature as the people and their languages. In Pakistan, cuisines differ
greatly as a result of variation in local culture and geographical locations. The food also varies according
to the seasons, depending on the availability of fruits and vegetables in a season.</p>
</font>
</body>
</html>
3. <html>
<head>
<title>Star Constellations</title>
</head>
<body>
<table border=“4” bordercolor=“blue”>
<caption><h1><font color=“maroon”>STAR CONSTELLATIONS</font></h1>
</caption>
<tr>
<td><img src=“orion.jpg”></td>
<td><h2 align=“center”>ORION</h2>The constellation Orion is one of the most recognizable
patterns of stars in the northern sky.</td>
</tr>
<tr>
<td><img src=“ursamajor.jpg”></td>
<td><h2 align=“center”> URSA MAJOR</h2>The constellation Ursa Major consists of a group of
stars commonly known as the ‘Big Dipper’. Any person living in the northern hemisphere can use the
Big Dipper to locate all the important stars in the sky.</td>
</tr>
</table>
</body>
</html>
4. MAIN.HTML
<html>
<frameset rows=“15%, 85%”>
<frame src=“banner.html”>
<frameset cols=“30%, 70%”>
<frame src=“topics.html”>
<frame src=“intro.html” name=“main”>
1 29
</frameset>
</frameset>
</html>
BANNER.HTML
<html>
<body bgcolor=“black” text=“white”>
<h2 align=“center”>THE SKELETAL SYSTEM</h2>
</body>
</html>
TOPICS.HTML
<html>
<body text=“blue”>
<h2 align=“center”>TOPICS</h2>
<li><a target=“main” href=“skull.html”>SKULL</a></li>
<li><a target=“main” href=“ribcage.html”>RIB CAGE</a></li>
<li><a target=“main” href=“spinalcord.html”>SPINAL CORD</a></li>
<li><a target=“main” href=“limbs.html”>LIMBS</a></li>
</body>
</html>
INTRO.HTML
<html>
<body bgcolor=“yellow”>
<font face=“Comic Sans MS” color=“maroon”>
<h1 align=“center”>INTRODUCTION TO THE HUMAN SKELETAL SYSTEM</h1>
</font>
<font color=“maroon” face=“Times New Roman”>
<p>The skeletal system can be defined as the hard framework of the human body around which the
entire body is built. The skeletal system consists of bones and tissues such as tendons, ligaments, and
cartilage that connect the bones.</p>
</font>
<center><img src=“skeletal.jpg”></center>
</body>
</html>
Similarly, you can create other web pages—skull.html, ribcage.html, spinalcord.html, and limbs.html.
5. Create frames in the same manner as in Question 4: Main.html to create frames, banner.html to insert
a heading in the top horizontal frame, and topics.html to give a list of the means of transport in the left
frame. Clicking any list item should display the description in the right frame.
30 1
Chapter 5: Introduction to Dreamweaver CS3
Exercises
1. a. website b. Title c. Insert d. Properties e. tab
2. a. T b. F c. F d. T e. F
3. a. Site b. Files panel c. Hyperlink d. Status bar e. Named anchor
4. a. Adobe Dreamweaver, BlueVoda, and Microsoft Publisher are three software applications used to
create commercial websites.
b. The term ‘site’ refers to a local or remote storage location for the documents on a website.
c. Local root folder and remote folder are used for creating a website in Dreamweaver.
d. Place the cursor where you want to insert an image on the web page and follow these steps:
i. Click the Images button down arrow and select Image from the menu.
ii. The Select Image Source dialog box appears. Navigate to the location of the image file, select
the image, and click OK.
e. A hyperlink is a word, phrase, or image that you can click on to move to a new document or a new
section within the current document.
f. i. In Design view, place the cursor where you want the named anchor.
ii. Select Insert
Named Anchor.
Or
Click Named Anchor in the Insert panel of the Common category.
iii. The Named Anchor dialog box appears. Type a name for the anchor, for example, Top, and
click OK. The name cannot contain any spaces. The anchor icon appears where the cursor is in
the Document window.
g. The Files panel lets you manage files and folders on a local machine or remote server. It also lets
you access files on your local disk in the same way as Windows Explorer.
h. Follow these steps to insert a Flash button in a document:
i. Place the cursor where you want to insert the Flash button.
ii. In the Insert bar of the Common category, select Media and click the Flash Button option of
the menu.
Or
Select Insert
Media
Flash Button.
iii. The Insert Flash Button dialog box appears. Select the Style for the button and type the
Button text. Select the Font and font Size. Browse to the file linked to this button. Select the
Target window. You can change the background colour of the button.
After applying all changes, click Apply. The button will appear on the web page. If you like the button,
click OK. Otherwise, change your selections and click Apply again to see how it looks. Finally, click
OK.
5. a. iv b. i c. ii d. iv e. ii f. iv g. iv
1 31
In the Lab
1. a. Select Start All Programs Adobe Design Premium CS3
Adobe Dreamweaver CS3.
b. The opening screen appears. Click Dreamweaver Site.
c. The Site Definition screen appears. Click the Advanced tab. Enter the local root folder as
MyWebSite or locate it using the Browse button. Click OK.
d. You will see the MyWebSite folder in the Files panel on the right.
e. To add a web page, select File
New.
f. The New Document dialog box appears. Click
Create.
g. The Document window appears. Type the text in
the Document window as shown below.
h. At the bottom of the screen, you will see the
Property Inspector for text properties. Select the
text and change font, font size, and font colour.
i. To add image, click the Images button down arrow
and select Image from the menu.
j. The Select Image Source dialog box appears.
Navigate to the location of the image file, select the
image, and click OK.
k. To save the web page, click File Save. The Save
As dialog box appears. Type the name of the file and
click Save.
2. a. Open Dreamweaver and create a CampWebSite folder. You will see this folder in the Files panel
on the right.
b. To add a web page, right click the folder and select New File. Type the filename as
Introduction.html. Similarly, create three more web pages named CampingPackage.html,
ContactUs.html, and Index.html
c. Double-click Index.html to open the page.
d. Type the text as shown below. You can add some
information and images about the camping
adventure activities.
e. To set the first text as a hyperlink, drag the
Point to File icon next to the Link text box in
the Property Inspector to the target document
Introduction.html in the Files panel. Notice the
filename appears in the Link text box.
f. Similarly, add hyperlinks to the second and third texts as CampingPackage.html and ContactUs.html.
g. Save the web page Index.html.
h. Double-click Introduction.html. The Document window appears. Type the required text and add
images. Similarly, add text and images to other web pages.
i. Save all the web pages.
32 1
3. Let us take an example of a website on the festivals of Pakistan that consists of four pages.
a. The website with four web pages Index.html, Eid.html, Diwali.html, and Chrismas.html is created
in a similar manner as in Question 2. Create an attractive first page (Home or Index) and enter the
text. Instead of using Link in the Properties window, Buttons are used for hyperlinks.
b. Follow these steps to add a Flash button:
i. Place the cursor where you want to insert a Flash button.
ii. In the Insert bar of the Common category, select Media and click the Flash Button option of
the menu.
iii. The Insert Flash Button dialog box appears.
iv. Select the Style of the button.
v. Type the Button text.
vi. Select the Font and font Size.
vii. Browse to the file linked to this button.
viii. Select the Target window.
ix. You can change the background colour of the button.
x. Click Apply.
xi. If you like the button, click OK.
c. Add Flash buttons to the web pages at the required place.
d. Save the web pages.
4. a. Create a website with the first page as Index.html. The first page is hyperlinked with other web
pages—Rectangle.html, Square.html, Triangle.html, Circle.html, Cylinder.html, Cube.html, and
Cuboid.html with details of the geometric figures.
b. You can create text, image, or button hyperlinks as explained in Questions 2 and 3.
5. a. Create a Word file for the holiday homework of English, Maths, Science, Social Science, Urdu, and
Islamiyat.
b. Open the web page that has the link to the Word document.
c. Drag the Word file from its current location to anywhere on the web page. The Insert Document
dialog box appears.
d. Select Create a link and click OK.
e. If the document you are linking to is not in your site’s root folder, Dreamweaver prompts you to
copy it to the site root folder.
f. Press F12 or click Preview/Debug in Browser.
g. The web page has a link to the Word file. The file is downloaded when you click to open the file.
1 33
Chapter 6: Images and Framesets in Dreamweaver CS3
Exercises
1. a. Frames b. URL c. border d. Page Properties e. target
2. a. T b. T c. T d. F e. F
3. a. Rollover image b. Image map c. F12 d. Frameset e. Alt
4. a. Most browsers support the following three formats:
i. Graphics Interchange Format (GIF)
ii. Joint Photographic Experts Group (JPEG)
iii. Portable Network Group (PNG)
b. A rollover image, when viewed in a browser, changes as the pointer moves across it. For this, we
have two images:
i. A primary image that is displayed when the web page is first loaded
ii. A secondary image that appears when the pointer moves over the primary image.
c. An image map is an image divided into clickable regions called hotspots.
d. Rectangle, circle, or polygon shapes are available for creating image maps in Dreamweaver.
e. A frame set is an HTML file that defines the layout and properties of a set of frames, including the
number of frames, the size and placement of each, and the URL of each page that appears in each
frame.
f. When the Save All option of the File menu is selected, the Save As dialog box appears. Suitable
names for the frameset and frames can be entered, and the OK button is clicked.
g. To select a frameset, click one of the frameset’s internal frame borders in Design view, or click
the frame border in the Frames panel.
h. Follow these steps to link a file so that its content is displayed in a particular frame:
i. In Design view, select the text or image that will become a hyperlink.
ii. Drag the Point to File icon to the linked file in the Files panel.
iii. Select the frame name in the Target menu of Property Inspector. Notice that frame names
also appear in the menu, besides the usual _top, _self, _parent, and _blank options.
5. a. i b. iii c. i d. i e. iii f. iii g. iii h. iv
In the Lab
1. You should have .jpeg files of your childhood picture and current picture. Follow these steps to create a
rollover image:
a. Place the insertion point where you want the rollover image to appear in the Document window.
b. Click Images in the Insert bar of the Common category and select Rollover Image. The Insert
Rollover Image dialog box appears.
c. Enter the following information and click OK.
i. Image name: The name of the rollover image
34 1
ii. Original image: The image that is displayed when the web page loads
iii. Rollover image: The image that is displayed when the pointer rolls over the original image
iv. Preload rollover image: Specifies whether to preload the images in the browser’s cache, so
there is no delay when the user rolls the pointer over the image
v. Alternate text: Text to describe the image for viewers using a text-only browser
vi. When clicked, Go to URL: The file that opens when the rollover image is clicked
d. Press F12 or click the Preview/Debug button and select the browser.
e. Move the pointer over the original image to see the rollover image.
2. a. Create a collage of pictures.
b. Select the image in the Document window.
c. To define the image map area, do one of the following:
Select the Circle or Rectangle tool and drag the pointer over the image to create a circular or
rectangular hotspot.
Or
Select the Polygon tool and click the corners for an irregular-shaped hotspot.
d. The Hotspot Property Inspector appears.
e. Click the folder icon of the Link text box to browse and select the file.
Or
Drag the Point to File icon to the required file in the Files panel.
f. In the Target text box, select _blank, i.e. to load the linked file into a new unnamed browser window.
g. In the Alt text box, type the alternative text that will be displayed in text-only browsers.
h. Repeat steps c to g to define additional hotspots on the image map.
i. After you finish, click a blank area in the document.
j. Press F12 or click Preview/Debug in Browser, or select File
Preview to view the web page in
a browser.
k. Move the pointer over the hotspot, the pointer changes. Click a hotspot to display the linked web page.
3. a. Create a Word file for the homework for English, Maths, Science, Social Science, Urdu, and Islamiyat.
b. Open the web page that has the link to the Word document.
c. Drag the Word file from its current location to anywhere on the web page. The Insert Document
dialog box appears.
d. Select Create a link and click OK.
e. If the document you are linking to is not in your site’s root folder, Dreamweaver prompts you to
copy it to the site root folder.
f. Press F12 or click Preview/Debug in Browser.
g. The web page has a link to the Word file. The file is downloaded when you click to open the file.
1 35
4. Follow these steps to create a frameset:
a. Select File New. The New Document dialog box appears.
b. Select Category as Page from Sample, Sample Folder as Frameset, Sample Page as Fixed
Top, Nested Left, and click Create.
c. The Frame Tag
Accessibility Attributes
dialog box appears. You
can change the frame title
and click OK.
d. A new frameset with a set
of three frames is inserted
as shown below.
e. Type the heading in the
topFrame. You can also
insert an image.
f. Type the text in leftFrame.
g. Select the text that will
become a hyperlink.
h. In the Link box of the Property Inspector, click the Browse for File icon and select the file.
Or
Drag the Point to File icon to the linked file in the Files panel.
i. Select the frame name in the Target menu of Property Inspector as mainFrame.
j. Similarly, select the other text as hyperlink in leftFrame.
5. a. Create a frameset in a manner similar to that in Question 4. An example of a website on
Conservation of Plants/Animals is given below.
b. Type the heading and insert images in the topFrame.
c. Type the text to be hyperlinked in the leftFrame. The Target frame of the hyperlinked text
should be mainFrame.
d. Save the website.
36 1
Chapter 7: Introduction to Photoshop
Exercises
1. a. Tools panel b. Title bar c. status d. Marquee e. Lasso
2. a. T b. F c. T d. F e. F
3. a. Rectangular Marquee tool b. .psd c. Magic Wand tool
d. Crop tool e. Custom Shape tool
4. a. Resolution is the number of pixels per inch. With a higher resolution, the image is sharper and the
file size is bigger.
b. Follow these steps to change the foreground or background colour:
i. Click the Foreground or Background colour selection box in the Tools panel. The Color
Picker dialog box appears.
ii. Drag the colour slider.
iii. Click in the colour selection box and choose a colour.
iv. Click OK.
c. The two major groups of selection tools in Photoshop are Marquee tools and Lasso tools.
d. Follow these steps to change the width and height of a new Photoshop file:
i. Create a new file by selecting File New. The New dialog box appears.
ii. In the New dialog box, choose the units and then specify the width and the height.
e. The Rectangular Marquee tool is used to select a rectangular area of an image, whereas the
Elliptical Marquee tool is used to select an elliptical or circular area of an image.
f. The Color Mode decides the number of colours that can appear in the image. You can choose
from the given options (bitmap, grayscale, RGB, CMYK).
g. Lasso tools are used to make free-hand selections in an image.
h. Marquee tools are used to select areas of an image in rectangular, square, elliptical, or circular
shapes. The Gradient tool is used to fill a selected area or an entire layer with a gradient.
5. a. ii b. i c. iv d. i e. ii f. iii g. iii h. ii
In the Lab
1. The steps to insert a shape using the Custom Shape tool are:
a. Select the Custom Shape tool.
b. Click the arrow beside the Shape option in the options bar and select the required shape. If you do
not find a shape in the panel, click the arrow in the upper right corner of the panel and choose a
different category of shapes. You can either Replace to view only the shapes in the new category or
Append to add the shapes.
c. Click and drag the mouse to draw the shape.
Change the colours of the shapes using the Gradient bar of the Gradient Editor dialog box.
Create new gradient colour combinations using this bar.
1 37
2. a. Open the image of a landscape.
b. The steps to use the Lasso tool are:
i. Click on the small black arrow in the bottom-right corner of the Lasso tool.
ii. Select the required tool from the list of available tools.
1. Lasso tool: To make free-form selections in the desired shape
2. Polygonal Lasso tool: To select polygonal areas by clicking at different points
3. Magnetic Lasso tool: This tool sticks to the edges of the image, thus making selection very
easy.
iii. Place the mouse pointer on the image and drag it around the area you want to select.
c. The steps to use the Marquee tool are:
i. Click on the small black arrow in the bottom-right corner of the Marquee tool.
ii. Select the required Marquee tool from the list.
1. Rectangular Marquee tool: To select a rectangular area of an image
2. Elliptical Marquee tool: To select an elliptical or circular area of an image
3. Single Row Marquee tool: To select a single row of pixels
4. Single Column Marquee tool: To select a single column of pixels
iii. Place the mouse pointer on the image and drag around the area to select. A dashed border
surrounds the area you have selected.
d. The steps to copy a portion of an image are:
i. Select an area using the Marquee or Lasso tool.
ii. Click on the Move tool in the Tools panel.
iii. With the Alt key pressed, drag the selection to another location.
3. The steps to copy the selected portion of an image to another image are:
a. Open the image. Make a selection using the Marquee or Lasso tool.
b. Select Edit
Copy.
c. Open the destination image.
d. Select Edit
Paste.
4. The steps to copy the selected portion of an image to another image are:
a. Open the image. Make a selection using the Marquee or Lasso tool.
i. Select Edit
Copy.
ii. Open the destination image.
iii. Select Edit
Paste.
b. You can use the Brush tool to draw trees, grass, etc. Then use the Gradient tool to change the
colour of the selected portion.
38 1
c. The steps to use the Brush Tool are:
i. Click on the Brush tool in the Tools panel.
ii. Click the arrow beside the Brush command in the Options bar. The Brush Preset Picker
appears.
iii. Click on a brush style of your choice.
iv. Click on Set foreground color in the Tools panel. The Color Picker Palette appears.
v. Choose the colour you want from the Color Picker Palette and click OK.
vi. Click and drag the mouse pointer on the image to draw strokes of the selected colour.
d. The steps to change the colour of the shape are:
i. Click on the Gradient tool in the Tools panel.
ii. From the Options bar, select a Gradient type from Linear, Radial, Angle, Reflected or
Diamond.
iii. Click the gradient sample bar in the Options bar. The Gradient Editor dialog box appears.
iv. Choose any of the gradients from the Presets box or create a new gradient from the Gradient
bar.
v. Drag and release the mouse in the image. The selected area will be filled with the gradient.
5. a. Start Photoshop CS3.
b. Create a new file.
c. The steps to copy the selected portion of an image to another image are:
i. Open the image. Make a selection using the Marquee or Lasso tool.
ii. Select Edit
Copy.
iii. Open the destination image, i.e. the new file.
iv. Select Edit
Paste.
d. Copy some more pictures and place them in appropriate positions using the Move tool.
1 39
Chapter 8: Tools Used in Photoshop
Exercises
1. a. Retouching b. Clone Stamp c. Dodge d. Layers e. Flattening
2. a. F b. T c. F d. T e. T
3. a. Healing Brush tool b. Blur tool c. Burn tool
d. Layers palette e. Layer and Flatten Image
4. a. The Spot Healing Brush tool can remove blemishes, scars, spots, and other imperfections in a
photograph. The Healing Brush tool is used to paint with sampled pixels from an image.
b. Follow these steps to rename a layer:
i. Double-click the layer in the Layers palette.
ii. Type a new name.
c. The keyboard shortcut to insert a layer in Photoshop is Shift + Ctrl + N.
d. To select multiple adjacent layers, click the first layer and then press Shift + Click on the last layer.
e. Follow these steps to change the order of layers:
i. Click and drag the layer up or down in the Layers palette.
ii. Release the mouse button when the highlighted line appears where you want to place the layer.
f. Photoshop provides a number of effects that let you quickly change the appearance of a layer’s
contents, such as shadows, glows, and bevels. The steps to apply Layer effects are:
i. Select a layer in the Layers palette.
ii. Click the Layer Styles button at the bottom of the Layers palette and choose an effect from
the list.
g. Follow these steps to rotate a Photoshop image:
i. Select the layer or image.
ii. Select Edit Transform Rotate. The rotation handles appear.
iii. Click and drag the rotation handles.
iv. Double-click inside the image to apply the transformation.
h. The Filter Gallery lets you apply filters incrementally and apply individual filters more than once.
5. a. i b. iv c. i d. iv e. i f. i g. i h. iii
In the Lab
1. a. Create a new Photoshop document with a suitable background colour.
b. The steps to add text are:
i. Click the Type tool in the Tools panel.
ii. Select font, size, and colour in the Options bar.
iii. Click the left mouse button on the image and type the text. The typed text is inserted in a new
layer.
c. The steps to apply a filter are:
i. To apply a filter to an entire layer, make sure that the layer is active. To apply a filter to part of
a layer, select that area.
40 1
ii. Choose a filter from the sub-menus in the Filter menu.
iii. Fill values and select options in the dialog box.
iv. Click OK to apply the filter.
d. To add a new layer:
i. Select Layer New Layer.
ii. Give an appropriate name to the layer.
iii. Click OK. You will see a new blank layer in the Layers palette.
e. Copy the required image and paste it into this new layer.
f. To change the size of an image:
i. Select the layer.
ii. Select Edit Transform Scale. Scaling handles appear.
iii. Click and drag the scaling handles to resize the image.
iv. Double-click inside the image to apply this transformation.
g. To rotate the image:
i. Select the image or layer.
ii. Select Edit Transform Rotate. The rotation handles appear.
iii. Click and drag the rotation handles.
2. a. Start Photoshop CS3.
b. Create a new file.
c. To add a new layer:
i. Select Layer New Layer.
ii. Give an appropriate name to the layer.
iii. Click OK. You will see a new blank layer in the Layers palette.
d. Copy the required image and paste it into this new layer.
e. To change the size of an image:
i. Select the layer.
ii. Select Edit Transform Scale. Scaling handles appear.
iii. Click and drag the scaling handles to resize the image.
iv. Double-click inside the image to apply this transformation.
f. To rotate the image:
i. Select the image or layer.
ii. Select Edit Transform Rotate. The rotation handles appear.
iii. Click and drag the rotation handles.
iv. Double-click inside the image to apply the transformation.
g. Repeat steps c to f to add more images. Each image will be in its own layer.
h. The steps to add text (for the title) are:
i. Click the Type tool in the Tools panel.
ii. Select font, size, and colour in the Options bar.
iii. Click the left mouse button on the image and type the text. The typed text is inserted in a new
layer.
1 41
i. The steps to apply a filter are:
i. To apply a filter to an entire layer, make sure that the layer is active. To apply a filter to part of
a layer, select that area.
ii. Choose a filter from the sub-menus in the Filter menu.
iii. Fill values and select options in the dialog box.
iv. Click OK to apply the filter.
3. a. Start Photoshop.
b. Open the image.
c. The steps to apply different textures to the image are:
i. To apply a filter to an entire layer, make sure that the layer is active. To apply a filter to part of
a layer, select that area.
ii. Choose the Texture sub-menu in the Filter menu.
iii. Fill values and select options in the Filter effects dialog box.
iv. Click OK to apply the filter.
You can apply different textures to the images in a similar manner.
4. a. Create a new Photoshop document with a suitable background colour.
b. To type the text:
i. Select the Type tool. Set a suitable foreground colour.
ii. Select font, size, and colour in the Options bar. You can use bright colours and suitable fonts to
make the cover page look attractive.
iii. Type the text.
c. To apply a filter:
i. To apply a filter to an entire layer, make sure that the layer is active. To apply a filter to part of
a layer, select that area.
ii. Choose a filter from the sub-menus in the Filter menu.
iii. Fill values and select options in the dialog box.
iv. Click OK to apply the filter.
d. To add a new layer:
i. Select Layer New Layer.
ii. Give an appropriate name to the layer.
iii. Click OK. You will see a new blank layer in the Layers palette.
e. Copy the required image and paste it into this new layer.
f. To change the size of an image:
i. Select the layer.
ii. Select Edit Transform Scale. Scaling handles appear.
iii. Click and drag the scaling handles to resize the image.
iv. Double-click inside the image to apply this transformation.
g. To rotate the image:
i. Select the image or layer.
ii. Select Edit Transform Rotate. The rotation handles appear.
iii. Click and drag the rotation handles.
iv. Double-click inside the image to apply the transformation.
42 1
5. a. Create a new Photoshop document with a suitable background colour.
b. To type the text:
i. Select the Type tool. Set a suitable foreground colour.
ii. Select font, size, and colour in the Options bar.
iii. Type the text.
c. To apply a filter:
i. To apply a filter to an entire layer, make sure that the layer is active. To apply a filter to part of
a layer, select that area.
ii. Choose a filter from the sub-menus in the Filter menu.
iii. Fill values and select options in the dialog box.
iv. Click OK to apply the filter.
d. To add a new layer:
i. Select Layer New Layer.
ii. Give an appropriate name to the layer.
iii. Click OK. You will see a new blank layer in the Layers palette.
e. Copy the required image and paste it into this new layer.
f. To change the size of an image:
i. Select the layer.
ii. Select Edit Transform Scale. Scaling handles appear.
iii. Click and drag the scaling handles to resize the image.
iv. Double-click inside the image to apply this transformation.
g. Repeat the above steps to create an attractive menu card.
Note: In any of the above questions, you can use the Dodge tool (to lighten parts of an image),
Burn tool (to darken parts of an image), Blur tool (to soften portions of an image), Smudge tool
(to create the effect of wet paint smudged with a finger), and other tools.
1 43
Chapter 9: Networking and E-Commerce
Exercises
1. a. wireless b. intranet c. packets d. E-commerce e. e-learning
2. a. F b. T c. T d. T e. F
3. a. Extranet b. Wide area network c. Protocol d. E-learning site e. Infomania
4. a. An intranet is a private network that uses Internet protocols and technology. It is meant for
information sharing amongst the employees of an organization.
An extranet is a semi-private network, and it uses Internet technology too. It is an intranet that has
been extended to allow a selected group of people outside the organization, such as vendors and
business partners, to gain access to relevant information.
b. One way of classifying networks is by the extent of geographical area covered. These are the
different types of networks:
• Personal area network (PAN)
• Local area network (LAN)
• Metropolitan area network (MAN)
• Wide area network (WAN)
c. A protocol is a set of rules that computers use to communicate with each other across a network.
TCP/IP is the protocol used to transfer data from one computer to another on the Internet.
d. Data is transferred over the Internet in packets. Each packet has an address called the IP address that
refers to the sender and the destination. These packets are passed from one network to another until
they reach their destination. At the destination, the TCP software reassembles the packets into a
complete message.
e. E-governance refers to the use of modern information and communication technologies such as the
Internet, local area networking, and mobile telephony by the central government, provincial
governments, and local administrative bodies to improve the effectiveness, efficiency, service
delivery, and transparency of governance.
Advantages of e-governance are as follows:
• greater attention to improving service delivery
• wider access to information.
f. E-learning refers to any kind of learning or teaching that takes place using a computer and an
Internet connection or a CD-ROM.
Advantages of e-learning are as follows:
• It allows learning at your own pace.
• It provides access to learning materials at any time and from any place.
g. Information and Communications Technology (ICT) is a combination of three terms. Information
refers to the useful facts/figures extracted from the data provided; communications refers to the way
it is verified, distributed, and kept secure; and technology refers to formats and tools used to gather,
store, and communicate information.
44 1
h. Infomania is a condition where a person has an uncontrollable desire for facts and data, and gathers
information on anything and everything without focus or purpose.
5. a. ii b. iv c. iv d. iii e. ii f. i g. iv h. iv
In the Lab
1. To collect the information, visit the following websites:
a. e-governance: http://en.wikipedia.org/wiki/E-Governance
b. e-learning: http://en.wikipedia.org/wiki/E-learning
c. e-business: http://en.wikipedia.org/wiki/Electronic_business
2. The different methods to transfer songs from one mobile phone to another are:
a. USB cable
b. Bluetooth
The latest technology is Bluetooth. To know more about this technology, visit the following websites:
i. http://en.wikipedia.org/wiki/Bluetooth
ii. http://www.bluetooth.com/Pages/Bluetooth-Home.aspx
Collect information and write about 150 words on it.
3. To do the MCS course along with the job, Yasir’s brother could join an e-learning course offered by
some universities.
The advantages of e-learning are:
a. It allows learning at your own pace.
b. It provides access to learning materials at any time and from any place.
c. It engages the student through multimedia and makes use of all three styles of learning: visual
(seeing and looking), auditory (hearing and listening), and kinesthetic (touching and doing).
4. a. Open a web browser and type the website’s URL www.amazon.com in the address bar. The home
page will appear.
b. Select Books and the category as Computer.
c. A list of books in this category will appear.
d. If you want specific books, type their titles in the search box and press Enter. The corresponding list
of books appears.
e. Select the required book. Click the Buy This Now button.
f. The next screen appears with details of your shopping cart.
g. To make the payment, click Place Order.
h. The Email Login form appears, asking for your email address. Click Continue.
i. The Shipping Address form appears. Enter the address where the book should be delivered and
click Save and Continue.
j. The Order Summary form appears. Check the details and click Continue. Otherwise, make
changes if required.
1 45
k. The Payment Options form appears. Select a payment method.
l. The book is delivered to your given address through courier.
(Note: You may find some other button names on different websites, but the procedure of placing
an order is similar.)
Some other websites for buying books online are:
i. www.ebay.com
ii. www.bookfinder.com
5. a. Open a web browser and type www.amazon.com in the address bar.
b. Type the word ‘watch’ in the Search box.
c. Select a watch and select the required details as in Question 4.
This application comes under e-commerce—online selling and buying.
The advantages of e-commerce are:
• It is available 24 × 7.
• It is easier to start a business because costs are relatively low.
• It offers better service to customers because distance is no obstacle.
• Customers can select a product easily and they have better choice from different providers.
• The process of buying and selling is relatively fast.
46 1
Assessment 1
1. a. Datasheet view: This view is used to enter data in a table. In Datasheet view, you can insert,
delete, rename, or move a field, and change the data type of a field.
b. Design view: This view is used to specify fields, data types, and descriptions in the table. You can
control the data entered in a field and the appearance of data on the screen.
c. Queries: Queries retrieve and display information from one or more tables based on the selection
criteria. They allow you to change and rearrange data, and then use it as a source for forms and
reports.
2. a. Table b. Primary key c. 50 d. Text e. Description
3. a. 3
b. 6
c. EmpNo
d. i. Date/Time ii. Logical iii. Text iv. Number
e. Validation rule
f. Validation text
g. Required
h. Default Value
1 47
Assessment 2
1. a. <ol> b. Unordered list c. <img> d. Table e. BGCOLOR
2. B O D E T Y J K Y U H
O R D E R E D L I S T
D H J K L R T S F Y M
Y Y D F G T R A E R L
T G R R H B U A R R L
R H T T A B L E H I M
E J H T J J L S Y M H
T T J H K K T R U G T
W E K J L L R T K G K
3. a. <tr>, <td>, <th>, <table>
b. <caption align=“bottom”>CLASS VIII</caption>
4. a. ii b. iv c. i d. iii e. vi f. v
5. a. <ol start=“4” type=“A”>
b. <body background=“space.jpg”>
c. To identify the section: <a name=“Details”></a>
To link to the section: <a href=“#Details”>More Details</a>
d. <table bgcolor=“colorname or hexadecimal color code”>
48 1
Comprehensive Assessment 1
1. a. A database is simply an organized collection of data.
b. Microsoft Access and MySQL are two DBMS software.
c. The default extension of a Microsoft Access database is .accdb.
d. START and TYPE attributes are used with the <ol> tag.
e. GIF stands for Graphics Interchange Format.
f. ID is the primary key.
g. No
h. Datasheet view is used for searching, filtering, sorting, and performing calculations in Access.
i. Report
j. HREF
2. a. A validation rule limits the value that the field will accept. Validation text is the error message that
appears when the value entered in a field violates the validation rule.
b. This is the first method:
i. Select the field to be set as the primary key.
ii. Click Primary Key in the Tools group of the Design tab.
This is the second method:
i. Right-click on the header of the column that will be the primary key.
ii. Select Primary Key from the shortcut menu.
After you set the primary key, a key icon will appear to the left of the field name.
c. The two advantages of using a DBMS are:
i. Facilitates sharing of data: Different users can use the same database to extract data based on
their individual needs.
ii. Enforces standards: A DBMS makes it possible to apply certain standards in data
representation. These standards could be an organization’s own standards or national/
international standards.
d. i. ALINK (Active Link): The colour of a link when the mouse is on it. The default colour is red.
ii. VLINK (Visited Link): The colour of a link to a page the visitor has visited. The default
colour is purple.
e. i. Hypertext Reference ii. List item tag
3. a. table b. CELLPADDING c. frame d. TARGET e. BORDER
4. a. <li> tag: The list tag is used to define each item of a list.
b. <ul> and </ul> tags: These tags are used to define an unordered list.
c. <ol> and </ol> tags: These tags are used to define an ordered list.
d. <tr>…</tr> tag: The table row tag defines a horizontal row of cells.
e. <td>…</td> tag: The table data tag specifies an individual block or cell in a table row.
5.
Table: INDOOR_GAMES
Field Name Data Type
GameID Text
GameName Text
GamePrice Number
GameManufacturer Text
6. a. i b. iii c. ii d. ii e. ii
f. ii g. iv h. ii i. ii j. ii
1 49
Assessment 3
1. a. Rollover image: A rollover image, when viewed in a browser, changes as the pointer moves across it.
A rollover image consists of two images: a primary image displayed when the web page is first
loaded and a secondary image that appears when the pointer moves over the primary image.
b. Image map: An image map is an image divided into clickable regions called hotspots. Hotspots are
hyperlinks.
c. Frameset: A frameset is an HTML file that defines the layout and properties of a set of frames,
including the number of frames, the size and placement of each, and the URL of each page that
appears in each frame. The frameset file itself does not contain any HTML content that will be
visible in a browser.
2. a. v b. iv c. i d. ii e. iii
3.
Preview/Debug
in Browser
Panel
Document
window
Status bar
Properties
Inspector
4. a. F12
b. Alt
c. To select a frameset, click one of the frameset’s internal frame borders in Design view or click
the frame border in the Frames panel.
50 1
Assessment 4
1. a. Personal area network
b. Local area network
c. Metropolitan area network
d. Wide area network
e. Network interface card
2. a. Intranet b. Extranet c. Local area network d. Hub e. Modem
3. a. iv b. i c. v d. iii e. vi f. ii
4. a. Dodge tool
b. Burn tool
c. Smudge tool
d. To rename a layer:
i. Double-click the layer in the Layers palette.
ii. Type a new name.
e. Delete layer option
5. a. Drop Shadow
b. i. Select a layer in the Layers palette.
ii. Click the Layer Styles button at the bottom of the Layers palette and choose an effect from
the list.
iii. The Layer Style dialog box appears. Choose the Drop Shadow effect and click OK.
1 51
Comprehensive Assessment 2
1. a. Dreamweaver b. Property Inspector c. Hyperlink d. .html
e. Magic Wand tool f. .psd g. Crop tool
h. Spot Healing Brush tool i. Hub j. Protocol
2. a. i. Graphics Interchange Format
ii. Portable Network Group
b. i. Image window
ii. Image Title Bar
c. Marquee and Lasso tools
d. Brush tool and Gradient tool
e. A local area network (LAN) is a network of computing devices in a room, building, or campus. A
LAN can cover an area of a few kilometres in radius.
A wide area network (WAN) is a network of computing devices spread over a country, a continent,
or even across the world.
3. a. Design b. Page Properties c. status d. hotspots e. frames
4. a. T b. F c. T d. F e. F
5. a. i. E-learning allows learning at your own pace.
ii. It provides access to learning materials at any time and from any place.
b. An intranet is a private network that uses Internet protocols and technology. It is meant for
information sharing amongst the employees of an organization.
An extranet is a semi-private network, and it uses Internet technology too. It is an intranet that has
been extended to allow a selected group of people outside the organization, such as vendors and
business partners, to gain access to relevant information.
c. WAN
6. a. ii b. iii c. i d. iv e. iv
f. i g. i h. ii i. iii j. iv
52 1
Cyber Olympiad Questions
1. b 21. a
2. a 22. c
3. b 23. a
4. d 24. b
5. b 25. b
6. c 26. b
7. a 27. b
8. c 28. b
9. a 29. b
10. b 30. c
11. b 31. a
12. a 32. a
13. a 33. a
14. b 34. b
15. b 35. a
16. a 36. d
17. a 37. d
18. a 38. b
19. b 39. b
20. a 40. d
1 53
Revision Questions
1. It stores an integer that increases or decreases automatically as you add or delete records. If the table
does not have a primary key, then AutoNumber uniquely identifies the records.
2. No
3. Memo
4. Yes
5. A Lookup field restricts the data in a field to a list of values from an existing table or a list of values
that you create.
6. • Validation Rule: The validation rule limits the value that the field will accept.
• Validation Text: This is the error message that appears when the value entered in a field violates the
validation rule.
• Caption: This is an alternative name for the field to make the field name more explanatory. It can
contain up to 2048 characters.
• Default: This value is automatically filled in the field when you add a new record to the table.
• Required: Enter Yes if the field should always receive a value during data entry. The default value
of it is No, which means that the field can be left blank.
7. Design view.
8. A form provides a way of viewing, entering, editing, and deleting data.
9. The Design view consists of the following two parts:
a. The Field Grid pane or Field Entry area: This allows us to specify field names and data types. We
can also give a description with each field, though this is optional.
b. The Field Properties pane: This allows us to enter more details for each field such as field size,
validation rule, etc.
10. Datasheet view allows us to enter data in a table. You can also enter fields and data types in the table.
Design view allows us to enter fields, data types, and descriptions in a table.
11. Sorting the data means arranging the data in ascending or descending alphabetical order. Filtering the
data displays only the items you have selected and hides the rest of the data.
12. Yes
13. <ol start=“5” type=“I”>
14. <ol>: This is a tag for an ordered list, which defines a list of items in which the order of items matters.
The list items are enclosed by <ol> and </ol> tags.
<ul>: This is a tag for an unordered list, which is used for items in which the ordering is not specific.
The list is defined using the <ul> and </ul> tags.
15. The <img> tag specifies an image to be displayed in an HTML document.
16. <html>
<body>
<ol start=“1” type=“a”>
<li>Internet</li>
<li>Email</li>
<li>E-commerce</li>
</ol>
</body>
</html>
54 1
17. c. Square d. Rectangle e. Circle
18. a. Active Link b. Visited Link
19. The <a> tag is used to create a link. This tag is a container element, as it has an on tag <a> and an off
tag </a>.
20. Cell padding: This is the space (in pixels) between the cell contents and the cell border.
Cell spacing: This is the space (in pixels) between the cells of a table.
21. Yes. The <img> tag is used within the <a>...</a> tag for this purpose.
22. a. <img src=“newfig.gif”>
b. <img src=“newfig.gif” height=“200” width=“250”>
23. The steps to create a new layer in Photoshop are:
a. Choose Layer New Layer.
b. The New Layer dialog box appears. Choose the desired options from the dialog box.
c. Click OK. A new blank layer will be created.
24. a. The Dodge tool can make darker portions of an image lighter.
b. The Smudge tool is used to create an effect of wet paint smudged with a finger.
25. Layers allow you to work with one element of an image without disturbing the others.
26. The Eraser tool has three options:
a. Eraser Tool
b. Background Eraser Tool
c. Magic Eraser Tool
27. The ALT attribute of the <img> tag specifies the text to be displayed while the file loads or if the
browser does not support graphics.
28. The bullet style can be added to the list items by using the TYPE attribute of the <ul> tag. The
attribute can have circle, disc, or square bullets as its values.
29. The Healing Brush tool is used to paint with sampled pixels from an image.
30. Spot Healing Brush tool and Clone Stamp tool
31. Photoshop filters are used to add a variety of special effects to an image.
32. Burn tool
33. Local root folder: This folder is on your local computer. Dreamweaver refers to it as your ‘local site’.
It stores the files you are working on.
Remote folder: This folder is on the computer where your web server is running. Dreamweaver refers
this folder as your ‘remote site’.
34. A rollover image, when viewed in a browser, changes as the pointer moves across it.
35. An image map is an image divided into clickable regions called hotspots. Hotspots are hyperlinks.
Follow these steps to create a hotspot in Dreamweaver:
a. Select the image in the Document window.
b. If you are using multiple image maps in the same document, type a unique Map Name in the
Property Inspector.
c. To define the image map area, do the following:
Select the Circle or Rectangle tool and drag the pointer over the image to create a circular or
rectangular hotspot.
1 55
d. The Hotspot Property Inspector appears. The Link text box specifies the file to open when the
user clicks the link.
e. Click the folder icon to browse and select the file.
f. Select one of the options for the target.
g. In the Alt text box, type the alternative text that will display in text-only browsers.
h. Repeat steps c to g to define additional hotspots in the image map.
i. After you finish, click a blank area in the document to change the Property Inspector.
j. View the page in a browser by pressing F12, or clicking Preview/Debug in Browser, or selecting
File Preview.
k. Move the pointer over the keyboard image. Hotspots are hyperlinks, so the pointer changes when it
moves over them. Click a hotspot to display the linked web page.
36. Follow these steps to create a hyperlink:
a. Select the text or image that you want to set as a hyperlink.
b. Click the Hyperlink button in the Common category of the Insert menu. The Hyperlink dialog
box will appear.
c. Click the Browse button. The Select File dialog box will appear.
d. Browse to the folder that has the target document for the hyperlink and select the file. Then click
OK to return to the Hyperlink dialog box.
e. From the Target menu of the Hyperlink dialog box, select the window in which the target file
should open. Choose from the following:
i. blank: This loads the linked file in a new, unnamed browser window.
ii. _parent: This loads the linked file in the parent frameset or window of the frame that contains
the link.
iii. _self: This loads the linked file in the same frame or window as the link.
iv. _top: This loads the linked file in the full browser window, thus removing all frames.
f. Enter a title for the link in the Title text box. This appears in the browser window.
g. Enter a one-letter keyboard equivalent in the Access Key text box. This will select the link in the
browser.
h. In the Tab Index text box, enter the link’s number in the tab order.
i. Click OK. The selected text/image is changed to a hyperlink.
j. Select File Save to save the document.
k. Press F12 or click Preview/Debug in Browser to preview the page in a browser. When you click
the hyperlink, the linked web page will open in the browser.
37. a. To set text properties in Dreamweaver, click the Page Properties button in Properties Inspector
to display the Page Properties dialog box. You can make changes through this dialog box.
b. You can set image properties in the Properties Inspector.
38. A frameset created in Dreamweaver will appear in the Design view of the Document window and in
the Frames panel.
39. The four options for the Target property in Dreamweaver are:
a. _blank
b. _parent
c. _self
d. _top
40. To set the background colour of a web page in Dreamweaver, click the Page Properties button in
Properties Inspector to display the Page Properties dialog box. Choose a suitable option and the
new background colour will be applied.
56 1
worksheets
• Worksheets have been provided for all the chapters of the course book.
• Each worksheet is marks out of 15 and is recommended as a formative assessment paper.
• It is possible to use these worksheets by photocopying them at approx. 120% magnification.
• The questions in the worksheets can also be used as samples to create your own additional worksheets.
1 57
Chapter 1: Introduction to Microsoft Access 15 Marks
Q1. Wordsearch (5)
Search for five terms related to MS Access in the grid given below:
Q F R I B B O N J D
A Q S V F H P Y R A
E U F S E I U O P T
L E K J S F D E R A
C R E P O R T G A B
H Y A Y A T K L A A
S J M V N O U X C S
Z T R G F I H R I E
A E T H K M G H I O
S T A T U S B A R L
Q2. Jumbled Words (5)
1. BTEAL
Hint: It stores data in a database.
2. EOMM
Hint: It is used to store lengthy text such as notes and descriptions.
3. CDRREO
Hint: Information about an entity stored in a row
4. ECRLOA
Hint: This is a popular DBMS software.
5. ILFDE
Hint: A column in a table that contains some information about the record
58 1
2.
3.
4.
5.
1 59
Chapter 2: Microsoft Access Design View,
Queries, Forms, and Reports 15 Marks
Q1. Crossword (5)
1
2
3
4
5
Across:
3. This is a field or combination of fields that uniquely identifies a record.
4. This field restricts the data entered in a field to a list of values from an existing table or a list of
values that you create.
5. The primary key is a part of this group.
Down:
1. This is an alternative name for a field that makes the field name more explanatory.
2. This value is automatically filled in the field when you add a new record to the table.
60 1
2.
3.
4.
Layout view
Form view
1 61
Chapter 3: Creating Lists and Inserting Images in HTML 15 Marks
Q1. Wordsearch (5)
Search for five terms related to HTML in the grid given below:
B A C K G R O U N D
R A A S R F H P Y R
O E O F A E I U O N
W L D V P T F G S E
S C E D H G N S J S
E H U A I N K R Q T
R X H C C M D J A I
M Z G R S Y S O L N
K B Z Y I J P W V G
A T T R I B U T E B
62 1
Chapter 4: Tables, Links, and Frames in HTML 15 Marks
Q1. Crossword (5)
1
2
3
4
Across:
2. This is an attribute of the <frame> tag that sets the left and right frame margins.
4. This is the attribute of the <a> tag that can be used to target named frames.
Down:
1. This is an attribute of the <frame> tag that prevents the user from resizing the frames.
3. These allow us to open more than one web page simultaneously in a browser window.
4. This is a grid of rows and columns.
1 63
Q3. Figure Speak (3)
Identify the images shown below.
1.
2.
3.
64 1
Chapter 5: Introduction to Dreamweaver CS3 15 Marks
Q1. Wordsearch (5)
Search for five terms related to Dreamweaver CS3 in the grid given below:
Q W E R S V E S I P U Y E U I O P L G J
A D S V F H P Y H O T S P O T U A V I T
E B F S E I U O P L K G N M V C S B E O
L N K J W E B P A G E Y B E O U Y R U O
C M D Z A L K B A R D E R T X Z Q B H L
H X A G A K A L A P E J D E R L I N M B
P R O P E R T Y I N S P E C T O R E V A
Z T R D R E A M W E A V E R S D F M L R
1 65
Chapter 6: Images and Framesets in
Dreamweaver CS3 15 Marks
Q1. Crossword (4)
1 2
3
4
Across:
4. When you select a frame, you can view and change frame properties here.
Down:
1. It is an image divided into clickable regions called hotspots.
2. Different regions into which a web page can be divided
3. You can select framesets and frames in this window.
2.
66 1
3.
4.
5.
1 67
Chapter 7: Introduction to Photoshop 15 Marks
Q1. Wordsearch (5)
Search for five terms related to Photoshop in the grid given below.
P A I N T B U C K E T J
H H S V W H P Y R E W O
O D C L O N E S T A M P
T T K J Z F D E R T A N
O O D Z O L K B A U G L
S S A R W I P L Q K I G
H H C N R R J A C T C H
O O R S G I J L Y A W Y
P S R C M H G F P W A E
O D J U Z B N S R E N V
K V E X S G B C I Y D A
E Y E D R O P P E R X S
68 1
Chapter 8: Tools Used in Photoshop 15 Marks
Q1. Figure Speak (4)
Identify the images shown below.
1.
2.
3.
4.
1 69
Q2. What Am I? (5)
1. I am the Photoshop tool that matches the texture, lighting, transparency, and shading of the
sampled pixels.
2. I am the Photoshop tool used to duplicate selected areas of an image.
3. I am the Photoshop tool that erases pixels from similar coloured areas.
4. I am the Photoshop tool that clones from a pre-defined area of pixels.
5. I am the Photoshop tool used to add a variety of special effects to an image.
70 1
Chapter 9: Networking and E-commerce 15 Marks
Q1. Wordsearch (5)
Search for five terms related to networking and e-commerce in the grid given below:
Q E G O V E R N A N C E
A L T V J X P Y R E W N
E E U S E I U O P L K T
L A Z J S F Z K A B X O
R R E L I A B I L I T Y
H N A D J K L N F B M N
X I C N M R J T C G T E
Z N E Q W Y H R F D S T
K G V C M T O A N P Q I
Z U X B K J L N H D R A
X N F D J T P E W Q M I
A E R T P R O T O C O L
1 71
Answers to Worksheets
Chapter 1: Introduction to Microsoft Access
Q1. Q F R I B B O N J D
A Q S V F H P Y R A
E U F S E I U O P T
L E K J S F D E R A
C R E P O R T G A B
H Y A Y A T K L A A
S J M V N O U X C S
Z T R G F I H R I E
A E T H K M G H I O
S T A T U S B A R L
Q2. 1. TABLE 2. MEMO 3. RECORD 4. ORACLE 5. FIELD
Q3. 1. Microsoft Access interface 2. Opening page of Microsoft Access
3. Table in Datasheet view 4. Tables group on Create tab
5. Table Design view
72 1
Chapter 3: Creating Lists and Inserting Images in HTML
Q1. B A C K G R O U N D
R A A S R F H P Y R
O E O F A E I U O N
W L D V P T F G S E
S C E D H G N S J S
E H U A I N K R Q T
R X H C C M D J A I
M Z G R S Y S O L N
K B Z Y I J P W V G
A T T R I B U T E B
Q2. 1. ALIGN 2. LIST ITEM 3. IMG
4. BORDER 5. WIDTH
Q3. 1. Ordered list 2. Definition list tag <dl> 3. Graphics Interchange Format
4. SRC 5. Alt
1 73
b. Adobe Dreamweaver
i. Adobe Dreamweaver is used to create individual web pages and complete websites.
ii. It has a what you see is what you get (WYSIWYG) editor, which means that you design your
web page by placing elements on a screen.
iii. It allows you to organize and manage your web documents, upload them to a web server,
track and maintain your links, and share files.
74 1
Chapter 8: Tools Used in Photoshop
Q1. 1. New Layer dialog box 2. Pattern Stamp tool
3. Spot Healing options 4. Warp Text dialog box
Q2. 1. Healing Brush tool 2. Clone Stamp tool 3. Magic Eraser tool
4. Pattern Stamp tool 5. Filter
Q3. a. Filter Gallery
i. The Filter Gallery enables the user to apply filters incrementally and apply individual filters
more than once.
ii. The user can view thumbnail examples of what each filter does, rearrange filters, and change
the settings of filters you have already applied.
iii. To display the Filter Gallery, select Filter Filter Gallery. Click a filter category name to
display thumbnails of available filter effects.
b. Layers palette
i. The Layers palette lists all layers, groups, and layer effects in an image.
ii. You can use the Layers palette to show and hide layers, create new layers, delete layers, etc.
iii. To display the Layers palette, select Window Layers.
1 75
TEST PAPERS
• Test papers have been provided for all chapters of the Student’s Book.
• Each test paper is marked out of 25.
• The test papers can be used for pen and paper assessment or the questions in them could be used to
create your own assessment papers.
76 1
Chapter 1: Introduction to Microsoft Access 25 Marks
Q1. Fill in the blanks with the correct words. (5)
1. A database management system is a set of programs that allows storage, modification, and retrieval
of information from a .
2. is information about an entity stored in a row.
3. is the view that is used to enter fields, data types, and descriptions in a table.
4. make it easy to enter data in tables.
5. retrieve and display information from one or more tables based on the selection
criteria.
Q2. Write T for the true statements and F for the false ones. (5)
1. There are five different types of databases.
2. A relational database stores data in the form of tables.
3. MS Excel is a popular DBMS software.
4. Data redundancy means duplication of data.
5. Different users cannot use the same database to extract data based on their individual needs.
1 77
Chapter 2: Microsoft Access Design, View,
Queries, forms, and reports 25 Marks
Q1. Fill in the blanks with the correct words. (5)
1. To remove the primary key, click Primary Key in the group.
2. You can set values for fields in Access tables.
3. Two ways of creating queries are through the Query Wizard and .
4. Two ways of creating reports are through the Report command and through the .
5. The is a component of the Design view window.
Q2. Write T for the true statements and F for the false ones. (5)
1. Field Size is the minimum size for data stored in Text or Number fields.
2. Access adds an ID field automatically to new tables in Design view.
3. There are two ways of setting the primary key in a Microsoft Access table.
4. The Primary Key button works as a toggle to turn key fields on or off.
5. The Input Mask controls what the user enters in the field.
78 1
Lab Exercise (5)
The students have been asked to create a table named Hotel with the given fields, and then do the
following:
1 79
Chapter 3: Creating lists and inserting
images in HTML 25 Marks
Q1. Fill in the blanks with the correct words. (5)
1. An unordered list is also called a list.
2. We can use the attribute of the <body> tag to place an image as a background.
3. is a list of items where each item has a block of text acting as a definition.
4. GIF stands for Interchange Format.
5. JPEG stands for Joint Photographic Group.
Q2. Write T for the true statements and F for the false ones. (5)
1. There are three types of lists that can be created in an HTML document.
2. JPEG is the best format for photographs as it contains 10 million colours.
3. The BORDER attribute of the <img> tag specifies the height of the image.
4. The items of an ordered list are enclosed by <ul> and </ul> tags.
5. Graphics can be inserted into a document using the <img> tag.
80 1
Chapter 4: Tables, Links, and frames in HTML 25 Marks
Q1. Fill in the blanks with the correct words. (5)
1. A is a shape formed by the intersection of a table row and a column.
2. Cell is the space between the cell contents and the cell border.
3. are rectangular areas in a browser window that can display different web pages and that
can scroll independently.
4. The tag defines how to divide a window into frames.
5. The tag defines the HTML document to open in a frame.
Q2. Write T for the true statements and F for the false ones. (5)
1. Hyperlinks cannot be used to jump from one location to another within the same page.
2. The table row tag defines a horizontal row of cells.
3. There are four different kinds of hyperlinks.
4. The default colour of a standard link is red.
5. The default colour of a visited link is purple.
1 81
Chapter 5: Introduction to dreamweaver CS3 25 Marks
Q1. Fill in the blanks with the correct words. (5)
1. The File and Edit menus are a part of the toolbar.
2. are sets of related panels grouped together under one heading.
3. The is located at the bottom of the Document window.
4. WYSIWYG stands for what you see is what you .
5. A Dreamweaver site consists of a local folder and a remote folder.
Q2. Write T for the true statements and F for the false ones. (5)
1. It is not possible to create web pages without writing HTML code.
2. The remote folder of a Dreamweaver site stores the files you are working on.
3. Link Color is the default colour of all the links on the page.
4. Rollover Link is the colour of a link when the cursor is over it.
5. There are four ways to set text or image as a hyperlink.
82 1
Chapter 6: Images and Framesets in
Dreamweaver CS3 25 Marks
Q1. Fill in the blanks with the correct words. (5)
1. file formats are preferred for use in web pages.
2. A image of a rollover image appears when the pointer moves over the primary image.
3. The primary and secondary images of a rollover image should be the size.
4. A is a web page divided into regions called frames, each of which displays an HTML
document independently.
5. A hotspot is a shape on an image file that acts as a .
Q2. Write T for the true statements and F for the false ones. (5)
1. If the primary and secondary images of a rollover image are not the same size, Dreamweaver
resizes the second image to match the first.
2. In the Insert Rollover Image dialog box, Image Name is the name of the rollover image.
3. The frameset file itself contains the HTML content that will be visible in a browser.
4. When a frame is selected in the Document window, its borders are outlined with a solid line.
1 83
Chapter 7: Introduction to Photoshop 25 Marks
Q1. Fill in the blanks with the correct words. (5)
1. To crop is to unwanted areas of an image.
2. The Options bar displays different options of the currently tool.
3. The Title bar of the window displays information about the open image.
4. You can change the foreground and background colours using the tool or the Color
Picker.
5. The tool is used to fill a selected portion or entire layer with transitions of one colour
to another.
Q2. Write T for the true statements and F for the false ones. (5)
1. Adobe Photoshop cannot solve every problem that you face with images.
2. Rulers are located along the bottom and right side of the image.
3. The Rectangular Marquee tool is used to make a free selection as you go.
4. The Pen tool is used to create vector shapes.
5. The Paint Bucket tool is used to fill the foreground colour.
84 1
Chapter 8: Tools used in Photoshop 25 Marks
Q1. Fill in the blanks with the correct words. (5)
1. Retouching tools are tools for changing or editing arrangements in an image.
2. Warping is to text into a shape such as an arc, a wave, etc.
3. The tool can remove blemishes, scars, spots, and other imperfections in a photograph.
4. A new Photoshop image has a layer.
5. You can type text in a Photoshop document by using the tool.
Q2. Write T for the true statements and F for the false ones. (5)
1. The Healing Brush tool matches the texture, lighting, transparency, and shading of the sampled
pixels.
2. The Eraser tool has three options.
3. The Background layer is created automatically when you create a new image.
4. An image can have more than one background layer.
5. The Filter Gallery does not let you apply individual filters more than once.
1 85
Chapter 9: Networking and E-commerce 25 Marks
Q1. Fill in the blanks with the correct words. (5)
1. PAN stands for area network.
2. LAN stands for area network.
3. TCP stands for transmission protocol.
4. A computer network links two or more computers so that they are able to exchange .
5. A modem fixed within a computer is an modem.
Q2. Write T for the true statements and F for the false ones. (5)
1. The ‘e’ in e-sites stands for electric.
2. A PAN can use only wired media (USB cable).
3. International networks of ATMs and banks are examples of MANs.
4. The hub is connected to the NIC by means of RJ-45 cable.
5. There are four types of computer networks, classified by the extent of geographical area covered.
86 1
Answers to Test Papers
Chapter 1: Introduction to Microsoft Access
Q1. 1. Database 2. Record 3. Design view 4. Forms 5. Queries
Q2. 1. F 2. T 3. F 4. T 5. F
Q3. 1. The four different types of databases are:
a. Hierarchical databases c. Relational databases
b. Network databases d. Object-oriented databases
Of these, the relational database model is the most popular.
2. Title bar, Ribbon, Quick Access Toolbar, and Navigation Pane are the four elements of Microsoft
Access.
Q4. 1. A relational database stores data in the form of tables. A table organizes data into rows called
records, and columns called fields. Records and fields together make up a table. Each record
defines information about one entity and gives complete details about it. Each field defines
information of a certain type for all records. For example, the table below called FriendList shows
fields and records.
Fields
It has two records that contain information about two entities, Asad and Mansoor. It has four
fields that contain information of the same type for these two entities. For example, the field Email
contains the email address for each entity.
2. Four benefits of a DBMS are:
a. Reduced data redundancy: Data redundancy means duplication of data. For example, a
school may have two separate files with students’ addresses and phone numbers. A DBMS
takes care of this problem and prevents data duplication.
b. Sharing of data: Different users can use the same database to extract data according to their
individual needs.
c. Data security: In a DBMS, the database administrator has complete control of the database
and can ensure that data is accessible only with permission. Different categories of users can
be given different permission. Some may have authority only to view the data: others may
have authority to modify data too.
d. Integrity: A DBMS supports database integrity. Suppose a database contains information
about the marks scored by students in an examination. If the maximum marks are 100, you
can have rules to make sure that the database accepts numbers only in the range of 0–100.
3. Four rules for naming a field in MS Access are:
a. A field name can be from 1 to 64 characters long.
b. A field name can include letters, numbers, and some special characters. The underscore (_)
sign is allowed and is often used.
c. A field name cannot have full stop (.), an exclamation mark (!), or brackets ([ ]).
d. A field name cannot start with a blank space.
1 87
4. Four data types available in MS Access are:
a. Text: This is used to store text, combinations of text and numbers (such as addresses), and
numbers that will not be used in calculations (such as phone numbers and postal codes). The
default size is 50, but it can store up to 255 characters.
b. Memo: This is used to store long text such as notes and descriptions. It can store up to 65,536
characters.
c. Number: This is used for numeric data that will be used in calculations.
d. Date/Time: This stores date and time values. You can display the dates and times in various
formats.
Q3. 1. To save a query, click Save in the Quick Access Toolbar or select Save from the Microsoft
Office Button menu. When you save a query for the first time, a Save As dialog box appears.
Type the Query Name and click OK.
88 1
2. To run a query:
a. Click Run in the Results group of the Design tab.
b. The output for the query appears. To close the query, click in the Query Design screen.
Q4. 1. The steps required to set the primary key in a Microsoft Access table are:
a. Select the field to be set as the primary key.
b. Click Primary Key in the Tools group of the Design tab.
After you set the primary key, a key icon will appear to the left of the field name.
2. Two examples of queries are:
a. Which students received grade A2 in all seven subjects?
b. Which employees earned salaries above Rs 60,000 a month?
1 89
Date and Time Formats: You can select from pre-defined formats, i.e. General Date, Long
Date, Medium Date, Short Date, Long Time, Medium Time, and Short Time.
Logical Formats: The default display is Yes/No. Other pre-defined formats for logical data
are True/False and On/Off.
c. Caption: This is an alternative name for the field to make the field name more explanatory. It
can contain up to 2048 characters.
d. Default Value: This value is automatically filled in the field when you add a new record to
the table.
4. The steps required to create a form using Split Form are:
a. Click Split Form in the Forms group of the Create tab. Access creates the form in the
upper half of the window and displays the Datasheet view in the lower half.
The two views are separated by a bar that can be used to resize the height of the two views.
b. Click the Form View button at the right end of the Status bar to enter data. You can use
either the upper or the lower half. Both parts of the window activate the same field and the
same record at the same time.
c. Click the Layout View to format the form.
90 1
9. Right-click the form and select Layout View.
10. Select a suitable AutoFormat.
11. Under the Controls group:
a. Click the Logo button. The Insert Picture dialog box appears. Select a suitable logo and
click OK.
b. Click Title and type a new title.
c. Click Date and Time, select a suitable format, and click OK.
12. Click Save under the Microsoft Office Button. Type HotelDetailForm in the Save As dialog
box and click OK.
13. Click Query Design in the Other group of the Create tab. The Show Table dialog box appears.
Select the HotelDetail table, click Add, and then click Close.
14. Drag the Client_No and Date_of_Chk-in fields to the grid. For the Date_of_Chk-in field, select
Ascending under sort.
15. Click Run in the Results group to run the query.
16. Save the query as HotelQuery.
1 91
4. The SRC and WIDTH attributes of the <img> tag are used for the following purposes:
a. The SRC attribute specifies the URL of the image to be displayed in the document. The
attribute value of SRC is URL. For example, <img src=“school.gif”>.
b. The WIDTH attribute specifies the width of the image. The attribute value of WIDTH is
pixels or %. For example, <img src=“school.gif” border=“3” height=“240” width=“50%”>.
92 1
Chapter 4: Tables, Links, and Frames in HTML
Q1. 1. cell 2. padding 3. Frames 4. <frameset> 5. <frame>
Q2. 1. F 2. T 3. F 4. F 5. T
Q3. 1. A link to a point on the current page is called an internal link.
2. A link to another page on the same website is called a local link.
Q4. 1. A hyperlink is usually an underlined word, phrase, image, or icon that leads the readers to a new
web address when the user clicks on it. Hyperlinks are used to link web pages. They can be used
to jump from one location to another within the same page, from one web page to another, or to
another website.
2. Four tags that are used to create a table in an HTML document are:
Attribute Explanation
ALIGN = LEFT/CENTER/RIGHT Left-aligned, centre-aligned, or right-aligned
BGCOLOR = #rrggbb Background colour
BORDER = n Border thickness in pixels
BORDERCOLOR = #rrggbb Border colour
CELLPADDING = n Distance between cell and content in pixels
1 93
Lab Exercise Solution
<html>
<head><title>Lunch Time</title>
</head>
<body>
<table border=“3”
bordercolor=“green” cellpadding=“5” cellspacing=“3”
width=“100%” align=“center”>
<caption><h1>Lunch Menu</h1></caption>
<tr>
<td><img src=“biryani.jpg”><br>Biryani Rs 40/-</td>
<td><img src=“nihari.jpg”><br>Nihari Rs 50/-</td>
</tr>
<tr>
<td><img src=“haleem.jpg”><br>Haleem Rs 45/-</td>
<td><img src=“mixed vegetable.jpg”><br>Mixed Vegetable Rs 35/-</td>
</tr>
</table>
</body>
</html>
Q4. 1. a. A local root folder is on the local computer. Dreamweaver refers to it as the ‘local site’. It
stores the files the user is working on.
b. A remote folder is on the computer where the web server is running. Dreamweaver refers to
this folder as the ‘remote site’.
Together, the local and remote folders enable the user to transfer files between the local
computer’s hard disk and the web server, making it easy to manage files in Dreamweaver sites.
2. The Insert bar contains buttons for creating and inserting objects, including tables and images.
When the user moves the pointer over a button, a tool tip appears with the name of the button.
The buttons are grouped into categories, which can be viewed by clicking the tabs on the top.
94 1
Table Images Media
Hyperlink
Named anchor
Some buttons on the Insert bar have an arrow with a drop-down menu. When you select an
option from the drop-down menu, it becomes the default action for that button. For example, the
Images button usually inserts an image. However, if you select Image Placeholder from the
Images drop-down menu, then the next time you click Images it will insert an image placeholder
rather than an image.
3. The Status bar is at the bottom of the Document window. It provides additional information
about the document you are creating.
Hand tool Zoom tool Set magnification Window size
1 95
Page2.html
a. Double-click page2.html in the Files panel to open it in the Document window.
b. Type the details of noise pollution and insert figures in the document. It is a long page.
c. As the page covers more than a screen, the bottom of the page should have a link to the top of
the page. These are the steps to add the link:
i. Bring the cursor to the heading text ‘Noise Pollution’ and click the Named Anchor
button in the Common category of the Insert bar.
ii. The Named Anchor dialog box appears. Type the name ‘Top’ and click OK. The
anchor will appear at the insertion point.
iii. At the bottom of the page, select the text ‘Top’ and type ‘#Top’ in the Link text box of
the Property Inspector. The text will now be blue and underlined.
d. Bring the cursor to the end of the page. Click the Table button in the Common category of
the Insert bar. The Table dialog box will appear. Type 1 in the Rows text box and 2 in the
Columns text box. Click OK.
e. Click inside the first column of the table. Click Media in the Common category of the
Insert bar and select Flash Button from the sub-menu. Select the required button type,
enter text as ‘Home’, and click OK. The button will be inserted. Drag it to the required size.
f. Similarly, click in the second column of the table and insert a Flash button with text as ‘Next’.
g. Select the ‘Home’ button. In the Link text box, drag the Point to File icon to page1.html in
the Files panel. Set the target as _blank.
h. Select the Next button. In the Link text box, drag the Point to File icon to page3.html in
the Files panel. Set the target as _blank.
Page3.html
a. Double-click the file page3.html in the Files panel to open it.
b. Type the content and add images.
c. Insert a named anchor called ‘Top1’ at the top of the page, on the left of the ‘Global Warming’
heading.
d. Select the text ‘Top’ at the bottom and type ‘#Top1’ in the Link text box.
e. Following the same steps as earlier, insert a table and two Flash buttons named ‘Prev’ and
‘Home’.
f. Link the ‘Prev’ button to page2.html and the ‘Home’ button to page1.html.
Note: Save your web page whenever you insert any object or text.
g. Preview the page1.html page by clicking Preview/Debug in browser.
96 1
3. To select a frameset, click one of the frameset’s internal frame borders in Design view or click
the frame border in the Frames panel. When a frameset is selected, all the borders of the frames
within the frameset are outlined with a light dotted line.
4. To save a frameset file with frame documents, click File Save All. The Save As dialog box
appears. Enter suitable names for the frameset and frames, and click OK. When you save a
frameset file with the frame documents, the Save As dialog box appears for saving the frameset
and for saving each frame. While saving a frame, you will see a border around the frame.
1 97
12. Select File Save All to save the frameset and all the documents in frames.
13. Press F12 to view the page or click Preview/Debug in browser in the Common category of the
Insert bar.
98 1
Lab Exercise Solution
1. Open an image of grassy ground.
2. To add an image of a cow:
a. Open the image of a cow.
b. Select the Magic Wand tool and click anywhere on the white background.
c. To invert the selection, click Ctrl + Shift + I.
d. Press Ctrl + C to copy the image.
3. Go back to the grassy ground and press Ctrl + V to paste the image of the cow.
4. To add grass strokes to the image:
a. Select the Brush tool in the Tools panel.
b. Click the arrow beside the Brush command in the Options bar. The Brush Preset Picker
appears.
c. Scroll down and click on brush style ‘Grass’.
d. Click Set Foreground Color in the Tools panel. The Color Picker palette appears. Select
green and click OK. You can also select a background colour.
e. Click and drag the mouse pointer on the image to draw grass strokes.
i. Brush size
ii. Type: Choose from Proximity Match and Create Texture.
iii. Sample All Layers: Click to sample data from all visible layers. Deselect this option to
sample data from the active layer only.
d. Click the area you want to fix, or click and drag, to remove the flaws.
2. The steps required to use the Clone Stamp tool are:
a. Open the image.
b. Click on the Clone Stamp tool in the Tools panel.
c. Press down the Alt key, click the part of the image you want to clone, and release the Alt key.
d. Click and drag the mouse over the area where you want to place the cloned pixels.
1 99
Image to be cloned With cloned area
3. The steps required to use the Blur tool are:
a. Open the image.
b. Click on the Blur tool in the Tools panel.
c. Select the appropriate brush from the palette in the Options bar.
d. Click and drag on the image to blur the pixels.
Before using the Blur tool After using the Blur tool
4. The steps required to use the Dodge tool are:
a. Open the image.
b. Select the Dodge tool from the Tools panel.
c. Click the arrow next to Brush in the Options bar. Select a soft-edged brush for better results.
d. Select the Range and set the value of Exposure in the Options bar.
e. Click and drag the mouse on the image area to lighten the pixels.
Before using the Dodge tool After using the Dodge tool
100 1
4. Copy the required image and paste it into this new layer.
5. To change the size of the image:
a. Select the layer.
b. Select Edit Transform Scale. Scaling handles appear.
c. Click and drag the scaling handles to resize the image.
d. Double-click inside the image to apply this transformation.
6. To rotate the image:
a. Select the Layer or image.
b. Select Edit Transform Rotate. The rotation handles appear.
c. Click and drag the rotation handles.
d. Double-click inside the image to apply the transformation.
7. Repeat steps 3 to 6 to add more images. Each image will be in its own layer.
1 101
2. A local area network (LAN) is a network of computing devices in a room, building, or campus. A
LAN can cover an area of a few kilometres in radius. An office building or a school usually
contains a single LAN. Some schools may have an independent LAN in each computer lab. The
figure below shows a main computer called a server connected to a number of computing devices
through a LAN.
3. Four uses of computer networking are:
a. Resource sharing: All the computers on the network can share hardware (such as printer and
modem) and software.
b. Reliability: If one computer in the network goes down due to hardware failure, work can
move to another computer.
c. Financial benefits: Small computers (PCs) have a better price/performance ratio compared
to large ones. A mainframe computer may be ten times faster than a PC, but it will cost a
hundred times more. Hence, most organizations prefer a computer network with many PCs
instead of one large centralized computer.
d. Better communication medium: In an organization with branches in various places,
computer networking provides a cheap and easy mode of communication.
102 1