Page 6 - tp_Modula_v2.0
P. 6
INSIDE THE SERIES
The key features of the series have been designed to ensure better learning, assessment
and evaluation.
Learning Resources
Your Aim: This section Tech Funda: This section Clickipedia: This section
describes the objective of provides a practical information provides interesting
the chapter. or tip to the students. computer facts.
3. Define the following.
(i) Arithmetic Operators
(ii) Variable
(iii) Logical Operators
4. Distinguish between the following with the help of examples.
Comp Caution: This section Recap: This section provides (i) (ii) In The Lab: This is a lab
AND operator and OR operator
Modulus operator and Division operator
(iii) Single line comment and Multiple line comment
activity to develop practical
(in I, II) describes ways to handle a summary of the chapter for F. Find the output of the following codes: Computational Thinking
1. a = 4.5 2. y = 10
the computer cautiously. quick recapitulation. b = 2 skills. y += 2
print (a//b)
print(y)
3. a = 4 4. var1 = 1
b = 11 var2 = 2
print(a or b) var3 = 3
print(a > 2) print(var1 + var2 + var3)
In the lab Interdisciplinary
Write a program to:
1. calculate the area of a square.
2. add two numbers.
3. multiply two numbers.
4. area of a rectangle.
Teacher's Corner
1. Discuss about operators in Python with the students.
2. Tell the students about the importance of writing comments while programming.
Data Types and Operators in Python 29
Keyboard Shortcuts: This Explore More: This section Glossary: This section
section (in IV to X) contains contains supplement topics for contains definition of
keyboard shortcuts to perform add-on knowledge. important IT terms.
different operations.
Explore More GLOSSARY
Latest Technological Developments App: An app is a software program primarily developed for hand-held smart devices such
Keyboard Shortcuts as mobile and tablet.
Python Technology plays a major role in our daily and social life. Latest technologies are evolving every Argument: A value passes into a function at the time of function call.
day across the globe. To keep ourselves updated, it is important for us to know about the latest
technological developments. There are a number of latest technological developments. Some Data type: A data type specifies the type of value a variable can contains.
of them are Internet of Things, 3D Printing and Robotic Process Automation. Let us learn about
Shortcut Keys Description these in detail. Function: Block of code or set of statements which perform a specific action.
Ctrl + T To close the script. INTERNET OF THINGS Iteration: Single pass of loop.
Internet of Things (IoT) has become a buzzword nowadays throughout the world. It is a system
Ctrl + O To save the active script. of connected computing devices, mechanical and digital machines for creating a virtual network Integrated Development and Learning Environment: Code editor in which you can
where a monitoring center ensures that everything is working smoothly. Each connected device write and execute Python programs in the editor itself.
has a unique identifier and can transfer data over the network without any human intervention.
Ctrl + - To save new active script.
The connected devices gather and share data about their usage and their operative environment. List: Homogeneous or heterogeneous collection of data elements. It is a sequence of
The devices can be your smartphones, refrigerators, televisions, washing machines, etc. You multiple values in an ordered sequence.
Ctrl + S To execute the active script.
must have heard about smart cities. They can be developed with optimised waste management
system, traffic system and efficient energy use by IoT. A lightbulb that can be switched on using a Mobile application/Mobile app: Software program that is developed for hand-held
Ctrl + F2 To add the active script to scene. smartphone app, a motion sensor or a smart thermostat in your office or a connected streetlight devices such as smartphones and tablets.
are examples of IoT devices.
F5 To display Python Tool Manager. Neil Gross famously said in 1999, “In the next century, planet earth will don an electronic skin. It Native apps: Apps primarily developed for a specific platform.
will use the Internet as a scaffold to support and transmit its sensations”
Ctrl + = To open Python Editor context help. The concept of IoT has unbelievable potential in many Operand: Object that can be manipulated by using different operators.
businesses and industries. To check on SIDS (Sudden Infant
Ctrl + F To find the code. Death Syndrome), the Mimo monitor is a new kind of infant Operators: Special symbols which perform arithmetic and logical computation.
monitor that provides parents with real-time information
F3 To find the subsequent code. about their baby’s respiration, skin temperature, body Program: Set of instructions that is designed to perform a specific task.
position and activity level on their smartphones.
Ctrl + H Find and replace code. You can monitor an aging family member by using a wearable Prompt: Blinking cursor after the symbol (>>>) in the window.
alarm button and other wireless sensors placed around the
home. The BeClose system can track your loved one’s daily
Tab Indent the text block. routine and give you peace of mind for their safety by alerting Mimo monitor Python dictionary: Compound data type, which contains an ordered and unordered pair
you to any serious disruptions detected in their normal schedule. of key value with respect to the value of an element.
Alt + C To comment on the selected code.
Smart thermostats like the Nest-use sensors, real-time
weather forecasts and the actual activity in your home during range( ) function: In-built function of Python which generates a sequence list.
Ctrl + Space Auto-complete entry.
the day to reduce your monthly energy usage by up to 30%.
Keeping you more comfortable and offering to save you String: A sequence of characters which is enclosed or surrounded by single (' ') or double
F10 To view Python Tool Manager. money on your utility bills. (" ") quotes.
IoT is here to stay and expand. Many new utilities with rich
F1 To trigger Python Editor context help.
functionality can be built which will revolutionise our lives. Traversing: Visiting each element and processing it as required by the program.
Smart thermostats
Variables: Memory reference points where we store values which can be accessed or
changed later.
126 Touchpad MODULAR (Version 2.0)
Keyboard Shortcuts 131
132 Touchpad MODULAR (Version 2.0)

