SlideShare a Scribd company logo
Basics of Programming.pptx
Why you want to become a coder?
Why you want to become a coder?
Jobs we can expect.
Jobs we can expect.
Algorithms & Data Structure
• An algorithm is nothing but a mention of steps to solve a
problem. They are essentially a solution.
• Efficient algorithm and data structure makes your code
scalable.
• Why big companies like Google, Facebook, and Amazon hire
programmers who are exceptionally good at optimizing
Algorithms.
Flowcharts
Simple Example
Pseudocode
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Basics of Programming.pptx
Most used programming languages among
developers worldwide as of 2022
Source: https://www.statista.com
Basics of
Programming
Basics of Programming
• Irrespective of the programming language you choose to learn,
the basic concepts of programming are similar across
languages. Some of these concepts include:
• Variable Declaration
• Basic Syntax
• Data Type and Structures
• Flow Control Structures (Conditionals and loops)
• Functional Programming
• Object-Oriented Programming
• Debugging
• IDEs and Coding Environments
Variables
Variable Declaration
• Variables are containers for storing data values, a memory
location for a data type. Variables are created using a
declaration or keyword that varies across languages.
• Variable names are usually alphanumeric, that is, they contain
a-z and 0-9. They can also include special characters like
underscore or the dollar sign.
• Variables can hold values of any data type supported by the
programming language. This value may change during
program execution.
Syntax
Basic syntax
• Every programming language has its syntax, and you must learn the
fundamental syntax of the language you are learning.
• Syntax refers to the set of rules that define the structure of a
language.
• It is almost impossible to read or understand a programming language
without its syntax.
Example
let us declare a variable named greet and
assign the value “Hello World” to it:
C++
Java script
Java
Python
“Hello world” in different language.
Data Types
Data types
• Data types refer to the classification of data. The most common
data types include:
• String
• Boolean (true or false)
• Numbers, which includes integers (whole numbers from 1) and floating-
point numbers (decimal-base)
• Characters (includes single alphabets or numbers)
• Arrays (a collection of data, usually of the same data type)
Data Structure
Data Structure
• A Data Structure is a collection of data values.
• Data structures are important in computer programming for
organizing, managing, and storing data quickly and efficiently.
• Some common types of data structures include:
• Stacks
• Heaps
• Trees
• Linked lists
• Queues
• Arrays
• Tables
• Graphs
Stack
Heap
Tree
Linked List
Queues
Arrays
Tables
Graph
Flow of control
Flow control structures
• Flow Control Structures are the fundamental components of
computer programs. They are commands that allow a program
to “decide” to take one direction or another.
• Sequential
• Selection
• Iteration
Sequential
• The most basic control flow is sequential control flow. It
involves the execution of code statements one after the other. A
real-world example is following a cooking recipe.
Selection (conditionals)
• The basic premise of selection flow control is, the computer decides
what action to perform based on the result of a test or condition
equalling true or false.
Iteration (Loops).
• A loop is a programming structure that allows a statement or block of
code to be run repeatedly until a specified condition is no longer true
(will return Boolean, true or false). It is one of the most powerful and
fundamental programming concepts.
Programming approach
Functional programming
• Functions are containers that take in a set of inputs and return
an output. It is not required for a function to return a value. Pure
functions will always give the same result for the same set of
inputs.
• Functional Programming is a straightforward method of building
software that involves using pure functions. This method
eliminates the occurrence of data mutation or side effects.
Object-oriented programming
• Object-Oriented Programming (OOP)**is a programming
concept that revolves around ‘objects’ and ‘methods’.
• There are four principles of OOP:
• Inheritance
• Polymorphism
• Abstraction
• Encapsulation
Top Down/Bottom Up Approach
Debugging
Debugging
• Debugging is a crucial skill. It involves detecting and removing
existing and potential errors, defects, or ‘loopholes’ in one’s
code.
IDEs and Coding
Environments
Integrated Development
Environment(IDE)
• they are applications programmers use to write code and
organize text groups. It increases a programmer’s efficiency
and productivity, and has added features like code completion,
code compilation, debugging, syntax highlighting, etc.
• Some common examples of IDE’s are:
• Visual Studio code
• IntelliJ IDEA
• NetBeans
• Eclipse
Visual Studio code
Python,
Java,
C++,
JavaScript,
and more.
IntelliJ IDEA
Java and
other JVM
languages
like Kotlin,
Scala, and
Groovy
NeatBeans
Java,
HTML5,
PHP and
C++.
Eclipse
Eclipse is a free,
Java-based
development
platform known for
its plugins that
allow developers to
develop and test
code written in other
programming
languages
Any questions?

More Related Content

PPTX
Algorithm and Data Structures - Basic of IT Problem Solving
PDF
A Brief History of Programming Languages.pdf
PPT
Programming Fundamentals - Lecture 1.ppt
PPTX
Software fundamentals
PPT
Chapter 5( programming) answer
PPTX
Computer science principals in terms of Programming
PPT
Intro to DSAA.ppt
PPTX
a brief explanation on the topic of Imperative Programming Paradigm.pptx
Algorithm and Data Structures - Basic of IT Problem Solving
A Brief History of Programming Languages.pdf
Programming Fundamentals - Lecture 1.ppt
Software fundamentals
Chapter 5( programming) answer
Computer science principals in terms of Programming
Intro to DSAA.ppt
a brief explanation on the topic of Imperative Programming Paradigm.pptx

Similar to Basics of Programming.pptx (20)

PDF
(eTextbook PDF) for Starting Out with Java: From Control Structures through O...
PPTX
java programming for students UNIT 1.pptx
PPTX
Programming str_Language of Logic/c.pptx
PDF
65_96195_CC112_2014_1__1_1_week1.pdf
PDF
ProgFund_Lecture_5_Recap_and_Case_Study-1.pdf
PPTX
Full Basic Programming in c material ppt
PDF
1. Introduction to Programming concepts LICSTA.pdf
PPT
programming.ppt
PPTX
Introduction to c
PPTX
Lecture-1.pptx . this is about the computer program
PPT
Data Structures- Part1 overview and review
PPTX
Advanced Programming practices - UNIT 1 .pptx
PPTX
c & c++ logic building concepts practice.pptx
PPTX
Basic programming and data structure
PDF
lect 1-ds algo(final)_2.pdf
PPT
Learn Programming with Livecoding.tv http://goo.gl/tIgO1I
PPTX
General Programming Concept
DOC
C AND DATASTRUCTURES PREPARED BY M V B REDDY
PPT
Programming
PPTX
programming and languages (chapter 14)
(eTextbook PDF) for Starting Out with Java: From Control Structures through O...
java programming for students UNIT 1.pptx
Programming str_Language of Logic/c.pptx
65_96195_CC112_2014_1__1_1_week1.pdf
ProgFund_Lecture_5_Recap_and_Case_Study-1.pdf
Full Basic Programming in c material ppt
1. Introduction to Programming concepts LICSTA.pdf
programming.ppt
Introduction to c
Lecture-1.pptx . this is about the computer program
Data Structures- Part1 overview and review
Advanced Programming practices - UNIT 1 .pptx
c & c++ logic building concepts practice.pptx
Basic programming and data structure
lect 1-ds algo(final)_2.pdf
Learn Programming with Livecoding.tv http://goo.gl/tIgO1I
General Programming Concept
C AND DATASTRUCTURES PREPARED BY M V B REDDY
Programming
programming and languages (chapter 14)
Ad

Recently uploaded (20)

PPTX
additive manufacturing of ss316l using mig welding
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Current and future trends in Computer Vision.pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
Sustainable Sites - Green Building Construction
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT
introduction to datamining and warehousing
PDF
PPT on Performance Review to get promotions
PPTX
Construction Project Organization Group 2.pptx
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPT
Total quality management ppt for engineering students
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
additive manufacturing of ss316l using mig welding
Mechanical Engineering MATERIALS Selection
Internet of Things (IOT) - A guide to understanding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
III.4.1.2_The_Space_Environment.p pdffdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Current and future trends in Computer Vision.pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Sustainable Sites - Green Building Construction
Categorization of Factors Affecting Classification Algorithms Selection
R24 SURVEYING LAB MANUAL for civil enggi
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
introduction to datamining and warehousing
PPT on Performance Review to get promotions
Construction Project Organization Group 2.pptx
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Total quality management ppt for engineering students
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Ad

