From c13b52c27e84a0a94e66d569dc03cfcf0f8e5261 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sat, 5 Jan 2019 12:25:23 +0100 Subject: Prolog: add English introduction --- prolog/en.py | 5 +++- prolog/intro_en.html | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 prolog/intro_en.html diff --git a/prolog/en.py b/prolog/en.py index 8b0a1a1..e6a3ba9 100644 --- a/prolog/en.py +++ b/prolog/en.py @@ -1,5 +1,8 @@ name = 'Prolog' -description = 'Introductory Prolog course.' +description = '''\ +Introductory Prolog course. +Web app instructions manual. +''' hint = { 'no_hint': '''\ diff --git a/prolog/intro_en.html b/prolog/intro_en.html new file mode 100644 index 0000000..b0639c0 --- /dev/null +++ b/prolog/intro_en.html @@ -0,0 +1,78 @@ + + + + + CodeQ: Prolog + + + + + +

CodeQ: Prolog

+

+In the window that you are now reading, there are some practical tips and theories for each learning unit. There is also a list of tasks in this section. In principle, you can solve tasks in any order, but they are typically arranged in increasing difficulty. Some tasks are also easier to solve by using solutions from previous tasks. You do not need to rewrite these solutions, the system remembers them, and you can use them immediately if you want. +

+ +

How do I solve tasks?

+

+You begin to solve the task by clicking on it. This opens a web page in which you program a solution. Each page is linked to a specific task and contains four sections. You can change the partition layout in the settings. +

+ + +

+The central program part also contains the “Plan” and “Test” buttons. Most often, you will use the latter, which will automatically check your solution. The “Plan” button gives you general advice on how to tackle the given tasks; sometimes you can press it repeatedly, for more “revealing” tips. Of course, try to solve every task first without using any hints. +

+ +

+If the program is incorrect, CodeQ will sometimes offer a “Hint” button next to the test report. This button gives you a clue what may be wrong with your program. Some hints are prepared manually by the authors of the application, sometimes artificial intelligence is at work, sometimes you will get a counter-example on which the program does not work, but sometimes there is no hint at all. In this case, the program is probably terrible! Just kidding... maybe. 😉 +

+ +

How do I save my solution?

+

+CodeQ automatically stores your solutions on the server, but of course you have to be connected to the Internet. All changes are recorded in real time, so you do not need to worry about saving the code or loading it when your session expires. The duration of the session is, in principle, 60 minutes, and is terminated if you log on to another computer or another tab with the same username. +

+

+Warning: given that the system stores everything you write in real time (so, it is a keylogger !), we recommend that confidential messages are not written in the system. Otherwise we will read them, we promise! 😉 +

+

+You can see all your solutions for a specific set by clicking on the link by the title. +

+ + + -- cgit v1.2.1