0% found this document useful (0 votes)
17 views

TFG - Basics of Coding Session 1 & 2

Uploaded by

FantasticMeer
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

TFG - Basics of Coding Session 1 & 2

Uploaded by

FantasticMeer
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 45

A TRIBES OF GOOD INITIATIVE

BASICS OF CODING

The CODING Expert


By Johanna, Meer and Devansh
Code your vision
Program your future
2 Truths, 1
Dream Game
Today we will be learning Coding !!
WHAT IS THIS ?
Who uses computers?
Why is a computer
important?
ACCESS TO INFORMATION
Computers and the internet provide pupils,
students, and educators with access to
virtually limitless amounts of information and
educational resources. These resources,
such as online libraries, digital textbooks, and
educational websites, also expand learning
opportunities.
Enhanced communication and
connectivity.

The advent of computer networks and


the internet has revolutionised
communication. Email, social media,
video conferencing, and instant
messaging have transformed how
people connect and collaborate with
others around the world.
Increased efficiency and Productivity

Computer Systems help people


perform complex tasks in a fast and
an easy way. They make many
processes automated which save time
and effort, which increases people’s
productivity.
Health, Education, and other fields

Nowadays, technology and computers


are also used in many fields, such as
medical, educational, etc. It can be
used to detect illnesses, analyse
organs, and perform scans.
SMARTICUS - Quiz

1) GIve examples of how a computer


can be used in your daily life.

2) List out some jobs/places where


computers can be used.

3) Do you think you would be able to


pursue your dream job without
computers ?
Learning Coding - Future Job Options/
Opportunities
SOFTWARE DEVELOPERS

Software developers (often called software


engineers) design, develop, test, and maintain
software applications or systems. A software
developer works extensively with code, including
using programming languages to create
instructions for computer programs, analyzing
code to troubleshoot problems, and writing code
to test the functionality of a program.
WEB DEVELOPERS
Web developers design and maintain websites,
constructing them to operate quickly and intuitively.
Developers work in tandem with clients and designers to
determine a site’s primary needs and goals, using this
information to create better interfaces and reflect user
demand. Generally, this process hinges on strong
programming skills — particularly in versatile,
development-oriented languages like JavaScript, HTML,
CSS, and Python.
COMPUTER ENGINEERS

Computer Engineers merge the field of Computer Science


and Electronic Engineering to develop Computer Hardware.
They research, design , develop, construct, and test the
functioning of computers, their components, and systems.
Examples of these components include processors, circuit
boards, microchips, memory devices, and many more.
DATA ENGINEER

Data Engineers build systems to enable the collection and


the usage of data, through which it can then be processed
and analysed. They convert raw data into usable information
that can be interpreted by data scientists and business
analysts. Basically, through database handling, they make
data available so that organizations can use it to optimize
their performance.
WHAT IS CODING?
A video
What is Coding? Explaining in Hindi - YouTube
TERMS:
1. ALGORITHM
2. SEQUENCE
3. LOOP
4. DECOMPOSITION
5. BRANCHING
6. DEBUG
1. ALGORITHM
An algorithm is a sequence of steps :
● to perform a task
● given an initial situation (i.e., the input)

Importance:
● An algorithm is used everywhere, we also use it in
our daily lives.
● They organize thought and action (computational
thinking)
● A computer program is an implemented algorithm
EXAMPLES OF ALGORITHM

The basic example of an algorithm is


“A RECIPE”

In a recipe to make tea, we first :


● Boil water,
● Add tea powder , ginger, etc.,
● Add milk and let it boil,
● Turn off the stove and strain the tea into cups.

So, we see here that while making tea in our


everyday lives,we follow a set of steps which
can be called “an algorithm.”
EXAMPLES OF ALGORITHM
Quiz/ Revise
1.Pronunciation: Algorithm
2.Can someone explain the concept of
Algorithm?
3.What example did we use?
2. SEQUENCE
A sequence is a series of actions that is
completed in a specific order. Action 1 is
performed, then Action 2, then Action 3, etc.,
until all of the actions in the sequence have
been carried out.
QUESTION

