Demo mode (PT4Demo)
To run Programming Taskbook in the demo mode the symbol "?" should be placed after a task name
The demo mode has the following features:
- the task solution contained in the student's program is not analyzed;
- the "Example of right solution" tab is active in the Programming Taskbook window
(provided that the window is in the fixed layout mode);
- when a program is running it is possible to browse various sets of input and control data;
to change a set of this data you should click the "New data" button or press [Space] key;
- while a program is running it is possible to browse all tasks of a chosen group;
to go to the next task you should click the "Next task" button or press [Enter] key,
to go to the previous task you should click the "Previous task" button or press [Backspace] key.
Here is the screenshot of the Programming Taskbook window in the demo mode.
If the dynamic layout is using (this layout mode is available since the 4.11 version)
then the Programming Taskbook window is displayed in the demo mode as follows:
Note that the program always runs in the demo mode if
the results.dat file is absent in a working
directory or this file is corrupted or contains an invalid registration number of Programming Taskbook.
To browse task groups in the demo mode you can use PT4Demo tool.
The PT4Demo tool is implemented as the PT4Demo.exe utility, which is available from the
Programming Taskbook menu "Start | Programs | Programming Taskbook 4".
The Demo.lnk shortcut provides PT4Demo.exe running, it is created automatically in any working directory.
The PT4Demo window is shown below. You can select a task group (use [Ctrl]+[<] and [Ctrl]+[>]
for group selection) and a task number within the group
(use [Ctrl]+[Shift]+[<] and [Ctrl]+[Shift]+[>] for number selection).
If the "#" character is placed after the task name or the group
name in the Task procedure (for instance,
Begin#) then an html-page containing a description
of the task or the group of tasks will be displayed.
An html-page containing a description of the current task group may be also displayed by pressing the
button or the [F2] key in the PT4Demo window.
The programming language can be changed by means of a pop-up menu of the PT4Demo window. This feature gives
an opportunity to browse problem tasks for different programming languages.
Starting from the 4.11 version, the parameter of the Task procedure may be appended by the "_en" or "_ru"
suffix that explicitly determines the interface language (English or Russian respectively) using
in the Programming Taskbook window and also as a language of html-pages. Additional characters "?" and "#"
should be placed before the language suffix, for example,
If the language suffix is absent then the default interface language is used. The default language is defined
for each working directory and may be changed by means of the "English language" and "Russian language" commands
from the pop-up menu of the PT4Load tool.