☰ Contents · Computing

Logic and algorithms review; linear algorithms

Lessons 12–13 · 2 lessons · M. R. Fayziyeva, D. M. Sayfurov, N. S. Xaytullayeva. Informatics and Information Technologies, Grade 9. “Nashriyot uyi Tasvir”, Tashkent, 2020
Answers are for parents and teachers.
1
Triangle base a and height h are given. Write the linear algorithm for its area in words.
2
The arithmetic mean of two numbers is M = (x + y) / 2. Find M for x = 14, y = 20.
3
For a = 4, b = 7, write a and b after t = a; a = b; b = t.
4
Review: for A = 1, B = 1, C = 0 find the values of A ∧ B => C and ¬(A ∨ C).