The words you are searching are inside this book. To get more targeted content, please make full-text search by clicking here.
Discover the best professional documents and content resources in AnyFlip Document Base.
Search
Published by omer.faheem, 2020-07-21 05:07:18

Computing book 6

e-Safety and Going Online Class 6


From the File menu, you can perform other actions, like printing your document, turning it into a
web page, and sharing it with other people. From the same menu, you can find a previous version of
the document, create a new document, and open an existing document.




































Access Other Office Apps:
To access another Office app from your current one, click the
"List of Microsoft Services" button in the upper-left corner
(it contains nine small squares).
Click the All Apps link if the app you want to use doesn’t
appear. Then select your application of choice.



































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 50 of 94

e-Safety and Going Online Class 6


Open an Existing File

Instead of starting a new document, you can open an existing file a few different ways. If you’re
already in the app for that file, click the File menu and you’ll see a list of recent documents. Click
the one you want to open.
















































If you’re at the home page for the Microsoft Office web apps, recent documents appear at the
bottom of the screen. Just click the one you want. You can even pin a specific file for easier access.
That file is then accessible from the Pinned section.


























The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 51 of 94

e-Safety and Going Online Class 6


If the file you want doesn’t appear as a recent document, you’ll need to venture into OneDrive to
look for it. Click the icon for OneDrive on the bottom right and navigate to the folder in which the file
is stored. To more easily find the file, click the Sort menu and change the criteria to Modified and
Descending. You can also search for a file by name using the Search tool.

















































































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 52 of 94

Modular Designing Class 6


Modular Designing

What is EDraw Max?

EDraw Max is an extremely powerful all-in-one diagramming tool that can serve all of your purposes.
Whether you need to draw flowcharts, fishbone diagrams, UML diagrams or design floor plans,
office layouts, you can find what you want in EDraw Max.

EDraw Max Interface:

EDraw user interface is similar to Microsoft Program interface, which can minimize the learning
curve. To help users get a quick start, we have created a detailed guide.
EDraw user interface includes 7 major menus: File, Home, Insert, Page Layout, View, Symbols and
Help. These menus are introduced in detail with illustrations below. A menu's background turns
white after selected. Clicking another menu turns off the menu selected before.
Home Menu





































Insert Menu























The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 53 of 94

Modular Designing Class 6


Page Layout Menu

















View Menu

















Symbols Menu
















Help Menu





























The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 54 of 94

Modular Designing Class 6


Creating and Arranging diagrams:

1. Open EDraw Max, and you will see the window of Available Templates. If you already have
opened EDraw Max, click File > New.
2. In the Available Templates list, click Basic Diagram and all of the templates and examples in
the Basic Diagram will appear in the central window.



























3. Double-click the template titled Highlight Shapes.
4. When the Highlight Shapes library opens, most of the space is taken up with a blank drawing
page. (Sometimes, because it is important to line up the shapes when you create a diagram,
there will be gridlines on the page.)
5. Click any shape on the Highlight Shapes template, hold down the mouse button, and drag
the shape onto your drawing page.







































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 55 of 94

Modular Designing Class 6


6. When you release the mouse button, the shape is surrounded by dashed green lines with
green squares called selection handles, and sometimes yellow diamonds called control
handles.
7. Repeat step 5 and 6 to add another shape to the page.
8. Connect the shapes together by using the connector tool.

On the Page Layout tab, select a build-in theme. A document theme is a set of formatting choices
that include a set of theme colours, fonts, connector styles and effects. You can set custom theme
colours, fonts, connectors and effects based on the current theme.




















• Set Default Theme Colours
1. On the Page Layout tab, click Colours button. From the drop-down colour list,
choose a colour scheme.
2. To create a custom colour scheme, click Create Theme Colours at the bottom of the
colour list.













• Set Default Theme Fonts
1. On Page Layout tab, click Fonts button. From the drop-down colour list, choose a
theme font.
2. To create a custom font style, click Create Theme Fonts at the bottom of the font
list.
3. Choose your desired font type, style, size and effect in the pop-up dialogue box.
4. Click OK.
• Set Default Shape Effects
On the Page Layout tab, click Effects button. From the effect panel, choose a theme effect.
• Set Default Connector Styles
1. On Page Layout tab, click Connectors button. From the drop-down colour list,
choose a connector style.






The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 56 of 94

Modular Designing Class 6


2. To create a custom connector style, click Create Theme Connectors at the bottom of
the list.
3. Set the line colour, dash type, line width, begin and end type from the pop-up
dialogue box.
4. Click OK.




































• Save a Custom Theme
You can save all the settings you have made as a custom theme. On Page Layout tab, open Theme
library. At the bottom of Theme library, click Save Current Theme.




Align, Distribute and Group:

Align Shapes
1. Select the shape which you want to align with others, then press Ctrl and click the shapes
you want to align with.
2. The primary shape has a thick magenta outline. You can press Tab to switch the primary
shape.
3. On Home tab, in Arrange group, click Align.
4. Select the alignment option you want.
Tips: The align box is the minimal bounding box of the shapes. The Align command may be
ineffective for connector shapes. When shapes are selected, the selection handles will appear.
Distribute Shapes
1. Select three or more shapes.
2. On Home tab, in Arrange group, click Distribute.



The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 57 of 94

Modular Designing Class 6


3. Choose a distribution option.
o For Vertical distribution, the boundaries are defined by the top and bottom shapes
in the selection.
o For Horizontal distribution, the boundaries are defined by the leftmost and
rightmost shapes in the selection.
Tips: The distribute box is the minimal bounding box of the shapes. The Distribute command may be
ineffective for connector shapes. When shapes are selected, the selection handles will appear.
Group and Ungroup
To group shapes, select the shapes you want to group, go to Arrange group on Home tab, point to
Group, and then click Group (or press Ctrl + Shift + G).
To ungroup shapes, select the group, go to Arrange group on Home tab, point to Group, and then
click Ungroup (or press Ctrl +Shift +U).

Inserting Text in a Shape:

On Home tab, click Text to choose Text Block Adjust Tool and then click the shape to select the text
block. If the text is in a group, click to select the group, and then click to select the text block.

To rotate the text block, drag the rotation handle in the text block. When the
cursor is over the rotation handle, it will become a round arrow.







To move the text block, place the cursor over the text block and when it
becomes a four-headed arrow, you can drag the text block to anywhere.






To resize the text block, drag a selection handle until the text block is in the
desired size.

To delete the text block, just select it and press Delete.

















The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 58 of 94

Modular Designing Class 6




Inserting a Background Page:

Open the Backgrounds library if it's not already open. On Page Layout tab, click Background and
then select Choose Background. (On Library panel, select General, then click Backgrounds, and drag
a background shape onto your page.)
If you want to add only one single colour to the background, switch to Page Layout tab and then
click Background. Choose a colour for the page in the drop-down menu. If you don’t like the
background, just remove it.
























Edit Background

You can edit the predefined backgrounds or the blank background. On View tab, click Background
View button.














Then you can edit the shapes in background. After you finish editing, click Normal View button to
switch to the normal view.






















The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 59 of 94

Modular Designing Class 6


Layers

Layers help you deal with different groups of shapes. You can open the layer menu on the right
sidebar to modify layer settings.
























1. To create a new layer, click New button on the bottom.
2. Select an active layer from the Active column. The newly added shape will go to the active
layer.
3. Check Lock option of a layer, the shapes in this layer will be locked and cannot be selected or
operated.
4. Uncheck Show option of a layer, the shapes in this layer will not be displayed.
5. Uncheck Print option of a layer, the shapes in this layer will not be printed.

Shape Formatting:
Line Formatting

You can format lines by clicking Line button on
Home tab or the Right Side Format toolbar to select the
options you want or use Line Colour onset lines' colour
and fills.

Ways to format lines and arcs:

1. Add a pattern or colour.
2. Add a fill mode.
3. Change the line weight.
4. Change the line cap.
5. Add or remove line ends to turn any line or
other open shape into an arrow.
6. Add a shadow.
7. Change the transparency of the line or of its
shadow.
8. Format the shape's text.





The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 60 of 94

Modular Designing Class 6


About Shape Formatting

You can format shapes in your EDraw drawing by changing any or all of their attributes, such as line
weight and pattern, fill colour and pattern, and text formatting. For example, you might use fill
colour to make a drawing for a slide presentation more effective, or you might use line patterns to
represent specific types of connections between shapes.
The type of formatting you can apply to a shape depends on whether the shape is open or closed .
Open shape: A shape such as a line, arc, or zigzag. You can format an open shape with line patterns
and ends, such as by changing a solid line to a dashed line and adding an arrow to one end.
Closed shape: A shape that is surrounded by a continuous outline, such as a rectangle or circle. You
can fill a closed shape with a colour or a pattern.
For example:
1. You can add fill to closed shapes, such as circles or rectangles, but not to open shapes.
2. You can add line ends to open shapes, such as arcs or zigzag lines, but not to closed shapes.

Open Shape Formatting
For open shapes, such as arcs, you can change:
1. Line ends.
2. Line fill, pattern, cap, weight, colour, and transparency.
3. Shadow, colour, and transparency.

Closed Shape Formatting

For closed shapes, such as rectangles, you can change:
1. Line fill, pattern, weight, colour, and transparency.
2. Fill colour, pattern, and transparency.
3. Shadow fill, colour, pattern, and transparency.

Shape Formatting for Multiple Shapes

You can format several shapes with one-time operation by doing one of the followings:
1. Selecting multiple shapes at the same time.
2. Selecting shapes in a group (group: A shape composed of two or more shapes. You can move
or size groups as a unit but group members retain their original appearance and properties.).

About Style

In EDraw, shape formatting is also called shape style. Shape style includes the following settings:
1. Line fill, pattern, cap, weight, colour, and transparency.
2. Fill colour, pattern, and transparency.
3. Shadow fill, colour, pattern, and transparency.

Note:
Style does not include Text formatting.
Style is the best way to format shapes. By just one click, a couple of new format settings will be
applied to the selected shapes. You can modify the style to change the shapes' formatting or the
default formatting. You can also create your own styles or keep the style you like permanently.
Styles are listed in two tables:



The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 61 of 94

Modular Designing Class 6


1. Styles in use: The list of the different styles used in the page including the default style for
the new shapes.
2. Predefined Style: EDraw provides many beautiful and applied styles, which help you format
shapes quickly. Also, you can modify the predefined style or create your own style.

Notes

1. One style may be used by more than one shapes. A style will be deleted automatically if no
shape uses it.
2. One shape may use more than one style.
3. Some shapes in the library have default styles applied. When you drag them to the page, the
styles will be added to Styles in use, you can modify them.

Format Shapes

1. Select the shape or shapes you want to format.
If the shapes are part of a group, select one or more shapes in the group.
2. On the Home tab, in Styles group, click Line, Fill or Shadow to open corresponding options
dialogue.
3. Select the formatting options you want.

Copy Formatting from One Shape to Another

1. Select the shape whose formatting you want to copy.
2. On the Home tab, in File group, click Format Painter .
3. Do one of the following operations:
1. To format a single shape, click the shape which you want to format.
2. To format multiple shapes, select all the shapes you want to format at the same
time.
Note:
You can also use Style in use to copy formatting from one shape to another.
• Select the shape which you want to format.
• Find the style which you want to copy to the shape in the Style in use, click it.

Change the Default Formatting for Shapes You Draw

1. Make sure that no shapes are selected.
2. On the Home tab, in Styles group, click Line, Fill or Shadow to open corresponding options
dialogue.
3. Select the formatting options you want.
When you drag one shape from the library or draw a new shape by using one of the following
drawing or text tools, the new default formatting is applied to the shape.














The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 62 of 94

Modular Designing Class 6


Rulers and Grids:

Rulers
Each drawing window has vertical and horizontal rulers that show measurements at the scale of the
drawing.
1. The intervals of the ruler correspond to the measurement unit you set in the Page Setup
dialogue box.
2. When you move shapes in a drawing, faint lines appear on the rulers to indicate the position
of the shapes.

















Grid

The grid helps to position shape more precisely. You can show/hide the grid in the
document. Use the Grid option in the View menu.
By default, the grid is not printed with the document. If you want grid to be printed,
select printing grid line option in the Page Setup dialogue.

Show or Hide the Grid

On the Page Layout menu, click Rulers & Grid. In the pop up dialogue, you can uncheck the Show
grids option.




































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 63 of 94

Modular Designing Class 6


Grid Style

On the page, you can change the grid colour, grid style, grid spacing and grid subdivisions.

Show or Hide Rulers
Each drawing window has vertical and horizontal rulers that show measurements at the scale of the
drawing.
On the Page Layout menu, click Rulers & Grid. In the popup dialogue, you can uncheck the Show
rulers option.

Change the Ruler Measurement Units
To change ruler measurement units, on the Page Layout tab, click Ruler & Grid button. Under
Measurement Units, click the units you want.
To change the spacing of ruler subdivisions, press F6 key to open the Page Setup dialogue, and then
click Ruler & Grid. Under Subdivisions, click the spacing you want.
Note: For some types of drawings, you may want to change the measurement units to pixels.
However, a pixel isn't a unit of measurement. A pixel is just a dot on a screen and the size of the dot
varies for different screens.

Printing:
Click the File menu button , and then click Print to set the print options.

































Paper Size
Shown in the list are the paper sizes supported by the current printer as well as global standard
sizes. You can select Same as printer paper size on the Page Size tab to make changes to the paper
size also apply to the drawing page size.








The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 64 of 94

Modular Designing Class 6


Drawing page: The page in a drawing window that contains a drawing. A page can be either a
foreground or a background page. Each page has a size, which usually corresponds to a standard
paper size, and it has a scale.

Paper Orientation

Specifies the paper orientation as portrait or landscape.

Setup

Click More Print Setup… to open the Print Setup dialogue box, where you can select printing options
such as the margins, centering, printer, and paper source. Check to see if a drawing page and the
printer paper work together the way you want.





























Note:

Changes you make to options on this tab apply to the current page only.

Adjust to

Reduces or enlarges the drawing page to a specified percentage of actual size for printing only. If the
drawing page is larger than one paper size, the diagram will be printed onto more papers.

Fit to (sheets across by sheets down)
Fits each drawing in the print job on the specified number of sheets across and down. Depending on
the number of pages and the margins you specify, the drawing is enlarged or reduced. If the pages
across and down are not proportional to the drawing's dimensions, only those sheets needed to
maintain the drawing's proportions are used.

Preview

Displays a thumbnail of how the printer paper and drawing page are currently set to work together.
You can exactly match the printer paper and drawing page.





The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 65 of 94

Modular Designing Class 6


Printer Paper

Lists the current printer paper settings, including paper size and paper orientation.

Drawing Page
Lists the current drawing page settings, including page size and page orientation. You can change
these options on the Page Size tab.

Print Zoom
Lists any reduction or enlargement that you specify. Change this setting under Print zoom (all pages).
This option only affects your printout; your actual drawing size is unchanged. Note that when you
reduce or enlarge a scaled drawing, you cannot use the printout to measure real-world objects
accurately.

Print Preview

Click the File menu, and then click Print.

Tips:

If you aren't satisfied with the result, you can change the print options in the Print Setup dialogue.
Preview different page by clicking the arrows below the preview window.

















































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 66 of 94

Handling Databases – MS Access Class 6


Handling Databases – MS Access



What is a Database:

A structured set of data held in a computer, especially one that is
accessible in various ways is called Database. A database is usually
controlled by a database management system (DBMS). Together,
the data and the DBMS, along with the applications that are
associated with them, are referred to as a database system, often
shortened to Database.

The common language among electronic database is SQL. It
works at the backend of most user interfaces in any application.
MS Access is one of the softwares which use the same structure of SQL. Relational Database
Management System (RDBMS).

Introduction to MS Access:
Microsoft Access is a database management system (DBMS) from Microsoft that combines the
relational Microsoft Jet Database Engine with a graphical user interface and software-development
tools. Access is an easy-to-use tool for creating business applications either from templates or from
scratch. With its rich and intuitive design tools, Access can help in creating appealing and highly
functional applications in a minimal amount of time.

MS Access User Interface:










































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 67 of 94

Handling Databases – MS Access Class 6


Use of Data Types in a Database:

Every field in a table has properties and these properties define the field's characteristics and
behaviour. The most important property for a field is its data type. A field's data type determines what
kind of data it can store. MS Access supports different types of data, each with a specific purpose.
Here are some of the most common data types you will find used in a typical Microsoft Access
database.

Type of Data Description

Text or combinations of text and numbers, including numbers that do not
Short Text
require calculating (e.g. phone numbers).
Long Text Lengthy text or combinations of text and numbers.

Number Numeric data used in mathematical calculations.
Date/Time Date and time values for the years 100 through 9999.
Currency values and numeric data used in mathematical calculations involving
Currency
data with one to four decimal places.
A unique sequential (incremented by 1) number or random number assigned
AutoNumber
by Microsoft Access whenever a new record is added to a table.
Yes and No values and fields that contain only one of two values (Yes/No,
Yes/No
True/False, or On/Off).

Organize and Create Tables:

The basic process of starting Access and
creating a database:
1. To create a database from a template,
we first need to open MS Access.
2. Select Blank desktop database. Enter
the name and click the Create button.
3. Access will create a new blank
database and will open up the table
which is also completely blank.
4. After selecting a template related to
your requirements, enter a name in
the File name field and you can also
specify another location for your file if
you want and save it with your
relevant name.


















The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 68 of 94

Handling Databases – MS Access Class 6


When you create a database, you store your data in tables. You should always start your design of a
database by creating all of its tables and then creating any other object. Before you create tables,
carefully consider your requirements and determine all the tables that you need.
Create the first table that will store the basic contact information concerning the employees as
shown in the following table:
Field Name Data Type
EmployeelD AutoNumber
FirstName Short Text
LastName Short Text
Address1 Short Text
Address2 Short Text
City Short Text
State Short Text
Zip Short Text
Phone Short Text
Phone Type Short Text

Go to the Field tab and you will see that it is also automatically created. The ID which is an
AutoNumber field acts as our unique identifier and is the primary key for this table.

The ID field has already been created and we now want to rename it to suit our conditions. This is an
Employee table and this will be the unique identifier for our employees.

Click on the Name & Caption option in the Ribbon and you
will see the following dialogue box.

Change the name of this field to EmployeeID to make it
more specific to this table. Enter the other optional
information if you want and click Ok.

We now have our employee ID field with the caption
Employee ID. This is automatically set to an auto
number so we don't need to change the data type.

Now add some more fields by clicking on click to add.

Choose Short Text as the field. When you choose short text,
Access will then highlight that field name automatically and all
you have to do is type the field name.














The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 69 of 94

Handling Databases – MS Access Class 6


Type FirstName as the field name. Similarly, add
all the required fields as shown in the table
above.

This can also be accomplished using the Design
View method. Right-click the table name and click on Design View.

Add the rest of the relative fields with their respective data
types.

Once we type the field name MS Access will automatically
assign the SHORT TEXT data type to the field which can be
modified as per our requirement from the drop-down
menu.

This drop-down menu can be accessible by simply clicking
on the short text field. Once all the fields are added, click
the Save icon.

You will now see the Save As dialogue box, where you can
enter a table name for the table. Enter the name of your table
in the Table Name field. Here the tbl prefix stands for Table.
Click Ok and you will see your table in the navigation pane.


