SlideShare a Scribd company logo
Understanding Computer Programing
Program is a set of instruction that tells the computer
what to do.
 Programming is the process of creating a program.
 Algorithm- refers to the logical sequence of step or
procedures to solve a problem.
 Flow Chart is an algorithm represented in diagram with
various shape
Connected by arrows.
 Pseudocode is detailed description of an algorithm that is
displayed in an easy understanding language usually
Data Representaion
• refers to the form where data is stored, processed, and
transmitted
• ONE BYTE- 11010111= 8 bites
Bits and Bites
are small piesces of computerized data that communicates
commands to a computer’s CPU. A bit is either a 1 or a 0
and byte contains eight bits.
Number System
A. Decimal Number System
Decimal number system has base 10 as it uses 10 digit
from 0 to 9. In the decimal number system, the successive
position to the left of the decimal point represent units, ten,
hundred, thousand and so on.
ex. 1234---------------base 10
each position represent a specific power of the(10). For
example, the decimal number 1234 consists of the digit 4 in
the unit position, 3 in the tens position, 2 in the hundred
position, and 1 inthe thousand position. its value can be
written.
 Programming language of code is used for the computer
to understand a program.
 Control structure shows how instruction are performed.
3 basic control structure
1. Sequential structure
2. Conditional Structure(decision-making)
3. Iterative(looping) structure
B. Binary Numbers System
• Characteristic of binary number system are as follows:
1. It uses two digits, 0 and 1;
2. Its is also called base 2 number system
3. Each position in a binary number repsesents a 0 power
of the base (2)
4. The last position in a binary number represents x power
of the base (2).
example. 2x where x represents the last position-1.
c. Octal Number System
• Characteristics of octal number system are as follows.
1. uses 8 digits, 0,1,2,3,4,5,6,7
2. also called base number system
3. each position in an octal number represents a 0 power of
the base(8) and last position in an octal number represents
an x power of the base
Hexadecimal Number System
• 10 digits and 6 letters 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
• letters represents number starting from 10
A=10 B=11 F=15
>called the base 16 number system
each position in a hexadecimal number represents a 0
power of the base(16)
>last position in a hexadecimal number represents an X
power of the base(16)
Association for Computer Machinery’s Code of
Ethics and Professional Conduct.
PDLC-Provides general moral guidelines for programming.
6 steps of programming PDLC
1. Analyze the problem
2. Design the problem
3. Code the Program
4. Test and debug the Program
5. Formalize the solution
6. Maintain the Program
• A computer programming language is a set of commands that tell a computer
how to perform tasks. Programming languages include:
• Java: Used for enterprise-level applications
• Python: Used for data analysis and machine learning
• JavaScript: Used for web development
• C++: Used for system-level programming
• Ruby: Used for web development
• SQL: Used for specifying the organization of databases
• HTML: Used for front-end development
• CSS: Used for front-end development (Bjarne Stroustrup. 1985 )
• React: Used for front-end development
Importance
• Computer programmers use programming languages to
write, test, and maintain code. These essential tech
professionals are some of the best coders in the world
that create programs and software that millions of people
use every day.
History of Computer Programmers
• The origins of programming languages and computers
trace back to the early 19th century. Computing pioneers
like Charles Babbage and Ada Lovelace paved the way
for mid-20th-century developers such as John Von
Neumann, Grace Hopper, and John W. Backus
• Machine language, compiler languages, and source
codes preceded modern computer programming. The
computer programming profession grew alongside
emerging programming languages like C in 1972, C++ in
1983, and Python in 1991.
What Does a Computer Programmer Do?
• Computer programmers use programming languages to write, revise, test, and update
code. This code allows computers, software, and applications to carry out tasks.
• Because technology pervades diverse sectors, computer programmers also work across
industries. After the tech industry, finance, insurance, and manufacturing entities hire the
most computer programmers.
• Computer programmers often work alone, spending long hours in front of their screens.
These professionals also collaborate with software developers and engineers. Writing,
testing, and debugging code can take many attempts. Still, computer programmers
persevere, and many enjoy a good challenge.
• Find out more about key skills that influence success as a computer programmer below.
What is code?
• Code is the language that all computers "speak" and understand. When
computer programmers write code, they issue instructions to a computer
and tell it which actions to perform and in what order. They use different
programming languages to communicate with specific systems.
• Computer code is comprised of strings of typed letters, numbers and
figures which constitute a language, complete with spelling rules and
syntax. Someone who knows how to program or write code can pursue
a variety of career paths since code is used for a range of activities, from
building websites to flying airplanes. Anything that you can do that
involves a computer functions because of code.
Why is writing code important?
• Code is used for websites, cars, televisions, cellphones,
airplanes, gaming consoles and thousands of other
products. The need for skilled computer coders continues
to grow as more companies are producing "smart" or
computer-equipped merchandise. To keep up with the
demand for computerized items, manufacturers need
innovative and dedicated coders to write quality code for
new products. The ability to read and write is an incredibly
useful skill and can greatly increase your value as a team
member or employee.
Responsibilities
• Writing Code, Scripts, And Programs: Computer programmers use
programming and scripting languages like Java, Python, Ruby, and
JavaScript to write code. They apply program designs, use models, and
integrate algorithms to ensure software runs properly and efficiently.
• Check icon Testing Code, Scripts, And Programs: To test code, scripts,
and programs, computer programmers check for simple text, review code,
and run programs for functionality purposes. Testing also involves working
with fellow programmers to determine coding solutions.
• check icon Updating Applications: Updating and adding to programs
includes altering and building new code while making sure the changes
work properly.
• Check icon Analyzing Efficiency: Efficient code improves
collaboration and keeps memory issues from arising.
Along with functional code, computer programmers
ensure that their work is clean and effective.
• Check icon Collaborating: Computer programmers work
with developers and designers to determine the overall
goal, look, and function of a program. Collaboration
requires written and verbal communication in meetings
and brainstorming sessions throughout the development
process.
Computer Programmer
• Computer programmers spend much of their days behind
computers writing code, scripts, and programs. Their code
may apply to new software or existing applications.
Computer programmers make changes to code and
scripts, find solutions, and provide technical support.
Common computer programming languages include
Python, Java, and C+.
• Computer programmers are problem-solvers who create
and update programs for software developers and
engineers. They must remain dedicated to presenting
products that meet users' needs and goals.
Skills for Computer Programmers
• plus-circle icon Communication Skills: Computer programmers
must explain complex technical concepts to their colleagues
and to people without technical backgrounds.
• plus-circle icon Multitasking: Computer programmers often
work on many tasks at once or on parts of a larger project.
Programmers must organize their priorities, solve problems as
they arise, and carry out several duties at once.
• plus-circle icon Organizational Skills: Organizational skills
include the ability to focus, budget mental and physical
energy, and manage time effectively.
• plus-circle icon Attention to Detail: Coding errors can
cause projects to run over schedule and budget. A detail-
oriented attitude helps programmers catch mistakes and
write efficient, usable code.
• plus-circle icon Programming Languages: Programmers
need to excel in at least one programming language like
Python, Java, or C++. Ideally, computer programmers
should know multiple languages and understand how and
when to use each one.
• plus-circle icon Software Development: Because
computer programmers take part in software
development, they need to know the development
process. Software development involves identifying,
designing, and implementing software requirements.
From there, computer programmers verify and maintain
software.
• plus-circle icon Data Structures and Algorithms: Data
structures are formats for organizing, processing,
retrieving, and storing data for efficient access. Algorithms
are collections of steps to solve specific problems.
Computer programmers use algorithms to search,
organize, and retrieve data in data structures.
• plus-circle icon Databases: Computer programmers use
programming languages to coordinate, maintain, and
update information in databases like Oracle and MySQL.
They may write, test, and implement code for new
databases.
• Creating simple Python applications can be a great way
for beginners to learn programming concepts and build
their confidence in coding. Below, I will guide you through
the creation of three simple Python applications, including
a command-line calculator, a basic to-do list, and a
number guessing game. Each app will include a clear
explanation of the code and concepts involved.
Distinguishing Keywords from identifiers
• keywords
are reserved words in Python.They are use to define the
syntax and structure.
1. Command-Line Calculator
Overview
• This calculator can perform basic arithmetic operations like
addition, subtraction, multiplication, and division.
Code
• def add(x, y): def multiply(x, y):
• return x * y
• def divide(x, y):
if y == 0:
return "Error! Division by zero."
return x / y
• def calculator():
• def subtract(x, y):
• return x - y
• calculator()
Getting started with the python
• Python is an interpreted, object- oriented, high level
programing language
Guido van Rossum - published the first version of Python
code(1991)
1994-python 1.0 was released
2000- python 2.0 was introduced and flourished for another
8 years in the 2.x series.
Python 3.0 removed duplicate programming construction
and modules.
Fist Step in decoding
In (1): “HELLO DATA SCIENCE”
Out (1): ‘HELLO DATA SCIENCE’
=print is a function. The task of this function is to output the
codes as a formal. Its usage is as you can see in the code
screen below.
Now lets better understand the difference b/w formal output
and information output.
You can see the codes used and anused with the print
function on the screen.
In[3] print(“HELLO DATA SCIENCE”)
“HELLO WORLD”
“HELLO MACHINE LEARNING”
print (“HELLO FRIENDS”)
What do you think the output will be.
PYTHON will output only formal expression.
In other words, we will output the lines of code written
using the print function .
Th output will be like this.
HELLO DATA SCIENCE
HELLO FRIENDS
• We use

More Related Content

Similar to Computer Programing G10.pptx It refers to the Introduction of Programing (20)

PPTX
lecture Slides - Week 1.programming fundamentals
fazayn927
 
PDF
notes on Programming fundamentals
ArghodeepPaul
 
PPTX
Introduction to Coding
St. Petersburg College
 
PPT
Chapter 1- C++ programming languages +.ppt
anawaarabdujabbaar
 
PPTX
Cw1
ahmadk1997
 
PPTX
Power Point Introduction To Programming 1
FabianDaffa3
 
PDF
Fundamentals of programming with C++
Seble Nigussie
 
PPTX
Introduction to computer programming
Sangheethaa Sukumaran
 
PPT
computer programming introduction ppt.ppt
AlazarAlemayehu2
 
PDF
Programmer.pdf
dar i arqam
 
PPTX
Computer programming
Sujay Raj
 
PPT
introduction to computer programming CPPL1.ppt
biniyamtiktok
 
PPT
Ahmadalsawad
ahmadalsawad
 
PPTX
01 Programming Fundamentals.pptx
JustineLincopinesAlm
 
PPTX
Lecture-1.pptx . this is about the computer program
MuhammadUsmanYaseen2
 
PPTX
PowerPoint Presentation about Programming 101 for Girls
Imelda Reyes
 
PPTX
Computer Programming Computer Programming Computer Programming
RiaMariaDjumhana
 
PDF
La5 ict-topic-5-programming
Kak Yong
 
PPTX
LectureSlides_1Fundamhehehehehheentals.pptx
asharma37be24
 
PPTX
COMPUTER PROGRAMMING 10 WEEK 1.pptx
NealFarias
 
lecture Slides - Week 1.programming fundamentals
fazayn927
 
notes on Programming fundamentals
ArghodeepPaul
 
Introduction to Coding
St. Petersburg College
 
Chapter 1- C++ programming languages +.ppt
anawaarabdujabbaar
 
Power Point Introduction To Programming 1
FabianDaffa3
 
Fundamentals of programming with C++
Seble Nigussie
 
Introduction to computer programming
Sangheethaa Sukumaran
 
computer programming introduction ppt.ppt
AlazarAlemayehu2
 
Programmer.pdf
dar i arqam
 
Computer programming
Sujay Raj
 
introduction to computer programming CPPL1.ppt
biniyamtiktok
 
Ahmadalsawad
ahmadalsawad
 
01 Programming Fundamentals.pptx
JustineLincopinesAlm
 
Lecture-1.pptx . this is about the computer program
MuhammadUsmanYaseen2
 
PowerPoint Presentation about Programming 101 for Girls
Imelda Reyes
 
