Professional Documents
Culture Documents
Book 7
Book 7
Designer Explorer
Computational
Thinker
Robot Digital
Programmer
Citizen
Empowered Knowledge
Learner Constructor
ICTECH
Computing
Developed By:
EdTech Department
Project Team
EDTECH Department
&
Regional Computing Curriculum Leaders
The entire computing curriculum is mapped with the attainment levels of the
UK National Curriculum, ICDL and ISTE Student Standards 2017-2018.
ICDL
All rights reserved. No part of this publication may be reproduced or transmitted in any part by any
Building a Website............................................................................................................................. 47
2.1. What is a Webpage....................................................................................................................................................................................................................48
5.3. Pseudocode..........................................................................................................................................................................................................................................115
5.7. Comments..............................................................................................................................................................................................................................................121
Glossary........................................................................................................................................................174
What is ICTECH Computing?
Book Features
Student Learning Outcomes
These appear at the start of each chapter and define the skills students will be
equipped with after completing the lesson.
These represent the ISTE student standards covered in each chapter. A complete
description of ISTE student standard can be found here.
Chapter Opener
These appear at the start of every chapter and are designed to grasp learners
attention related to the topic. Chapter openers consist of useful bits of information
related to the topic.
Checkpoint
Checkpoints are learning bits that appear within the chapter at different stages to
reinforce the important learning concepts.
Food for neurons consist of fun facts or trending news about the topic. These appear
within each chapter.
Let’s Review
Each chapter ends with the key learning points that provide a complete overview of
the chapter.
Chapter Highlights
Key terms appearing throughout the chapter are highlighted to draw learner’s
attention.
My Notes
My Notes section appears at the end of the chapter. Here learners can write important
learning points or reflect on their learning.
Glossary
Contains the important terminology covered in the book.
Data Analysis-Application
Security
Data analytics applications, or, more specifically,
predictive analysis help in minimizing crime rates.
Delivery
Logistic companies are using data analysis to
examine collected data and improve their overall
efficiency.
Healthcare
Self-learning healthcare programs, are able to work on
data of individual patients to provide a personalized
health recommendation.
Urban Planning
Big Data allows urban planners to develop a new
understanding of how cities function.
Energy Consumption
Data analysis allows smart meters to self-regulate
energy consumption for the most efficient energy use.
Data Handling
12
The City School 2021-2022
Relative Reference
Relative Reference is the cell reference. When you copy a cell that has a formula, the
formula changes automatically. The change depends on the relative position of rows
Data Handling
and columns. For example, type the contents of columns A and B below and in cell C2,
type =A2*B2. If you copy the formula A2*B2 to cell C3, it will become A3*B3.
Absolute Reference
An absolute reference is used when we want to keep a cell, a row or a column
constant when copying a formula. You have to declare it when you create the formula
by using the $ (dollar sign). This way you create an absolute reference which doesn’t
change when it’s copied or filled.
Syntax Description
$E1 Only the row reference will update and the column remains the
same
E$1 Only column reference will update and row remains same
13
The City School 2021-2022
1. Select a range of data in adjacent columns or click any cell within the required data
range. In the example below, we selet cell range A2:D9.
2. On the Home Ribbon, Style group, click on the Format as Table button.
14
The City School 2021-2022
3. This will display a menu of table formatting options. If you click on one of the table
menu options, the selected range will be formatted as a table based on the style of
your choice.
Data Handling
4. When you choose a table format, you will see a Format as Table dialogue box
appear. Make sure the cell range shown is the range that you want for your table;
Click the OK button to create your table.
15
The City School 2021-2022
Sorting Data
If you have a lot of records, it’s a good idea to sort them because this way it will be
easier to find what you are looking for. You can put the data in alphabetical order for
text fields or start from the smallest to the largest (and vice versa) for numbers. To sort
data do the folowing:
1. Choose a column that you want to sort by. Click on the Sort & Filter option on
the Home tab and select the order either ascending or descending as per your
necessity.
2. If there is any data in your other adjacent columns a warning window will appear
before performing the sorting option to expand the selection or continue with the
existing selection.
16
The City School 2021-2022
Advanced Filters
Advanced filters can be constructed to get more control over your data tables.
1. As an example, we want to display the records of people who purchased camera.
Data Handling
Click the arrow button next to a field header Type.
2. Click Text Filters and then click Custom Filter. In the camera list, click contains and
in the text box next to it, type camera.
3. Click OK. Then only those records whose Type field contains the word camera are
displayed.
17
The City School 2021-2022
Power
In complex calculations, there is more than one Checkpoint
part to the formula, the order of the calculations A database (DB), is an organized
collection of data.
is from left to right, but any part of the formula in Relative Reference is the cell reference.
When you copy a cell that has a formula,
the formula changes automatically.
parentheses will be calculated first. An absolute reference is used when we
want to keep a cell, a row or a column
constant when copying a formula.
Try simple exponent/power calculation using a ^ symbol in your formula answer will
be 4.
Type the numbers below. Click any cell and type =((C1^A1)-(D1^B1))+((B1/A1)*A1)^2
18
The City School 2021-2022
Percentage
Values can be changed from a decimal number to a percentage by applying the
percentage format. Microsoft Excel multiplies the cell by 100 and displays the result
Data Handling
with the percentage sign.
2. Click cell B3 and type =B2/D2 and click cell C3 and type =C2/D2.
3. Select the cells which contain the numbers you want to format, in this case, B3 and
C3. On the Home tab, in the Number group, click the Percentage symbol button %.
19
The City School 2021-2022
3. Percentage can be applied through formula directly putting *100 at the end of the
formula.
######
#DIV/0!
20
The City School 2021-2022
#Name?
Data Handling
typed a wrong formula and MS Excel cannot
recognize it. You can correct it by typing the
correct formula’s name.
#VALUE! Error
Column/Bar Chart
21
The City School 2021-2022
Line Chart
Pie Chart
1. Select the cells you want to chart, including the column titles and row labels. These
cells will be the source data for the chart. In our example, we’ll select cells A1:F6.
22
The City School 2021-2022
2. On the Insert tab, in the Charts group, select the chart type.
Data Handling
3. Choose the desired chart type from the drop-down menu.
23
The City School 2021-2022
5. To visualize data of a selected range of data, hold the ctrl key and select your
desired columns. For instance, in this example, we need to visualize fiction book
sales in the year 2010 only. Select the range A1:A6 hold down the ctrl key and select
the cell range D1:D6.
6. On the Insert tab, in the Charts group, select column chart option. Select your
desired chart style.
24
The City School 2021-2022
7. In order to visualize the fiction book sale from 2009 to 2011, select the desired
columns. On the Insert tab select Line Chart option. Select your desired chart style
from the drop-down menu.
Data Handling
1.8. Modifying and Formatting Chart Design
Chart Design
To modify the charts, select the chart and go to Design. Following modification options
are available:
Chart layouts
Excel allows you to add chart elements—such as chart titles, legends, and data
labels—to make your chart easier to read. To add a chart element, click the Add Chart
Element command on the Design tab, then choose the desired element from the drop-
down menu. The Quick Layout option allows you to select a predefined chart style.
25
The City School 2021-2022
Chart styles
desired style from the Chart styles group. * an exabyte is 1,000 bytes to the sixth power.
Data
The Data tab allows to switch the rows and columns of the chart. The Switch Rows/
Columns option swaps the data over the axis. Data being charted on the x-axis will
move to y-axis and vice-versa. On the other hand, the Select Data option allows you to
change the data range included in the chart.
26
The City School 2021-2022
Type
The Change Chart Type option allows to change the type of your current chart.
Data Handling
Chart Formatting
Every element of the chart is editable, to do that select that element of the chart and
go to Format tab.
27
The City School 2021-2022
28
The City School 2021-2022
2. From the Home tab, click the Conditional Formatting command. A drop-down
menu will appear.
3. Hover the mouse over the desired conditional formatting type, then select the
desired rule from the menu that appears. In our example, we want to highlight cells
Data Handling
that are greater than $4000.
4. A dialog box will appear. Enter the desired value(s) into the blank field. In our
example, we’ll enter $4000 as our value.
5. Select a formatting style from the drop-down menu. In our example, we’ll choose
Green Fill with Dark Green Text, then click OK.
6. The conditional formatting will be applied to the selected cells. In our example, it’s
easy to see which salespeople reached the $4000 sales goal for each month.
29
The City School 2021-2022
1. From the office ribbon go to the Data Tab and click the From Text button.
2. Select the CSV file from the file browser window that just opened.
30
The City School 2021-2022
3. After selecting the file select delimited from the Text Import Wizard.
Data Handling
4. Click next and at this point, data can be separated through a Tab, Semicolon,
Comma, or Space and can be specified in the Other: box and click next and Finish.
Open an Excel file, on the File tab click Save As and click Browse. Select the file type as
CSV and click save.
31
The City School 2021-2022
Consider the example below. Let’s say we wanted to answer the question What is the
amount sold by each salesperson? Answering it could be time consuming and difficult;
each salesperson appears on multiple rows, and we would need to total all of their
different orders individually. We could use the Subtotal command to help find the total
for each salesperson, but we would still have a lot of data to work with.
Fortunately, a PivotTable can instantly calculate and summarize the data in a way
that’s both easy to read and manipulate. When we are done, the PivotTable will look
something like this:
32
The City School 2021-2022
Once you’ve created a PivotTable, you can use it to answer different questions by
rearranging—or pivoting—the data. For example, let’s say we wanted to answer What
is the total amount sold in each month? We could modify our PivotTable to look like
Data Handling
this:
33
The City School 2021-2022
3. The Create PivotTable dialog box will appear. Choose your settings, then click OK. In
our example, we’ll use Table1 as our source data and place the PivotTable on a new
worksheet.
5. Once you create a PivotTable, you will need to decide which fields to add. Each field
is simply a column header from the source data. In the PivotTable Field List, check
the box for each field you want to add. In our example, we want to know the total
amount sold by each salesperson, so we will check the Salesperson and Order
Amount fields.
34
The City School 2021-2022
6. The selected fields will be added to one of the four areas below the Field List. In our
example, the Salesperson field has been added to the Rows area, while the Order
Amount has been added to the Values area. Alternatively, you can click, hold, and
Data Handling
drag a field to the desired area.
7. The PivotTable will calculate and summarize the selected fields. In our example, the
PivotTable shows the amount sold by each salesperson.
35
The City School 2021-2022
Just like with normal spreadsheets, you can sort the data in a PivotTable using the
Sort & Filter command on the Home tab. You can also apply any type of number
formatting you want. For example, you may want to change the number format to
Currency. However, be aware that some types of formatting may disappear when you
modify the PivotTable.
If you change any of the data in your source worksheet, the PivotTable will not update
automatically. To manually update it, select the PivotTable and then go to Analyse >
Refresh.
Pivoting Data
One of the best things about PivotTables is that they can quickly pivot or reorganize
data, allowing you to look at your worksheet data in different ways. Pivoting data can
help you answer different questions and even experiment with the data to discover
new trends and patterns.
In our example, we used the PivotTable to answer the question: What is the total
amount sold by each salesperson? But now we’d like to answer a new question: What
is the total amount sold in each month? We can do this by simply changing the field in
the Rows area.
36
The City School 2021-2022
To change row:
1. Click, hold, and drag any existing fields out of the Rows area. The field will
disappear.
Data Handling
2. Drag a new field from the Field List into the Rows area. In our example, we will use
the Month field.
3. The PivotTable will adjust or pivot to show the new data. In our example, it now
shows the total order amount for each month.
37
The City School 2021-2022
To add a column
So far, our PivotTable has only shown one column of data at a time. To show multiple
columns, you will need to add a field to the Columns area.
1. Drag a field from the Field List into the Columns area. In our example, we will use
the Region field.
2. The PivotTable will include multiple columns. In our example, there is now a column
for each region.
38
The City School 2021-2022
3. The PivotTable will include multiple columns. In our example, there is now a column
for each region.
Data Handling
Adding Filters
In our example, we will filter out certain salespeople to determine how they affect the
total sales.
1. Drag a field from the Field List to the Filters area. In this example, we will use the
Salesperson field.
2. The filter will appear above the PivotTable. Click the drop-down arrow, then check
the box next to Select Multiple Items.
39
The City School 2021-2022
3. Uncheck the box next to any item you don’t want to include in the PivotTable. In our
example, we’ll uncheck the boxes for a few salespeople, then click OK.
40
The City School 2021-2022
Slicers
Slicers make filtering data in PivotTables even easier. Slicers are just like filters, but
they’re easier and faster to use, allowing you to instantly pivot your data. If you
Data Handling
frequently filter your PivotTables, you may want to consider using slicers instead of
filters.
Adding Slicers
1. Select any cell in the PivotTable. From the Analyze tab, click the Insert Slicer
command.
2. A dialog box will appear. Check the box next to the desired field. In our example,
we’ll select Salesperson, then click OK.
41
The City School 2021-2022
3. The slicer will appear next to the PivotTable. Each selected item will be highlighted
in blue. In the example below, the slicer contains all eight salespeople, but only five
of them are currently selected.
4. Just like filters, only selected items are used in the PivotTable. When you select
or deselect an item, the PivotTable will instantly reflect the change. Try selecting
different items to see how they affect the PivotTable. Press and hold the Ctrl key on
your keyboard to select multiple items at once.
42
The City School 2021-2022
Pivot Charts
Pivot Charts are like regular charts, except they display data from a Pivot Table. Just
like regular charts, you’ll be able to select a chart type, layout, and style that will best
Data Handling
represent the data.
In the example below, our PivotTable is showing a portion of each region’s sales
figures. We’ll use a PivotChart so we can see the information more clearly.
1. Select any cell in your Pivot Table. From the Insert tab, click the PivotChart
command.
2. The Insert Chart dialog box will appear. Select the desired chart type and layout,
then click OK.
43
The City School 2021-2022
4. Try using filters or slicers to narrow down the data in your PivotChart. To view
different subsets of information, change the columns or rows in your PivotTable.
In the example below, we’ve changed the PivotTable to view the monthly sales for
each salesperson.
44
Let’s Review
1. A database (DB), is an organized collection of data.
2. ###### message appears when the column is not wide enough to display all of its
content.
3. #DIV/0! error message appears when you divide something by 0.
4. #Name? This error message appears when you have typed a wrong formula and MS
Excel cannot recognize it.
5. #Value! error appears when your formula includes cells that contain text and numbers.
6. Column/bar chart is used to illustrate comparisons between a series of data.
7. Line chart used to display trends.
8. Pie chart is used to display only one series of data.
9. Conditional formatting allows you to automatically apply formatting—such as colors,
icons, and data bars—to one or more cells based on the cell value.
10. CSV files are Comma-Separated Values and can be incorporated in any software or
database
11. PivotTables can help make your worksheets more manageable by summarizing your
data and allowing you to manipulate it in different ways.
12. Slicers are just like filters, but they’re easier and faster to use, allowing you to instantly
pivot your data.
13. PivotCharts are like regular charts, except they display data from a PivotTable.
My Notes!
45
Different Types of Websites
Blogging Websites
Features regularly updated articles, photos and
videos.
Business Websites
Committed to depicting a particular business. It conveys
the sorts of items as well as services the company/
business offers.
e-Commerce Websites
An online shopping destination where users can purchase
products or services from your company.
Forum Websites
Network or Social Forums are an incredible method to
connect and share thoughts with individuals with similar
interests or from comparative foundations through the
internet.
2. Building a Website
48
The City School 2021-2022
HTML Tags
There are two types of HTML tags
Building a Website
Types of
HTML tags
Paired Unpaired
HTML tags HTML tags
< > < /> <>
A paired tag consists of two tags, the first one is called an opening tag and the second
one is called closing tag. These tags contain the text in between at which the effect of
that tag will be applied. For example: <b>ABC</b>
Here <b> is the opening tag, </b> is the closing tag and ABC the text in between which
will result as ABC on the browser screen. Some more examples of paired HTML tags
are given below:
49
The City School 2021-2022
The <ul> tag defines an unordered (bulleted) list. Use the <ul> tag together with the <li>
tag to create unordered lists.
<ul> Coffee
<li>Coffee</li> Tea
<li>Tea</li> Milk
<li>Milk</li> Water
<li>Water</li>
</ul>
This is a paragraph.
• <br> Break
An Unpaired tag is a single tag which does not need a companion tag. These tags can
be written like < > or < /> both works as same, it’s your choice which style you choose.
50
The City School 2021-2022
Building a Website
content.
1. Open notepad and create the basic HTML structure based on the following tags:
51
The City School 2021-2022
2. Save the file on your computer. Select File > Save as in the Notepad menu and
manually change the index.txt to index.html. Always save the first page of your web
with the name index as index.html is the most common name used for the default
page shown on a website if no other page is specified when a visitor requests the
site. In other words, index.html is the name used for the homepage of the website.
3. After saving the file, close the notepad and double click on the file to execute. You
will notice instead of opening this file in notepad it will open in your default web
browser.
4. To edit the same file with text editor simply right click on the file and open with
notepad.
52
The City School 2021-2022
Building a Website
<html>...</html>
This tag specifies that the webpage is written in HTML. It appears at the very first and
last line of the webpage. It is mainly used to show that the page uses HTML5 – the
latest version of the language. Also known as the root element, this tag can be thought
of as a parent tag for every other tag used in the page.
<head> … </head>
This tag is used to specify metadata about the webpage. It includes the webpage’s
name<Title>…</Title>, its dependencies (JS and CSS scripts), font usage etc.
<title> … </title>
As the name suggests, this tag contains the title/name of the webpage. You can see
this in your browser’s title bar for every webpage open in the browser. Search engines
use this tag to extract the topic of the webpage, which is quite convenient when
ranking relevant search results.
<body> … </body>
Everything the user sees on a webpage is written inside this tag. It is a container for all
the contents of the webpage.
<h1..h6> … </h1..h6>
Six different variations of writing a heading. <h1> has the largest font size, while <h6>
has the smallest.
<div> … </div>
A webpage’s content is usually divided into blocks, specified by the div tag also known
as division.
53
The City School 2021-2022
<p> … </p>
<br/>
A line break for webpages. Is used when wanting to write a new line.
<sub> … </sub>
Used for writing a subscript (smaller font just below the mid-point of normal font).
Example: H2O
<sup> … </sup>
<b>…</b> OR <strong>…</strong>
<u>…</u>
For the underline.
<i>…</i> OR <em>…</em>
For making the text bold and em means to emphasize.
A tag to display images in the webpage followed by the URL or path where the image
is located either on your drive or on the web. The alt tag is alternative is a contingency
that if the image is not loaded from the server due to the wrong URL or non-responsive
connection from server a text related to the image will appear.
54
The City School 2021-2022
Building a Website
generating HTML while using an editable front end, kind
of like using Word to do all your layout, and the end result
is an HTML code. The idea is that you should be able to do
all of your layouts visually without having to worry about
the underlying generated code.
Adobe Dreamweaver is one of many HTML editors. It is
used to edit HTML, PHP, JavaScript, CSS and related files
and can also be used to upload them to one’s Web server. Dreamweaver is considered
to be a WYSIWYG (What You See Is What You Get) editor, although what you see in the
program is not always an exact match of what you would see on a live page as that
requires a thorough understanding of the code as well its structure.
Welcome Screen
On welcome screen select HTML to open a blank HTML file and save it in a folder.
Unlikely notepad Dreamweaver will save the document in HTML format. It is highly
recommended to save your HTML documents in a separate folder as other documents
like CSS and Images will also need to save in this folder, the reason behind this is that
other external resources will be embedded through the URL and improper placements
may cause malfunction of content.
55
The City School 2021-2022
Dreamweaver Interface
56
The City School 2021-2022
Building a Website
4. Select the text of Pakistan heading and change it to Heading 1 from the Properties
option at the bottom.
5. To change the font colour of the heading, select Page Properties. A dialog box will
open. From the Category menu, select Headings (CSS) and select the desired font
colour.
57
The City School 2021-2022
6. Once the colour is applied DW will automatically create a CSS with the name of
style1 as a default action, this style can also be used to apply the same formatting
to any other text as well.
7. Create a five-point bulleted list for the information of Pakistan using the Bullet
option from the Properties on the bottom.
8. To add hyperlink, add a simple text Click here for more information. Copy and
poste the URL in the Link section in the Properties panel at the bottom.
58
The City School 2021-2022
9. Save the file and click on the globe icon or press F12 to preview it on the default
web browser.
Building a Website
10. The preview would look like this:
59
The City School 2021-2022
properties of the table like the number of rows and column, table width, border
thickness, cell padding and spacing (cell margins). The table can also have tables
inside to manage the content more symmetrically, and this table is called a nested
table/s.
Follow the steps below to create a webpage with navigation using tables:
1. Add background colour or a background image to the page from Page Properties
option on the bottom, also set the font to Verdana from the same menu so
the whole text in this document should be displayed with Verdana font. These
formatting will automatically add CSS in the code.
60
The City School 2021-2022
Building a Website
4. Create a new table with 1000px width and 6 rows and 4 columns. Set cell border, cell
padding, cell spacing to 0, by doing this the table will not visible and can be used
only for the structure and content management.
61
The City School 2021-2022
5. Select the cells of the first row, right-click to open the menu and from the menu
select Table> Merge Cells or press CTRL+ALT+M after selecting the cells.
6. Insert a relevant header image to the topic in a merged cell as a header of the
website. Using the insert image option by clicking Insert>Image
7. In the next line write the name of search engines in the centre of the cells column-
wise: Google, Bing, Yahoo and Baidu and also create a link to each of them to their
respective websites. To center align the text, hilight the text and right click. Select
Align>Left.
62
The City School 2021-2022
8. Change the font color to white by clicking on the Page Properties option.
Building a Website
9. Download the logos of these search engines and place them in the third row.
Images can be inserted from Insert>Image. Resize the image size to your desired
size. To align the images, right click the image and select the desired alignment
10. To hyperlink the images with the relevant websites, select the image and enter the
search engine’s URL in the Link section in Properties panel.
63
The City School 2021-2022
11. Merge the remaining columns and insert some relevant information about each
search engine.
64
The City School 2021-2022
2. In Split view, place your cursor after the opening <body> tag, and press Enter to
create a new line of code. Type <au and then press Tab to complete the beginning
Building a Website
of the <audio> tag.
65
The City School 2021-2022
5. Next, we’ll add a parameter to display a controller (player) for the audio. Press the
spacebar, and double-click controls from the code hints.
Important to note:
the text between the <audio> and </audio> tags will only be displayed in browsers that
do not support the <audio> element.
<audio> can be used to play sound files in the following formats:
• .mp3: Supported by all modern browsers.
• .wav: Not supported by Internet Explorer.
• .ogg: Not supported by Internet Explorer and Safari.
• audio can be placed like an object similar to images or text in DIV or Table.
66
The City School 2021-2022
Building a Website
3. YouTube will automatically give you the code for embedding, add that code to your
HTML and resize height and width from the iframe code if necessary.
To embed video using the video tag, it is important to have downloaded on your
computer. Enter the following code in the Split view.
67
The City School 2021-2022
Important to note:
• the controls attribute adds video controls, like play, pause, and volume.
• it is a good idea to always include width and height attributes. If height and width
are not set, the page might flicker while the video loads.
• the <source> element allows you to specify alternative video files which the browser
may choose from. The browser will use the first recognized format.
• the text between the <video> and </video> tags will only be displayed in browsers
that do not support the <video> element.
• video can be placed like an object similar to images or text in DIV or Table.
selector Declaration
The selector points to the HTML element to style (h1). The declaration block (in curly
braces) contains one or more declarations separated by semicolons. Each declaration
includes a CSS property name and a value, separated by a colon.
68
The City School 2021-2022
Inline CSS
Building a Website
An inline CSS is used to apply a unique style to a single HTML element. An inline CSS
uses the style attribute of an HTML element.
Internal CSS
An internal CSS is used to define a style for a single HTML page. An internal CSS is
defined in the <head> section of an HTML page, within a <style> element.
The following example sets the text color of ALL the <h1> elements (on that page) to
blue, and the text color of ALL the <p> elements to red. In addition, the page will be
displayed with a powderblue background color:
69
The City School 2021-2022
CSS can be added and edit using GUI of DW as well and DW will automatically add the
CSS code respectively.
Follow the steps below to add CSS using GUI of DW:
1. Start DW with a new HTML document. Right-click on the blank area of CSS Styles
panel which is usually located on the right side and click New.
2. Select Tag from the Selector Type drop-down list. Select h1 from the Selector Name
drop-down list. This will add the style to the Heading1 of the document. Click OK.
70
The City School 2021-2022
3. The next window that pops up, allows you to define CSS rule definition for heading-1
i.e. About Pakistan. The Category panel on the left provides different options to
Building a Website
work with. For this example we will add CSS rule definition to the Type category.
4. After defining the properties of CSS, it will be added and available in CSS Style
Panel on the right side for further editing and addition. By clicking on Add Property
option more properties can be added for the whole class.
5. By clicking on the Split view, you can see the underlying CSS code to style
heading-1. You can style the other HTML tags in the similar manner.
71
The City School 2021-2022
server for processing. Forms can resemble paper CSS stands for Cascading Style Sheets
or database forms because web users fill out the An inline CSS is used to apply a unique
style to a single HTML element.
forms using checkboxes, radio buttons, or text An internal CSS is used to define a style
for a single HTML page. An internal CSS
fields. For example, forms can be used to enter is defined in the <head> section of an
HTML page, within a <style> element.
1. Create a new HTML document and set any desired from the page properties panel.
Enter the contact us text as a heading using H1 heading.
72
The City School 2021-2022
2. From the Insert option, click on Forms Tab and insert the form to let the HTML
knows that this is the form area. After clicking on this button, a red dashed line will
Building a Website
appear to represent that this is the form area, from this point onward we will be
working inside the <form> tag.
3. Create a table of 10 rows and 2 columns while setting its cell spacing to 4,
border and padding to Using a table to manage the forms elements is highly
recommended for place management. Recommended width 500px.
4. On the left column, we will enter the title of information required such as name,
address etc. whereas on the right side we will enter the form elements.
5. The first element we will insert is a text field. Click on this button and another will
appear with numerous information required:
• ID: information is used to program the form text field with programming languages
like PHP, JavaScript etc.
73
The City School 2021-2022
• Label: information is used to place the title along with form element, but in this case,
we are already using the table, therefore, no need to fill in the label information and
also select the option of “No Label tag”.
• The access key: is used to assign a specific hotkey to directly shift the cursor focus
by pressing Alt+“Access Key”.
• Tab index: is the sequence of cursor focus, if we enter 3 over here then the cursor
will focus this specific text field on the third press of the TAB key.
6. The next form element we will enter is List/Menu to create a drop-down list for
selecting an option from a list given. HTML tag for form list is <select> </select>.
7. The number of list item can be inserted from List Values… button on the bottom
from the properties panel, click on the List Values… button and another window will
appear, click on the + icon to add the list menu items.
74
The City School 2021-2022
8. The next form element is Radio buttons, the function of a radio button is to get one
single answer from the multiple choices given.
Building a Website
9. The next form element is checkboxes, the function of checkboxes is to get multiple
answers from the multiple choices given.
10. The next form element is the Text area. Text area works like a simple text field but
it can accommodate more words than a normal text field and its layout is like a
paragraph.
75
The City School 2021-2022
11. Buttons are the action element of form to submit or reset the form.
76
The City School 2020-2021
Let’s Review
1. A web page or webpage is a document commonly written in HTML (Hypertext
Mark-up Language) that is accessible through the Internet or other networks using
an Internet browser.
2. Hypertext Mark-up Language (HTML) is the standard mark-up language for
documents designed to be displayed in a web browser.
3. A paired tag consists of two tags, the first one is called an opening tag and the
second one is called closing tag.
4. An Unpaired tag is a single tag which does not need a companion tag.
5. Attributes define additional characteristics or properties of the element such as
width and height of an image.
6. Dreamweaver is a web development tool. It is basically for generating HTML while
using an editable front end.
7. Content management on a webpage can be Tables and DIVs.
8. CSS stands for Cascading Style Sheets. It typically creates design profiles for
overall document layout.
9. An inline CSS is used to apply a unique style to a single HTML element.
10. An internal CSS is used to define a style for a single HTML page.
11. A webform, web form or HTML form on a web page allows a user to enter data
that is sent to a server for processing.
My Notes!
77
Adults V/S Teens
The Pew Research Center recently released a study about how adults
use social media, which made us wonder how teens and adults stack
up when it comes to social media use. Teenagers today grow up in a
digital world, so it is no surprise that they are pretty savy when it
comes to all things online and technology. Surprisingly, though, when
it comes to early adoption of newer social mediums like Pinterest and
Instagram, adults seem to have teens beat, if only slightly.
Adults Teens
72% 81%
94%
Who uses which social media network most?
Adults Teens
Teens seem to dominate the traditional social networks like
Facebook and Twitter, while adults use Instagram, Tumblr and
Pinterest more than teens
67%
26%
13% 11% 15% 18%
6% 5%
1%
Tumblr Instagram Pinterest Twitter Facebook
All About Cloud
80
The City School 2021-2022
• Star topology
• Bus topology
• Ring topology
• Star topology: All computers and devices are connected to a network switch and
this is one of the common topologies nowadays.
• Bus topology: In this arrangement computers and devices are connected to a
single linear cable called a trunk.
• Ring topology: Computers and devices are connected to a closed-loop cable.
81
The City School 2021-2022
82
The City School 2021-2022
4G Network
4G is the fourth generation of broadband cellular network technology, succeeding 3G.
Potential and current applications include amended mobile web access, IP telephony,
5G Network
5G is the fifth generation of mobile networks, a significant evolution of today’s
4G LTE networks. 5G has been designed to meet the very large growth in data
and connectivity of today’s modern society, The Internet of things with billions of
connected devices, and tomorrow’s innovations. 5G will initially operate in conjunction
with existing 4G networks before evolving to fully standalone networks in subsequent
releases and coverage expansions.
83
The City School 2021-2022
84
The City School 2021-2022
For the time the 802.11i wireless security standard was in development, WPA was used
as a temporary security enhancement for WEP. One year before WEP was officially
abandoned, WPA was formally adopted. Most modern WPA applications use a pre-
shared key (PSK), most often referred to as WPA Personal, and the Temporal Key
Integrity Protocol (TKIP) for encryption. WPA Enterprise uses an authentication server
for keys and certificates generation. Still, WPA2, WPA’s newest version, is more secure
and even better than WPA. WPA2 is the latest and strongest wireless security and
encryption standard. Almost all modern routers support it and you should definitely
use this option to protect your home network.
85
The City School 2021-2022
Personal Data
Personal data, also known as personal information, personally identifying information
(PII), or Sensitive Personal Information (SPI) is any information relating to identifying a
person. Some examples of PII are:
• Names: your full name, your maiden name, and your mother’s maiden name
• Personal ID numbers: NIC#, driver’s license#, passport#, patient ID#, taxpayer
ID# etc
• Addresses: your street address and email address
• Biometrics: retina scans, fingerprints, facial geometry, or voice signatures,
Vehicle ID or title numbers
• Technology asset information: Media Access Control (MAC) or Internet
Protocol (IP) addresses that are tied to a certain individual.
We must never give our name, address, telephone number or other personal data to
strangers or unknown websites to avoid identity theft or to protect our financials.
86
The City School 2021-2022
Software Licensing
Software licenses typically provide end-users with the
right to one or more copies of the software without
violating copyrights. The license also defines the
responsibilities of the parties entering into the license
agreement and may impose restrictions on how the
software can be used. Software licensing terms and
conditions usually include fair use of the software, the
limitations of liability, warranties and disclaimers and
protections if the software or its use invades on the
intellectual property rights of others.
Freeware
Freeware is software, most often proprietary, that is distributed at no financial cost
to the end-user. There is no agreed-upon set of rights, license, or EULA that defines
freeware unambiguously; every publisher defines its own rules for the freeware
it offers. For instance, modification, redistribution by third parties, and reverse
87
The City School 2021-2022
Shareware
88
The City School 2021-2022
• Data safety: your files are protected against physical disasters because they are
• It needs an Internet connection: if you find that you urgently need to access your
files and don’t have an Internet connection or have a very slow one, then this could
lead to delays.
• Security: if you don’t use strong passwords or if the cloud service is not secure
enough, you may face security issues.
• Unavailability risks: although very rare, the cloud service may be temporarily
unavailable, perhaps when you most need it. Another slight risk is that the
company offering the service might go out of business and you may lose your
data.
89
The City School 2021-2022
90
The City School 2021-2022
To use Google Drive, we are required to have a Google account. If you already own
a Google account then just continue with signing in, for those of us who have yet to
2. You can either create account for personal use or to manage your business.
3. Fill out the information on the signup page and click Next.
91
The City School 2021-2022
4. On this page, all the information is required except for the field mobile phone
and your current email address. Both these fields will only be used for security
purposes such as when you would like to prove that you are the owner of the
account.
There are cases where an account was hacked. To get the account back, Google
would ask you to verify that you are the owner by sending messages or an email to
the phone number and email address provided. It is recommended that you fill in both
these fields but it does not have to be filled during registration and you can always fill
them up later.
5. Once we have completed the form, please make sure you click on the I agree
button or you will not be able to submit. Verify that all information is correct and
submit the form.
6. After submitting the form, you would be redirected to Google Drive page.
92
The City School 2021-2022
1. On the left is the folder view which shows any files shared with us, starred files and
recently modified files.
2. At the top is the menu bar i.e. My Drive, contains options such as creating new
folders and files.
3. The centre is the area where files in the Drive will be displayed, but since we do not
have any files yet, this shows information about Google Drive.
Google doc
93
The City School 2021-2022
Google spreadsheet
Google slides
Google has always intended to make its product user friendly and therefore using
Google Drive and Google Docs is much easier than most cloud storage solutions.
To add a file to Google Drive, click on the My Drive button and choose the option to
create a new folder or to create any office document.
94
The City School 2021-2022
Whereas if you need to upload an existing file in your google drive simply drag and
drop the file in that folder or root to begin your upload.
After uploading the file, we can also share that file or data with anyone specific or can
create a public link to share without any restriction. To do that right-click on the file
and select share option.
95
The City School 2021-2022
In the sharing window there will be two procedures to share the file. We can share this
file to an individual by entering the email address of the recipient or we can click on
the Copy Link button to get a shareable link.
You can either allow certain members to have access to your files or folders by
selecting Restricted option or you can allow anyone with the link to have access to
your files.
Restricted: when you change a link’s setting to Restricted, the only people who can still
see the file or folder are those you have directly shared with in the ‘Share with people
and groups’ section.
Anyone with the Link: allows your document to be accessed by any person who has
the URL of the file or the folder.
96
The City School 2021-2022
97
The City School 2021-2022
You can translate text in photos you’ve already taken. You can also take a new photo
in the Translate app and translate text on the new photo.
98
The City School 2021-2022
• A route planner offers directions for drivers, bikers, walkers, and users of public
• transportation who want to take a trip from one specific location to another.
• The Google Maps application program interface (API) makes it possible for web
site administrators to embed Google Maps into a proprietary site such as a real
estate guide or community service page.
• Google Maps for Mobile offers a location service for motorists that utilizes the
Global Positioning System (GPS) location of the mobile device (if available) along
with data from wireless and cellular networks.
• Google Street View enables users to view and navigate through horizontal and
vertical panoramic street-level images of various cities around the world.
• Supplemental services offer images of the moon, Mars, and the heavens for hobby
astronomers.
99
The City School 2021-2022
Types of Maps
Google Maps is a web-based service that provides detailed information about
geographical regions and sites around the world. In addition to conventional road
maps, Google Maps offers aerial and satellite views of many places. In some cities,
Google Maps offers street views comprising photographs taken from vehicles.
Google Maps offers several services as part of the larger Web application, as follows:
Roadmap: this is the Satellite: this is the map Terrain: this is the
default type. It shows the type that shows the map type that shows
street view of the selected satellite images of the the terrain and
region. selected region. vegetation.
100
The City School 2021-2022
Places Option
After selecting anyplace in
google maps we can start
navigation by selecting the
Directions option, Save that
place, Search Nearby places
to that location, send that
place to your phone (in case
of desktop usage) and we
can also share the location
via URL.
101
The City School 2021-2022
Google Coordinates
After selecting anyplace in google maps we can start navigation by selecting the
Directions option, Save that place, Search Nearby places to that location, send that
place to your phone (in case of desktop usage) and we can also share the location via
URL.
Details on Maps
In google maps there are several other useful information about that place is available
at the bottom of the left pane like address, website, phone number, working hours,
photos, etc. We can also contribute to this content by adding photos or “Suggest an
edit” option. If we scroll down a little more, we can see a public review option along
with the 5-star rating system which describes the place more in detail. We can also
add our review as per our experience.
102
The City School 2021-2022
Let’s Review
1. A network, in computing, is a group of two or more devices that can communicate.
2. Network Topology is the schematic description of a network arrangement,
connecting various nodes (sender and receiver) through lines of connection.
3. LAN, MAN and WAN are the three major types of the network designed to operate
over the area they cover.
4. Wi-Fi Protected Access (WPA), Wi-Fi Protected Access II (WPA2), and Wi-Fi Protected
Access 3 (WPA3) are three security protocols and security certification programs
developed by the Wi-Fi Alliance to secure wireless computer networks.
5. Intellectual property includes intangible creations of the human intellect.
6. Personal data, also known as personal information, personally identifying
information (PII), or Sensitive Personal Information (SPI) is any information relating
to identifying a person.
7. Intellectual property includes copyright, patents, trademarks, industrial design rights,
plant variety rights etc.
8. Google Drive allows users to store files on their servers, synchronize files across
devices, and share files.
9. Google Translate is a free multilingual machine translation service developed by
Google, to translate text
10. Google Maps is a web-based service that provides detailed information about
geographical regions and sites around the world.
My Notes!
103
Presentation Design Do’s
and Dont’s
Do’s
1. Your information, design and style should be based on what your
audience will understand and respond to
2. Use minimal text and more images. Images increase retention by
42%
3. Use a single color in your selected palette to emphasize
important points in your text
4. Titles should be at least 28 to 48 points, bulleted text or body
copy at least 24 points. Only use caps in headlines and section
titles, not in paragraphs
Dont’s
1. Don’t use pixelated, blurry, or tiny images
2. Don’t tell your data when you can show it; Visualize your data
wherever possible
3. Use too many graphics; they can distract the audience from your
content
4. Using too many borders, boxes, lines, arrows, and spaces can be
distracting
Presenting Your Ideas
S
stories, presentations, and more. Start by adding
your text and pictures, search for and import relevant
content from other sources, and then watch Sway
do the rest. With Sway, you’re no longer limited to
picking a pre-designed template that makes your
presentations look like everyone else’s, and you
don’t have to have any design skills to transform and
showcase information in modern, interactive, and attention-getting ways.
With Sway, there’s no need to spend lots of time on formatting. Its built-in design
engine takes care of making your creation look its best. If the initial design doesn’t
quite match your taste or mood, you can easily apply another — or fully customize
your layout to make it your own.
It’s super easy to share your finished Sways. Family, friends, classmates, and co-
workers can see your creations on the Web without signing up, signing in, or
downloading anything. And you can change the privacy settings for any Sway
whenever you want more control over what you share.
Newsletter Stories
106
The City School 2021-2022
Create
On the My Sways page that opens
after you’ve signed in, click or tap
Create New to start creating your
first Sway.
107
The City School 2021-2022
108
The City School 2021-2022
S
Sway or PowerPoint?
PowerPoint is primarlity used for presenting charts and graphs and when a dedicated
person is presenting the content. Sway is preferred choice of tool when information is simply
consumed by the end user without a live presentation
109
The City School 2021-2022
Let’s Review
1. MS Sway allows to create and share interactive reports, presentations,
personal stories, newsletters and much more.
2. Storyline is where you type, insert, edit and format the content.
3. Title of your Sway is the first thing others see when you share your Sway.
4. Content is arranged in sequential order by adding cards.
5. To add content to your Sway, such as text, images, or videos, click or tap
the + icon at the bottom of any existing card.
6. The Design tab allows you to view your work in progress at any time.
7. The Play button on the top to full experience your sway.
My Notes!
110
Why You Should Learn
to Code?
Future Demand
According to Code.org, 71% of all new STEM (jobs are in
computing. Learning how to code will give your child a
head start in the real world.
Creativity skill
When children learn how to code they do not only
consume digital media and technology but create it.
Communication skill
Learning how to code improves logical
communication and strengths in both verbal and
written skills.
Coding is fun
By coding, children can develop their own games,
website, apps and much more. They actually build their
own dreams and desires!
Programming the
Computer-Python
5.1. Overview
Computer programming is a way of giving
computers instructions about what they should
do next. These instructions are known as code,
and computer programmers write code to solve
problems or perform a task.
The end goal is to create something: that could
mean anything from a web page, or a piece of
software, or even just a pretty picture. That’s
why computer programming is often described
as a mix of art and science; it’s technical and
analytical, yet creative at the same time.
Algorithms
To write a logical step-by-step method to solve
Making a PB&J Sandwich
the problem is called an algorithm. In other undo the twist tie
get out two slices of bread
words, an algorithm is a procedure for solving get out two slices of bread
place them on a plate
113
The City School 2021-2022
Flow Charts
A flowchart is a type of diagram that represents an algorithm, workflow or process.
The flowchart shows the steps as boxes of various kinds, and their order by connecting
the boxes with arrows. Flowcharts are used in analyzing, designing, documenting or
managing a process or program in various fields.
Terminal
Flow Lines
The default flow is left to right and top to bottom
(the same way you read English). To save time
arrowheads are often only drawn when the flow
lines go contrary the normal.
Input/Output
Process
Decision
114
The City School 2021-2022
Example
Read
temperature
temperature<32
Print Print
Below freezing Above freezing
End
5.3. Pseudocode
Pseudocode is an informal high-level description of
the operating principle of a computer program or Pseucode Example
115
The City School 2021-2022
{Code}
5.4. What is a Program
116
The City School 2021-2022
There are tens of thousands of famous python websites on the internet, few of them
Python IDLE
File menu: it is for basic operations like opening, saving and printing programs.
Shell menu: it is to reset the environment
Debug menu: it is to check your program from any errors
117
The City School 2021-2022
118
The City School 2021-2022
Python Indentations
119
The City School 2021-2022
quotes. In Python variables are created the moment we assign a value to it. Unlike
other programming languages, Python has no command for declaring a variable. A
variable is created the moment we first assign a value to it.
Example
Variable Names
A variable can have a short name (like x and y) or a more descriptive name (age, car_
name, total_volume). Rules for Python variables:
• A variable name must start with a letter or the underscore character
• A variable name cannot start with a number
• A variable name can only contain alpha-numeric characters and underscores(A-z,
0-9, and _ )
• Variable names are case-sensitive (age, Age and AGE are three different variables)
120
The City School 2021-2022
Output Variables
5.7. Comments
121
The City School 2021-2022
Type Conversion
We can convert from one type to another with the int()and float() methods. A
sample code is shown below:
122
The City School 2021-2022
Sample Code
123
The City School 2021-2022
To add an item to the end of the list, use the append() method
124
The City School 2021-2022
IF Statement
Sample Code
# This program compares two numbers
using if
a = 33
b = 200
# if block
if b > a:
print(“b is greater than a”)
In this example, we use two variables, a and b, which are used as part of the if
statement to test whether b is greater than a. As a is 33, and b is 200, we know that
200 is greater than 33, and so we print to screen that “b is greater than a”.
Indentation is necessary; if we do not use the indentation as mentioned in example,
python will give an error.
ELIF Statement
The ELIF keyword is Python’s way of saying if the previous conditions were not true,
then try this condition. The sample code below demonstrates Elif statement.
125
The City School 2021-2022
Sample Code
# This program compares two numbers
using elif
a = 33
b = 200
# if block
if b > a:
print(“b is greater than a”)
# elif block
elif b = = a:
print(“a and b are equal”)
In this example a is equal to b, so the first condition is not true, but the elif condition is
true, so we print to screen that “a and b are equal”.
Else Statement
The else keyword catches anything which isn’t caught by the preceding conditions. The
sample code below shows else statement.
Sample Code
# This program compares two numbers using else
statements
a = 33
b = 200
# if block
if b > a:
print(“b is greater than a”)
# elif block
elif b == a:
print(“a and b are equal”)
# else block
else
print(“a is greater than b”)
126
The City School 2021-2022
In this example a is greater than b, so the first condition is not true, also the elif
Sample Code
127
The City School 2021-2022
1. In the 1st line of this code, we have created a list StdMrks with four values stored
in it.
2. In the 2nd line, we have declared a variable name MaxMarks with an integer value
of 0.
3. In the 3rd line, we use for loop while declaring another variable i with the range of
four.
4. This means this loop will run 4 times. Every time FOR loop runs, it will increase the
value of the i variable.
5. In the 4th line, we have set a condition to check that if StdMrks[i] variable is
greater than MaxMrks (declared 0 in 2nd line) variable then change the value of
MaxMarks[i] to StdMrks value. (StdMrks[i] variable is going to change its
value every time the loop runs and change the index of StdMrks. This process is
also known as unary increment). Using indention is compulsory or python will not
consider the For loop elements and give an error.
6. In the 5th line, MaxMrks is setting its value equal to the current value of StdMarks
only if the condition in the previous line is true.
7. In the 6th line, we have just printed the value of MaxMrks along with a string
sentence.
128
The City School 2021-2022
Sample Code-1
Sample Code-2
Sample Code-3
We have already experienced this code earlier but now we have converted the same
into a function and now it can be recalled and reused whenever required in the
program.
129
The City School 2021-2022
130
The City School 2021-2022
Logical Error: a logical mistake while designing the program which occurs due to the
The Canvas widget supplies graphics facilities for Tkinter. Among these graphical
objects are lines, circles, images, and even other widgets. With this widget, it’s possible
to draw graphs and plots, create graphics editors, and implement various kinds of
custom widgets and for using those we need to call/import the library of Tkinter so we
can use these functions.
Example-Creating Line
131
The City School 2021-2022
132
The City School 2021-2022
133
The City School 2021-2022
Sample Code-1
from tkinter import*
def hello (event):
print(“Single click, Button-1”)
def quit(event):
print(“Double click, so let’s
stop”)
import sys;sys.exit()
widget=Button(None,text=’Mouse
Clicks’)
widget.pack()
widget.bind(‘<Button-1>’,hello)
widget.bind(‘<Double-1>’,quit)
widget.mainloop()
In this program, the event will be triggered by clicking on the Tkinter widget window. If
we click once it will say “Single Click, Button-1” as defined in string values and
if we double click it will say “Double click, so let’s stop as defined in a string
value.
134
The City School 2021-2022
Sample Code-2
Every time we move the mouse in the Message widget, the position of the mouse
pointer will be printed. When we leave this widget, the function motion() is not called
anymore.
Basic colour list plot for python. There are more colours which can be used with basic
words like forest green or lime etc.
135
The City School 2021-2022
Let’s Review
My Notes!!
136
Importance of
STEM Education
S T E M
Science Technology Engineering Mathematics
STEM Employment
17%
Computer 1,083,800
Non-STEM Employment occupation
Engineers 510,900
STEM related
9.8% mgmt 167,600
Science-fiction author Isaac Asimov is often given credit for being the first person
to use the term robotics in a short story composed in the 1940s. In the story, Asimov
suggested three principles to guide the behaviour of robots and smart machines.
Asimov’s Three Laws of Robotics, as they are
called, have survived to the present:
• Robots must never harm human beings.
• Robots must follow instructions from
humans without violating rule 1.
• Robots must protect themselves without
violating the other rules
Robots make our life easier and much safer Robots can do tasks which are dangerous
for humans like bomb diffusion, security guard, and Mars rover etc. Besides these
dangerous tasks, robots can perform tasks which humans are not good at such as:
139
The City School 2021-2022
Perfection & Accuracy: robots will always deliver quality. Since they’re
programmed for precise, repetitive motion, they’re less likely to make
mistakes. In some ways, robots are simultaneously an employee and a
quality control system. A lack of quirks and preferences, combined with
the eliminated possibility of human error and the outcomes are more accurate than
the humans.
Job Creation: robots don’t take jobs away. They merely change the
jobs that exist. Robots need people for monitoring and supervision. The
more robots we need, the more people we’ll need to build those robots.
By training your employees to work with robots, you’re giving them a
reason to stay motivated in their position with your company. They’ll be
there for the advancements and they’ll have the unique opportunity to develop a new
set of tech or engineering-related skills.
140
The City School 2021-2022
Robotics Industry
Robots are becoming increasingly prevalent in almost every industry, from healthcare
and manufacturing to defence and education.
Here is the list of the organizations working on robotics as life essentials:
Robotics
Sphero: Sphero invented a now world-famous appenabled
robotic ball, which is used in classrooms all over the world
to teach through play. In addition to the original ball, other
products include the Sphero 2.0 and the Sphero Mini as well
as app-enabled racing robots named Ollie and Darkside. The
company’s Sphero Edu app is a hub for programming its
robots and more.
GITA: from the Piaggio Group that brought you the Vespa
scooter comes Piaggio Fast Forward; a robotics company
dedicated to creating lightweight mobility solutions for
people and goods. The company’s flagship robot, Gita, is a
mobile carrier that follows people around and carries up to
45 pounds. Gita can be used to carry everything from heavy
books between classes to groceries.
141
The City School 2021-2022
142
The City School 2021-2022
Robotics
through 4 platforms:
• Barcodes and Remote Control
• EdBlock – Graphical Language
• EdScratch – Scratch Language interface
• EdPy – Python Programming Interface
Edison is equipped with all the sensors,
outputs and motors needed to introduce you to the amazing world of robotics.
Edison’s creator, Brenton O’Brien says that: a robot is a machine that can behave
autonomously which is also a simple definition of robotics.
Robotics wouldn’t be possible without electronics.
Your Edison robot has electronics which you
can see through the transparent top. There are
resistors, capacitors, transistors, motors and more.
The most important electronic part is Edison’s
microcontroller (MCU). The microcontroller is like
Edison’s brain. It’s where all the robot’s thinking happens. Edison’s microcontroller
is very similar to the processor chip inside a computer, only much smaller. Just like
a processor chip in a computer, Edison’s microcontroller contains programs. These
programs are what allow Edison to ‘think’ and make decisions.
143
The City School 2021-2022
To use Edison, you’re going to need to know where all of Edison’s sensors are
located and become familiar with the robot’s three buttons.
Meet Edison
EdPy is Edison’s text-based programming
application. The robot is controlled by a program, which contains the instructions
and rules governing the robot’s behaviour. Any program you create in EdPy must
be downloaded to Edison before the robot can perform the
actions. The program can be changed only in the EdPy platform
and in such cases, you will need to download the new program
to the robot again. To connect Edison with the computer to
download the program you create with EdPy, you need the
EdComm cable which is Edison’s special cable. The EdComm
cable is used to download programs to Edison. It connects into
the headphone/audio Socket/jack on your computer or tablet
or phone or any other computing device which contains an
audio jack and a working web browser to access EdPy app.
Note: Before you begin programming with EdPy you MUST make sure that your computer
volume is MAX and it is important that ALL sound enhancements are disabled. This includes
Altec Lansing enhancements, Realtek audio enhancements, Beats audio, Spatial sound, and
144
The City School 2021-2022
EdPy app is one the web-based programming interface to program Edison. EdPy is a
text-based programming language based on Python. Python gives more flexibility to
your programs and offers more precise control of your robot. EdPy application can be
Robotics
accessed online and without any installation on your computer or tablet.
To access EdPy app. visit https://www.edpyapp.com/
EdPy Interface
145
The City School 2021-2022
Programming area: this is where you type the Python code to control the Edison robot.
Documentation: in this window, you can search the documentation about Python
functions that can be used in EdPy. Here you can find explanations of all the available
commands including example code.
Recently opened: this window contains a list of recently opened programs. Clicking on
these will re-open the program in the programming area.
Examples: this window contains a list of example programs which you can select and
open in the programming area. The example programs explain how to use common
functions of the Edison robot, including some to the functions students encountered
with the barcode programs.
Check code: when the ‘Check Code’ button is clicked, the code in the programming
area is checked for errors. If errors are detected, a message will appear in the
‘Compiler Output’ window at the bottom of the screen providing details on the errors.
Program: When the ‘Program’ button is clicked, the current program is downloaded to
the Edison robot. Make sure the Edison robot is ready for the code by connecting the
cable, turning the volume up to full and pressing Edison’s round button one time.
Compiler Output: when EdPy translates the written code into commands readable
by the Edison robot, this is called ‘compiling the code.’ If errors are detected when you
click ‘Check Code,’ they will be displayed in the compiler output section. If there are no
errors detected, this section will display a message which reads: ‘There are no errors in
your code.’
Line help: the line help is a guide to use while programming which shows users what
each of the Python commands do. When you select a line of code in the programming
area with your mouse cursor, the ‘line help’ window will display a plain-English
description of the command being highlighted by your cursor. This description is a
‘translation’ of the Python code into English.
Setup code: All Edison programs must contain the setup code that you see every time
you open the EdPy app.
146
The City School 2021-2022
Robotics
that you can work on it later.
Click on Menu and select Click on Create Account. Enter details and click
login. on Create Account &
Login to proceed.
147
The City School 2021-2022
Sample Code
The following program will turn on the left LED of the robot for 10 seconds.
#-------------Setup----------------
import Ed Checkpoint
Ed.EdisonVersion = Ed.V2
Ed.DistanceUnits = Ed.CM Robotics is important due to its safety,
Ed.Tempo = Ed.TEMPO_MEDIUM speed, accuracy and consistency
#--------Your code below----------- Edison robots are a complete STEAM
Ed.LeftLed(Ed.ON) teaching resource designed to bring
coding to life.
Ed.TimeWait(10, Ed.TIME_SECONDS)
Edison robot has a removable skid and
two removable wheels and includes a
range of built-in sensors.
There is no need to enter the mentioned below code and it will be available always
whenever you start a new program, however you can customize the parameters as
per your requirement.
Import Ed is a predefined code to import the library of Edison functions in python.
Ed.EdisonVersion = Ed.V2 is the code to define the version of Edison we are using
which is Version 2.
Ed.DistanceUnits = Ed.CM is the code to define the unit of measurements to drive
the Edison.
Ed.Tempo = Ed.TEMPO_MEDIUM is the code to define the music/sound pace.
After this line #-------Your code below --------- enter the code to work on Edison.
Ed.LeftLed(Ed.ON) is to turn on the left LED of Edison
Ed.TimeWait(10, Ed.TIME_SECONDS) is the code where we have defined the interval
between the LED to turn on.
EdPy works on python and will work with the same rules use for Python like case
sensitivity and indentation, therefore you need to be very careful entering the code
according to Python style.
148
The City School 2021-2022
Robotics
Ed.Drive Direction Parameters
Ed.FORWARD: Edison drives forwards.
Ed.BACKWARD: Edison drives backwards.
Ed.FORWARD_RIGHT: Edison uses one wheel to turn forwards right (clockwise).
Ed.BACKWARD_RIGHT: Edison uses one wheel to turn backwards right (counter-
clockwise).
Ed.FORWARD_LEFT: Edison uses one wheel to turn forwards left (counter-clockwise).
Ed.BACKWARD_LEFT: Edison uses one wheel to turn backwards left (clockwise).
Ed.SPIN_RIGHT: Edison spins on the spot to the right (clockwise).
Ed.SPIN_LEFT: Edison spins on the spot to the left (counter-clockwise).
Ed.STOP: Stops Edison immediately.
149
The City School 2021-2022
Always remember that while using the Ed.FORWARD and Ed.BACKWARD command, the
Distance parameter works as the number of steps(cm/inch) Edison has to move.
Whereas, while using Ed.FORWARD_RIGHT, Ed.FORWARD_LEFT, Ed.SPIN_RIGHT,
Ed.SPIN_LEFT, the Distance parameter works as the angle at which Edison has to turn.
This means that a code like Ed.Drive(Ed.SPIN_LEFT, Ed.SPEED_5, 90) will make
the Edison robot turn 90 degrees counterclockwise.
150
The City School 2021-2022
Sample Code
#--------Your code below-----------
degreesToTurn=90
Ed.Drive(Ed.SPIN_RIGHT, Ed.SPEED_6, degreesToTurn)
Robotics
This program will make Edison robot turn right using a value from the variable.
degreesToTurn = 90 is the variable with the parameters of 90. This variable is going
to use as a reference in the program to turn the Edison robot to 90 degrees.
Sample Code
151
The City School 2021-2022
Using loop to create a program which has several repeating codes is a smart decision.
The following program will create a square using a loop.
#--------Your code below-----------
for x in range(4)
Ed.DRIVE(Ed.FORWARD,Ed.SPEED_5,1)
Ed.Drive(Ed.SPIN_LEFT, Ed.SPEED_5, 90)
It may not be possible to drive in a perfect circle, but a shape with thousands of very
small sides can closely approximate a circle. degreesToTurn is a variable with a value
of 1.
Try it Out!
Create a program to make your robot drive forward for 3 seconds then
flash both LED lights. After that, using the For loop, Edison is to drive in the
form of a square and stop.
While Loop
The While loop repeats a statement or group of statements while a given condition is
TRUE. It tests the condition, which is written as an expression, before executing the loop
body. While the expression evaluates to TRUE, the program repeats the commands in
the loop. When the expression evaluates to FALSE, the program moves on to the next
line of code outside the loop.
152
The City School 2021-2022
In this program, we want the Edison to follow a torch and we need this program to run
infinitely, therefore, we will use the while loop.
Robotics
#--------Your code below-----------
# loop forever
while True:
if Ed.ReadLeftLightLevel()>Ed.ReadRightLightLevel():
#if the left light level is higher, drive to left
Ed.Drive(Ed.FORWARD_LEFT, Ed.SPEED_4, Ed.DISTANCE_UNLIMITED)
else:
#otherwise, the light is on the right, drive to the right
Ed.Drive(Ed.FORWARD_RIGHT, Ed.SPEED_4, Ed.DISTANCE_UNLIMITED)
153
The City School 2021-2022
Ed.NOTE_A_7 A
Ed.NOTE_A_SHARP_7 A sharp
Ed.NOTE_B_7 B
Ed.NOTE_C_8 High C
IF Statement
An important part of coding is making decisions. The most common way to do this
is to use an IF statement. An IF statement asks whether a condition is true or false.
If the result is true, then the program executes the block of statements following the
IF statement. If the result is false, the program ignores the statements inside the if
statement and moves to the next line of code outside of the if statement.
Sample Code
154
The City School 2021-2022
Elif Statement
For Edison, we can create a program which makes a decision using more than two
conditions. To do this, you use another Python syntax structure:
• if expression: statement(s)
• elif expression: statement(s)
Robotics
• else: statement(s)
Elif is how you say else if in Python. You can use elif to write a program with multiple
if conditions. A program using if/elif/else still moves sequentially from the top
down. Once the program runs any indented code inside any part of the if statement
structure, it will skip the rest of the structure and move on to the next line of code
outside the structure.
This means that if the if statement at the top is true, the program runs the indented
code for the if expression and skips any elif sections as well as the else section if
there is one. If the if statement is false, however, the program skips that section of
indented code and moves to the first elif section. Again, if the first elif condition is true,
the program runs its indented code and skips everything below it in the if statement
structure (any other elif and the else condition if there is one). If this elif condition is
false, the program moves to the next part of the if statement structure and so on.
Sample Code
#--------Your code below-----------
#turn on obstacle detection
Ed.ObstacleDetectionBeam(Ed.ON)
while True:
Ed.Drive(Ed.FORWARD, Ed.Speed_1, Ed.DISTANCE_UNLIMITED)
obstacle=Ed.ReadObstacleDetection()
if obstacle>Ed.OBSTACLE_NONE: #there is no obstacle
Ed.Drive(Ed.BACKWARD, Ed.SPEED_5, 7)
if obstacle==Ed.OBSTACLE_LEFT:
Ed.Drive(Ed.SPIN_LEFT, Ed.SPEED_5, 90)
elif obstacle==Ed.OBSTACLE_RIGHT:
Ed.Drive(Ed.SPIN_LEFT,Ed.SPEED_5,90)
elif obstacle==Ed.OBSTACLE_AHEAD:
Ed.Drive(Ed.SPIN_RIGHT, Ed.SPEED_5,180)
Ed.ReadObstacleDetection() #clear any unwanted detections
155
The City School 2021-2022
This program has three different paths that it can take when an obstacle is detected
based on where the detected obstacle is relative to Edison.
Edison has two obstacle detection beams, one on the front left and the other is on
the front right.
Sample Code
#--------Your code below-----------
Ed.ObstacleDetectionBeam(Ed.ON)
Ed.Drive(Ed.Forward, Ed.SPEED_5, Ed.DISTANCE_UNLIMITED)
while Ed.ReadObstacleDetection()!=Ed.Obstacle_Ahead:
pass
Ed.Drive(Ed.STOP,1,1)
This program tells Edison to drive until it encounters an obstacle. There are a couple of
important things to notice about this program:
• Ed.ObstacleDetectionBeam(Ed.ON) turns Edison’s obstacle detection beam
to ‘on’. Whenever you want to use Edison’s obstacle detection beam in an EdPy
program, youalways need to turn the beam to ‘on’ before the beam is used in the
program.
• Ed.Drive(Ed.Forward, Ed.SPEED_5, Ed.DISTANCE_UNLIMITED) sets the speed
to 5 in this program. When using obstacle detection, you need to use a slightly
lower speed to allow the robot to detect an obstacle before colliding with it. If the
speed is too fast, the robot will crash into obstacles before being able to detect
them.
In this program, Edison is going to react to obstacles on the left or right. To do this, we
will use conditional statements like if and elif. This program has three different
paths that it can take when an obstacle is detected based on where the detected
obstacle is relative to Edison.
156
The City School 2021-2022
Robotics
if obstacle>Ed.OBSTACLE_NONE: #there is no obstacle
Ed.Drive(Ed.SPIN_RIGHT, Ed.SPEED_5, 90)
elif obstacle==Ed.OBSTACLE_RIGHT:
Ed.Drive(Ed.SPIN,Ed.SPEED_5,90)
elif obstacle==Ed.OBSTACLE_AHEAD:
Ed.Drive(Ed.SPIN_RIGHT,Ed.SPEED_5,180)
Ed.ReadObstacleDetection() #clear any unwanted detection
157
The City School 2021-2022
Sample Code
#--------Your code below-----------
Ed.Drive(Ed.Forward,Ed.Speed_8,10)
Ed.TimeWait(350,Ed.TIME_MILLISECONDS)
Ed.ReadClapSensor()
while Ed.ReadClapSensor()==Ed.CLAP_NOT_DETECTED:
pass
Ed.Drive(Ed.BACKWARD, Ed.SPEED_8, 10)
In this program, you will learn about the Edison’s line tracking sensor and how Edison
can use this sensor to determine if it is on a reflective or non-reflective surface. How
does Edison’s line tracking sensor work?
Your Edison robot is equipped with a line tracking sensor, located near the power
switch on the bottom of the robot. This sensor is made up of two main electronic
components:
• A red light-emitting diode (LED)
• A phototransistor (light sensor).
This image represents a cross-section of Edison’s line tracking sensor. The line tracking
sensor’s LED shines light onto the surface that the Edison robot is driving on. The
phototransistor component is a light sensor. The phototransistor measures the amount
of light that is reflected off of the surface beneath Edison.
Sample Code
#--------Your code below-----------
Ed.LineTrackerLed(Ed.ON)
Ed.Drive(Ed.FORWARD, Ed.SPEED_6, Ed.DISTANCE_UNLIMITED)
while True:
if Ed.ReadLineState()==Ed.LINE_ON_BLACK:
Ed.PlayBeep()
Ed.Drive(Ed.STOP, Ed.SPEED_6, 0)
158
The City School 2021-2022
Ed.LineTrackerLed() turns the LED state to ON. Just like with Edison’s obstacle
detection beam, to use the line tracking sensor in a program, you must first turn
the sensor on. The Ed.PlayBeep() function doesn’t affect the way the line tracking
program works. Instead, this line’s purpose is for debugging.
Robotics
#--------Your code below-----------
Ed.LineTrackerLed(Ed.ON)
while True:
Ed.Drive(Ed.FORWARD, Ed.SPEED_3, Ed.DISTANCE_UNLIMITED)
if Ed.ReadLineState()==Ed.LINE_ON_BLACK:
Ed.Drive(Ed.STOP,Ed.SPEED_3, Ed.DISTANCE_UNLIMITED)
Ed.PlayBeep()
Ed.Drive(Ed.SPIN_RIGHT, Ed.SPEED_5, 135)
Sample Code
#--------Your code below-----------
Ed.Drive(Ed.FORWARD, Ed.SPEED_5, Ed.DISTANCE_UNLIMITED)
while True:
if Ed.ReadLeftLightLevel()<100:
activateBothLights(Ed.ON)
else:
activateBothLights(Ed.OFF)
def activateBothLights(stateOfLed):
Ed.LeftLed(stateOfLed)
Ed.RightLed(stateOfLed)
159
The City School 2021-2022
Sample Code
#--------Your code below-----------
while True:
if Ed.ReadRightLightLevel()-Ed.ReadLeftLightLevel()<0:
Ed.Drive(Ed.FORWARD_LEFT,Ed.SPEED_5,Ed.DISTANCE_UNLIMITED)
else:
Ed.Drive(Ed.FORWARD_RIGHT, Ed.SPEED_5, Ed.DISTANCE_UNLIMITED)
160
The City School 2021-2022
Let’s Review
1. Robotics is a branch of engineering that involves the conception, design, manufacture,
and operation of robots.
2. Edison robots are a complete STEAM teaching resource designed to bring coding to
life.
3. Edison’s microcontroller contains programs. These programs are what allow Edison to
think and make decisions.
4. Default settings of Edison’s three buttons: Record button 1 press = download program
3 presses = scan barcode Stop button 1 press = stop program Play button 1 press =
run program.
5. The robot is controlled by a program, which contains the instructions and rules
governing the robot’s behaviour.
6. EdPy app is one the web-based programming interface to program Edison.
7. All Edison programs must contain the setup code which is included in lines 1 to 11.
8. To move your Edison robot you use the drive function, which has three parameters:
direction, speed and distance.
9. The for loop often goes together with the range() function in Python.
10. The while loop repeats a statement or group of statements while a given condition is
TRUE.
11. Edison can play individual musical notes through its small speaker using the
Ed.PlayTone() function in EdPy.
My Notes!
161
Mobile App Development Process
Idea generation & validation
UX/UI Design
Wireframing Prototyping Mockup
2
Style Guide Information architecture
Development
3 Back-end development Iterations
On the left side is your app. On the right side is the code that will make it run. You
build your program by dragging in blocks from the toolbox.
164
The City School 2021-2022
Example
The following code snippet sets the
background colour of the button to green using
setProperty() block. The block reads a bit
like a sentence: ‘Set button1’s background colour
to green.’
165
The City School 2021-2022
Example
The following code turn the screen color from blue to green when the button is clicked.
1. Switch to the Design mode and drag a button from the design toolbox on to the
screen as shown below.
2. From the Properties option, set the text property of the button to Greenify! and set
its color property to green.
3. Set the initial colour of the screen to blue by dragging the setProperty()block
into the code area.
166
The City School 2021-2022
5. If you want to change more things after the event, like the text on the screen just
add more code to the onEvent(). To make your program respond to more events
add more onEvent(). blocks. Just make sure not to put them inside of each other.
Now it’s time to try it out for yourself.
167
The City School 2021-2022
2. From here you can either upload a sound file from your computer or search for a
sound from the sound library. The sound library has lots of different categories like
instruments, background music or animals.
3. Once you’ve got the sound you want, click Choose. When this block runs, it will play
the sound you chose.
168
The City School 2021-2022
3. Back in code mode, you can use the setProperty()block to change the icon
colour of your icon. Once you’ve picked what image your icon to use click Run to
see how it looks.
169
The City School 2021-2022
2. To change an element’s properties, use the controls on the right. For example, it’s
really easy to change this button’s text, colour, and font size.
3. To change an element’s properties, use the controls on the right. For example, it’s
really easy to change this button’s text, colour, and font size. When you add a new
element to your screen it’ll get a generic ID like button1, image2. It’s a good idea
to change this button’s ID to something more meaningful like rightButton. So that
you’ll know which one it is when you go to the program.
170
The City School 2021-2022
4. You can add entirely new screens to your app by dragging in a screen element.
6. Inside your app, you’ll need a way to switch between all of these screens, so
the setScreen block has been added to the toolbox. Use setScreen inside the
onEvent()block to change screens at the click of a button.
171
The City School 2020-2021
Let’s Review
My Notes!
172
The City School 2021-2022
Glossary
4G: it is the fourth generation of broadband cellular network technology, succeeding
3G.
5G: it is the fifth generation of mobile networks, a significant evolution of today’s 4G
LTE networks.
Absolute reference: it is used when we want to keep a cell, a row or a column constant
when copying a formula.
Advanced filters: can be constructed to get more control over your data tables.
algorithm is a procedure for solving problems
Attributes: define additional characteristics or properties of the element such as width
and height of an image.
Bus topology: in this arrangement computers and devices are connected to a single
linear cable called a trunk.
Canvas widget: supplies graphics facilities for Tkinter.
cell reference is the address of the cell and identifies its location.
Change chart type: this option allows to change the type of your current chart.
chart is a graphical representation of data and describes the overall analysis visually.
Chart layouts: Excel allows you to add chart elements—such as chart titles, legends,
and data labels—to make your chart easier to read.
Chart styles: includes several different chart styles, which allow you to quickly modify
the look and feel of your chart.
Checkboxes: in HTML forms is to get multiple answers from the multiple choices given.
Cloud storage: is a model of computer data storage in which the digital data is stored
in logical pools.
Cloud storage providers: are responsible for keeping the data available and
accessible, and the physical environment protected and running.
Column/bar chart: it is used to illustrate comparisons between a series of data.
Comments: are just a dead piece of code which can be used for our references only.
Computer programming: it is a way of giving computers instructions about what they
should do next.
Conditional formatting: allows you to automatically apply formatting—such as colors,
174
The City School 2021-2022
icons, and data bars—to one or more cells based on the cell value.
CSS: stands for Cascading Style Sheets, CSS describes how HTML elements are to be
displayed in web browsers, CSS typically creates design profiles for any HTML element
Glossary
for reuse and overall layout control of the document layout.
CSV files: are Comma-Separated Values and can be incorporated in any software or
database.
Data tab: allows to switch the rows and columns of the chart.
Database (DB): is an organized collection of data.
Dreamweaver: is a web development tool. It is basically for generating HTML while
using an editable front end, kind of like using Word to do all your layout, and the end
result is an HTML code.
Edison robot: is LEGO brick compatible on four of its sides, has a removable skid and
two removable wheels and includes a range of built-in sensors.
EdPy app: is one the web-based programming interface to program Edison.
Elements: have lots of properties you can change like their text colour, background
colour or font size.
ELIF keyword: is Python’s way of saying if the previous conditions were not true,
else keyword catches anything which isn’t caught by the preceding conditions.
Events: in python execute at any specific action/signal occurred for i.e. hovering a
mouse at a certain point, clicks of the mouse either right click or left click and so on.
flowchart is a type of diagram that represents an algorithm, workflow or process.
For loop: is used for repeating over a sequence (that is either a list or a string).
Freeware: is software, most often proprietary, that is distributed at no financial cost to
the end-user.
Functions: help break our program into smaller and modular chunks.
G Workspace: also known as Google Suite or G Suite, is a collection of business,
productivity, collaboration, and education software developed and powered by
Google.
Google Docs: is an online version of Microsoft Word, PowerPoint and Excel. In Google
Docs they are called Google Document, Spreadsheet and Presentation.
Google Drive: allows users to store files on their servers, synchronize files across
devices, and share files.
175
The City School 2021-2022
176
The City School 2021-2022
Numeric data type: is used to hold numeric values like integers, or Float like decimal
numbers.
Paired tag: in HTML consists of two tags, the first one is called an opening tag and the
Glossary
second one is called closing tag.
Personal data: also known as personal information, personally identifying information
(PII), or Sensitive Personal Information (SPI) is any information relating to identifying a
person.
Pie chart: it is used to display only one series of data.
Pivot charts: are like regular charts, except they display data from a Pivot Table.
PivotTable: can help make your worksheets more manageable by summarizing your
data and allowing you to manipulate it in different ways.
Program: is a specific set of ordered operations for a computer to perform.
Pseudocode: is an informal high-level description of the operating principle of a
computer program or other algorithm.
Python: is a high-level programming language designed to be easy to read and simple
to implement.
Radio buttons: is used to get one single answer from the multiple choices given.
Relative reference: is the cell reference. When you copy a cell that has a formula, the
formula changes automatically.
Ring topology: Computers and devices are connected to a closed-loop cable.
Robotics: is a branch of engineering that involves the conception, design, manufacture,
and operation of robots.
Satellite view: in Google maps shows the satellite images of the selected region.
Server: are where most of the information on the Internet lives.
setProperty()block: changes the look of the elements on your screen. Like the buttons,
labels, or even the screen itself.
Shareware: is a type of proprietary software which is initially provided free of charge
to users, who are allowed and encouraged to make and share copies of the program.
Slicers: are just like filters, but they’re easier and faster to use, allowing you to instantly
pivot your data.
Software bug: is a coding error that causes an unexpected defect in a computer
program.
Software licenses: typically provide end-users with the right to one or more copies of
the software without violating copyrights.
177
The City School 2021-2022
Star topology: All computers and devices are connected to a network switch and this
is one of the common topologies nowadays.
String data type: The string is a sequence of characters like a simple text “Hello
World”.
Sway: is a new app from Microsoft Office that makes it easy to create and share
interactive reports, personal stories, presentations, and more.
Syntax error: errors in typing the commands and variables.
Tab index: in HTML it is the sequence of cursor focus
Table: in MS Excel, is a specially designated range of numbers
Terrain view: in Google maps shows the terrain and vegetation.
Text area: in HTML works like a simple text field but it can accommodate more words
than a normal text field and its layout is like a paragraph.
then try this condition.
Unpaired tag: in HTML is a single tag which does not need a companion tag.
variable is nothing but a name given to a storage area that our programs can
manipulate.
WAN: is a computer network that covers broad and large areas such as small towns
and cities.
Web page: also called webpage is a document commonly written in HTML (Hypertext
Mark-up Language) that is accessible through the Internet or other networks using an
Internet browser.
Webform: it is HTML form on a web page allows a user to enter data that is sent to a
server for processing.
While loop: repeats a statement or group of statements while a given condition is
TRUE.
178
The ICTECH curriculum engages students at technical and practical level,
Microsoft
MICROSOFT
SCHOOLS We are a Microsoft School
Microsoft