MindMap Gallery Chapter 3 - Algorithm Basics
Algorithm Basics 1: What is an algorithm and Big O notation? An algorithm is a set of instructions to complete a task. Any piece of code can be considered an algorithm. An algorithm is a solution to a problem through a finite process. Big O notation: Big O notation is a special...
Edited at 2022-11-21 21:52:30Avatar 3 centers on the Sully family, showcasing the internal rift caused by the sacrifice of their eldest son, and their alliance with other tribes on Pandora against the external conflict of the Ashbringers, who adhere to the philosophy of fire and are allied with humans. It explores the grand themes of family, faith, and survival.
This article discusses the Easter eggs and homages in Zootopia 2 that you may have discovered. The main content includes: character and archetype Easter eggs, cinematic universe crossover Easter eggs, animal ecology and behavior references, symbol and metaphor Easter eggs, social satire and brand allusions, and emotional storylines and sequel foreshadowing.
[Zootopia Character Relationship Chart] The idealistic rabbit police officer Judy and the cynical fox conman Nick form a charmingly contrasting duo, rising from street hustlers to become Zootopia police officers!
Avatar 3 centers on the Sully family, showcasing the internal rift caused by the sacrifice of their eldest son, and their alliance with other tribes on Pandora against the external conflict of the Ashbringers, who adhere to the philosophy of fire and are allied with humans. It explores the grand themes of family, faith, and survival.
This article discusses the Easter eggs and homages in Zootopia 2 that you may have discovered. The main content includes: character and archetype Easter eggs, cinematic universe crossover Easter eggs, animal ecology and behavior references, symbol and metaphor Easter eggs, social satire and brand allusions, and emotional storylines and sequel foreshadowing.
[Zootopia Character Relationship Chart] The idealistic rabbit police officer Judy and the cynical fox conman Nick form a charmingly contrasting duo, rising from street hustlers to become Zootopia police officers!
Chapter 3 - Algorithm Basics
Experience the computer problem-solving process
manual problem solving process
computer problem solving process
①Analyze the problem
②Design algorithm
③Write a program
④Debug and run the program
Algorithm and description
algorithm
Concept: A method of using computers to solve a problem
feature
①Finiteness
②Certainty
③Data input
④Data output
⑤Feasibility
Description of algorithm
Common ways to describe algorithms
①Natural language description algorithm
Concept: It is the language that people use daily, such as Chinese, English, etc. to describe algorithms
②Flowchart description algorithm
Concept: It is a representation method that uses a program block diagram to describe an algorithm.
③Pseudocode describing algorithm
Concept: using words and symbols between natural language and computer language to describe algorithms
Three basic control structures
①Sequential structure: Indicates that the steps in the program are executed in the order in which they appear.
②Selection structure: Indicates that there are branches in the processing steps of the program, and one of the branches needs to be selected for execution based on a specific condition.
Select structure
①Single selection
②Double selection
③Multiple choices
③Loop structure: Indicates that the program repeatedly performs one or more operations until the judgment condition is false (or true) before the loop can be terminated.
Computer Programs and Programming Languages
Computer program
Concept: It refers to the set of instructions that the computer can recognize and run.
commonly used computers
①Arithmetic unit
②Controller
③Memory
④Input device
⑤Output device
computer programming language
①Machine language
②Assembly language
③High-level language
compiled language
Concept: The program is first translated into machine language and an executable file is generated.
Advantages: more optimized code
Disadvantages: Poor platform portability
Typical languages: c, c++...
interpreted language
Concept: The program does not need to be pre-translated to generate an executable file. Every time it is run, it needs to be interpreted and executed statement by statement.
Advantages: Platform migration is easy
Disadvantages: low operating efficiency
Typical languages: Java, Python...