chapter one of python, Schemes and Mind Maps of Computer science

this chapter involves introduction of python

Typology: Schemes and Mind Maps

2022/2023

Uploaded on 06/16/2023

daud-shire
daud-shire 🇸🇴

1 / 18

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CHAPTER ONE
INTRODUCTION TO PYTHON
Eng. Mohamed Abdi Nor
master of computer science and Engineering
at Daffodil International University, Dhaka Bangladesh
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12

Partial preview of the text

Download chapter one of python and more Schemes and Mind Maps Computer science in PDF only on Docsity!

CHAPTER ONE INTRODUCTION TO PYTHON Eng. Mohamed Abdi Nor master of computer science and Engineering at Daffodil International University, Dhaka Bangladesh

Chapter Objectives

• LEARNING OUTCOMES

At the end of the chapter, you are expected to

  • (^) Define python programming
  • (^) Explain a Program
  • (^) Categorize Programming Languages
  • (^) Identify various domains where Python plays a significant role.
  • (^) Create and execute Python programs using IDE

Definition of python

• Python is a popular general-purpose

programming language that can be used

for a wide variety of applications.

• Python is an interpreted, high

level and general-purpose programming

language.

What Is a Program?

  • (^) The ability to code computer programs is an important part of literacy in today’s society.
  • (^) A program is a set of instructions a computer to do specific tasks.
  • (^) “Software” is term used to describe computer programs.
  • (^) Scripts, applications, programs and a set of instructions are all terms often used to describe software.
  • (^) The software can be categorized into three categories,
  • (^) 1. System software.
  • (^) 2. Programming software
  • (^) 3. Application software

What Is a Program?

WHERE PROGRAMS ARE USED?

  • (^) Supermarkets,
  • (^) Banks,
  • (^) Insurance Industries,
  • (^) Process Control,
  • (^) Hospitals, Offices,
  • (^) Government Institutions,
  • (^) Education,
    • (^) Research,
    • (^) Telecommunication,
    • (^) Transport Industry,
    • (^) Police, Defense,
    • (^) Multimedia Applications, Entertainment
    • (^) Systems,
    • (^) Library Services And Many More.

Programming

Languages

  • Computers cannot write programs on their

own as they don’t understand human

needs unless we communicate with the

computer through programming languages.

  • (^) A programming language is a computer

language engineered to communicate

instructions to a machine.

  • Programs are created through

programming languages to control the

behavior and output of a machine through

accurate algorithms, similar to the human

communication process.

Programming Languages

2. Machine Language

  • (^) The main advantage of machine language is that it can run and execute very fast as the code will be directly executed by a computer and the programs efficiently utilize memory. Some of the disadvantages of machine language are,
  • (^) Machine language is almost impossible for humans to use because it consists entirely of numbers.
  • (^) Machine language has no mathematical functions available.
  • (^) Memory locations are manipulated directly, requiring the programmer to keep track of every

Programming Languages

3. High-Level Language

  • (^) High-level language is more like human language and less like machine language.
  • (^) High level languages are written in a form that is close to our human language, enabling programmers to just focus on the problem being solved.
  • (^) High-level languages are platform independent which means that the programs written in a high-level language can be executed on different types of machines.
  • (^) A program written in the high-level language is called source program or source code and is any collection of human-readable computer instructions.

Programming Languages

  • (^) High-Level Language
  • (^) A programming paradigm is a style, or “way” of programming. Major programming paradigms (models) are,
  • (^) • Imperative
  • (^) • Logical
  • (^) • Functional
  • (^) • Object-Oriented
  • (^) Imperative programming is a paradigm of computer programming in which the program describes a sequence of steps that change the state of the computer as each one is executed in turn.
  • (^) Object-oriented is the term used to describe a programming approach based on objects and classes. The object-oriented paradigm allows us to organize software as a collection of objects that consist of both data and behavior. Eg. Python, C++, Java and C#.

Software Development

  • Software development is a process by which stand-alone or individual software is created using a specific programming language.
  • (^) It involves writing a series of interrelated programming code, which provides the functionality of the developed software.
  • Software development may also be called application development.

Eng.Mohamed Abdi Nor Software Development

  • (^) The purpose of the SDLC process is to provide help in producing a product that is cost effective and of high quality. Different stages of the Software Development Life Cycle are,
  • (^) Planning of Project. At this stage, the total number of resources required to implement this project is determined by estimating the cost and size of the software product. Analysis and Requirement Gathering. At this stage, the maximum amount of information is collected from the client about the kind of software product he desires

History of Python

Programming Language

• The history of the Python programming

language dates back to the late 1980s.

• Python was conceived in the late 1980s and

its implementation was started in December

1989 by Guido van Rossum in the

Netherlands as a programming language

capable of exception handling.