Page 8 - Touchcode_C8_Flipbook
P. 8
CONTENTS
CHAPTER 1 CONDITIONALS IN DETAILS 7
Introduction Types of Control Structures
Understanding IF-ELSE and ELSE-IF Statements Logical Operators
Relational Operators Coding Task 01: To Create a Triangle
Precedence of Logical Operators Coding Task 02: To Create a Program in
MakeCode to Check if a Number is Even or Odd
Coding in Minecraft 20
CHAPTER 2 GET CREATIVE WITH LOOPS 21
Introduction What are Loops?
Different Types of Loops Nested Loop
Exit Criteria Coding Task 01: Divisibility of a Number by 7 or 9
Coding Task 02: To Check Two Numbers and or by Both 7 and 9
Display a Message Saying if One is Greater than
the Other, or They are Same
Coding in Minecraft 34
Test Sheet 1 36
CHAPTER 3 FUNCTIONS IN DEPTH 38
Introduction Functions at a Glance
Function Parameters Coding Task 01: Calculating Volume of Cuboid
Returning Value from a Function
Coding in Minecraft 50
CHAPTER 4 PROGRAMMING WITH ARRAYS 52
Introduction What are Arrays?
Playing with Colors Sorting an Array
Searching in an Array Using Python to Arrange an Array in Ascending
Coding Task 01: To Implement the Bubble Sort Order using Bubble Sort in MakeCode
in MakeCode Arcade
Coding in Minecraft 66
CHAPTER 5 ADVANCED SEQUENCING 69
Introduction What is a Sequence?
What is a Bug? Sequencing with Loops and Conditions
Coding Task 01: To Print Number Divisible by 3 from 1 to 100
Coding in Minecraft 83
Test Sheet 2 86
Project 88
Gamification 89
Python—Conditionals and Loops 90
Coding Buzz Words 95
Coding Ethics 96