Basics of Programming.pptx

  • 2. Why you want to become a coder?
  • 3. Why you want to become a coder?
  • 4. Jobs we can expect.
  • 5. Jobs we can expect.
  • 6. Algorithms & Data Structure • An algorithm is nothing but a mention of steps to solve a problem. They are essentially a solution. • Efficient algorithm and data structure makes your code scalable. • Why big companies like Google, Facebook, and Amazon hire programmers who are exceptionally good at optimizing Algorithms.
  • 26. Most used programming languages among developers worldwide as of 2022 Source: https://www.statista.com
  • 28. Basics of Programming • Irrespective of the programming language you choose to learn, the basic concepts of programming are similar across languages. Some of these concepts include: • Variable Declaration • Basic Syntax • Data Type and Structures • Flow Control Structures (Conditionals and loops) • Functional Programming • Object-Oriented Programming • Debugging • IDEs and Coding Environments
  • 30. Variable Declaration • Variables are containers for storing data values, a memory location for a data type. Variables are created using a declaration or keyword that varies across languages. • Variable names are usually alphanumeric, that is, they contain a-z and 0-9. They can also include special characters like underscore or the dollar sign. • Variables can hold values of any data type supported by the programming language. This value may change during program execution.
  • 32. Basic syntax • Every programming language has its syntax, and you must learn the fundamental syntax of the language you are learning. • Syntax refers to the set of rules that define the structure of a language. • It is almost impossible to read or understand a programming language without its syntax.
  • 33. Example let us declare a variable named greet and assign the value “Hello World” to it:
  • 34. C++
  • 36. Java
  • 38. “Hello world” in different language.
  • 40. Data types • Data types refer to the classification of data. The most common data types include: • String • Boolean (true or false) • Numbers, which includes integers (whole numbers from 1) and floating- point numbers (decimal-base) • Characters (includes single alphabets or numbers) • Arrays (a collection of data, usually of the same data type)
  • 42. Data Structure • A Data Structure is a collection of data values. • Data structures are important in computer programming for organizing, managing, and storing data quickly and efficiently. • Some common types of data structures include: • Stacks • Heaps • Trees • Linked lists • Queues • Arrays • Tables • Graphs
  • 43. Stack
  • 44. Heap
  • 45. Tree
  • 50. Graph
  • 52. Flow control structures • Flow Control Structures are the fundamental components of computer programs. They are commands that allow a program to “decide” to take one direction or another. • Sequential • Selection • Iteration
  • 53. Sequential • The most basic control flow is sequential control flow. It involves the execution of code statements one after the other. A real-world example is following a cooking recipe.
  • 54. Selection (conditionals) • The basic premise of selection flow control is, the computer decides what action to perform based on the result of a test or condition equalling true or false.
  • 55. Iteration (Loops). • A loop is a programming structure that allows a statement or block of code to be run repeatedly until a specified condition is no longer true (will return Boolean, true or false). It is one of the most powerful and fundamental programming concepts.
  • 57. Functional programming • Functions are containers that take in a set of inputs and return an output. It is not required for a function to return a value. Pure functions will always give the same result for the same set of inputs. • Functional Programming is a straightforward method of building software that involves using pure functions. This method eliminates the occurrence of data mutation or side effects.
  • 58. Object-oriented programming • Object-Oriented Programming (OOP)**is a programming concept that revolves around ‘objects’ and ‘methods’. • There are four principles of OOP: • Inheritance • Polymorphism • Abstraction • Encapsulation
  • 59. Top Down/Bottom Up Approach
  • 61. Debugging • Debugging is a crucial skill. It involves detecting and removing existing and potential errors, defects, or ‘loopholes’ in one’s code.
  • 63. Integrated Development Environment(IDE) • they are applications programmers use to write code and organize text groups. It increases a programmer’s efficiency and productivity, and has added features like code completion, code compilation, debugging, syntax highlighting, etc. • Some common examples of IDE’s are: • Visual Studio code • IntelliJ IDEA • NetBeans • Eclipse
  • 65. IntelliJ IDEA Java and other JVM languages like Kotlin, Scala, and Groovy
  • 67. Eclipse Eclipse is a free, Java-based development platform known for its plugins that allow developers to develop and test code written in other programming languages