Solution 23 of the exam task in computer science
"We solve difficult problems of the Unified State Examination in Informatics"
The purpose of the workshop: consider methodological methods for solving the most complex problems of the exam in computer science.
Presenters: computer science teachers of general educational organizations of the Kostroma region
Attention!!! Seminar participants will receive certificates
Conditions for obtaining a certificate
- Completion of the tasks proposed during the master classes (for all types of tasks)
- Feedback from teachers leading the master class (sending completed tasks to the teacher by e-mail)
Workshop progress
1. Task number 23 of the exam. Solving logical equations in a mirror way
Presenter: Lebedeva Elena Valerievna, teacher of computer science, MBOU of the city of Kostroma "Secondary school No. 21"
- Watch the video materials of the teacher's master class and complete the training tasks. If you cannot view the video materials, then download the presentation and get acquainted with the technology for completing task No. 23.
- [email protected]
Training tasks for part 1 Display method task 1.docx
Training tasks for part 2 Display method task 2.docx
Presentation based on the materials of part 1 and part 2
Training tasks for part 3. display method task 3.docx
Part 3 presentation
2. Task number 5 of the exam. Encoding and decoding data
Presenter: Smirnova Elena Leonidovna, teacher of computer science, secondary school No. 2 of the city district of the city of Bui, Kostroma region
- Watch the video materials of the teacher's master class and complete the training tasks. If you cannot view the video materials, then download the presentation and get acquainted with the technology for completing task No. 5.
- Send the completed training tasks to the teacher by email [email protected]
- Get feedback from your teacher about the results of your work.
Presentation on the demonstrated materials
For effective training in computer science for each task, a brief theoretical material is given to complete the task. More than 10 training tasks with analysis and answers were selected, developed on the basis of the demo version of previous years.
There are no changes in KIM USE 2020 in informatics and ICT.
The areas in which the knowledge test will be carried out:
- Programming;
- Algorithmization;
- ICT tools;
- Information activity;
- Information processes.
Necessary actions when preparing:
- Repetition of the theoretical course;
- Solution tests in informatics online;
- Knowledge of programming languages;
- Pull up mathematics and mathematical logic;
- Use a wider range of literature - the school curriculum for success in the exam is not enough.
Exam Structure
The duration of the exam is 3 hours 55 minutes (255 minutes), of which one and a half hours are recommended to be devoted to completing the tasks of the first part of the KIMs.
Tasks in tickets are divided into blocks:
- Part 1- 23 tasks with a short answer.
- Part 2- 4 tasks with a detailed answer.
Of the proposed 23 tasks of the first part of the examination paper, 12 belong to the basic level of knowledge testing, 10 - to increased complexity, 1 - to a high level of complexity. Three tasks of the second part of a high level of complexity, one - an increased one.
When solving, it is obligatory to record a detailed answer (arbitrary form).
In some tasks, the text of the condition is submitted immediately in five programming languages - for the convenience of students.
Points for tasks in computer science
1 point - for 1-23 tasks
2 points - 25.
3 points - 24, 26.
4 points - 27.
Total: 35 points.
To enter a technical university of an intermediate level, you must score at least 62 points. To enter the metropolitan university, the number of points must correspond to 85-95.
To successfully write an examination paper, you need a clear command of theory and constant practice in solving tasks.
Your formula for success
Work + work on mistakes + carefully read the question from beginning to end to avoid mistakes = maximum score on the exam in computer science.
The lesson considered the decision of task 23 of the exam in computer science: a detailed explanation and analysis of the task of 2017 is given
The 23rd task - "Transformation of logical expressions" - is characterized as a task of a high level of complexity, the execution time is approximately 10 minutes, the maximum score is 1
Elements of the algebra of logic: transformations of logical expressions
To complete task 23 of the exam, it is necessary to repeat the following topics and concepts:
- Consider a topic.
- Consider a topic.
There are 23 different types of tasks and their solution from simple to complex:
1. One equation with non-intersecting operands of the external operation and one solution:
2. One equation with non-intersecting operands of the external operation and several solutions
3. One equation with intersecting operands of the outer operation
4. Several equations: a method for displaying solutions to an equation
The display method can be used:
5. Multiple Equations: Using Bitmasks
Bitmask (bitmask) is a method that can be used:
Solving 23 USE tasks in computer science
Analysis of the 23 tasks of the Unified State Examination in Informatics 2017 FIPI option 1 (Krylov S.S., Churkina T.E.):
How many different sets of boolean values are there x1, x2, … x6, y1, y2, … y6
(¬(x1 ∨ y1)) ≡ (x2 ∨ y2)
(¬(x2 ∨ y2)) ≡ (x3 ∨ y3)
…
(¬(x5 ∨ y5)) ≡ (x6 ∨ y6)
* A similar task is in the collection "Typical examination options", Krylov S.S., Churkina T.E. 2019 version 7.
¬a ≡ b ¬b ≡ c ¬c ≡ d ¬d ≡ e ¬e ≡ f a ≠ b b ≠ c c ≠ d d ≠ e e ≠ f
x1 | x2 | F |
---|---|---|
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
Result: 54
For a detailed explanation of this task, see the video:
23_2: Analysis of the 23 tasks of the Unified State Examination in Informatics 2017 FIPI option 3 (Krylov S.S., Churkina T.E.):
How many different sets of boolean values are there x1, x2, … x9, y1, y2, … y9 that satisfy all of the following conditions?
(¬(x1 ∧ y1)) ≡ (x2 ∧ y2)
(¬(x2 ∧ y2)) ≡ (x3 ∧ y3)
…
(¬(x8 ∧ y8)) ≡ (x9 ∧ y9)
* A similar task is in the collection "Typical examination options", Krylov S.S., Churkina T.E. 2019 version 9.
✍ Solution (using the bitmask method):
- Since the actions in brackets are the same, and the variables are repeated, we introduce the notation:
x1 | x2 | F |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
This means that for one condition there cannot be such a case that a=0 and b=0 or a=1 and b=1.
Result: 324
We offer to see video with the solution of this 23 task:
23_3: Analysis of the 23 tasks of the Unified State Examination in Informatics 2017 FIPI option 5 (Krylov S.S., Churkina T.E.):
How many different sets of boolean values are there x1, x2, … x8, y1, y2, … y8 that satisfy all of the following conditions?
¬(((x1 ∧ y1) ≡ (x3 ∧ y3)) → (x2 ∧ y2))
¬(((x2 ∧ y2) ≡ (x4 ∧ y4)) → ¬(x3 ∧ y3))
¬(((x3 ∧ y3) ≡ (x5 ∧ y5)) → (x4 ∧ y4))
¬(((x4 ∧ y4) ≡ (x6 ∧ y6)) → ¬(x5 ∧ y5))
¬(((x5 ∧ y5) ≡ (x7 ∧ y7)) → (x6 ∧ y6))
¬(((x6 ∧ y6) ≡ (x8 ∧ y8)) → ¬(x7 ∧ y7))
As an answer, you need to indicate the number of such sets.
* A similar task is in the collection "Typical examination options", Krylov S.S., Churkina T.E., 2019, option 11.
✍ Solution using the bitmask method:
- Since the parentheses are the same actions, and the parentheses are repeated in different equations, we introduce the notation. Let's designate brackets with variables in Latin letters in alphabetical order according to their numbers:
- Let's get rid of the implication: It was: ¬((a ≡ c) → b) became: ¬(¬(a ≡ c) ∨ b)
- According to De Morgan's law, we get rid of the negation over the common outer bracket: It was: ¬(¬(a ≡ c) ∨ b) became: (a ≡ c) ∧ ¬b
This means that all operands after the conjunction must be true.
Result: 81
23_4: Analysis of the 23 tasks of the USE in informatics demo version of 2018 FIPI:
How many different sets of boolean values are there x1, x2, … x7, y1, y2, … y7 that satisfy all of the following conditions?
(¬x1 ∨ y1) → (¬x2 ∧ y2) = 1
(¬x2 ∨ y2) → (¬x3 ∧ y3) = 1
…
(¬x6 ∨ y6) → (¬x7 ∧ y7) = 1
✍ Solution, display method used:
- An external operation in a single equation is an implication, the result of which must be true. The implication is true if:
0 -> 0 0 -> 1 1 -> 1
those. false only when 1 -> 0
Result: 22
Video analysis of the demo version 2018 23 tasks, see here:
23_5: Solution 23 of the USE task in informatics 2018 (diagnostic option, S.S. Krylov, D.M. Ushakov, USE simulator 2018):
How many different solutions does the equation have:
(a → b) ∨ (c → ¬d) ∨ ¬(e ∨ a ∨ c) = 1
where a, b, c, d, e- Boolean variables?
As an answer, indicate the number of such sets.
✍ Solution:
- External logical operation − ∨ - disjunction. Truth table:
Result: 30
23_6: Analysis of 23 tasks of the demo version of the exam in informatics 2019:
How many different sets of boolean values are there x1, x2, … x7, y1, y2, … y7 that satisfy all of the following conditions?
(y1 → (y2 ∧ x1)) ∧ (x1 → x2) = 1 (y2 → (y3 ∧ x2)) ∧ (x2 → x3) = 1 … (y6 → (y7 ∧ x6)) ∧ (x6 → x7) = 1 y7 → x7 = 1
In response no need list all different sets of values of the variables x1, x2, … x7, y1, y2, … y7, under which the given system of equalities is satisfied.
As an answer, you need to indicate the number of such sets.
✍ Solution:
- Since all equalities are of the same type (except the last one), they differ only in the shift of the numbers of variables by one, then for the solution we will use the mapping method: when, having found the result for the first equality, it is necessary to apply the same principle with subsequent equalities, taking into account the results obtained for each of them.
- Consider the first equality. In it, the outer operation is a conjunction, the result of which must be true. The conjunction is true if:
Result: 36
Video solution for 23 tasks of the demo version of the exam 2019:
23_7: Analysis of 23 tasks of the Unified State Examination in Informatics “Typical examination options”, Krylov S.S., Churkina T.E., 2019, option 16 (FIPI):
How many different sets of boolean values are there x1, x2, … x6, y1, y2, … y6 that satisfy all of the following conditions?
¬(((x1 ∧ y1)) ≡ (x2 ∧ y2)) → (x3 ∧ y3))
¬(((x2 ∧ y2)) ∨ ¬(x3 ∧ y3)) → (x4 ∧ y4))
¬(((x3 ∧ y3)) ≡ (x4 ∧ y4)) → (x5 ∧ y5))
¬(((x4 ∧ y4)) ∨ ¬(x5 ∧ y5)) → (x6 ∧ y6))
As an answer, you need to indicate the number of such sets.
✍ Solution:
- Since in small brackets the same operation is everywhere ( ∧ ), and the variables in the brackets do not intersect, then you can perform the replacement:
Answer: 810
Video analysis of task 23 is available:
23_8: Analysis of 23 tasks of the Unified State Examination in Informatics “Typical examination options”, Krylov S.S., Churkina T.E., 2019, option 2 (FIPI):
How many different sets of boolean values are there x1, x2, … x12 that satisfy all of the following conditions?
¬(x1 ≡ x2) → (x3 ∧ x4) = 0
¬(x3 ≡ x4) → (x5 ∧ x6) = 0
¬(x5 ≡ x6) → (x7 ∧ x8) = 0
¬(x7 ≡ x8) → (x9 ∧ x10) = 0
¬(x9 ≡ x10) → (x11 ∧ x12) = 0
(x1 ≡ x4) ∨ (x5 ≡ x8) ∨ (x2 ≡ x12) = 1
As an answer, you need to indicate the number of such sets.
✍ Solution:
x1 x2 x4 x5 x8 x12 0 0 1 0 1 1 0 1 1 0 1 0 0 0 1 1 0 1 0 1 1 1 0 0 1 0 0 0 1 1 1 1 0 0 1 0 1 0 0 1 0 1 1 1 0 1 0 0
Job directory.
Systems of logical equations containing equations of the same type
Take the test for these tasks
Back to job catalog
Version for printing and copying in MS Word
How many there are different sets of values of log-gi-che-changes x1, x2, x3, x4, x5, x6 , x7, x8 someone satisfies all the above-numbers below the conditions?
(x1≡x2)->(x2≡x3) = 1
(x2≡x3)->(x3≡x4) = 1
(x6≡x7)->(x7≡x8) = 1
In from-ve-those no need re-re-number all the different sets of values \u200b\u200bof changes x1, x2, x3, x4, x5, x6, x7, x8 with someone ryh you-half-not-on this system of equalities. In the quality of from-ve-ta, you need to indicate the number of such sets of ditches.
Solution.
Let's write the variables in a line: x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 . An implication is false only if the truth implies a lie. The condition is not met if there is another digit in the row after a pair of identical digits. For example, "11101...", which means that the second condition is not met.
Consider combinations of variables that satisfy all conditions. Let's write out the options in which all the digits alternate, there are two of them: 10101010 and 01010101. Now for the first option, starting from the end, we will increase the number of consecutive digits (as much as possible). Let's write down the resulting combinations: “1010 1011; 1010 1111; 1011 1111; 1111 1111; 1010 1000; 1010 0000; 1000 0000; 0000 0000” there are nine such combinations, including the original one. Similarly for the second option: “0101 0101; 0101 0100; 0101 0000; 0100 0000; 0000 0000; 0101 0111; 0101 1111; 0111 1111; 1111 1111 "- there are also nine such combinations. Note that the combinations 0000 0000 and 1111 1111 are counted twice. Thus, we get 9 + 9 − 2 = 16 solutions.
Answer: 16.
Answer: 16
¬(x 1 ≡ x 2) ∧ (x 1 ∨ x 3) ∧ (¬x 1 ∨ ¬x 3) = 0
¬(x 2 ≡ x 3) ∧ (x 2 ∨ x 4) ∧ (¬x 2 ∨ ¬x 4) = 0
¬(x 8 ≡ x 9) ∧ (x 8 ∨ x 10) ∧ (¬x 8 ∨ ¬x 10) = 0
In response no need
Solution.
Consider the first equation.
For x 1 \u003d 1, two cases are possible: x 2 \u003d 0 and x 2 \u003d 1. In the first case, x 3 \u003d 1. In the second, x 3 is either 0 or 1. For x 1 \u003d 0, two cases are also possible: x 2 \u003d 0 and x 2 \u003d 1. In the first case, x 3 is either 0 or 1. In the second, x 3 \u003d 0. Thus, the equation has 6 solutions (see figure).
Consider a system of two equations.
Let x 1 = 1. For x 2 = 0, only one case is possible: x 3 = 1, variable x 4 = 0. For x 2 = 1, two cases are possible: x 3 = 0 and x 3 = 1. In the first case, x 4 = 1, in the second - x 4 or 0 or 1. We have 4 options in total.
Let x 1 = 0. For x 2 = 1, only one case is possible: x 3 = 0, variable x 4 = 1. For x 2 = 0, two cases are possible: x 3 = 0 and x 3 = 1. In the first case, x 4 is either 1 or 0, in the second - x 4 \u003d 0. We have 4 options in total.
Thus, the system of two equations has 4 + 4 = 8 options (see figure).
A system of three equations will have 10 solutions, of four - 12. A system of eight equations will have 20 solutions.
Answer: 20
Source: USE in Informatics 05/30/2013. main wave. Centre. Option 1.
How many different sets of values for boolean variables x 1 , x 2 , ... x 10 are there that satisfy all of the following conditions?
(x 1 ∧ ¬x 2) ∨ (¬x 1 ∧ x 2) ∨ (x 3 ∧ x 4) ∨ (¬x 3 ∧ ¬x 4) = 1
(x 3 ∧ ¬x 4) ∨ (¬x 3 ∧ x 4) ∨ (x 5 ∧ x 6) ∨ (¬x 5 ∧ ¬x 6) = 1
(x 7 ∧ ¬x 8) ∨ (¬x 7 ∧ x 8) ∨ (x 9 ∧ x 10) ∨ (¬x 9 ∧ ¬x 10) = 1
In response no need list all different sets of values of variables x 1 , x 2 , … x 10 for which the given system of equalities is satisfied. As an answer, you need to indicate the number of such sets.
Solution.
The first equation has 12 solutions. The second equation is related to the first only through the variables x 3 and x 4 . Based on the decision tree for the first equation, we write out the pairs of values of the variables x 3 and x 4 that satisfy the first equation and indicate the number of such pairs of values.
Quantity value pairs | x 3 | x4 |
---|---|---|
×4 | 1 | 1 |
×4 | 0 | 0 |
×2 | 1 | 0 |
×2 | 0 | 1 |
Since the equations are identical up to the indices of the variables, the decision tree of the second equation is similar to the first. Therefore, the pair of values x 3 = 1 and x 4 = 1 generates two sets of variables x 3 , ..., x 6 satisfying the second equation. Since there are four pairs of these solutions among the sets of solutions of the first equation, we get 4 · 2 = 8 sets of variables x 1 , ..., x 6 satisfying the system of two equations. Arguing similarly for a pair of values x 3 = 0 and x 4 = 0, we obtain 8 sets of variables x 1 , ..., x 6 . The pair x 3 = 1 and x 4 = 0 generates four solutions to the second equation. Since there are two of these pairs among the sets of solutions of the first equation, we obtain 2 · 4 = 8 sets of variables x 1 , ..., x 6 satisfying the system of two equations. Similarly for x 3 = 0 and x 4 = 1 - 8 sets of solutions. In total, the system of two equations has 8 + 8 + 8 + 8 = 32 solutions.
Having carried out similar reasoning for a system of three equations, we obtain 80 sets of variables x 1 , ..., x 8 that satisfy the system. for a system of four equations, there are 192 sets of variables x 1 , ..., x 10 that satisfy the system.
Answer: 192.
Answer: 192
Source: Unified State Examination in Informatics 07/08/2013. Second wave. Option 501.
a guest 17.12.2013 18:50
We counted 3 times, it turns out that after 2 equations there are 34 solutions, and you have 32, we have 8 + 12 + 8 + 6, and you have 8 + 8 + 8 + 8
Petr Murzin
Give your solution in full. Write how you get 12 and 6.
Ivan Grebenshchikov 12.06.2016 20:51
In general, this problem can be solved much easier. If we notice (x1 ∧ ¬x2) ∨ (¬x1 ∧ x2) identically ¬(x1 == x2) and (x3 ∧ x4) ∨ (¬x3 ∧ ¬x4) identically (x3 == x4), then, substituting into the original equation, we get: ¬(x1 == x2) ∨ (x3 == x4) = 1. However, this expression can also be transformed and get (x1 == x2) → (x3 == x4) = 1.
Transforming all expressions in a similar way, we get:
(x1 == x2) → (x3 == x4) = 1
(x3 == x4) → (x5 == x6) = 1
(x7 == x8) → (x9 == x10) = 1
Replacing (x1 == x2) with A1, (x3 == x4) with A3, ... , (x9 == x10) with A9, we obtain sets of solutions for A-items:
A1 A3 A5 A7 A9
Each A-total corresponds (regardless of value) to a pair of pairs of values of the i-th and i + 1 -th x-th => (2 * 2 * 2 * 2 * 2) * 6 (since there are six sets of solutions for A- total) = 192
How many different sets of values for boolean variables x 1 , x 2 , ... x 10 are there that satisfy all of the following conditions?
(x 1 ∧ x 2) ∨ (¬x 1 ∧ ¬x 2) ∨ (¬x 3 ∧ x 4) ∨ (x 3 ∧ ¬x 4) = 1
(x 3 ∧ x 4) ∨ (¬x 3 ∧ ¬x 4) ∨ (¬x 5 ∧ x 6) ∨ (x 5 ∧ ¬x 6) = 1
(x 7 ∧ x 8) ∨ (¬x 7 ∧ ¬x 8) ∨ (¬x 9 ∧ x 10) ∨ (x 9 ∧ ¬x 10) = 1
In response no need list all different sets of values of variables x 1 , x 2 , … x 10 for which the given system of equalities is satisfied. As an answer, you need to indicate the number of such sets.
Solution.
Let's build a decision tree for the first equation.
Thus, the first equation has 12 solutions.
The second equation is related to the first only through the variables x 3 and x 4 . Based on the decision tree for the first equation, we write out the pairs of values of the variables x 3 and x 4 that satisfy the first equation and indicate the number of such pairs of values.
Quantity value pairs | x 3 | x4 |
---|---|---|
×2 | 1 | 1 |
×2 | 0 | 0 |
×4 | 1 | 0 |
×4 | 0 | 1 |
Since the equations are identical up to the indices of the variables, the decision tree of the second equation is similar to the first (see the figure). Therefore, the pair of values x 3 = 1 and x 4 = 1 generates four sets of variables x 3 , ..., x 6 satisfying the second equation. Since there are two pairs of these pairs among the sets of solutions of the first equation, in total we get 4 · 2 = 8 sets of variables x 1 , ..., x 6 satisfying the system of two equations. Arguing similarly for a pair of values x 3 = 0 and x 4 = 0, we obtain 8 sets of variables x 1 , ..., x 6 . The pair x 3 = 1 and x 4 = 0 generates two solutions to the second equation. Since there are four of these pairs among the sets of solutions of the first equation, we obtain 2 · 4 = 8 sets of variables x 1 , ..., x 6 satisfying the system of two equations. Similarly for x 3 = 0 and x 4 = 1 - 8 sets of solutions. In total, the system of two equations has 8 + 8 + 8 + 8 = 32 solutions.
The third equation is related to the second only through the variables x 5 and x 6 . The decision tree is similar. Then for a system of three equations, each pair of values x 5 and x 6 will generate a number of solutions according to the tree (see figure): pair (1, 0) will generate 2 solutions, pair (1, 1) will generate 4 solutions, and etc.
From the solution of the first equation, we know that the pair of values x 3 , x 4 (1, 1) occurs twice in the solutions. Therefore, for a system of three equations, the number of solutions for the pair x 3 , x 4 (1, 1) is 2 · (2 + 4 + 4 + 2) = 24 (see Fig.). Using the table above, we calculate the number of solutions for the remaining pairs x 3 , x 4:
4 (2 + 2) = 16
2 (2 + 4 + 4 + 2) = 24
4 (2 + 2) = 16
Thus, for a system of three equations, we have 24 + 16 + 24 + 16 = 80 sets of variables x 1 , ..., x 8 that satisfy the system.
For a system of four equations, there are 192 sets of variables x 1 , ..., x 10 that satisfy the system.
Answer: 192.
Interactive simulator 23 USE DEMO 2017
for those who are at a loss, the full solution is located at the very end of this page
If you have any questions, doubts or remarks, write ...
And the second one with the condition expanded by me specifically for underlining apparent complexity and huge difference , how number of equations , and their content .
Demonstration version of the USE 2015 informatics and ICT task 23.
How many different sets of values of boolean variables x1, x2, ... x8, y1, y2, ... y8 are there that satisfy all of the following conditions?
(x1 | x2) & ((x1 & x2) → x3) & (¬x1 | y1) = 1
(x2 | x3) & ((x2 & x3) → x4) & (¬x2 | y2) = 1
(x3 | x4) & ((x3 & x4) → x5) & (¬x3 | y3) = 1
(x4 | x5) & ((x4 & x5) → x6) & (¬x4 | y4) = 1
(x5 | x6) & ((x5 & x6) → x7) & (¬x5 | y5) = 1
(x6 | x7) & ((x6 & x7) → x8) & (¬x6 | y6) = 1
(x7 | x8) & (¬x7 | y7) = 1
(¬x8 | y8) = 1
In your answer, you do not need to list all the different sets of values of the variables x1, x2, ... x8, y1, y2, ... y8, under which this system of equations is satisfied. As an answer, you need to indicate the number of such sets.
And it only remains for me, despite this very apparent complexity of this task, to show. how its solution can easily be reduced to a solution similar to the first.
We take the first equation (x1 | x2) & ((x1 & x2) → x3) & (¬x1 | y1) = 1 and use the truth table to find all its solutions. After that, it remains to select (delete) all rows that have 0 in the final column
Analyzing the table, we build mappings of pairs x 1x 2 to x 2x 3, noticing that the first pair with values 01 is mapped to the second with value 10 twice (for valuey 1=1 andy 1=0 hence the double red arrow, the mapping is similarly constructed for pairs with values 01-11)
According to this figure, we build mapping rules, according to which we find the number of solutions for the first six equations, for which it is enough to fill in the following table
From where we find that the first six equations have only 53 solutions.
And it remains for us to deal with the remaining "additional" two equations
(x7 | x8) & (¬x7 | y7) = 1
(¬x8 | y8) = 1
Let us dwell on the first of them and, without going into deep reasoning, fill in the truth table for it, where the number 1 denotes conditionally the first bracket, and the number two, respectively, the second and the lid, their product.
The table shows that the pair x7x8
has no solutions for values 00 (which means the following: x7x8 pair with value 00 will be displayed in y7 with the same values 0 times (i.e. not displayed)
has two solutions at value 01 (y7 = 0 and y7 = 1 , which means the following: the number of solutions for the pair x7x8 with value 01, appearing in y7 - will double
has one solution each with values 10 and 11 , i.e. the number of solutions in the mapping with these values will not change.
And here it is, the most crucial step, therefore, in order not to make unnecessary mistakes, we again resort to constructing a truth table, but for the eighth equation
(¬x8 | y8) = 1
From our truth table, we can see that
if X8 = 0, then Y8 has two solutions 0 and 1 (i.e., the number of solutions is doubled when displaying)
if X8 = 1, then Y8 has one solution (i.e. the number of solutions when displayed is unchanged)
this means that if x8 is 0, then in the mapping x8 to y8 for values 00 and 10 the number of solutions is doubled, and in the case when x8 is 1 in the mapping x8 to y8 for values 01 and 11 the number of solutions remains unchanged. This is what we will display in the final table and summing up all the values of the column Y8 find the desired result.
Correct answer: 61
A complete solution-hint for task 23 of the Unified State Examination Demo 2017 in Informatics