Create Relationships Between Tables Using Primary Key and Foreign Key:
MS Access uses table relationships to join tables when you need to use them in a database object.
There are several reasons why you should create table relationships before you create other
database objects, such as forms, queries and reports.

To work with records from more than one table, you often must create a query that joins the tables.

The query works by matching the values in the primary key field of the first table with a foreign key
field in the second table.

When you design a form or report, MS Access uses the information it gathers from the table
relationships you have already defined to present you with informed choices and to prepopulate
property settings with appropriate default values.

Primary Key

A primary key, also called a primary keyword, is a key in a database that is unique for each record. It
is a unique identifier, such as a driver license number, telephone number (including area code), or
vehicle identification number (VIN). A relational database must always have one and only one
primary key. Primary keys typically appear as columns in relational database tables.




The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 70 of 94

Handling Databases – MS Access Class 6


When you design a database, you divide your information into tables, each of which has a primary
key and then add foreign keys to related tables that reference those primary keys.
These foreign key-primary key pairings form the basis for table relationships and multi-table queries.


























Foreign Key:
A foreign key is a column or group of columns in a relational database table that provides a link
between data in two tables. It acts as a cross-reference between tables because it references the
primary key of another table, thereby establishing a link between them.

Constraints in a Database:
In a database when we define any field as a Primary Key (PK) there are two rules or constraints
applied to that field automatically.

NOT NULL: This constraint enforces that this field cannot be left unused. In Database terminology,
NOT NULL is not considered as empty or zero, it just defined as the data has not been entered yet.

Unique: This constraint enforces that the data entered in this field cannot be repeated or all the
values entered should be unique to each other.

Creating Relationships in MS Access:
For creating relationships in our database, we
need another table and will name it tblHRData
using Table Design as shown in the image.
Make sure to select the relevant data type
according to fields.















The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 71 of 94

Handling Databases – MS Access Class 6


After entering the fields name and assigning them their relevant data type save the table and you
will notice that a dialogue box will appear with the exclamation mark suggesting:










At this point, click CANCEL and right-click on the EmployeeID row and
click on Primary Key to make the EmployeeID the Primary Key of this
table.

Now we will work with One-to-One Relationship in MS Access. This relationship is used to relate one
record from one table to one and only one record in another table.

Go to the Database Tools tab:
1. Click on the Relationships option.
2. Select tblEmployee and tblHRData
holding the shift key and then click on
the Add button to add them to our
view and then close the Show Table
dialogue box.
3. To create a relationship between these two
tables, use the mouse, and click and hold the
EmployeeID field from tblEmployee and drag and
drop that field on the field we want to relate by
hovering the mouse right over EmployeeID from
tblHRData. When you release your mouse
button, Access will then open the Edit
Relationships window.
4. The above window relates
EmployeeID of tblEmployee to
EmployeeID of tblHRData. Now click
on the Create button and now these
two tables are related.
5. The relationship is now saved
automatically and there's no need to
click on the Save button. Now that we
have the most basic of relationships
created, let us now go to the table side
to see what has happened with this
relationship.
6. Open and enter 5 random records of
employees in the tblEmployees table.






The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 72 of 94

Handling Databases – MS Access Class 6


7. Here, on the left-hand side of each record, you will see a little plus sign by default. When you
create a relationship, Access will automatically add a sub-datasheet to that table.
8. Similarly, open and enter the HR details of
these employees in tblHRData.
9. Open and click on the plus sign and you will
see the information that is related to this
record is on the tblEmployee table.
10. This data is visible on this table due to the
relationship of mutual field of Employee ID on
both tblEmployee and tblHRData tables.

Create Simple and Complex Queries:
Database tables can hold a lot of records, in some cases, millions or billions of them, therefore, if you
want to find a piece of information, you have to filter the records and select which ones you want to
display. To do that, you have to create a query. A query is a special “question” you apply to the
database to find specific data and get the information you want. For this task, let’s continue working
with the Employee table we have used before.

Creating a Query:
• Click on the Query Design option from the create tab.
• A new window will open with the name of Show Table.
• Select and add tbleEmployee and tblHRData.
• Let us suppose that we need the data of
our employees with their first name, last
name and their salaries which are higher
than 3500$.
• For the first column select the employee’s
first name.
• In the second column select employee’s
last name.
• In the third column select StartSalary.
• We can get the data from both tables
accurately as both table’s EmployeeID
fields are related to each other using PK
and FK.
• after selecting the fields for a query, you
can see the name of fields and other
options for Sort and setting a criterion.
• Select Ascending option from the first
column (FirstName).
• In the third column enter the criteria for
salaries as preferred. In the example, we
have entered >3500. Which means that







The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 73 of 94

Handling Databases – MS Access Class 6


