A computer program consists of __________________.
A computer program consists of Algorithms written in computer's language.
A computer program is usually written by a computer programmer in a programming language. From the program in its human-readable form of source code, a compiler can derive machine code—a form consisting of instructions that the computer can directly execute.
An algorithm is an unambiguous set of rules/ a series of steps to solve a problem. It is written in a natural language and can be implemented in almost any programming language. Algorithms have been in existence long before the computers.
Certain languages will have mechanisms implementing basic data structures (such as Collections Framework in Java or C++ STL), but it does not stop you from programming data structure in the programming language of your choice. Moreover, algorithms are written in pseudocode, making them language independent.