Algorithms For Dummies



Download 7,18 Mb.
Pdf ko'rish
bet145/651
Sana15.07.2021
Hajmi7,18 Mb.
#120357
1   ...   141   142   143   144   145   146   147   148   ...   651
Bog'liq
Algorithms

 Getting Started

mathematical notation. The reason that this book uses a programming language 

is to turn those oddly shaped abstract symbols into something that most people 

can understand and use to solve real-world problems.

Before you can use Python to perform tasks with algorithms, you need at least a 

passing knowledge of how Python works. This chapter isn’t designed to make you 

a Python expert. However, it does provide you with enough information to make 

sense of the example code with the commentary provided. The various sections 

help you understand how Python performs tasks in a concrete manner. For exam-

ple, you need to know how Python works with various kinds of data in order to 

determine what the example code is doing with that data. You find the essentials 

of working with numeric, logical, string, and date data in the first three sections.

Imagine a cookbook, or any book for that matter, that provided steps for 

performing every task that the book tells you how to perform as one long narrative 

without any breaks. Trying to find a specific recipe (or other procedure) would 

become impossible and the book would be useless. In fact, no one would write 

such a book. The fourth section of the chapter discusses functions, which are akin 

to the individual recipes in a cookbook. You can combine functions to create an 

entire program, much as you would combine recipes to create an entire dinner.

The next four sections discuss various ways to manage data, which means read-

ing, writing, modifying, and erasing it as needed. You also need to know how to 

make decisions and what to do when you need to perform the same set of steps 

more than one time. Data is a resource, just as flour, sugar, and other ingredients 

are  resources  you  use  when  working  with  a  recipe.  The  different  kinds  of  data 

require  different  techniques  to  make  them  into  an  application  that  solves  the 

problem proposed by an algorithm. These sections tell you about the various ways 

to manipulate data and work with it to solve problems.


Download 7,18 Mb.

Do'stlaringiz bilan baham:
1   ...   141   142   143   144   145   146   147   148   ...   651




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish