About this ebook
TouchCode books for Grades 1–5 have activities based on various skills that amplifies the CT skills and build a strong foundation for middle school. TouchCode books for Grades 6–8 take a step ahead and let the c
Read more from Team Orange
Touchpad Play Ver 2.0 Class 2: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratingsTouchpad Play Ver 2.0 Class 8: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratingsTouchpad iPrime Ver. 2.1 Class 8: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratingsTouchpad iPrime Ver. 2.1 Class 4: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratingsTouchpad Play Ver 2.0 Class 6: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratingsTrackpad iPro Ver. 4.0 Class 2: Windows 10 & MS Office 2019 Rating: 0 out of 5 stars0 ratingsTouchCode Class 4: Coding Book Rating: 0 out of 5 stars0 ratingsTouchCode Class 7: Coding Book Rating: 0 out of 5 stars0 ratingsTouchpad Play Ver 2.0 Class 1: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratingsTouchpad Modular Ver. 1.1 Class 6: Windows 7 & MS Office 2010 Rating: 0 out of 5 stars0 ratingsTouchpad iPrime Ver 1.1 Class 3: Windows 7 & MS Office 2010 Rating: 0 out of 5 stars0 ratingsTrackpad iPro Ver. 4.0 Class 7: Windows 10 & MS Office 2019 Rating: 0 out of 5 stars0 ratingsTouchpad iPrime Ver. 2.1 Class 7: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratingsTouchCode Class 3: Coding Book Rating: 0 out of 5 stars0 ratingsTrackpad iPro Ver. 4.0 Class 4: Windows 10 & MS Office 2019 Rating: 0 out of 5 stars0 ratingsTouchpad Modular Ver. 1.1 Class 2: Windows 7 & MS Office 2010 Rating: 0 out of 5 stars0 ratingsTouchCode Class 6: Coding Book Rating: 0 out of 5 stars0 ratingsTouchpad iPrime Ver 1.1 Class 7: Windows 7 & MS Office 2010 Rating: 0 out of 5 stars0 ratingsTouchCode Class 1: Coding Book Rating: 0 out of 5 stars0 ratingsTouchpad Modular Ver. 1.1 Class 5: Windows 7 & MS Office 2010 Rating: 0 out of 5 stars0 ratingsTrackpad iPro Ver. 4.0 Class 5: Windows 10 & MS Office 2019 Rating: 0 out of 5 stars0 ratingsTouchpad iPrime Ver. 2.1 Class 2: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratingsTrackpad iPro Ver. 4.0 Class 8: Windows 10 & MS Office 2019 Rating: 0 out of 5 stars0 ratingsTouchpad iPrime Ver 1.1 Class 6: Windows 7 & MS Office 2010 Rating: 0 out of 5 stars0 ratingsTrackpad iPro Ver. 4.0 Class 3: Windows 10 & MS Office 2019 Rating: 0 out of 5 stars0 ratingsTouchpad Plus Ver. 2.1 Class 1: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratingsTouchpad iPrime Ver. 2.1 Class 1: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratingsTouchpad iPrime Ver. 2.1 Class 3: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratingsTouchpad iPrime Ver. 2.1 Class 5: Windows 10 & MS Office 2016 Rating: 0 out of 5 stars0 ratings
Related to TouchCode Class 8
Related ebooks
Touchpad Prime Ver. 2.1 Class 8 Rating: 0 out of 5 stars0 ratingsPython Programming Concepts Rating: 0 out of 5 stars0 ratingsProfound Python Rating: 5 out of 5 stars5/5TouchCode Class 6 Rating: 0 out of 5 stars0 ratingsPython. Easy Steps to Learning. Rating: 0 out of 5 stars0 ratingsPrinciples of Programming: Java Level 1 Rating: 0 out of 5 stars0 ratingsProblem Solving in C and Python: Programming Exercises and Solutions, Part 1 Rating: 5 out of 5 stars5/5Python for Absolute Beginners: Learn to Code Fast! Rating: 0 out of 5 stars0 ratingsPYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Grow with Python Programming: From Basics to Advanced Rating: 0 out of 5 stars0 ratingsPython Fundamentals Rating: 0 out of 5 stars0 ratings50 Python Concepts Every Developer Should Know Rating: 0 out of 5 stars0 ratingsPython for Data Science: Data Science Mastery by Nikhil Khan, #1 Rating: 0 out of 5 stars0 ratingsTouchCode Class 8 Rating: 0 out of 5 stars0 ratingsTouchpad Plus Ver. 4.0 Class 7 Rating: 0 out of 5 stars0 ratingsFundamental Concepts of MATLAB Programming: From Learning the Basics to Solving a Problem with MATLAB Rating: 0 out of 5 stars0 ratingsPython Programming Rating: 0 out of 5 stars0 ratingsTeach Yourself VISUALLY Python Rating: 0 out of 5 stars0 ratingsBeginning Programming All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsPython for Beginners: An Introduction to Learn Python Programming with Tutorials and Hands-On Examples Rating: 4 out of 5 stars4/5PYTHON FOR ACCOUNTING & BUSINESS: Volume 1 Rating: 0 out of 5 stars0 ratingsTouchCode Class 7: Coding Book Rating: 0 out of 5 stars0 ratingsC# and Algorithmic Thinking for the Complete Beginner: Unlock the Power of Programming with C# and Algorithmic Thinking Rating: 0 out of 5 stars0 ratingsPython programming for beginners: Python programming for beginners by Tanjimul Islam Tareq Rating: 0 out of 5 stars0 ratingsMaster Python Without Prior Experience Rating: 0 out of 5 stars0 ratingsLearn Rust Programming: Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem (English Edition) Rating: 0 out of 5 stars0 ratings#1 Book on Python Programming Rating: 0 out of 5 stars0 ratings
Computers For You
Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 4 out of 5 stars4/5Algorithms to Live By: The Computer Science of Human Decisions Rating: 4 out of 5 stars4/5ITIL Foundation Essentials ITIL 4 Edition - The ultimate revision guide Rating: 5 out of 5 stars5/5SDL Trados Studio – A Practical Guide Rating: 5 out of 5 stars5/5Build a WordPress Website From Scratch 2024: WordPress 2024 Rating: 0 out of 5 stars0 ratingsStorytelling with Data: Let's Practice! Rating: 4 out of 5 stars4/5ITIL® 4 Essentials: Your essential guide for the ITIL 4 Foundation exam and beyond Rating: 5 out of 5 stars5/5Get Into UX: A foolproof guide to getting your first user experience job Rating: 4 out of 5 stars4/5Mastering Ubuntu Server Rating: 5 out of 5 stars5/5Mastering Microsoft Excel 2016: How to Master Microsoft Excel 2016 in 30 days Rating: 5 out of 5 stars5/5Learn SAP MM in 24 Hours Rating: 0 out of 5 stars0 ratingsPython Projects for Everyone Rating: 0 out of 5 stars0 ratingsSQL Queries: 200+ Queries to Challenge you. Rating: 5 out of 5 stars5/5Still Room for Humans: Career Planning in an AI World Rating: 0 out of 5 stars0 ratingsArtificial Intelligence: The Complete Beginner’s Guide to the Future of A.I. Rating: 4 out of 5 stars4/5Microsoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsFrom Data to Decisions: A Practical Guide to Implementing Modern Decision Intelligence Rating: 0 out of 5 stars0 ratingsiCloud for Beginners: A Ridiculously Simple Guide to Online Storage Rating: 0 out of 5 stars0 ratingsLearning Articulate Storyline Rating: 0 out of 5 stars0 ratingsC# 10.0 All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsComputer Science I Essentials Rating: 5 out of 5 stars5/5Responsive Web Design with HTML5 and CSS3 - Second Edition Rating: 4 out of 5 stars4/5Introduction to Computer Fundamentals Rating: 4 out of 5 stars4/5
Reviews for TouchCode Class 8
0 ratings0 reviews
Book preview
TouchCode Class 8 - Team Orange
1
CONDITIONALS IN DETAILS
Introduction
In programming, the flow of the program is a very important aspect. If controlled correctly, a program can be made highly efficient. In this chapter, you are going to learn about the flow of program.
Types of Control Structures
Control structure is a coding construct that is used to decide the flow of a program based on the parameters given to it. Usually, a control structure accepts and analyses a variable to make a decision on which direction to proceed. So, the control structure is a basic decision-making process in computing.
The three basic types of control structures are:
Sequential: Statements in a program are executed sequentially or step-by-step in an order in which the instructions are written.
Selection/Conditional: It is used to test a condition in a program. It takes decision to execute one statement/operation over another statement/operation depending on the condition.
Iteration: It executes set of statements for a certain number of times till the given condition is true. Example: Loops
On the basis of the above three control structures, programming has derived many types of control statements to suit different needs.
Understanding IF-ELSE and ELSE-IF statements
Every day, you take many decisions depending on the situation. For example, if you are given a number and you need to check if the number is even or odd, you will check this by dividing the number with 2. If the remainder is 1, the number is odd and if the remainder is 0, then the number is even.
IF-ELSE Statement
The above mentioned logic can be applied through if-else statement. The if-else statement requires three things:
Evaluation statement: Condition or expression that is being checked.
Execution statement: Operations which will be performed if the condition appears to be true.
Else execution block: Operation which will be performed only if the evaluation statement is false.
Flowchart:
Explanation: To implement this in a program, you will use, number%2=0, i.e., we divide the number by 2 and if the remainder comes out to be 0, then the number is even, otherwise the number is odd.
ELSE-IF Statement
Suppose you need to compare two numbers a, b and check if a is greater than b or they are equal. To implement this, you need to check two conditions.
In python, the keyword elif, is used for checking another statement in case the previous statement is false.
Code:
a=23
b=23
if a>b:
print (a is greater than b
)
elif a==b:
print (a is equal to b
)
else:
print (a is less than b
)
Explanation: In this, you are comparing the values of two variables by using a comparison operator. In the first statement it checks if a is greater than b, if this condition is true then it print (a is greater than b
), and if the condition is false, then elif
block will execute and checks if a is equal to b, if it is true, then it prints (a is equal to b
) and if it is false then it print (a is less than b
).
Logical Operators
Logical operators are the fundamental blocks used to implement a decision-making capability in the code. When you need to make decision based on two or more checks, it is necessary to have a combination of logical operators.
Logical operators work like Boolean variables and return either TRUE or FALSE.
The three most important logical operators are: