appendix B Algorithms and programming languages

This appendix lays the foundation for understanding the concept of AI and introduces two key principles, algorithms and programming languages, which are vital components in both computer science and AI development.

B.1 Algorithms

Computer programs are a set of instructions expressed in a form that is executable by the machine. Mainly, computer programs can be classified as either operating systems or applications. Operating systems manage the computer’s internal functions, while applications allow computer users to do things like play a video game or type a document. Both operating systems and applications use algorithms to define their logic and to describe the steps that need to be followed ...

Get Inside AI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.