employees who have salaries greater than 3500 will be listed in ascending order after
executing the queries.
• Save the query by using the right click on the query tab and save it with any preferred name.
In the example, we have saved the query with the name of Salaries Greater than 3500.
• Close the tab and run the query from the objects panel.
• In the next example, we assume that we
need the list of employees who have joined
after the year 2018.
• We will add the preferred columns along
with the field of HireDate from tblHRData.
• And enter the criteria as >12/30/2008 and
press enter.
• Save the query with the name of
Employees after 2008 and close and run
the query from the object panel.
• You will see the list of employees who have
joined after that specific date.
• Similarly, we can sort all the employees who
are resident in a specific city.
• For a complex level query, we can also take user inputs using
a simple “?” symbol for criteria.
• Save and run the query and this time you will observe a
dialogue box will appear asking parameters.


Create Forms and Reports Through the Wizard:

Forms in Access are like display cases in stores that make it easier to view or get the items that you
want. MS Access is not just a database software, it also gives us the liberty to use it as a software
solution for business organizations, and to fulfil this purpose using forms are one essential part
where a user can access or enter the relevant records in a database. Since forms are objects through
which you or other users can add, edit, or display the data stored in your Access desktop database,
the design of your form is an important aspect.

Creating Forms:

There are a few methods you can use to create forms in Access. One of the common and convenient
ways to create a form is with a wizard.

• Open your Database and go to the Create tab. In
the Forms group, in the upper right-hand corner,
you will see the Form Wizard button.












The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 74 of 94

Handling Databases – MS Access Class 6


• Click on that button to launch the Form Wizard
• On this first screen in the wizard, you can select
fields that you want to display on your form,
and you can choose from fields from more than
one table or a query.
• Let us assume we want to simply have a quick
form that we are going to use for data entry for
our employee information.
• From the Tables/Queries drop-down list, select
tblEmployees table. Click on the double arrow
to move all the fields at once and click next.
• After clicking next, the Form Wizard will ask for the
layout that we would like for our form. We have
the columnar, tabular, datasheet and justified
layouts. We will choose the columnar layout here
and then click Next.
• On the next window, we need to give a title to
our form i.e. EmployeeForm.
• Once you have given your form a title, there
will be two more options below by which you
can open the form to see what that form looks
like, or you can begin entering information into
your table.
• Or you can choose the option to modify the
form's design.
• Choose the first option to open the form to
view or enter information and click Finish.
• Take a look at the following image.
• This is what form looks like.
• This is a single item form, meaning one record is
displayed at a time and further down you can see
the navigation buttons, which is telling us that
this is displaying the record 1 of 5.
• If you click on that button  it will move to the
next record.
• If you want to jump to the very last record in that
form or that table, use the button right beside that
right arrow that's the last record button.
• If you want to add new employee information,
press this button to add a record.











The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 75 of 94

Handling Databases – MS Access Class 6


Reports:

Reports offer a way to view, format, and summarize the information in
your Microsoft Access database. For example, you can create a simple
report of phone numbers for all your contacts.


• Open your Database and go to the Create tab. In
the report group, in the upper right-hand corner,
you will see the Report Wizard button.
• Click on that button to launch the Form Wizard
• On this first screen in the wizard, you can select
fields that you want to list on your report, and you
can choose from fields from more than one table
or a query.
• You can also create reports by using the queries
generated by you in printable format.
• Let us assume we want to a report of our records
which are available in two different tables. This
report will consist of employee ID, First name,
Last Name, city, phone and StartSalary. First five
fields are from tbleEmployee and one field of
StartSalary from tblHRData.
• After adding five fields from tbleEmployee
change the table to tblHRData and add
StartSalary field.
• In the next step select the by tblHRData option
and click next.
• In the next window there will be an option for a grouping a
record under any field, which is used for complex reports,
simply click next to the sorting window.
• In this window you can sort the fields as per the preference
needed for the report and click next, options for sorting these
fields are limited to four.
• In the next window select the layout and orientation of your
report as per your preference.
• There would be a checkbox below these settings
indicating “Adjust the field width so all fields fit on a
page”. Keep this option checked as it will automatically
adjust all the placement smartly and properly.













The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 76 of 94

Handling Databases – MS Access Class 6


• In the next window name your report as per your preference, below this option you will see
an option for preview and modification select the Preview option and click finish.
• This would be the
output of your report.
• As you can see the
Employee ID heading
is somehow left out.
This can be fixed
using the design view
mode.
• To access the design
view mode right
click on the Payroll
Details Report Tab
nd
and click on 2 last
option of design
view.
• From this option, you can resize the
fields of First Name and Last name a
little short to adjust Employee ID field
like a text box in MS Word.
• Save and close the report and reopen it
from the object menu on the left.













































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 77 of 94

Handling Databases – MS Access Class 6




























































































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 78 of 94

EDScratch Class 6


EDScratch

Robotics

Robotics is becoming increasingly important at all levels of education and a variety of educational
robots have been developed. Each robotics set comes with detailed instructions on how to set up
your robot and how to program it to follow specific commands. Then you can make changes to the
robot by adding or removing parts and can change the program to do whatever you like!

Edison Robot:
Edison is a programmable robot. It is suited to learning basic
concepts and complex processes as it supports Block based
& Python programming. Edison can expand its features as it
is compatible with LEGO® building blocks, providing unique
capabilities to create new robotic models.
Edison carries three hardware buttons. With the record button, you download a program to the
robot, the play button, starts the execution of the program and by pressing the stop button, the
program is stopped. It is also equipped with different sensors to understand its environment and
interact with it.
























To connect Edison with the computer to download
the program you create with EdScatcrh, 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 EdScratch app.









The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 79 of 94

EDScratch Class 6


Important Note:
Before you begin programming with EdScratch 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 all equalizers. Edison
will fail to program if this is not done.

Setting up your programming device for EdScratch:
The best way to set up your programming devices is to run a test program in EdScratch. Follow these
six steps to test EdScratch on your device:

1. Load the EdScratch app by opening www.edscratchapp.com in a browser (we strongly
recommend Google Chrome). Launch the programming app by pushing the orange ‘Launch
EdScratch’ button. Make sure you allow pop-ups for www.edscratchapp.com


2. Once the app opens, you will see the programming environment. Open ‘Menu’ from the
menu bar and select ‘Load Demos’. A list of demo programs will open in a pop-up window.
Select the program called ‘Test_program’ which will load in the programming environment.

3. Adjust your device’s volume to maximum or 100%. Plug the EdComm programming cable
into the audio jack of your device.

NOTE: many devices have built-in safety settings that reduce the volume when an audio device is
connected to the headphone jack. Always doublecheck the volume settings after plugging in the
EdComm cable to your device.

4. Turn your Edison robot on. Connect the EdComm cable to the bottom of the robot, near the
power switch. Press the round (record) button one time.

5. In the EdScratch app, press the ‘Program Edison’ button. Follow the instructions on the pop-
up and then press the ‘Program Edison’ button on the pop-up to download the program into
Edison.

6. While the program is downloading, you will hear a whirring sound, a bit like a dial-up
modem. When the download is done, you will hear one of two sounds: the ‘success’ sound
(the same chirping beep Edison makes when you first turn the robot on) or the ‘fail’ sound (a
descending beeping sound).


















The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 80 of 94

EDScratch Class 6


EdScratch:

EdScratch is a vertical block-based visual programming language based on Scratch. EdScratch
combines the ease of drag-and-drop programming with powerful functionality and versatility. The
result is a robot programming language that is easy to learn and offers a robust platform for
computer science education.
EdScratch’s intuitive layout and the simplicity of block-based coding makes EdScratch an ideal
programming language for students aged 10 and up. You can access EdScratch online at
www.edscratchapp.com

EdScratch Environment:

































The EdScratch programming environment has four main parts:





























EdScratch Environment Video Tutorial: https://www.youtube.com/watch?v=6binei-1_PA




The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 81 of 94

EDScratch Class 6


EdScratch Block Categories:

All of the blocks in EdScratch are arranged into one of the nine different block categories in the block
pallet.

Drive
The dark blue blocks in the Drive category are all related to the Edison robot’s motor outputs.




































LEDs
The dark purple blocks in the LEDs category are all related to the Edison robot’s LED outputs. Both
the visible light (red LEDs) and infrared LEDs outputs (for IR messaging) can be controlled using
blocks in this category.































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 82 of 94

EDScratch Class 6


Sound

The light purple blocks in the Sound category are all related to the Edison robot’s audio outputs.
Single beeps, musical notes and blocks which control only music note blocks are all in this category.

























Video tutorial:

Programming Edison around using flash lights and sounds (Drive, LED and Sound Categories):
https://www.youtube.com/watch?v=9HfgeJYWmwM

Program Algorithm EdScratch Code
Go forward 3 Inches
Turn Right on 90 Degrees
Turn on Left Led
Go forward 3 inches
Turn Right on 90 Degrees
Turn on Right Led
Go forward 3 inches
Turn Right on 90 Degrees
Turn off Left Led
Go forward 3 inches
Turn off Right Led
Play a Sound





















The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 83 of 94

EDScratch Class 6


Control

The light orange blocks in the Control category are all programming control structures which can be
used to affect the flow of an EdScratch program. Loops, waits and if-statement control blocks can all
be found in the Control category.





























Video tutorial:
Programming Edison using Loops and events(Data, events and control categories):
https://www.youtube.com/watch?v=3gjtBph6xqY

Program Algorithm EdScratch Code
Using Repeat
The Edison should create a
square shape using repeat:

Repeat 4 Time:
Turn left led on
Turn Right Led on
Go forward 3 Inches
Turn Right on 90 Degrees
Turn left led off
Turn Right Led off
Play a Sound
















The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 84 of 94

EDScratch Class 6


Sensing

The light blue blocks in the Sensing category are all related to the Edison robot’s various sensors.
These blocks allow you to turn different sensors on or off, clear stored sensing data and use sensing
data as value inputs (oval-shaped blocks) or Boolean inputs (diamond-shaped blocks) inside blocks in
an EdScratch program.


























Video tutorial:

Programming Edison using sensors (sensor): https://www.youtube.com/watch?v=3gjtBph6xqY

Program Algorithm Using If Condition EdScratch Code
The Edison should create a square
shape after hearing the clapping
sound:
Go forward 3 Inches
Turn Right on 90 Degrees
Turn on Left Led
Go forward 3 inches
Turn Right on 90 Degrees
Turn on Right Led
Go forward 3 inches
Turn Right on 90 Degrees
Turn off Left Led
Go forward 3 inches
Turn off Right Led
Play a Sound










The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 85 of 94

EDScratch Class 6


Sample Codes of EdScratch:

1. Follow a line:



















2. Follow a Torch:





















3. Clap Control Driving







































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 86 of 94

EDScratch Class 6


4. Avoid Obstacle Driving























































































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 87 of 94

EDScratch Class 6




























































































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 88 of 94

Minecraft Class 6


Minecraft

Introducing Minecraft:

Over the next hour, you're going to learn the basics of computer science by programming Alex or
Steve to move through a simulated piece of a Minecraft world.
Traditional programming is usually in text but today we'll use Blockly, a system which uses visual
blocks that you can drag and drop to write programs. Under the hood, you're creating JavaScript
code.
The concepts you'll be learning are what computer programmers use every day and are the
foundation of computer science. Here at Mojang, we use these same concepts to make Minecraft
work.
Before you start, you'll pick your character. Let's build the code for a program that will help them
move around the screen.

Screens:

Your screen is split into three main parts. On the left is the Minecraft play space where your program
will run.























































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 89 of 94

Minecraft Class 6


This middle area is the toolbox and each of these blocks is a command that directs Alex's actions.






































The white space on the right is called the workspace and this is where we'll build our program.













































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 90 of 94

Minecraft Class 6


If we drag the moveForward(); block to our workspace and then click run, what happens? Alex
moves forward one space on the grid.


























And what if we want to do something after she has moved forward one space? We can add another
block to our program. I'm going to choose the turnRight(); block and I'll drag it underneath my
moveForward(); block until this orange line appears. Then I'll drop it and the two blocks will snap
together. When we press run again, Alex will perform the commands that are stacked from top to
bottom in our workspace.
















































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 91 of 94

Minecraft Class 6


If you ever want to delete a block, just drag it from the stack back to the toolbox.
To undo your changes and get back to how the level started, use the Start Over button in the top
right corner of the workspace. One more thing: you see the little triangle on the turn blocks?
Anytime you see these triangles, it means that you can pick a different option. Let's start coding!


























Repeat Loops:
When building Minecraft, we use repeat loops to place all the initial materials for creating a new
world. That's thousands and thousands of blocks. We also use loops in little ways, for example, to
make Alex's feet move back and forth as she walks. Repeat loops are a powerful part of
programming.

Night is coming so in the next couple of levels, we're going to build a house to stay safe. We're going
to use the repeat block to do this very easily. To build a wall of our house, we can either tell Alex to
moveForward(); and
place planks four times
or we can tell her to
moveForward(); and
place one plank, then
take this command and
use the repeat block to
have her perform the
action multiple times.
Now we'll click on the
repeat block and tell
her how many times we
want her to perform
this action.










The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 92 of 94

Minecraft Class 6


If statements:

Now we're going to learn about if statements. If statements are a fundamental part of learning to
program. They help a computer make decisions.

All computers use if statements, including my phone. For example, when I unlock my phone, it runs
some code that says if I enter the password correctly, then unlock the phone. Otherwise, it shows an
error message.




















You can use if statements in your code to make Steve and Alice react to what they see in the world.
For example, if there is a rock in front of them, they can turn left. Or turn right if they run into a tree.
In this case, we don't want to fall into the lava. It's easy to plan for the lava. We can see it on the
screen. But what about the lava that we can't under the stone?

After we mine the stone, we'll need to check if there's any lava in that place before moving forward.
If there is lava there, we want to place a stone in front of our character before we can move
forward. That way we can safely move on. Time for more mining! And remember to use the if
statement to watch your step.





































The City School /Academics/Computing Curriculum/Class 6/2020-2021 Page 93 of 94

References


Some of the information contained in this document may have been retrieved or derived from the
following websites:

Microsoft Support https://support.microsoft.com/en-us/office
GCF Global https://www.gcflearnfree.org/
WonderShare Filmora https://filmora.wondershare.com/
Scratch MIT https://scratch.mit.edu/
Mobirise https://mobirise.com/help/
Edison https://meetedison.com/robot-programming-software/
WonderShare Edraw https://www.edrawsoft.com/guide/edrawmax/
WonderShare http://support.wondershare.com/
Code.org https://code.org/




























































Page 94 of 94

This page has been left blank intentionally

This page has been left blank intentionally


Click to View FlipBook Version