☰ Contents · Computing

Types of algorithms, ways to present them and practice

Lessons 10–11 · 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
Present the algorithm for the fuel a car uses on a trip in words and as a flowchart: the distance s (km) and the use per 100 km q (litres) are input, V = s · q / 100.
2
Write in words the algorithm for crossing the road at a pedestrian crossing with traffic lights. At which step is a condition checked?
3
Make a table of values for y = x² – 3 at x = –3, 0, 4 (write y).
4
An executor knows {+4; ×2; –3}. Write an algorithm that makes 17 from 3.