Cyber Tools-Bk7-Ch1 and 2
Cyber Tools-Bk7-Ch1 and 2
Name .....................................................................................
KI
Class ................... Section ................... Roll No ...................
School .....................................................................................
Address .....................................................................................
Phone .....................................................................................
1 NUMBER SYSTEM 8
l Decimal Number System
l Binary Number System
l Octal Number System
l Hexadecimal Number System
l Computer Arithmetic
4
l Creating a Chart
l Chart Elements
l Formatting a Chart
LOG ON TO ANIMATE CC
PS
l Combo Charts and Sparklines
44
l What is Animate?
l To Open Animate
l The Workspace
l Setting Document Properties
KI
l Drawing an Object and Grouping Outline with Fill
l Applying Gradient Fill
l Creating a New Gradient
l Modifying a Linear Gradient
l Modifying a Radial Gradient
l Editing Objects
l Importing Graphics
l Animation in Animate
l Tint Tweening
l Creating a Simple Text Shape Tween
l Applying Filters to Text
l Animating Filtered text
WORKSHEET 1 AND 2
© Kips Learning Pvt. Ltd. 2020
CONTENTS
S.No. CHAPTERS PAGE
6 MORE ON PYTHON 78
l Types of Operators in Python
l Operator Precedence
l Algorithm
l Flowchart
l Conditional Statements in Python
l Types of Control Structures
l Conditional Statements if, if...else, and if...elif...else
7 INTRODUCTION TO HTML 5 94
l What is HTML and its Brief History
l Tools to be Used
l Creating an HTML Document
l Tags, Elements, and Attributes
l Rules for Writing HTML Code
l HTML Document Structure
8 MORE ON CSS3
l In-Line Style
l Text Properties
PS
l Heading, Paragraph, Line Break Element
l Horizontal Rule, Comment, Bold & Italics
l CSS and Methods of Applying CSS
l Background Properties
110
l Font Properties
l Margin Properties
l Border Properties
KI
9 CYBER TOOLS 122
l Social Networking Sites
l Microblogging and Twitter
l Cloud Computing
l Google Drive
l OneDrive
l YouTube
l Google Maps
WORKSHEET 3 AND 4
In early days when there were no means of counting, people used to count with the help of fingers, stones, pebbles,
sticks, etc. These methods were not adequate and had many limitations. To overcome these limitations, many
number systems were introduced with the passage of time, like:
† Decimal number system † Binary number system
† Octal number system † Hexadecimal number system
A number system is a set of values used to represent different quantities.
5 4 7
7 * 100 units = 7
1
4 * 10 tens = 40
2
Example 5 * 10 hundreds = 500
547
OBSERVATION
The positional value of each digit increases ten folds as we move from right to left. In the above mentioned example;
5, 4, and 7 are the face values and their place values are hundreds, tens, and units respectively. The place value
depends on the position of the digit in the number.
Now let us discuss about the various types of number systems that are used in a computer.
examples:
Example 1:
PS
Step 3: Repeat step 2 till the quotient is zero.
Let us understand the conversion of Decimal number into Binary number with the given
Example 2:
Base or Radix of a
Number System
The base of the number
system is the number of
digits used in it. E.g., Since
the decimal number
system uses 10 digits, its
base is 10.
2 25 2 321
Remainders, which are obtained in each step are written in reverse order, i.e., placing the
Least Significant Digit at the top and Most Significant Digit at the bottom, to form the
Let’s Know More
binary equivalent of the decimal number.
Which number system do
BINARY TO DECIMAL NUMBER we use?
To convert a binary number into decimal number, follow the steps given on the next page.
© Kips Learning Pvt. Ltd. 2020 9
† Multiply each binary number with its positional value, which is in terms of powers of 2, starting from the extreme
right digit.
† Increase the power one by one, keeping the base fixed as 2.
† Sum up all products to get the decimal number.
Example 1: Example 2:
(1010)2 ( 1 0 0 1 )2
0x2 0
- Units = 0 1 × 20 = 1
1 x 21
1
- Tens = 2 0×2 = 0
0 x 22 - Hundreds = 0 0×2
2
= 0
1 x 23 - Thousands = 8 1 × 23 = 8
Thus (1010)2 =(10)10 Thus (1001)2 = (9)10
Example
Example 3:
( 110001001 )2 = 1 × 28 + 1 × 27 + 0 × 26+ 0 × 25 + 0 × 24+ 1 × 23+ 0 ×22+ 0× 21 + 1 × 20
The Octal number system (Oct) consists of 8 digits: 0 to 7 with the base 8. The concept of Octal number system came
from the Native Americans as they used to count numbers by using the space between their fingers rather than
using their fingers. The procedure of ‘octal to decimal’ conversion is similar to 'binary to decimal' conversion, the
KI
only difference is the change of base. So, if we want to convert any octal number to decimal number, we have to
start multiplying the digits of the number from right hand side with the increasing power of 8 starting from 0. And
finally summing up all the products.
Example 1: Example 2:
(345)8 (317)8
2 1 0
(3 × 8 ) + (4 × 8 ) + (5 × 8 ) (3 × 82) + (1 × 81) + (7 × 80)
Example 48 + 11
PS
(3 × 161)+(11 × 160)
COMPUTER ARITHMETIC
(4 × 162) + (D × 161) + (2 × 160)
1024 + 208 + 2
Thus (4D2)16 = (1234)10
use the byte, or a multiple
of the byte (16 bits, 24, 32,
64, etc). Hexadecimal
makes it easier to write
these large binary
numbers.
As a computer understands only the binary code, the data input by the user is converted
into binary code for processing. This processing may involve various kinds of arithmetic
operations, such as addition, subtraction, multiplication, division, etc., on binary
KI
numbers.
BINARY ADDITION
The technique used to add binary numbers is very easy and simple. This is performed in
the same way as you perform addition with decimal numbers. The following table
illustrates the addition of two binary digits:
Quick Quiz
Binary Addition
How will you find whether
a b a+b=c a number is represented in
0 0 0+0 =0 Decimal / Binary / Octal or
Hexadecimal system?
0 1 0+1 =1
1 0 1+0 =1
1 1 1 + 1 = 10
Quick Quiz
While adding 1 + 1, the output will be 10, where 0 is written under the same column
Which number system has
Tips
and carry over 1 is shifted to the next place as it happens in decimal number addition. ‘8’ as its base?
Binary Subtraction
BINARY SUBTRACTION a b a-b = c
The rules given in the table must be followed to perform binary 0 0 0-0 = 0
subtraction: 1 0 1-0 = 1
NOTE 1 1 1-1 = 0
The number is borrowed when 1 is subtracted from 0 ( 10 - 1 = 1 ).
0 1 0-1 = 1
Example 1: Example 2:
Compute (1111)2 - (1010)2 Compute (1100)2 - (11)2
Example
-
1
1
0
PS1
0
1
1 1
1 0
0 1
-
1
0
1
Borrowed 1
Balance
0
1
0
0
10
Balance
1
0
1
0
Again
Borrowed 1
Number is now
1
1
10
0 -1
1
Binary Multiplication
BINARY MULTIPLICATION a b a * b= c
The rules for performing multiplication using binary numbers is same as 0 0 0 * 0=0
KI
that of the decimal numbers. The given table illustrates the multiplication 0 1 0 * 1=0
of two binary digits:
1 0 1 * 0=0
1 1 1 * 1=1
Example 1: Example 2:
Compute (101)2 × (11)2 Compute (1111)2 × (101)2
101 1111
× 11 × 101
101 1111
Example + 1 0 1× 0 0 0 0×
Sum = 1 111 + 1 1 1 1 ××
10 0 10 1 1
BINARY DIVISION
The method to perform division of two binary numbers is same as that of decimal numbers. See the example
given below:
ECAP
† The Binary number system consists of two digits i.e., 0 and 1 and has the base 2.
† The Octal number consists of 8 digits and has the base 8.
† The Hexadecimal number consists of 16 digits and has the base 16.
KI
BRAIN
DEVELOPER
SECTION - A
A. Fill in the blanks.
3. The method to perform division of two binary numbers is not the same as that of decimal numbers.
4. 1 multiplied by 0 equals to 0.
A.
1.
Multiple-choice questions.
PS
...............................................................................
a. Ada Lovelace
introduced the concept of 0 (Zero).
b. Aryabhat
SECTION - B
c. Bill Gates
a. 0 b. 1 c. 2
5. To convert Decimal number into Binary number, divide the number by ............................................................................... .
a. 2 b. 8 c. 10
1. What is a Number system? Name the different types of number system used.
.................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
...............................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
A CTi V iTY
SECTION
KI
LAB SESSION Perfection Through Practice
a. 68 b. 987 c. 657
D.
PS
Find the difference between the following Binary numbers.
Divide the class into two groups and discuss the topic.
PROJECT WORK
PS
Decimal Number System vs Binary Number System
Using Creativity
A database is a collection of information related to a particular object, such as maintaining addresses and phone
numbers, a list of library books, keeping students’ record pertaining to academic and co-curricular achievements,
keeping employees' information, etc. It helps the users to organise, retrieve, sort, and edit data as per their requirement.
Database consists of fields and records. In simple terms, records refer to rows and fields refer to columns in Excel.
FIELD : A column within a database that contains only similar type of data is called Field. For example, Roll No.,
Name, Address are different fields.
PS
RECORD : A row in a database is called a Record that consists of the
information about one person or one object. For example, in the given
figure the data – 101, Anju, 75, 82, 90, 247, 82.33 of one student, forms a Record
record.
FIELD NAME : It is a column label for the field in a database. All the
field names appear in one row. For example – Roll No, Name, English,
Field Name
Hindi, Math, Total, Per are the field names in the given database. Figure 2.1: Excel Database
† Click on the drop-down arrow of Choose commands from the list box. Rules To Enter Field
Names:
† Select Commands Not in the Ribbon option from the drop-down list and choose † Each Field name should
be placed in a separate
the Form command. cell.
† Click on the Add button ............... Click OK and you will find the Form button........on † Field names should be
unique.
the Quick Access Toolbar.
SEARCHING A RECORD
This option is used to search the records with specific
values.
† Click on the Form button. Quick Quiz
box.
† Type the data that you want to search in the
appropriate field. For example, type 104 in Roll
No: text box and press the Enter key.
Let’s Discuss
† If the record exists and matches the given value
Importance of using Form.
for that field, it will be displayed. Otherwise, the
Figure 2.4: Searching a Record
first record will be displayed. Using Form
SORTING DATA
Sorting means, arranging the data either in an ascending or descending order. In a worksheet, data can be sorted in
rows on the basis of text, numbers or dates. Once the data is organised, it becomes easy to work on it.
† Open any worksheet and select the cell range that you want to sort.
† Click on any cell, say B2. Now select the Sort button ........in the Sort & Filter group
in the Data tab. The Sort dialog box appears and the entire database gets selected.
†
PS
Click on the Sort by drop-down arrow and select the field on the basis of which you want to sort the data. For
example, select the Name field.
Select the Values option from the Sort On drop-down list. Select the sorting order from the Order drop-down
list. If Sort by contains alphanumeric data then A to Z option
gets selected automatically. In case, Sort by contains
numeric data then Smallest to Largest option gets selected.
† Click OK. The database will be sorted in descending order on the basis of Name field.
In Excel, you can also sort more than one column. For example, after sorting by Name, you want to arrange the list by
Roll No.
† Click on the Add Level button in the Sort dialog box. A new
level gets added below the first level.
Excel 2013
In Excel 2013, also you can add, search, delete records using forms in the same way as you do in Excel 2016.
† Click on a cell within the data range. Select Data tab and click on the
Advanced button in the Sort & Filter group.
† You will notice the range is already defined in the List range:
$A$4:$D$13.
NOTE
PS
Figure 2.10: Result of Advanced Filter
i.e., $F$6:$I$6. Click OK. The data will get filtered
according to the specified condition and be
copied in the place, which you have defined in the
Copy to box.
In Microsoft Excel, you can also filter and sort the data by cell colour.
† Select the Error Alert tab and type ‘Input is wrong’ in Error
message box. Click on OK to close the dialog box.
† If you try to enter data beyond the specified limit in the selected
range, an error message will be displayed. Click on Retry to enter
another value in the cell. Figure 2.11: Data Validation Dialog Box
PS
Figure 2.13: Subtotal Dialog Box
option overwrites the existing
subtotal if present.
NOTE
By default, non-numeric fields are added to the Rows quadrant, date and time hierarchies are added to the Columns
quadrant, and numeric fields are added to the Values quadrant.
PS
KI
Excel 2013
You can use all the features, like Sorting, Filtering, Validation, PivotTable, etc., in Excel 2013 also
in the same way as explained above.
related data. PS
† The Subtotal feature in a database helps us to manage, analyse, and extract specific information from rows of
† PivotTable is a powerful tool for consolidating, summarising, and presenting the data.
BRAIN
DEVELOPER
KI
SECTION - A
A. Fill in the blanks.
1. A database helps the user to ............................................................................, retrieve, sort and edit data as needed.
2. A ............................................................................ window or a screen that contains numerous fields or spaces to enter, modify,
and view one record at a time.
4. To restrict the type of data and the values while entering data in a cell, use ............................................................................ option.
5. To search for a record with specific value, click on the ............................................................................ button in a form.
7. Conditional Formatting sets a cells format according to the condition that you specify.
C. Application-based questions.
1. Kanika is a Chartered Accountant. She looks after the accounts of various companies and keeps their records in
Microsoft Excel. She does not have any idea on how to view only those records that she wants to see. Suggest
2.
PS
the feature of Microsoft Excel, using which she can perform this task.
.................................................................................................................................................................................................................................................................................................
Varun is maintaining the marksheet of his class in Microsoft Excel. The teacher has asked him to restrict the
marks enteries between 1 and 100 in all the subjects. Which feature of Microsoft Excel should Varun use in
order to accomplish the task?
.................................................................................................................................................................................................................................................................................................
SECTION - B
KI
A. Multiple-choice questions.
1. Which among the following features is used to filter the data in multiple fields using a specified criteria?
a. Advanced Filter b. Criteria c. Sorting
2. Which button under Data tab is used to remove a duplicate value from one or more columns?
a. Remove b. Remove Data c. Remove Duplicates
3. Which feature in a database provides an easy way to enter, modify, and view one record at a time?
a. Form b. Adding Subtotal c. Filter
4. Which feature helps you to display only those records that meet the specified criteria?
a. Data Validation b. Sort c. Filter
5. Which feature allows us to arrange the given data according to a particular field either in an ascending or
descending order?
a. Data Form b. Filter c. Sort
.................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
4.
PS
.................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
.................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
................................................................................................................................................................................................................................................................................................
† Open Excel 2016 and type the data as given in the worksheet.
† Save the worksheet using Ctrl+S key combination.
† Click on any cell. Click on the Form button on the Quick Access Toolbar. Select the New button.
† Type the information - 1011, S. R. Electronics, Retailer, Television, 12, 240000 in the respective fields.
† Click on the Close button. Record will be saved and displayed at the end of the worksheet.
† Click on the Form button on
the Quick Access Toolbar. A B C D E F
†
PS
button. Type 'Television' in
Product text box. Press the
Enter key. It will display the
record that matches with the
criteria.
Click on the Find Next button.
2
3
4
5
6
7
8
9
10
Invoice No.
1001
1002
1003
1004
1005
1006
1007
Customer
R.S. Malik & Co.
R.S. Malik & Co.
Gupta Electronics
Ramsons
Ramsons
Malhotra Cottage
Batra Electronics
Type
Whole saler
Whole saler
Retailer
Retailer
Retailer
Retailer
Whole saler
Product
Television
Washing Machine
Mixer
Television
Mixer
Washing Machine
Washing Machine
Qty
35
25
15
10
15
12
50
Price
700000
250000
127500
200000
125000
120000
500000
11 1008 SiaRams Cottage Retailer Mixer 10 85000
The next entry related to
12 1009 Shine Electronics Whole saler Washing Machine 30 300000
'Television' criteria will be 13 1010 Shine Electronics Whole saler Television 60 1200000
displayed. Click on the Close
KI
button.
† Click any cell. Select Data > Sort option. In Sort by list box, select 'Customer' field. Select Z to A option from
Order list box. Click OK and observe the change.
† Click the Data > Filter option. Small arrows will be added to each field name.
† Click the drop-down arrow of 'Product' field name, and uncheck the Select All checkbox to deselect all the
options. Now select 'Washing Machine' from the displayed list.
† Click OK. The list will get filtered and display the records of the product - 'Washing Machine'.
† Now remove all filters.
† Click on the cell address A2. Insert 4 blanks rows.
† Select and copy the cells A7:F7. Click on the cell A2 and paste the copied cells.
† Type ‘Washing Machine’ under the ‘Product’ field name.
† Click on any cell in Data range, i.e., from A7:F8. Select the Data tab and click on the Advanced button in the
Sort & Filter group. Select 'Copy to another location' in Advanced Filter dialog box.
† Specify the List range as $A$7:$F$18, Criteria range as $A$2:$F$3 and Copy to as $I$7:$N$7. Click OK.
S.No.
PS
Shikha is a Public Relations Manager in a company. She has prepared a list of her clients along
with their birthdays. She now wants to find out the names of persons, whose birthday falls in
the month of September. Help her to complete this task using Advanced Filter command.
Client's Name Client's Designation Date of Birth