What is computer programming for?Computer programming was the process of letting a computer solve a certain problem on behalf of a certain computing system. The computing system would operate according to the calculation method and finally obtain the corresponding result. It was the process of communication between humans and the computing system. Humans would tell the computer the ideas, methods, and means to solve the problem in a form that the computer could understand, and let the computer work step by step according to the instructions to complete specific tasks. Through programming, developers could create software, websites, applications, and even control hardware devices.
" When a programmer meets a psychologist " is equally exciting. Everyone is welcome to click to read it!
Computer programming software for schoolsIn school, C was often used as an entry-level programming language, and related programming software, such as Microsoft-based Visual Studio, could be used to program in C. In addition, the PC version of the Code Cat (v3.5.1, the latest official version, 54.66mb) could also be used as a programming learning software. There was also the Independent Group Computer Program Assistant (6.9mb, green version), which could also be used for programming learning. If it was to learn how to program a PC, the GX Developer of Mitsui could be used to program the FX-series (such as FX3S, etc.), the GX-Works 2 could be used to program the Q-series and L-series, the GX-Works 3 could be used to program the iQ-R/iQ-L/iQ-F series, the SIEMENS 'step7- microWIN SMART could be used to program the S7 - 200 smart, and the TIA Potu software (such as V15, V16, V17, etc.) could also be used for related programming. For Python programming, there were tools such as the VS editor, Visual Studio Code (v1.72.1 Chinese Free Version, 47.53MB), which could be used for programming learning. However, different schools might choose different programming software according to their curriculum and teaching needs.
"A Short History of the Future: Legends of the Intelligent Era" was equally exciting. Everyone was welcome to click and read it!
single-chip computer programming tutorialThe following is a basic tutorial written on a single-chip computer:
##1. Initial preparations
1. ** Choose the model of the single-chip computer and the development board **
- According to your learning goals and interests, you can choose models suitable for beginners such as the 51 single-chip processor and STM32. Buy a development board that contains the model of the selected single-chip computer, and prepare the necessary accessories, such as USB to serial port module, LED lights, buzzers, etc.
2. ** Installs the Integrated Development environment **
- For example, 51 MCUs may use Keil, and STM32 may use STM32 CubeID.
3. ** Driver configuration **
- According to the requirements of the development board, the necessary drivers were installed. For example, the development board that uses ST-Link requires the ST-Link driver to be installed. The specific operation may include inserting the driver into the computer, opening the computer device manager to check if the installation was successful, and so on.
##2. Learning to program
1. ** Basic programming **
- Learn how to write and compile a single-chip computer program using the IDE. This included understanding programming languages. Single-chip processors usually used C or assembly language for programming. Beginners were advised to start with C. Familiarize yourself with the operation interface of the IDE, such as how to create a project, how to add source files, etc.
2. ** Simple experimental programming **
- He started writing programs from simple experiments, such as lighting up LED lights, controlling the sound of the buzz, and so on. These simple experiments helped to understand the basic operation of the single-chip computer. To light up the LED lights as an example, you need to understand the settings of the general input and output port (CPU) of the single-chip computer. You need to control the level state of the pins through programming to achieve the lighting or extinguishing of the LED.
- When writing code, you must follow the programming specifications and grammar requirements of the selected single-chip computer. For example, in the C language, one had to correctly define variable types, functions, etc.
3. ** Advanced experimental programming **
- As his understanding of the single-chip computer deepened, he tried more complicated experimental programming, such as using ADC (Analogy to Digital Conversion) modules to read the simulated signal, using Pulse width Modulation (Pulse width Modulation) to control the motor speed, and so on. This required a deeper understanding of the other functional modules of the single-chip computer, such as the programming application of timers, interrupt systems, etc.
##3. Search for Tuors and Resources
1. ** Online tutorial **
- Find online tutorial and videos about MCUs on platforms such as Bilibili and CSPD blog. These courses and videos might include basic to advanced programming knowledge, real-life case studies, and so on.
2. ** Book Learning **
- Read classic books about single-chip processors, such as "51 Single-Chip Computer Development from Entry to Proficiency","STM32F10x Series Arm Cortex-M3 Microcontroller Development Guide", etc., to obtain more systematic and in-depth programming knowledge from the books.
##4. Practicing Program
1. ** Project Design **
- Try designing a small project, such as using a microchip to control a smart home device or making a simple robot. When designing a project, one had to plan the functional requirements, hardware selection, software architecture, and so on.
2. ** Project Realization **
- Translate the design into an actual product, write the corresponding program code to realize the project function, and test and debugged it. In this process, various problems may be encountered, such as hardware circuit connection problems, program logic errors, etc., which need to be solved by debugging tools and methods. For example, he could use the single-chip computer's interface to set breakpoints and view variable values in the IDE.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
What are some computer programming success stories?Another is Linus Torvalds with the Linux kernel. Torvalds wrote the Linux kernel from scratch. His open - source operating system has become a cornerstone in the world of computing. It powers everything from supercomputers to many Android devices. The success of Linux shows how great programming can lead to a highly adaptable and widely used technology.
2 answers
2024-11-20 07:20
Introduction to several books on radio, electronics, and computer programming.Books on radio, electronics, and computer programming:
1 Radio Technology Manual. Pdisney
It was a comprehensive radio technical manual that covered everything from radio antennae to satellite communications. This book is suitable for radio enthusiasts, technicians, and professionals.
Introduction to Electronic Principle. A Smith
This was an introductory book on electronics, including electronic components, circuit theory, semiconductor physics, signal processing, and so on. This book is suitable for beginners to understand the basic concepts and principles of electronics.
3 Introduction to Computer programmin. F
This was an introductory book on computer programming, including programming languages, algorithm design, data structures, and so on. This book is suitable for beginners to understand the basic concepts and principles of computer programming.
Modern Electronic Principles. E Brown
This was an advanced book that introduced electronics, including circuit design, electronic components, signal processing, electromagnetic fields, and so on. This book is suitable for professionals and readers who want to further improve their level.
5." Digital Electronic Circuit . Norton
This was an introductory book on digital electronic circuits, including digital circuits, logic gates, memory circuits, and so on. This book is suitable for beginners to understand the basic concepts and principles of digital electronic circuits.
What are the best computer programming fiction books for beginners?The book 'The Cuckoo's Egg' by Clifford Stoll is also a good start. It's a true - crime story that involves computer hacking and some basic programming concepts. It shows how programming knowledge can be used for good or bad, and is an engaging read for those starting to explore programming in a fictional sense.
The male protagonist is a proud computer programming genius novel.I recommend The Path of Cultivation for a programmer. This novel was super interesting. The author, Skeleton White Rabbit, had a wild imagination and allowed programmers to transmigrate to the cultivation world. In the book, the spiritual root was a power source, and the meridians were electric circuits. It was a wonderful analogy between the cultivation system and the computer system. For example, the cultivation process and the process of casting spells were all programmed. Moreover, he had integrated ancient China culture with computers, such as Yin Yang, Tai Chi, Eight Trigrams, and the Binary-System. The author was very diligent and rigorous in setting up. It was obvious that he had put in a lot of effort. He was not a newbie and could even teach him about circuit principles and other knowledge. Although some of the content might be difficult for liberal arts students to read, it was also fun. Whether it was the science of cultivation or the protagonist's use of programming to create his own spells in the cultivation world, they were all very interesting. The recommendation index was four stars, and it was very worth watching.
<a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
I recommend a few good books on computer networks and programming.There were many books on computer networking and programming that were recommended as follows:
1. Computer Network: A Top-Down Approach, Third Edition, by Percy W. Dille and Walter L. Zimmerman. This book is a classic textbook in the field of computer networks, introducing the basic knowledge of computer networks, agreements, architecture, and applications. It is suitable for beginners.
[2. Python programming: from entry to practice] by Liao Xuefeng. This book introduced the basic knowledge and practical methods of Python programming in detail, including data structures, functions, file IOs, network programming, etc. It was suitable for readers with a certain programming foundation.
Computer Systems: A Programmer's Perspective by Yasmeen Unni Marble. This book is a system-level computer system design and implementation book, covering computer hardware, operating system, network protocol and other aspects of content suitable for readers who have a certain understanding of computer systems.
4. Computer Networks and Security: A Top-Down approach by Percy Wdill and Walter L. Zimmerman. This book introduced the basic knowledge of computer network security, protocol, attack and defense, etc. It is suitable for beginners and readers with certain security knowledge.
The above books are all classic computer network and programming books. You can choose to read them according to your own needs and level.