Skip to product information
Coding Enhancement Python
Coding Enhancement Python
Description
Book Introduction
A truly introductory book that teaches from the basics, step by step, in a spiral structure! The author, sensing a lack of suitable textbooks when teaching programming to high school students, wrote this book. It requires only a middle school-level background knowledge, and the book strictly adheres to the order in which the content is presented, making it accessible even to non-majors and those new to programming.
For example, we don't explain that print() is a function before learning functions, and we don't import modules before learning them.
Additionally, we have utilized various reference elements, such as 'Notes' to help readers who study alone easily understand the content and 'Q&A' ​​to resolve questions that may arise while studying.
Additionally, it breaks away from the traditional introductory format of following along, so that it can be used as a lecture material, and is explained in a systematic structure that goes from explanation → example → solution.



  • You can preview some of the book's contents.
    Preview

index
LEVEL 01 User with visible calculator 1
1.1 Let's start by learning the terminology 2
1.1.1 Programming vs. Coding 2
1.1.2 Computational Thinking 3
1.1.3 Programming Language 3
1.2 Why Python? 5
1.2.1 Wide range of applications 5
1.2.2 Popular 6
1.2.3 Easy to learn 6
1.2.4 Adopted in the high school information curriculum 6
1.3 Installation, Running, and Your First Program 7
1.3.1 Installation 7
1.3.2 Run 8
1.3.3 First Program 12

Commander 15 who makes LEVEL 02 happen
2.1 Program Structure 16
2.1.1 Why were computer programs needed? 16
2.1.2 How to Create a Program for Problem Solving? 16
2.1.3 Program and Function Structure 18
2.2 Screen Output 22
2.2.1 Why should you know? 22
2.2.2 How can we do this? 22
2.2.3 Exercise 27
2.3 Note 29
2.3.1 Why is it needed? 29
2.3.2 Usage and Examples 29
2.4 Variables, Assignment Operators, and Data Types 32
2.4.1 Variables: Why Are They Needed? 32
2.4.2 Variables: How Can They Be Used? 32
2.4.3 Various data types and operators 41
2.4.4 Type Conversion 50
2.5 Keyboard Input 52
2.5.1 Why is it needed? 52
2.5.2 How can it be applied? 52
2.5.3 Exercise 54
2.6 Conditional Statements 56
2.6.1 Why is it needed? 56
2.6.2 Types and Practice 56
2.7 Loop 70
2.7.1 Why is it needed? 70
2.7.2 How can I use it? 70
2.7.3 Exercise 76
2.8 Control Statements in Detail 80
2.8.1 Control Statements: Why Should We Understand Them Deeply? 80
2.8.2 How can I understand better? 80
2.8.3 Exercise 85
2.9 Function 90
2.9.1 Why is it needed? 90
2.9.2 How to Create and Use It? 93
2.9.3 User-Defined and Built-in Functions 106
2.10 Class 110
2.10.1 Why is it needed? 110
2.10.2 Usage and Practice 114
2.11 Module 126
2.11.1 Why is it needed? 126
2.11.2 How can I use it? 126
2.12 File Input/Output 135
2.12.1 Why is it needed? 135
2.12.2 Usage and Practice 135
2.13 Milk Commentary 145

LEVEL 03 Sophisticated Mediator 157
3.1 Computational Thinking and Algorithms 158
3.1.1 What is Computational Thinking? 158
3.1.2 Why is Computational Thinking Necessary? 166
3.2 Deepening Grammar Understanding 169
3.2.1 Multidimensional Figures and Nested Loops, Multidimensional Data Types and List Comprehension 169
3.2.2 Data Swap and Hidden Uses of Tuples 173
3.2.3 Deepening Understanding of Parameters 176
3.2.4 Immutable and Mutable Data Types 180
3.2.5 Naming and Areas 187
3.2.6 Recursive Functions 195
3.2.7 Better use of the print() function 201
3.2.8 Modules and Packages 205
3.3 Errors and Debugging 208
3.3.1 Types of Errors 208
3.3.2 Resolving Syntax Errors 208
3.3.3 Troubleshooting Runtime Errors 208
3.3.4 Bugs and Debugging 217
3.4 Milk Commentary 222

LEVEL 04 Player on the field 227
4.1 Before starting Level 4 in earnest, 228
4.2 Practice Problem 229
4.2.1 Before solving the problem 229
4.2.2 Type 1: Programming Fundamentals 231
4.2.3 Type 2: Programming Utilization 239
4.2.4 Type 3: Programming and Mathematics 247
4.3 Algorithm Efficiency Analysis and Design Paradigm 265
4.3.1 Comparison of Algorithm Efficiency 265
4.3.2 Overview of Sorting Algorithms 271
4.3.3 O(n2) sorting algorithm 271
4.3.4 Algorithm Design Paradigm 277
4.4 Milk Commentary 306

LEVEL 05 Traveler Finding the Way 323
5.1 Password Cracking: Feel Your Power 324
5.1.1 Before Entering 324
5.1.2 Reasons for Lying 325

Search 343
Reference code 347

Detailed image
Detailed Image 1

Into the book
“Everyone in this country should learn to program.
“Everybody in this country should learn how to program a computer, because it teaches you how to think.” These are the words of Steve Jobs, one of the co-founders and CEO of Apple.
That's a really cool statement, and it captures the essence of programming education.
However, it contains expressions that may raise some questions before learning programming.
It is the word 'how to think'.
Did Steve Jobs condemn everyone who didn't learn programming as unthinking? Of course not.
The 'way of thinking' that Jobs spoke of refers to computational thinking.
So what is computational thinking?
--- p.3

Since machines cannot understand human speech, it was necessary to establish rules.
This is the primitive form of machine language, a set of promises and rules made up of 0s and 1s.
Scholars created machines that worked according to these rules and gave them various commands in the form of a promised language.
That is, when a person transmits 'information to be processed' along with 'information processing procedures' to a machine, the machine returns a 'result' after calculation.
The 'information processing procedure' at this time is the root of the computer program.
--- p.16

A number that can change is called a variable.
However, in programming, variables are closer to data space than numbers.
This is because it is used as a place to store data by changing numbers according to convenience.
Variables satisfy the human need to conveniently store information.
It's human nature to record information for future reuse. We store documents on USB sticks or save photos to the web because we can't store everything in our heads.
In this way, humans want a medium that will remember information on their behalf, and variables can satisfy this desire.
--- p.32

There are many tasks that cause great stress to humans.
Among these, there are two tasks that programs can replace: judgment and repetition.
Humans have naturally tried to defer these two tasks to programs, and have succeeded.
Conditional statements and loops are the result.
These two together are called control statements.
First, let's learn about conditional statements.
Conditional statements allow programs to make decisions instead of humans.
By utilizing conditional statements according to a set structure, you can command different operations depending on whether the judgment result is True or False.
It's a kind of turning point.
--- p.56

Functions are not essential elements of program control.
This is because it simply groups together a bunch of control statements to make the code more concise.
But that doesn't mean functions aren't important.
Because when code is concise, programmers save time and mental energy to do other things.
To understand the importance of brevity, consider the following example.
--- p.90
GOODS SPECIFICS
- Date of publication: June 28, 2019
- Page count, weight, size: 368 pages | 188*245*18mm
- ISBN13: 9791188621569
- ISBN10: 1188621564

You may also like

카테고리