What is your morning routine?


EXAMPLES OF SEQUENCE
A sequence we do every day is a morning routine.
You might wake up, drink some water, take a shower,
eat breakfast, and so on. Everyone's routine is
different, but they're all made up of a sequence of
various actions.

Another example is wearing clothes.


You first wear your undergarments, wear your pant
and shirt, wear socks and so on.
Every event takes place after the other in a sequence.
Quiz/ Revise

1. Pronunciation: Sequence
2. Can someone explain the concept of Sequence?
3. What example did we use?
3. What is a LOOP?
● A loop is:
○ a programming structure that repeats a
sequence of instructions until a specific
condition is met.

● Programmers use loops to cycle through


values, add sums of numbers, repeat
functions, and many other things.

● The same task/question is repeated again


and again.
EXAMPLES OF LOOP

Doing an 9am-5pm job,is an example of loop in


everyday life. We do the same job everyday and
get paid at the end/starting of the month.

Another example is your morning routine while


going to school. You wake up, get ready, eat your
breakfast, catch the bus, go to school and follow
the school’s timetable. These activities repeat on
each weekday forming a loop.
Quiz/ Revise

1. Pronunciation: Loop
2. Can someone explain the concept of
Loop?
3. What example did we use?
THANK YOU
Session 2
4. DECOMPOSITION

Decomposition is the process of


breaking down complex problems
into smaller, more manageable
parts.
This process of breaking down
problems enables us to analyze
the different aspects of them,
ground our thinking, and guide
ourselves to a solution.
REAL LIFE EXAMPLE OF DECOMPOSITION

Hosting a party for friends/ wedding function:

- Who will arrange/take care of food


- Who welcomes guest
- What time it starts
- Who all are you inviting

So you break down a big complex problem into small


manageable parts
TECHNICAL EXAMPLE OF DECOMPOSITION

Addition calculation code:

4+3=7

- Code asks enter first


number
- Code asks enter second
number
- Code does addition
- Code displays result

(Remember input -
output?)
Quiz/ Revise
1.Pronunciation: Decomposition
2.Can someone explain the concept of
Decomposition?
3.What example did we use?
5. BRANCHING
Branching is a basic concept in computer
science. It means an instruction that tells a
computer to begin executing a different part of a
program rather than executing statements
one-by-one.
Common branching statements include break ,
continue , return, etc.
EXAMPLES OF BRANCHING
REAL LIFE EXAMPLE OF BRANCHING
This is branching - You have two different options

Candy Crush Game Ludo

If You win LEVEL 1 If You roll a 6


Go to LEVEL 2 Roll Again
Else Else
Play Again Play your piece
Quiz/ Revise

1. Pronunciation: Branching
2. Can someone explain the concept of Branching?
3. What example did we use?
TECHNICAL EXAMPLE OF BRANCHING

Number1 = 4
Number2 = 3

if addition:
4 + 3 = 7

if multiplication:
4 x 3 = 12
6. DEBUG
Debugging is the process of detecting
and removing of existing and potential
errors (also called as 'bugs') in a code
that can cause it to behave unexpectedly
or crash.

It is a multistep process in software


development. It involves identifying the
bug, finding the source of the bug and
correcting the problem to make the
program error-free.
EXAMPLES OF DEBUG

So far we only saw the basic concepts of coding.

Coding is like a language, just like English, Hindi,


Marathi. Coding is Computer’s language. So while
writing code we can make mistake. Debug is process of
rectifying those mistakes in code.

Just like our language, we make mistakes in grammar,


symbol (mathra) etc when young, how did you become
better now?

So you you keep learning and soon will become an


expert coder! Then you can do anything with computer!
THANK YOU

You might also like