Printouts
Solved: 0 out of 13 tasks
Points within this task
Correct solution: +9 points
Incorrect solution: -3 points
No solution: 0 points
Done - finish the test Help
We can imagine variables as boxes with numbers written inside them.
You can find the variables and the numbers that are stored inside them on the right above the Run button.
The Print command prints the number that is stored in such a variable.
Build a program that prints the numbers in the lines:
4
6
2
6
4
Then press the Run button. You can try it multiple times.
The value stored in the variable can be changed. The change block is used for this purpose.
The number in the small blue block can be overwritten with another number.
Build a program that prints the numbers on the lines below
4
6
2
6
4
Then press the Run button. You can try it multiple times.
You can also change the value of a variable by using the set block.
Build a program that prints series of these numbers:
1234
666666
1234
666666
1234
666666
1234
666666
However, it is only allowed to use a maximum of 10 blocks.
The block startup
, the block with a number
and the block with a variable
are not counted.
The print block can sometimes print out two numbers in a row, making them look like a two-digit number. For example, 2 3.
Build a program that will print all two-digit numbers with the folllowing properties:
These numbers must be sorted from the largest to the smallest.
Create a program that prints the first 20 even numbers.
The number of used blocks is limited to 6.
Create a program that prints all positive single-digit numbers in order from the largest.
The number of used blocks is limited to 6.
Block with variable
can be used to calculate the new value of the variable
.
We can also use it in the condition for determining the number of repetitions
.
Build a program that prints multiples of 7 that are less than 100.
The number of used blocks is limited to 6.
This is a series of numbers from one to a million
1
10
100
1000
10000
100000
1000000
The number of used blocks is limited to 6.
A series of powers of 2 looks like this: 2, 4, 8, 16, 32, etc.
Create a program that prints the sequence of powers of 2 that are less than 1000.
The number of used blocks is limited to 6.
Create a program that prints this series of numbers:
7 5
12 6
17 7
22 8
27 9
32 10
37 11
The number of used blocks is limited to 6.
Create a program that prints all multiples of 13 that are three-digit numbers.
For example, such a number is 130 or 949.
The number of used blocks is limited to 6.
Create a program that prints the series of repeating numbers 1, 0, -1, 0, 1, 0, -1, 0, etc.
The series should contain 40 numbers.
The number of used blocks is limited to 6.
Create a program that prints the first 50 positive integers.
It will add 1 to all the ones that are multiples of 7, and 0 to the others.
The output should look like this example:
...
5 0
6 0
7 1
8 0
etc...
The number of used blocks is limited to 6.
Information about the test
- During the test, you can change your solutions as many times as you want.- If you want to finish the test before the time limit expires, press the button Done - Finish the test testing.
- After the test is over, you will know the result immediately.
- If you need to continue the test on another computer, you will need your contestant code.