CM Level-8 Worksheet-Solutions
CM Level-8 Worksheet-Solutions
Worksheet Solutions
Name:
Class: Section:
Acknowledgements
Content Advisor Production
Prof. Sridhar Iyer Creative Director
Vinod Raj
Content Programme Manager
Subject Matter Experts Team Mohan KVK
Rati Arora Project Manager
Shivani Arab Thapaswini Sathya Prathistha
Chandrani Dasgupta
Creative Managers
Renjith Kumar C, Sajesh S, Ganapathi Rao R
Instructional Designers Graphic Designers
Rifka Bose Sreelal K, Anoop Kumar P, Anoop Muthalayil, Arun Kumar Muthalayil, Bharath Babu B,
Mayura Arya Heeral Desai, Joseph Libin T J, Kanaka Rao K, Maria Devanesan A, Mohammed Shafeek
Areekkaden, Murali Mohan S, Nagaraju Tadepalli, Nikhil Rajan, Ramakrishna Ch, Thushal R,
Edit Review Team
Vipin Kanaran, Venkataramana Kokkirala
Oindrilla Dutta, Hrishita Chowdhury,
Jayita Sen Gupta, Disha Nilesh Sampat, Print Designers
Mini Sivashankar, Prableen Kaur Jubbal, Amol Gavasane, Romel Lymon Budala, Santoshi G, Srikanth Dara, Srinivasa Rao Dongala,
Wedetso, Arunashis Bhattacharjee Subbarao Anusuri, Sudheer Jangam, Sunil Kumar B, Umashankar Akkinepalli, Venkata
Narsareddy Ch, Venkatapathi Raju Rudraraju
This series is based on the original Computer Masti series created by Prof. Sridhar Iyer, Dr. Farida Khan,
Vijayalakshmi Chitta, Usha Viswanathan, Malati Baru and Kaumudi Sahasrabudhe.
The Next Curriculum Series is an initiative of Next Education India Private Limited.
Next Education acknowledges the contribution of all the authors and reviewers in the creation of this book.
Copyright © Next Education India Private Limited.
All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by
any means, electronic, mechanical, photocopying, recording or otherwise, without prior written permission
of Next Education.
The authors and the publisher shall be neither liable nor responsible to any person or entity with respect to
any loss or damage arising from the information contained in the book and any associated material whether
physical, electronic or mechanical.
Every effort has been made to trace the copyright holders and to obtain their permission for the use of
copyrighted material. The publisher apologises for any errors or omissions and would be grateful for
notification of any corrections that should be incorporated in future reprints or editions.
Published 2017
NEIPL/NB/CM-V4/BK17 :
Computer Masti has been designed and created at Computer Science and
Engineering Department at IIT Bombay.
Contents
2. Inside Internet.................................................................................................. 01
3. Social Networking.......................................................................................... 05
8. BASIC Programming...................................................................................... 24
1
Level 8 Lesson 2 WORKSHEETS
1. Match the abbreviations with their description.
a. LAN i. Wireless Local Area Network
b. WAN ii. Wide Area Network
c. WLAN iii. Local Area Network
Router
Laptop
Server
Printer
Laptop
Laptop
Computer
Switch / Hub Laptop
Mobile
Wireless Tower
Internet
Computer
Computer Mobile
ISP
Wireless Tower
Tower Mobile
2
Level 8 Lesson 2 WORKSHEETS
4. Complete the following LAN, WLAN and WAN by:
a. Drawing the missing hardware, missing connections.
b. Labelling the hardware.
c. Labeling client and server.
d. Making appropriate connections.
Computer Computer Computer
i.
Client Client Client
Server Printer
ii.
Laptop
Server
Laptop
Switch / Hub
WLAN
iii. Computer
Broadcasting
Client Internet
Computer
Router ISP
Satellite
ISP
Client WAN
3
Level 8 Lesson 2 WORKSHEETS
Computer
iv. Firewall
Client
Computer
Internet
WAN doubt
Client
5. A cipher with an example is given below. Study these and do the following:
a. Encrypt your name using the given cipher.
b. Decrypt using the given cipher : 31 43 23 53 34 44 51 24
Cipher:
1 2 3 4 5 i. MOZ (23 43 55)
1 A B C D E
2 F G H I/J K
3 L M N O P
4 Q R S T U ii. COMPUTER
5 V W X Y Z
Example
Plain text: HELLO
Cipher text: 32 51 13 13 43
4
3 Social Networking
5
Level VIII Lesson 3 WORKSHEETS
1. For the following tasks, which Social Networking Sites (SNS) would you use and why?
(Examples: Wikipedia, Flickr, Youtube, Facebook, LinkedIn, Amazon, Picassa, Twitter)
Task SNS
a. Refer to (find information about) a
particular topic for your science Wikipedia
project
b. Review a new book and see
recommendations made by other Amazon
readers
c. Share a photo album Flickr, Picasa
2. What are the pros and cons of meeting and chatting online as compared to physically
meeting friends.
Pros Cons
6
Level VIII Lesson 3 WORKSHEETS
3. Sentil is new to SNS. While setting up his profile for a SNS, he wants to share some of the details.
Advise him about sharing and not sharing of details in the profile by using the following table.
Give explanation for why you advice so.
Details of Details of profile that should not
Users on internet
profile that can be shared be shared (of )
- Financial Information
- Full name - Contact Number
- Date Of Birth - Address
a. Everyone - Posts - Family/Friends details
- Public comments - Personal Picture
- Recognitions - Social Plans
- Passwords
- Events updates and no-
tices
- Interests/hobbies - Password
- Social Plans - Financial information
b. A Group
- Project details - Family/friends details
- Interesting links - Personal pictures
- School level result
-Social Images
4. Your mother has asked you to create a list of Dos and Don’ts for your sister for
the following:
a. Going on a one day school trip to the zoo by bus.
b. Accessing a computer for the first time.
For each one of the above write at least 3 Dos and 3 Don’ts draw an analogy between these DO’s and
Don’ts with corresponding SMART/AWARE.
a. Going on a one day school trip to the zoo by bus.
7
Level VIII Lesson 3 WORKSHEETS
b. Accessing a computer for the first time.
Corresponding/AWARE
Dos and Don’ts
or SMART rules
Do not install any software from a suspicious source (R) Check for reliability
5. Your grandparents are curious to know if they can locate their old aquaintances using Internet.
Explain how SNS can be used for this purpose. For what other purposes can your grandparents
use SNS?
- Connect with old acquaintance by searching, using - Names, Association, Common friends, Institute
8
Level VIII Lesson 3 WORKSHEETS
7. What action will you take for the given scenarios?
a. You receive an email party invitation from a stranger.
Ignore the email, report spam (Refer (A) from SMART PLUS).
c. You gather information from various resources for project. How do you acknowledge
the resources.
Adding a reference section which is a list of all links used (Refer (A) from SMART PLUS).
d. Your brother is writing to or chatting with elders, you notice that the tone of the language
is not polite.
Request him to be polite and also communicate that he is responsible for his online reputation.
(Refer (A) from SMART PLUS).
e. Your friend has not bothered to set up the privacy and security setting on her social network site.
Communicate the negative impact of not changing the settings. (Refer (S),(L),(U) from SMART PLUS).
f. You receive an email with a hyperlink to download some information for free.
Refer (A) & (R) from SMART PLUS. Else communicate with elders (Refer (T) from SMART PLUS).
g. You receive an email forwarded by your friend with contents that do not concern you.
h. While buying an item online, besides the payment information, the website asks you to enter
your personal details: Mobile number, age, female/male.
Refer (S) & (R) from SMART.
9
Level VIII Lesson WORKSHEETS
WWW
10
Level VIII Lesson
Level 8 | Lesson 4
WORKSHEETS
WORKSHEETS
1. An old age home in your locality wants to create a website for their institution. They come to
you for help. Can you suggest a content structure (links, navigation…..) which they can use to
create the site?
Example
A photograph of the
institute
Suvarna Old Age Home
Introduction to Institute
Footer Links
1. Feedback.
2. About us.
11
Level VIII Lesson
Level 8 | Lesson 4
WORKSHEETS
WORKSHEETS
2. Write at least five advantages of online blogging as compared to maintaining a personal diary. Write
at least two disadvantages of online blogging.
Advantages: a. Maintainance & admin management of the online blog is easier. b. Searching posts
and updation. b. Datacuration is simpler. d. Getting feedback & collaboration options.
e. Multimedia support.
Pros Cons
(i)
a. Booking train ticket online (i)
- Buying online is less time
versus physically going to -Booking online depends
taking.
a station and buying the on speed of internet (needs
- Buying online is convenient.
tickets. seamless internet)
(doesnt require to go to the
-Payment Transaction
counter)
dependency.
(ii)
(ii)
- Helps look for alternatives
- Waste of time in waiting in
quickly Does not require any
the queue.
electronic device
b. Buying a camera online (i)
versus physically going to a - Get good deals
(i)
shop and buying. - Easy comparison
- No authentication of
- Pay after delivery option
genuinity
- Price may be cheaper (due to
- Dealer or source unknown,
no showroom)
risk of being cheated
(ii)
(ii)
- Get to check out the camera
- Choices may be less
physically
- See the features in real time
c. Buying fruits and
vegetables online versus (i)
(i)
going to a shop and buying. - Delivery time saved
- No central/choice of picking
(ii)
and choosing
- More choices available
(ii)
- Can pick and select from
- Time taken
items
12
Level VIII Lesson 4 WORKSHEETS
4. Pick up the errors or bugs in the code and re-write in the codes for the following:
a. <head>
<title>Games using Computer<title>
•________________________________________________________________________________
<html>
•________________________________________________________________________________
<head>
•________________________________________________________________________________
<title>Games using Computer</title>
•________________________________________________________________________________
</head>
•___________
</html>_____________________________________________________________________
b. <p align=”right”>
<body>
As I love crossword puzzles, I wanted to search for vocabulary crossword games. I opened the Google
website in the Firefox browser. I first typed the keyword: crossword in the search box of Google. The
first link displayed was a bookshop named Crossword!
(/body)
•________________________________________________________________________________
<html>
•________________________________________________________________________________
<body>
•________________________________________________________________________________
<p align=”right”>
•________________________________________________________________________________
As I love crossword puzzles, I wanted to search for vocabulary crossword games. I opened the
Google website in the Firefox browser. I first typed the keyword: crossword in the search box
________________________________________________________________________________
of Google. The first link displayed was a bookshop named Crossword!
________________________________________________________________________________
•________________________________________________________________________________
</p> • </body> • </html>
Match the HTML code to their respective output displayed on the browser.
14
Level VIII Lesson 4 WORKSHEETS
<html>
<body>
<h4 align=”center”>
History of computers
VIBGYOR</h4> Requirement of simple calculations
<ol> were done in innovative ways with
<li>Violet</li> stones, pebbles and they even used
<li>Indigo</li> bones. These were called counters.
<li>Blue</li>
<li>Green</li>
<li>Yellow</li>
<li>Orange</li>
<li>Red</li>
</ol>
</body>
</html>
<html>
<body> VIBGYOR
<h1> History of computers </
h1> • Violet
<p align="center”>Requirement • Indigo
of simple calculations were done • Blue
in innovative ways with stones, • Green
pebbles and they even used bones. • Yellow
These were called counters. • Orange
</p> • Red
</body>
</html>
<html>
<body> VIBGYOR
<h1 align=”left”>
VIBGYOR</h1> 1. Violet
<ul> 2. Indigo
<li>Violet</li> 3. Blue
<li>Indigo</li> 4. Green
5. Yellow
<li>Blue</li>
6. Orange
<li>Green</li> 7. Red
<li>Yellow</li>
<li>Orange</li>
<li>Red</li>
</ul>
</body>
</html>
<html>
<body> History of computers
<h1> History of computers </h1>
<p align=”justify”>Requirement Requirement of simple calculations were done
of simple calculations were done in innovative ways with stones, pebbles and they
even used bones.These were called counters.
in innovative ways with stones,
pebbles and they even used bones.
These were called counters.
</p>
</body>
</html>
15
Level VIII Lesson WORKSHEETS
0110110011
6
0110110011
0110110011
0110110011
0110110011 Binary Number System: Bits and Bytes
0110110011
0110110011
0110110011
16
Level VIII Lesson 6 WORKSHEETS
1. Fill in the blanks.
0
a. ______________ 1
and ______________ are digits in the binary system.
b. Binary numbers can represent data like information
______________, instructions
______________ and
files
______________ in computers.
8
c. A Byte is a group of ______________ bits.
17
Level VIII Lesson 6 WORKSHEETS
5. Fill in the following table with the binary values that correspond to the given decimal values.
Remember that you should only use the symbols ‘0’ and ‘1’ in the binary numbers.
A few of the binary values have been entered for you already so that you can check your progress
0 0 16 10000 32 100000 48 110000
1
1 17 10001 33 100001 49 110001
3 11 19 10011 35 100011
4 100 20
10100 36 100100
5 101 21
10101 37 100101
6. Convert the filled numbers to their corresponding number systems in the space given in the table.
Decimal Binary Octal Hexadecimal
33 100001 041 21
117 1110101 165 75
451 111000011 703 1C3
431 110101111 657 1AF
18
Level VIII Lesson WORKSHEETS
19
Level VIII Lesson 7 WORKSHEETS
1. Answer the following:
a. A computer user from class 8, who is familiar with Ubuntu desktop, is checking out various
desktops that are available in the computer store. Each computer has a desktop with different look
and feel. The user is able to navigate through all the desktops. How is this possible?
Every OS has a dashboard and application launcher.
b. A user finished working on the computer in the lab. What should the user do so that the user’s
work is safe and others can use the computer?
Switch user accounts.
c. A user has to leave the computer briefly. The user does not want to logout. What should
the user do?
Lock the screen
System Menu --> Start up applications --> <add the desired application like fire fox & music
player>
e. Tejas wants to install Scribus on a computer that has Windows 8.1 OS.
i. Which parameters should he check before installing the application?
Hint:
>> Processor
>> Speed
>> Memory
>> Version
ii. After downloading what should Tejas do before installing?
- Ensure that the repository is a reliable site before downloading and installing an application.
- Install virus protection on the system and scan the downloaded package before installating it.
20
Level VIII Lesson 7 WORKSHEETS
2. Answer the following:
a. Sourceforge.net has software that can be downloaded. What is the storage location, where the
software is stored for download, called?
“Downloads” file directory
b. What are the permissions to perform actions like, creating a file in a directory, or to read or delete
a file, access and use devices like printer, scanner called?
User privileges.
System Administrator
d. Ravin can create, read and write files only in the directory assigned to him. What type of a user
is he?
Normal user, since he can read & write only in the directory assigned to him.
e. Some computer users have lost their project files due to a system crash. However they are not
worried about the loss. Why? How will the users submit the project to the teacher?
They must have backed up their files either by using Internet options such as email and
online drive or by using portable drives such as a pen drive. They can access these files
by downloading from the Internet or by copying them from the pen drive.
b. Can you install software from any source using the Internet?
Yes.
b. If yes (in b), what are the precautions and checks that should be taken before installing the
software from Internet?
c. Give the steps of downloading and installing software from the Internet with an example.
Step 1 - Go to the software source page.
Step 2 - Download the software using the download link.
Step 3 - Scan the file downloaded using a virus scanner.
Step 4 - Execute the setup file and follow the instructions.
Step 5 - The software will be installed with its shortcuts.
21
Level VIII Lesson 7 WORKSHEETS
4. Answer the following trouble shooting problems for a particular situation shown in the second column.
List two more such situations that could cause the problem.
Hardware
a. System not connections - OS error
working not properly - Registry error
connected.
- Printer wire
could be
b. Printer not Printer connection broken
printing problem - Printer
software/
driver problem
- Network
wifi option
c. Network Network switched off
disconnected disconnected - The cable
could be
disconnected
22
Level VIII Lesson 7 WORKSHEETS
- Flash player
e. Not
missing
finding Needs adobe flash
- Content
an player to run
missing from
application.
the source url.
23
Level VIII Lesson WORKSHEETS
Memory
0, 1, 1, 2, 3,
5, 8, 13, 21,
BASIC
34, ...
24
Level VIII Lesson 8 WORKSHEETS
N=1
square_of_N = N*N
PROGRAM
b. The names of two groups Red and Blue are stored in two arrays. The member of the groups
are as follows:
Red: Namita, Payal, George, Ali, Neha.
Blue: Shakti, Murtaza, Nikhil, Anne, Shabana, Priyanka.
The user is prompted to specify which group list should be displayed.
As per the input from the user, the group names are displayed.
Complete the program by filling in the blanks.
End
2. Complete the following program using the hints given, and save the code in a file called armstrong.
kbs. Run it to get the armstrong numbers between 0 to 999.
# PROGRAM Armstrong Numbers
CLS
PRINT “ARMSTRONG NUMBERS”
PRINT
PRINT “Program computes all Armstrong numbers in the range of 0 - 999.”
PRINT “An Armstrong number is a number such that the sum of its digits”
PRINT “raised to the third power is equal to the number itself.”
PRINT “407=43+03+73=4*4*4+0+7*7*7=64+343=407“
#initialize total_armstrng to save the count of armstrong numbers between
0-999.
total_armstrng=0
FOR A = 0 TO 9
FOR B = 0 TO 9
FOR C = 0 TO 9
PROGRAM
9
Informaton
Information
27
Level VIII Lesson 9 WORKSHEETS
1. Fill in the blanks by using the phrases given below.
Product_details
Field name
Product_id Product_name Price_in_rs
3. A table to record the commuting details of students from home to school is added to the database
maintained by the school. Commuting details of the students are given below.
• Sweta S with Student_id 12 stays in Mulund which is a distance of 4 kms from school and travels by bus.
• Tejas with student_id 34 stays in Kanjurmarg which is a distance of 1 km from school and walks
to school.
• Jyoti with Student_id 23 stays in Vikhroli which is a distance of 2 kms from school and travels
by bus.
• Gurmeet with Student_id 45 stays in Kanjurmarg which is a distance of 1 km from school and comes to
school in car.
• Ali with Student_id 67 stays in Vikhroli which is a distance of 2 kms from school and travels
by auto.
• Sweta G with Student_id 195 stays in Mulund which is a distance of 4 kms from school and travels by
bus.
28
Level VIII Lesson 9 WORKSHEETS
a. Use above information to fill missing data in the table Class8_commute_details.
std_personal_info
Student_id Name DOB
45 Gurumeet 25/03/97
12 Sweta S 23/01/97
195 Sweta G 16/11/96
23 Jyoti 15/08/96
34 Tejas 14/12/96
67 Ali 01/01/97
Class8_commute_details
Student_id Name Place of Residence Mode of travel Distance
12 Sweta S Mulund Bus 4 km
34 Tejas Kanjurmarg Walk 1 km
23 Jyoti Vikhroli Bus 2 km
45 Gurmeet Kanjurmarg Car 1km
67 Ali Vikhroli Auto 2 km
195 Sweta G Mulund Bus 4 km
Distance Number
iii. For the queries given in the table below, give the name or names of tables that will be used for the
query, the condition and the result that will be displayed for the query:
table name or Result of the
Query Condition
table names query
Query 1 Class8_ Place of
ID of students who stay in Mulund. commute_ residence = 12, 195
details “Mulund”
Query 2 Class8_
Distance Sweta S, Jyoti,
Name of the students who travel more than one km. commute_
>1 Ali, Sweta G
details
Query 3 Class8_ Mode of
Sweta S, Jyoti,
Name of the students who travel by bus. commute_ travel =
Sweta G
29 details “Bus”
Level VIII Lesson 9 WORKSHEETS
c. Build queries for the following in the query tables given below:
i. What is the procedure to display all the fields and data in the table?
Select * from class8_commute_details;
ii. List the name of student, and in ascending order of the distance travelled by students.
• One table is added. Write the name of the second table and it’s fields. Draw the relationship
between the tables.
• Fill in Fields in the query, fields to be displayed, sort field, alias.
Refer Create Relation between Tables, Query with Multiple Tables
30