Page 8 - Touchcode_C7_Flipbook
P. 8
CONTENTS
CHAPTER 1 VARIABLES IN REAL LIFE 7
Introduction What is Variable Initialization?
Coding Task 01: To Create and Initialize a Variable Data Types in Programming
How do we Validate User Input in Programming? Math Operations in Programming
Coding in Minecraft 17
CHAPTER 2 SEQUENCING WITH BLOCK CODING 18
Introduction Recap of Loops
What is Sequencing? Examples of Sequence, Selection and Iteration
What is a Bug? Coding Task 01: To Create a Rectangle
Types of Loops Nested Loop
Apply Loops and Conditionals with Sequencing Is There a Better Way to Apply Sequencing?
Coding Task 02: To Create a Square Coding Task 03: Distributing Birthday Sweets
Coding in Minecraft 34
Test Sheet 1 35
CHAPTER 3 FUN WITH FUNCTIONS 37
Introduction What Exactly are Functions?
Coding Task 01: Calling a Function which has Coding Task 02: Calling a Function with a Single
no Parameters Parameter
Coding Task 03: Calling a Function to Print How to Reduce Redundancy Using Functions?
Statements
Advantages of Using Functions What are Different Function Parameters?
Coding Task 04: To Display a Cube of Numbers Coding Task 05: Sorting: Arranging the Books
Coding Task 06: To calculate the Area of a Circle Can Function Return a Value?
Coding Task 07: Reurn Values from Functions What is an Event?
Coding in Minecraft 58
CHAPTER 4 UNDERSTANDING ARRAYS & COLLECTIONS 60
Introduction What are Collections?
Coding Task 01: Is 36 a Perfect Square? What are Arrays?
Coding Task 02: To Create an Array and Calculate Coding Task 03: To Print the First Element of
Its Length the Array
Coding Task 04: To Calculate the Sum of the How can we Iterate Over Collections?
Elements in an Array Modifying Collections
Coding in Minecraft 73
CHAPTER 5 HELLO WORLD WITH CODE 75
Introduction What is a Programming Language?
Sorting the List—Selection Sort Coding Task 01: Selection Sort Algorithm
Getting used to Syntax Variables and Data Types
Coding Task 02: To Create a Calculator
Coding in Minecraft 85
Test Sheet 2 86
Project 88
Gamification 89
More on Python 90
Coding Buzz Words 95
Coding Ethics 96

