<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://informatik.wiki/index.php?action=history&amp;feed=atom&amp;title=DGB_4%3A_Programme_und_Kontrollstrukturen%2Fen</id>
	<title>DGB 4: Programme und Kontrollstrukturen/en - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://informatik.wiki/index.php?action=history&amp;feed=atom&amp;title=DGB_4%3A_Programme_und_Kontrollstrukturen%2Fen"/>
	<link rel="alternate" type="text/html" href="https://informatik.wiki/index.php?title=DGB_4:_Programme_und_Kontrollstrukturen/en&amp;action=history"/>
	<updated>2026-10-19T20:13:30Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Informatik.wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://informatik.wiki/index.php?title=DGB_4:_Programme_und_Kontrollstrukturen/en&amp;diff=746&amp;oldid=prev</id>
		<title>Administrator: Add English DGB 4 translation</title>
		<link rel="alternate" type="text/html" href="https://informatik.wiki/index.php?title=DGB_4:_Programme_und_Kontrollstrukturen/en&amp;diff=746&amp;oldid=prev"/>
		<updated>2026-09-11T18:09:09Z</updated>

		<summary type="html">&lt;p&gt;Add English DGB 4 translation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:DGB 4: Designing Programs with Combined Control Structures}}&lt;br /&gt;
← [[DGB 4. Klasse/en|Digital Literacy – Year 4]]&lt;br /&gt;
&lt;br /&gt;
In Year 4, programming moves from isolated commands to deliberately designed program flow.&lt;br /&gt;
Students combine decisions and repetition, plan before coding, test boundary cases and improve&lt;br /&gt;
solutions iteratively. Readability and debugging become part of the solution rather than optional&lt;br /&gt;
extras.&lt;br /&gt;
&lt;br /&gt;
== Curriculum reference ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Area !! Classification&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Competence area&amp;#039;&amp;#039;&amp;#039; || Production&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Perspectives&amp;#039;&amp;#039;&amp;#039; || T, I&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Focus&amp;#039;&amp;#039;&amp;#039; || Designing and iteratively developing programs with combined control structures&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Competence&amp;#039;&amp;#039;&amp;#039; || Plan, implement, test and improve programs that combine conditions, logical operators and nested loops.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Learning objectives ==&lt;br /&gt;
&lt;br /&gt;
Students can:&lt;br /&gt;
&lt;br /&gt;
* explain and apply conditions and loops;&lt;br /&gt;
* use if, else and elif structures appropriately;&lt;br /&gt;
* form compound conditions with logical operators;&lt;br /&gt;
* use nested loops for multi-stage repetition;&lt;br /&gt;
* decompose a program into manageable parts before coding;&lt;br /&gt;
* translate an algorithm into a working program;&lt;br /&gt;
* develop software iteratively in small steps;&lt;br /&gt;
* design test cases including boundary values;&lt;br /&gt;
* locate and correct errors systematically;&lt;br /&gt;
* explain how control structures affect program execution;&lt;br /&gt;
* structure and comment programs clearly;&lt;br /&gt;
* compare alternative solutions and simplify them.&lt;br /&gt;
&lt;br /&gt;
== Learning content ==&lt;br /&gt;
&lt;br /&gt;
=== Control structures ===&lt;br /&gt;
&lt;br /&gt;
Sequence, selection and repetition determine program flow. Conditions allow different actions&lt;br /&gt;
depending on data, while loops repeat instructions until a count or condition is satisfied.&lt;br /&gt;
&lt;br /&gt;
=== Nested loops ===&lt;br /&gt;
&lt;br /&gt;
A loop inside another loop is useful for grids, tables, repeated patterns and combinations.&lt;br /&gt;
Students should trace small examples by hand before building larger ones.&lt;br /&gt;
&lt;br /&gt;
=== Compound conditions ===&lt;br /&gt;
&lt;br /&gt;
Logical operators such as and, or and not combine several tests. Parentheses and clear&lt;br /&gt;
expressions make intended logic easier to read and debug.&lt;br /&gt;
&lt;br /&gt;
=== Design before coding ===&lt;br /&gt;
&lt;br /&gt;
Pseudocode, test examples and flow diagrams help clarify inputs, outputs and decisions before&lt;br /&gt;
syntax problems distract from the algorithm.&lt;br /&gt;
&lt;br /&gt;
=== Iterative development ===&lt;br /&gt;
&lt;br /&gt;
Build the smallest working version first, test it, then add one feature at a time. This makes errors&lt;br /&gt;
easier to locate and keeps development understandable.&lt;br /&gt;
&lt;br /&gt;
=== Testing and debugging ===&lt;br /&gt;
&lt;br /&gt;
Use normal inputs, edge cases and invalid input where appropriate. Reproduce an error,&lt;br /&gt;
identify the responsible section, change one thing and test again.&lt;br /&gt;
&lt;br /&gt;
=== Readability and maintainability ===&lt;br /&gt;
&lt;br /&gt;
Meaningful names, consistent indentation, small logical blocks and useful comments make&lt;br /&gt;
programs easier to understand and modify.&lt;br /&gt;
&lt;br /&gt;
=== Typical projects ===&lt;br /&gt;
&lt;br /&gt;
Suitable projects include quizzes, menu-driven programs, small games, simulations, drawing&lt;br /&gt;
patterns, simple data checks and calculators with validation.&lt;br /&gt;
&lt;br /&gt;
== Classroom activities ==&lt;br /&gt;
&lt;br /&gt;
=== Develop a loop pattern ===&lt;br /&gt;
&lt;br /&gt;
Start with one loop and gradually extend it to create a structured pattern.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A working program and iteration notes.&lt;br /&gt;
&lt;br /&gt;
=== Process a grid ===&lt;br /&gt;
&lt;br /&gt;
Use nested loops to visit rows and columns in a small grid.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A grid-processing program.&lt;br /&gt;
&lt;br /&gt;
=== Combine conditions ===&lt;br /&gt;
&lt;br /&gt;
Solve cases that require and/or/not rather than a single comparison.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A tested condition set.&lt;br /&gt;
&lt;br /&gt;
=== Control-flow bug hunt ===&lt;br /&gt;
&lt;br /&gt;
Trace and fix programs with wrong conditions or misplaced loops.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A debugging record.&lt;br /&gt;
&lt;br /&gt;
=== Iteratively extend a menu ===&lt;br /&gt;
&lt;br /&gt;
Build a simple menu and add validated options one at a time.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A versioned mini-program.&lt;br /&gt;
&lt;br /&gt;
=== Create a quiz with scoring ===&lt;br /&gt;
&lt;br /&gt;
Use conditions and repetition to implement questions, scoring and feedback.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A working quiz.&lt;br /&gt;
&lt;br /&gt;
=== Turtle or Scratch patterns ===&lt;br /&gt;
&lt;br /&gt;
Create repeated graphical patterns using nested loops.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A visual program.&lt;br /&gt;
&lt;br /&gt;
=== Plan with pseudocode ===&lt;br /&gt;
&lt;br /&gt;
Design a program before writing code and compare plan to final implementation.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A plan-to-code comparison.&lt;br /&gt;
&lt;br /&gt;
=== Boundary tests ===&lt;br /&gt;
&lt;br /&gt;
Create test cases for minimum, maximum and invalid values.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A test table.&lt;br /&gt;
&lt;br /&gt;
=== Peer improvement ===&lt;br /&gt;
&lt;br /&gt;
Review readability and logic in another program and revise your own.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A change log.&lt;br /&gt;
&lt;br /&gt;
=== Build a mini-game ===&lt;br /&gt;
&lt;br /&gt;
Combine input, conditions, loops and scoring in a small project.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A playable prototype.&lt;br /&gt;
&lt;br /&gt;
=== Compare solutions ===&lt;br /&gt;
&lt;br /&gt;
Compare two ways to solve the same task and simplify unnecessary complexity.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A reasoned comparison.&lt;br /&gt;
&lt;br /&gt;
== Self-check ==&lt;br /&gt;
&lt;br /&gt;
* I can combine conditions and loops.&lt;br /&gt;
* I can use logical operators correctly.&lt;br /&gt;
* I can plan program flow before coding.&lt;br /&gt;
* I develop programs in small testable steps.&lt;br /&gt;
* I can design boundary tests and debug systematically.&lt;br /&gt;
* I can explain and improve the readability of my program.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
[[DGB 4: Programme und Webanwendungen/en|Programming Simple Applications]]&lt;br /&gt;
[[DGB 4: Abstraktionsebenen und Softwareschichten/en|Application Software, System Software and Hardware Layers]]&lt;br /&gt;
[[DGB 4: Grenzen und Moeglichkeiten von KI/en|AI – Opportunities and Limitations]]&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Digitale Grundbildung]]&lt;br /&gt;
[[Kategorie:DGB 4]]&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>