Computer Programming Computer Programming Computer Programming
RiaMariaDjumhana
 
La5 ict-topic-5-programming
Kak Yong
 
LectureSlides_1Fundamhehehehehheentals.pptx
asharma37be24
 
COMPUTER PROGRAMMING 10 WEEK 1.pptx
NealFarias
 

More from RSLCelea (7)

PPTX
Artificial Intelligence in Cybersecurity -WPS Office.pptx
RSLCelea
 
PPTX
OPPORTUNITY SEEKING, SCREENING, and SEIZING.pptx
RSLCelea
 
PPTX
Inclusion Education report [Autosaved].pptx
RSLCelea
 
PPTX
T.L.EICT subject for Grade 9 and 10.pptx
RSLCelea
 
PPTX
grade 9Food-Technology-INNOVATIONS (1).pptx
RSLCelea
 
PPTX
raquel ICT discussion [Autosaved] Grade 7.pptx
RSLCelea
 
PPTX
Introduction to Contemporary Art in the Regions and.pptx
RSLCelea
 
Artificial Intelligence in Cybersecurity -WPS Office.pptx
RSLCelea
 
OPPORTUNITY SEEKING, SCREENING, and SEIZING.pptx
RSLCelea
 
Inclusion Education report [Autosaved].pptx
RSLCelea
 
T.L.EICT subject for Grade 9 and 10.pptx
RSLCelea
 
grade 9Food-Technology-INNOVATIONS (1).pptx
RSLCelea
 
raquel ICT discussion [Autosaved] Grade 7.pptx
RSLCelea
 
Introduction to Contemporary Art in the Regions and.pptx
RSLCelea
 
Ad

Recently uploaded (20)

PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Ad

