Iteration - Computer Science Wiki
Maybe your like
This is a basic concept in computer science In computer programming, iteration is a sequence of instructions that is continually repeated. You can think of iteration as a loop, but please use the word "iteration" or "iterate". As a computer scientist, we use specialized vocabulary to communicate with other computer scientists.
There are different types of iterations:
- iterate until a certain condition is reached
- iterate a certain number of times
- iterate through elements in a list or array
When we iterate our programming language tracks what step of the iteration is currently being executed. For example: if we are iterating 100 times (from zero to one hundred, incrementing by one each at each step), our programming language will keep track of which iteration we are cycling through.
Iteration is a fundamental programming idea that is commonly used in writing programs.
Contents
- 1 Video one
- 2 Video two
- 3 Example one
- 4 Example two
- 5 Standards
- 6 References
Video one[edit]
This is one of the better videos I've seen on iteration
Video two[edit]
Example one[edit]
# This example is in the Python programming language for i in range (0,100): print(i) # output will be: 0 1 2 3 4 5 ... 99Example two[edit]
# This example is in the Python programming language myList = [1,3,5,11,22,33,44,55,66] for i in myList: print(i) # output will be: 1 3 5 11 22 33 44 55 66Standards[edit]
- Construct algorithms using loops, branching.
References[edit]
Tag » What Is Iteration In Computer Science
-
What Is Iterative? - TechTarget
-
What Is Iteration? - Definition From Techopedia
-
Iteration In Algorithms - KS3 Computer Science Revision - BBC
-
What Is Iteration In Programming? - AfterAcademy
-
Iteration - Wikipedia
-
FAQ: What Is An Iteration In Computer Science? (With Examples)
-
Definition & Types Of Iteration - Teach Computer Science
-
Iteration - Isaac Computer Science
-
Iteration - Computer Science GCSE GURU
-
What Is Iteration? - Quora
-
What Is An Iteration? - Computer Hope
-
Iteration Examples In Real Life And Computer Programming
-
7. Iteration — How To Think Like A Computer Scientist
-
The Building Blocks Of Algorithms - Khan Academy