SlideShare a Scribd company logo
1 of 68
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
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

Similar to Basics of Programming.pptx

java tutorial for beginners learning.ppt
java tutorial for beginners learning.pptjava tutorial for beginners learning.ppt
java tutorial for beginners learning.ppt
usha852
 
Chapter-introduction about java programming
Chapter-introduction about java programmingChapter-introduction about java programming
Chapter-introduction about java programming
DrRajeshkumarPPatel
 

Similar to Basics of Programming.pptx (20)

C++ programming Assignment Help
C++ programming Assignment HelpC++ programming Assignment Help
C++ programming Assignment Help
 
05 Lecture - PARALLEL Programming in C ++.pdf
05 Lecture - PARALLEL Programming in C ++.pdf05 Lecture - PARALLEL Programming in C ++.pdf
05 Lecture - PARALLEL Programming in C ++.pdf
 
computer-science_engineering_principles-of-programming-languages_introduction...
computer-science_engineering_principles-of-programming-languages_introduction...computer-science_engineering_principles-of-programming-languages_introduction...
computer-science_engineering_principles-of-programming-languages_introduction...
 
Part 1
Part 1Part 1
Part 1
 
SE-IT JAVA LAB OOP CONCEPT
SE-IT JAVA LAB OOP CONCEPTSE-IT JAVA LAB OOP CONCEPT
SE-IT JAVA LAB OOP CONCEPT
 
Software Design
Software DesignSoftware Design
Software Design
 
MWLUG 2015 - An Introduction to MVC
MWLUG 2015 - An Introduction to MVCMWLUG 2015 - An Introduction to MVC
MWLUG 2015 - An Introduction to MVC
 
8. Software Development Security
8. Software Development Security8. Software Development Security
8. Software Development Security
 
java tutorial for beginners learning.ppt
java tutorial for beginners learning.pptjava tutorial for beginners learning.ppt
java tutorial for beginners learning.ppt
 
8. Software Development Security
8. Software Development Security8. Software Development Security
8. Software Development Security
 
An Introduction To Model  View  Controller In XPages
An Introduction To Model  View  Controller In XPagesAn Introduction To Model  View  Controller In XPages
An Introduction To Model  View  Controller In XPages
 
CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)
 
CISSP Prep: Ch 9. Software Development Security
CISSP Prep: Ch 9. Software Development SecurityCISSP Prep: Ch 9. Software Development Security
CISSP Prep: Ch 9. Software Development Security
 
Basic Fundamentals Concept of Programming.pptx
Basic Fundamentals Concept of Programming.pptxBasic Fundamentals Concept of Programming.pptx
Basic Fundamentals Concept of Programming.pptx
 
Chapter-introduction about java programming
Chapter-introduction about java programmingChapter-introduction about java programming
Chapter-introduction about java programming
 
Programming language paradigms
Programming language paradigmsProgramming language paradigms
Programming language paradigms
 
Java training in bangalore
Java training in bangaloreJava training in bangalore
Java training in bangalore
 
2R-3KS03-OOP_UNIT-I (Part-A)_2023-24.pptx
2R-3KS03-OOP_UNIT-I (Part-A)_2023-24.pptx2R-3KS03-OOP_UNIT-I (Part-A)_2023-24.pptx
2R-3KS03-OOP_UNIT-I (Part-A)_2023-24.pptx
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Java introduction
Java introductionJava introduction
Java introduction
 

Recently uploaded

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 

Recently uploaded (20)

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 

Basics of Programming.pptx

  • 1.
  • 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.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 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