☰ Contents · Computing

ShowMessage and the test

Lessons 41–42 · 2 lessons · N. I. Taylaqov (general editor), A. B. Akhmedov, M. D. Pardayeva, A. A. Abdug‘aniyev, U. M. Mirsanov. Informatics and Information Technologies, Grade 10, 1st edition. “Extremum-Press”, Tashkent, 2017
Answers are for parents and teachers.
1
The width starts at 300 with +25 per click and the condition is Width < 500. At which click does the message appear?
2
The window is 450×300. What text does 'Olcham: ' + IntToStr(Form1.Width) + ' x ' + IntToStr(Form1.Height) give in the title?
3
Left = 120, step 30, “Right” 4 times. Left?
4
Write two statements on one line: set Button1 Caption to 'Tayyor' and show a message with ShowMessage('OK').
5
Why is it useful to calculate the expected numbers by hand before running the application?