|
|
Overview
Programming Taskbook contains the following task groups:
- Begin Input-output and assignment (40 tasks),
- Integer Integers (30 tasks),
- Boolean Logical expressions (40 tasks),
- If Conditional statement (30 tasks),
- Case Selection statement (20 tasks),
- For Loop with the parameter (40 tasks),
- While Loop with the condition (30 tasks),
- Series Numerical sequences (40 tasks),
- Proc Procedures and functions (60 tasks),
- Minmax Minimums and maximums (30 tasks),
- Array One-demensional arrays (140 tasks),
- Matrix Two-dimensional arrays (matrices) (100 tasks),
- String Characters and strings (70 tasks),
- File Binary files (90 tasks),
- Text Text files (60 tasks),
- Param Structured data types in procedures and functions (70 tasks),
- Recur Recursion (30 tasks),
- Dynamic Dynamic data structures (80 tasks).
Task texts do not contain notions that are specific for
some programming language.
All elements of any sequence of real numbers are supposed to contain different values, so each
sequence of real numbers contains just one minimal and maximal element. Sequences of integers may contain
elements with equal values, so such sequences may have several elements with minimal and maximal values.
Numerical arrays and files also satisfy these conditions.
If a task does not specify the maximal size of an input array then this size should be considered as
10 for one-dimensional arrays and 10 ´ 10 for two-dimensional arrays.
The "order number" notion is used for array elements; the first element of the one-dimensional
array named A has the order number 1 and is denoted as A1. Similarly,
the first element of the two-dimensional array named B is denoted as B1,1.
Lines and rows of two-dimensional array are also numbered from 1. Such approach does not depend on
a specific programming language and corresponds to traditional mathematical notation.
The "procedure" notion in task texts of "Proc", "Param", and "Dynamic" group
means not only Pascal procedures but also Visual Basic subroutines
and C++/C# functions with the void return type.
There are two versions of the "Dynamic" group: the first one uses pointers
and is intended for Pascal and C++ languages, the second one uses .NET classes
and is intended for C# and Visual Basic .NET languages.
The Visual Basic version of Programming Taskbook does not contain the "Dynamic" group.
|