Computation means a set of actions that ensure the automation of information processing. To ensure automatic processing, we need to use technology, which means a programmable device. Today it is the binary computer for sure. Anyway, we must ensure that this processing engine behaves following an appropriate algorithm. The algorithm is again information because it is a piece of knowledge on how to solve the problem. Hence, it is an abstraction that will be useful in the computation process if the algorithm is represented in binary form.
What is a binary form representing an algorithm?

Mariusz PostolPosted Jul 29, 2024, 8:00 AM
I have prepared a detailed answer as a video on YouTube available here Programming in Practice - Information Computation Fundamentals and submitted it for publication on C# Corner. Unfortunately, it was rejected for reasons not clear to me. Let me know how it works for you.
Best Regards,
Mariusz
Mariusz PostolPosted Jul 25, 2024, 10:11 AM
@Aman Gupta many thanks for your contribution. Below are a few comments
Unfortunately for me "A binary form representing an algorithm is a set of instructions" is just a text but not bitstream especially if it is written down on the paper. How to comment on it?
We cannot say "algorithm written in Java" because the algorithm is implemented in a selected programming language, e.g. Java. Again, let me stress that "simplification is not the mother of simplicity"!
"disassembled machine code" depends on the target processor but I am looking for a generic statement.
I expect an answer scoped on "binary programming language". It is an important question because I am working on a video publication covering: information versus data and algorithm versus program in the context of binary machines.
Aman GuptaPosted Jul 25, 2024, 8:42 AM
Hi Mariusz,
A binary form representing an algorithm is a set of instructions that can be executed directly by a computer's processor. These instructions are written in a binary code, which consists of a series of 0s and 1s that the computer can understand.
In other words, a binary form of an algorithm is a low-level representation of the algorithm that can be directly executed by the computer's processor, without the need for further interpretation or compilation.
Here's an example of a simple algorithm written in Java:
When we compile this Java code, it gets translated into an intermediate form called bytecode, which is stored in a
.classfile. The bytecode is not yet in binary form, but it's closer to machine code than the original Java source code.To get the binary form of the algorithm, we need to run the
.classfile through a just-in-time (JIT) compiler or an ahead-of-time (AOT) compiler, which translates the bytecode into machine code. The resulting machine code is specific to the computer's processor architecture.For example, on an x86-64 processor, the binary code for the
addmethod might look like this:In Java, we can use the
javapcommand to disassemble the bytecode and get a peek at the binary form of the algorithm:Thanks