Difference between revisions of "C++:Tutorials"

From Progzoo
Jump to: navigation, search
(New page: A step by step guide to programming. Each set of tutorials provides tasks for the student to complete. #Flags: In which we draw pictures.)
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
A step by step guide to programming. Each set of tutorials provides tasks for the student to complete.
 
A step by step guide to programming. Each set of tutorials provides tasks for the student to complete.
 +
==Drawing==
 +
<div class='tutdesc'>
 +
{{Flags Tutorial}}Practice using graphics commands to draw the flags of different countries.
  
#[[Tutorial/Flags|Flags]]: In which we draw pictures.
+
These examples provide students with the opportunity to become familiar with the basic features of the language. Each task can be completed using a sequence of commands. It is hoped that students will become familiar with the basics of the language: the use of brackets, commas, quotes and semi-colons.
 +
</div>
 +
<div style='clear:both'> </div>
 +
==If==
 +
<div class='tutdesc'>
 +
{{World Factbook Tutorial}}Use <code>if</code> clauses to selectively print details of some countries but not others.</div>
 +
<div style='clear:both'> </div>
 +
==Numbers==
 +
<div class='tutdesc'>
 +
{{Numeric Functions Tutorial}}Practice using number functions and operators.</div>
 +
<div style='clear:both'> </div>
 +
==Strings==
 +
<div class='tutdesc'>
 +
{{String Test Tutorial}}Use string functions to test a list of Greek names</div>
 +
<div style='clear:both'> </div>
 +
==Boxes==
 +
<div class='tutdesc'>
 +
{{Boxes Tutorial}}Create patterns on a grid. This exercise uses integer functions and operators.
 +
</div>
 +
<div style='clear:both'> </div>
 +
==Bricks==
 +
<div class='tutdesc'>
 +
{{Bricks Tutorial}}Practice for loops. In these problems you use bricks to build walls.
 +
</div>
 +
<div style='clear:both'> </div>
 +
==Accumulating==
 +
<div class='tutdesc'>
 +
{{Accumulating Variable Tutorial}}Create and accumulating variable and use it to sum, count and more.
 +
<div style='clear:both'> </div>
 +
</div>

Latest revision as of 10:46, 13 April 2008

A step by step guide to programming. Each set of tutorials provides tasks for the student to complete.

Drawing

Practice using graphics commands to draw the flags of different countries.

These examples provide students with the opportunity to become familiar with the basic features of the language. Each task can be completed using a sequence of commands. It is hoped that students will become familiar with the basics of the language: the use of brackets, commas, quotes and semi-colons.

If

Numbers

Strings

Use string functions to test a list of Greek names

Boxes

Create patterns on a grid. This exercise uses integer functions and operators.

Bricks

Practice for loops. In these problems you use bricks to build walls.

Accumulating

Template:Accumulating Variable TutorialCreate and accumulating variable and use it to sum, count and more.