Book of tasks on programming. Old version

 

 by Aliaksandr N. Prykhodzka

 

recueil de programmation, probleme, external, самообучение, object, компиляция, code, label, семантика, tasks, answers, объяснения, выбор, processor
 

for valuable work you must have JavaScript (allow active content)

Pascal. Pa.17. Nest of tasks. Arrays. Writing of algorithms

 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pa.17.1     Answer

Combine step-by-step algorithm for replacing of arrays's elements in every pair. (Tip: Similar program is in task P._____).


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pa.17.2     Answer

Combine step-by-step algorithm for finding maximum element of array.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pa.17.3     Answer

Combine step-by-step algorithm for finding sum of two arrays by elements (result is array).


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pa.17.4     Answer

Combine step-by-step algorithm of summation of array's elements with odd positions.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pa.17.5     Answer

Combine step-by-step algorithm of summation of array's elements with value divisible by 3.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pa.17.6     Answer

Combine step-by-step algorithm of summation of array's elements with positions 2, 7, 12, 17, ... .


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pa.17.7     Answer

Combine step-by-step algorithm of sorting array of Latin symbols.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pa.17.8     Answer

Combine step-by-step algorithm of joining two arrays.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pa.17.9     Answer

Combine step-by-step algorithm of rewriting array in return order (with using one array only).


 

©   Aliaksandr Prykhodzka    1993 - 2007