ShowMessage and the test
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?
9
2
The window is 450×300. What text does 'Olcham: ' + IntToStr(Form1.Width) + ' x ' + IntToStr(Form1.Height) give in the title?
Olcham: 450 x 300
3
Left = 120, step 30, “Right” 4 times. Left?
240
4
Write two statements on one line: set Button1 Caption to 'Tayyor' and show a message with ShowMessage('OK').
Button1.Caption := 'Tayyor'; ShowMessage('OK');
5
Why is it useful to calculate the expected numbers by hand before running the application?
If the result does not match the expectation, we know at once that the code has a mistake.