Width/2 Width/2
LeftColor RightColor
Преподаватель ___________________________
Санкт-Петербургский колледж информатизации и управления
(наименование среднего учебного заведения)
Рассмотрено предметной комиссией
“ “ ___________20 г.
Председатель__________
|
Экзаменационный билет №_15_
По Основы алгоритмизации и____ программирования_______ (предмет) Группа__341a___ Cеместр__VI______ |
«Утверждаю» Зам. директора по учебной работе
_________________
“ “_______20 г. |
Units.
2. Problem (A). Read input integer values A, B, K. Output the numbers in the range from A to B divisible by K.
Problem (B). Read an input array from the Memo component, add 2 to each element of the array and display the modified array.
Problem (C). Declare a record type TStud which contains three fields 1) student’s name 2) student’s speciality 3) student’s age. Declare TStudS type - an array of TStud-records. Declare a variable of TStudS type. Read the array from the file and output it in StringGrid component. Increment ages of all the students. Calculate and output average age of all the students.
Преподаватель ___________________________