Computer Programing G10.pptx It refers to the Introduction of Programing

  • 2. Program is a set of instruction that tells the computer what to do.  Programming is the process of creating a program.  Algorithm- refers to the logical sequence of step or procedures to solve a problem.  Flow Chart is an algorithm represented in diagram with various shape Connected by arrows.  Pseudocode is detailed description of an algorithm that is displayed in an easy understanding language usually
  • 3. Data Representaion • refers to the form where data is stored, processed, and transmitted • ONE BYTE- 11010111= 8 bites Bits and Bites are small piesces of computerized data that communicates commands to a computer’s CPU. A bit is either a 1 or a 0 and byte contains eight bits.
  • 4. Number System A. Decimal Number System Decimal number system has base 10 as it uses 10 digit from 0 to 9. In the decimal number system, the successive position to the left of the decimal point represent units, ten, hundred, thousand and so on. ex. 1234---------------base 10 each position represent a specific power of the(10). For example, the decimal number 1234 consists of the digit 4 in the unit position, 3 in the tens position, 2 in the hundred position, and 1 inthe thousand position. its value can be written.
  • 5.  Programming language of code is used for the computer to understand a program.  Control structure shows how instruction are performed. 3 basic control structure 1. Sequential structure 2. Conditional Structure(decision-making) 3. Iterative(looping) structure
  • 6. B. Binary Numbers System • Characteristic of binary number system are as follows: 1. It uses two digits, 0 and 1; 2. Its is also called base 2 number system 3. Each position in a binary number repsesents a 0 power of the base (2) 4. The last position in a binary number represents x power of the base (2). example. 2x where x represents the last position-1.
  • 7. c. Octal Number System • Characteristics of octal number system are as follows. 1. uses 8 digits, 0,1,2,3,4,5,6,7 2. also called base number system 3. each position in an octal number represents a 0 power of the base(8) and last position in an octal number represents an x power of the base
  • 8. Hexadecimal Number System • 10 digits and 6 letters 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F • letters represents number starting from 10 A=10 B=11 F=15 >called the base 16 number system each position in a hexadecimal number represents a 0 power of the base(16) >last position in a hexadecimal number represents an X power of the base(16)
  • 9. Association for Computer Machinery’s Code of Ethics and Professional Conduct. PDLC-Provides general moral guidelines for programming. 6 steps of programming PDLC 1. Analyze the problem 2. Design the problem 3. Code the Program 4. Test and debug the Program 5. Formalize the solution 6. Maintain the Program
  • 10. • A computer programming language is a set of commands that tell a computer how to perform tasks. Programming languages include: • Java: Used for enterprise-level applications • Python: Used for data analysis and machine learning • JavaScript: Used for web development • C++: Used for system-level programming • Ruby: Used for web development • SQL: Used for specifying the organization of databases • HTML: Used for front-end development • CSS: Used for front-end development (Bjarne Stroustrup. 1985 ) • React: Used for front-end development
  • 11. Importance • Computer programmers use programming languages to write, test, and maintain code. These essential tech professionals are some of the best coders in the world that create programs and software that millions of people use every day.
  • 12. History of Computer Programmers • The origins of programming languages and computers trace back to the early 19th century. Computing pioneers like Charles Babbage and Ada Lovelace paved the way for mid-20th-century developers such as John Von Neumann, Grace Hopper, and John W. Backus • Machine language, compiler languages, and source codes preceded modern computer programming. The computer programming profession grew alongside emerging programming languages like C in 1972, C++ in 1983, and Python in 1991.
  • 13. What Does a Computer Programmer Do? • Computer programmers use programming languages to write, revise, test, and update code. This code allows computers, software, and applications to carry out tasks. • Because technology pervades diverse sectors, computer programmers also work across industries. After the tech industry, finance, insurance, and manufacturing entities hire the most computer programmers. • Computer programmers often work alone, spending long hours in front of their screens. These professionals also collaborate with software developers and engineers. Writing, testing, and debugging code can take many attempts. Still, computer programmers persevere, and many enjoy a good challenge. • Find out more about key skills that influence success as a computer programmer below.
  • 14. What is code? • Code is the language that all computers "speak" and understand. When computer programmers write code, they issue instructions to a computer and tell it which actions to perform and in what order. They use different programming languages to communicate with specific systems. • Computer code is comprised of strings of typed letters, numbers and figures which constitute a language, complete with spelling rules and syntax. Someone who knows how to program or write code can pursue a variety of career paths since code is used for a range of activities, from building websites to flying airplanes. Anything that you can do that involves a computer functions because of code.
  • 15. Why is writing code important? • Code is used for websites, cars, televisions, cellphones, airplanes, gaming consoles and thousands of other products. The need for skilled computer coders continues to grow as more companies are producing "smart" or computer-equipped merchandise. To keep up with the demand for computerized items, manufacturers need innovative and dedicated coders to write quality code for new products. The ability to read and write is an incredibly useful skill and can greatly increase your value as a team member or employee.
  • 16. Responsibilities • Writing Code, Scripts, And Programs: Computer programmers use programming and scripting languages like Java, Python, Ruby, and JavaScript to write code. They apply program designs, use models, and integrate algorithms to ensure software runs properly and efficiently. • Check icon Testing Code, Scripts, And Programs: To test code, scripts, and programs, computer programmers check for simple text, review code, and run programs for functionality purposes. Testing also involves working with fellow programmers to determine coding solutions. • check icon Updating Applications: Updating and adding to programs includes altering and building new code while making sure the changes work properly.
  • 17. • Check icon Analyzing Efficiency: Efficient code improves collaboration and keeps memory issues from arising. Along with functional code, computer programmers ensure that their work is clean and effective. • Check icon Collaborating: Computer programmers work with developers and designers to determine the overall goal, look, and function of a program. Collaboration requires written and verbal communication in meetings and brainstorming sessions throughout the development process.
  • 18. Computer Programmer • Computer programmers spend much of their days behind computers writing code, scripts, and programs. Their code may apply to new software or existing applications. Computer programmers make changes to code and scripts, find solutions, and provide technical support. Common computer programming languages include Python, Java, and C+.
  • 19. • Computer programmers are problem-solvers who create and update programs for software developers and engineers. They must remain dedicated to presenting products that meet users' needs and goals.
  • 20. Skills for Computer Programmers • plus-circle icon Communication Skills: Computer programmers must explain complex technical concepts to their colleagues and to people without technical backgrounds. • plus-circle icon Multitasking: Computer programmers often work on many tasks at once or on parts of a larger project. Programmers must organize their priorities, solve problems as they arise, and carry out several duties at once. • plus-circle icon Organizational Skills: Organizational skills include the ability to focus, budget mental and physical energy, and manage time effectively.
  • 21. • plus-circle icon Attention to Detail: Coding errors can cause projects to run over schedule and budget. A detail- oriented attitude helps programmers catch mistakes and write efficient, usable code.
  • 22. • plus-circle icon Programming Languages: Programmers need to excel in at least one programming language like Python, Java, or C++. Ideally, computer programmers should know multiple languages and understand how and when to use each one. • plus-circle icon Software Development: Because computer programmers take part in software development, they need to know the development process. Software development involves identifying, designing, and implementing software requirements. From there, computer programmers verify and maintain software.
  • 23. • plus-circle icon Data Structures and Algorithms: Data structures are formats for organizing, processing, retrieving, and storing data for efficient access. Algorithms are collections of steps to solve specific problems. Computer programmers use algorithms to search, organize, and retrieve data in data structures. • plus-circle icon Databases: Computer programmers use programming languages to coordinate, maintain, and update information in databases like Oracle and MySQL. They may write, test, and implement code for new databases.
  • 24. • Creating simple Python applications can be a great way for beginners to learn programming concepts and build their confidence in coding. Below, I will guide you through the creation of three simple Python applications, including a command-line calculator, a basic to-do list, and a number guessing game. Each app will include a clear explanation of the code and concepts involved.
  • 25. Distinguishing Keywords from identifiers • keywords are reserved words in Python.They are use to define the syntax and structure.
  • 26. 1. Command-Line Calculator Overview • This calculator can perform basic arithmetic operations like addition, subtraction, multiplication, and division. Code • def add(x, y): def multiply(x, y): • return x * y • def divide(x, y): if y == 0: return "Error! Division by zero." return x / y
  • 27. • def calculator(): • def subtract(x, y): • return x - y • calculator()
  • 28. Getting started with the python • Python is an interpreted, object- oriented, high level programing language Guido van Rossum - published the first version of Python code(1991) 1994-python 1.0 was released 2000- python 2.0 was introduced and flourished for another 8 years in the 2.x series. Python 3.0 removed duplicate programming construction and modules.
  • 29. Fist Step in decoding In (1): “HELLO DATA SCIENCE” Out (1): ‘HELLO DATA SCIENCE’ =print is a function. The task of this function is to output the codes as a formal. Its usage is as you can see in the code screen below. Now lets better understand the difference b/w formal output and information output. You can see the codes used and anused with the print function on the screen.
  • 30. In[3] print(“HELLO DATA SCIENCE”) “HELLO WORLD” “HELLO MACHINE LEARNING” print (“HELLO FRIENDS”) What do you think the output will be. PYTHON will output only formal expression. In other words, we will output the lines of code written using the print function . Th output will be like this. HELLO DATA SCIENCE HELLO FRIENDS

Editor's Notes

  • #18: Many computer programmers are self-employed. Others work in office settings at computer systems design companies, financial and insurance institutions, manufacturing businesses, and software publishing firms. Computer programmers may work remotely or participate in face-to-face activities but generally spend 40 hours a week on the job
  • #19: Computer programmers work closely with software and application designers, developers, and engineers. They meet with colleagues throughout a typical workday and may present their work to stakeholders to demonstrate progress.