<?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_2%3A_Programmieren_Testen_Debuggen%2Fen</id>
	<title>DGB 2: Programmieren Testen Debuggen/en - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://informatik.wiki/index.php?action=history&amp;feed=atom&amp;title=DGB_2%3A_Programmieren_Testen_Debuggen%2Fen"/>
	<link rel="alternate" type="text/html" href="https://informatik.wiki/index.php?title=DGB_2:_Programmieren_Testen_Debuggen/en&amp;action=history"/>
	<updated>2026-10-19T20:24:39Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Informatik.wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://informatik.wiki/index.php?title=DGB_2:_Programmieren_Testen_Debuggen/en&amp;diff=706&amp;oldid=prev</id>
		<title>Administrator: Add English DGB 2 translation</title>
		<link rel="alternate" type="text/html" href="https://informatik.wiki/index.php?title=DGB_2:_Programmieren_Testen_Debuggen/en&amp;diff=706&amp;oldid=prev"/>
		<updated>2026-09-11T17:35:51Z</updated>

		<summary type="html">&lt;p&gt;Add English DGB 2 translation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:DGB 2: Programming, Testing and Debugging}}&lt;br /&gt;
← [[DGB 2. Klasse/en|Digital Literacy – Year 2]]&lt;br /&gt;
&lt;br /&gt;
Programming means describing a solution precisely enough for a computer system to execute it. In Year 2, the focus is on small, understandable programs: planning sequences, combining instructions, using variables, input, output and conditions, testing systematically and fixing errors deliberately.&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; || Technical and interaction perspectives (T, I)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Focus&amp;#039;&amp;#039;&amp;#039; || Creating, testing and debugging simple programs&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Competence&amp;#039;&amp;#039;&amp;#039; || Develop simple programs in a suitable learning environment, plan test cases, locate errors and improve programs step by step.&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;
* use the basic functions of a programming or learning environment;&lt;br /&gt;
* distinguish a program from its source code or block sequence;&lt;br /&gt;
* create and run simple sequences of instructions;&lt;br /&gt;
* receive input and produce output;&lt;br /&gt;
* use variables to store changing values;&lt;br /&gt;
* use simple conditions for decisions;&lt;br /&gt;
* recognise repetition in simple tasks and use loops where appropriate;&lt;br /&gt;
* distinguish syntax errors, runtime problems and logical errors in simple examples;&lt;br /&gt;
* test programs step by step rather than only at the end;&lt;br /&gt;
* develop normal, boundary and error test cases;&lt;br /&gt;
* explain debugging as systematic error finding;&lt;br /&gt;
* make controlled changes and test again after each change;&lt;br /&gt;
* plan, implement, document and improve a small program.&lt;br /&gt;
&lt;br /&gt;
== Learning content ==&lt;br /&gt;
&lt;br /&gt;
=== Programming environment and program ===&lt;br /&gt;
&lt;br /&gt;
A programming environment provides tools for writing or assembling, running and testing programs. In block-based environments, instructions are combined as blocks; in text-based languages, instructions are written. The specific environment may change, but algorithmic thinking, data and testing remain central.&lt;br /&gt;
&lt;br /&gt;
=== Sequences and clear processes ===&lt;br /&gt;
&lt;br /&gt;
A program follows instructions in a defined order. Changing the order can change the result. Before coding, a short sequence in everyday language or a flowchart can help clarify the intended process.&lt;br /&gt;
&lt;br /&gt;
=== Variables ===&lt;br /&gt;
&lt;br /&gt;
Variables store values a program needs, such as a name, score or counter. A value can be assigned, read and changed. Clear variable names make a program easier to understand and debug.&lt;br /&gt;
&lt;br /&gt;
=== Conditions and repetition ===&lt;br /&gt;
&lt;br /&gt;
A condition lets a program choose between actions, for example: if the answer is correct, add a point. Repetition avoids writing the same instruction many times. Students should first understand the rule before choosing a technical block or language construct.&lt;br /&gt;
&lt;br /&gt;
=== Testing ===&lt;br /&gt;
&lt;br /&gt;
Testing asks whether the program behaves as intended for selected inputs. Good tests include ordinary cases, boundary cases and, where appropriate, incorrect or unexpected input. Testing small parts early makes faults easier to locate.&lt;br /&gt;
&lt;br /&gt;
=== Debugging ===&lt;br /&gt;
&lt;br /&gt;
Debugging is systematic problem solving: reproduce the problem, locate the relevant part, form a hypothesis, change one thing, test again and document the result. Random changes make it harder to understand why a program works.&lt;br /&gt;
&lt;br /&gt;
=== Types of errors ===&lt;br /&gt;
&lt;br /&gt;
A syntax error means the written code does not follow the language rules. A runtime problem occurs during execution. A logical error means the program runs but produces the wrong result. Block environments reduce some syntax errors, but logical errors still occur.&lt;br /&gt;
&lt;br /&gt;
=== Documenting and improving ===&lt;br /&gt;
&lt;br /&gt;
Useful documentation includes the task, important variables, test cases and changes made. Feedback and testing can then be used to improve clarity, correctness and usability.&lt;br /&gt;
&lt;br /&gt;
== Classroom activities ==&lt;br /&gt;
&lt;br /&gt;
=== Explore a programming environment ===&lt;br /&gt;
&lt;br /&gt;
Find the controls for editing, running, stopping, resetting and viewing output.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; Confident use of basic tools.&lt;br /&gt;
&lt;br /&gt;
=== Create a first simple program ===&lt;br /&gt;
&lt;br /&gt;
Build a short sequence that takes an input and produces a visible output.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A working basic program.&lt;br /&gt;
&lt;br /&gt;
=== Test step by step ===&lt;br /&gt;
&lt;br /&gt;
Add or change one part at a time and run the program after each meaningful step.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A documented incremental test process.&lt;br /&gt;
&lt;br /&gt;
=== Debug a faulty program ===&lt;br /&gt;
&lt;br /&gt;
Use prepared examples with one or more errors and record the hypothesis, change and result.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A systematic debugging log.&lt;br /&gt;
&lt;br /&gt;
=== Program input and output ===&lt;br /&gt;
&lt;br /&gt;
Create a program that asks for information and produces a suitable response.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; Correct input–process–output behaviour.&lt;br /&gt;
&lt;br /&gt;
=== Use variables deliberately ===&lt;br /&gt;
&lt;br /&gt;
Store and change at least two values and explain when each value changes.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; Correct variable use.&lt;br /&gt;
&lt;br /&gt;
=== Develop your own test cases ===&lt;br /&gt;
&lt;br /&gt;
Write normal, boundary and error cases before running a program.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A small test table.&lt;br /&gt;
&lt;br /&gt;
=== Peer-review programs ===&lt;br /&gt;
&lt;br /&gt;
Exchange programs and use a checklist to test behaviour and readability.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; Constructive feedback.&lt;br /&gt;
&lt;br /&gt;
=== Plan, build and improve a mini-project ===&lt;br /&gt;
&lt;br /&gt;
Develop a quiz, calculator, simple game or other small project and improve it after testing.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A documented mini-project.&lt;br /&gt;
&lt;br /&gt;
=== Summarise the debugging process ===&lt;br /&gt;
&lt;br /&gt;
Write a five-step routine you can use when a program does not work.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Expected outcome:&amp;#039;&amp;#039;&amp;#039; A reusable troubleshooting method.&lt;br /&gt;
&lt;br /&gt;
== Self-check ==&lt;br /&gt;
&lt;br /&gt;
* I can create a simple program.&lt;br /&gt;
* I can use input, output and variables.&lt;br /&gt;
* I can use simple conditions and repetitions where appropriate.&lt;br /&gt;
* I can plan useful test cases.&lt;br /&gt;
* I can distinguish basic types of errors.&lt;br /&gt;
* I can debug by changing and testing systematically.&lt;br /&gt;
* I can document and improve a small program.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[DGB 2: Programme und Daten/en|Programs and Data]]&lt;br /&gt;
* [[DGB 2: Geistiges Eigentum und Urheberrecht/en|Copyright in Programming Projects]]&lt;br /&gt;
* [[DGB 2: Software fuer unterschiedliche Aufgaben/en|Software and Development Tools]]&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Digitale Grundbildung]]&lt;br /&gt;
[[Kategorie:DGB 2]]&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>