Book of tasks on programming. Old version

 

 by Aliaksandr N. Prykhodzka

 

computer, work, Алгоритм Кнута, Мориса и Пратта (КМП), реассемблирование, interruption, xor, path, counter, jstl, ряд, not, транслятор, courses, прямое включение
 

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

Pascal. Pc.5. Nest of tasks. Algorithms. Strings. Operations over symbolic numbers

 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.1     Answer

Combine step-by-step algorithm for comparing of two integer positive numbers presented as strings. Result of comparing is sign indicating that first number is greater than second number.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.2     Answer

Combine step-by-step algorithm of calculating quotient from division integer positive number presented as string to 10.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.3     Answer

Combine step-by-step algorithm of calculating remainder from division integer positive number presented as string to 10.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.4     Answer

Combine step-by-step algorithm of calculating product of integer positive number presented as string and number 10.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.5     Answer

Combine step-by-step algorithm of calculating product of integer positive number presented as string and decimal digit.



 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.6     Answer

Combine step-by-step algorithm of translation integer unsigned number presented as string into type integer.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.7     Answer

Combine step-by-step algorithm of translation integer positive number into string presentation.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.8     Answer

Combine step-by-step algorithm of calculating sum of two positive integer numbers presented as strings.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.9     Answer

Combine step-by-step algorithm of multiplication of two positive integer number presented as strings.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.10     Answer

Combine step-by-step algorithm of subtraction positive integer number presented as string from another positive integer number presented as string in supposition that result will be positive number.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.11     Answer

Combine step-by-step algorithm of calculating quotient and remainder from division positive integer number to positive integer numbers (both numbers presented as strings) in supposition that quotient is not larger than one digit.


 

 

Calculator

/ - division

\ - rest

S - sum of numbers from and to

P - multiply numbers from and to

Pc.5.12     Answer

Combine step-by-step algorithm of calculating quotient and remainder from division positive integer number to positive integer numbers (both numbers presented as strings).


 

©   Aliaksandr Prykhodzka    1993 - 2007