Back to basics in algorithms

The NEP 2020 must take a larger view of computational thinking and move beyond just data science and AI

October 22, 2020 12:35 am | Updated 01:21 am IST

It is heartening to note that the National Education Policy 2020 (NEP) envisages putting greater emphasis on mathematical and computational thinking throughout the school years, starting right from the foundational stage of the learning process. Indeed, algorithmics — the abstract process of arriving at a post-condition through a sequential process of state changes — is among the earliest human intellectual endeavours that has become imperative for almost all organised thinking. However, the framing in the NEP appears to put it at the same level of distinction as the more instrumental ‘coding’, and almost as a mere tool towards the utilitarian goals of artificial intelligence (AI) and data science. We think this is misplaced.

The notions of computation and algorithms are as old as mathematics and date back to the early stages of representing numbers and geometrical figures and manipulating them for various uses. Their origins can be traced back almost to the beginning of the Mesolithic stone age, when the notions of counting and addition began to take form. All early learning of counting and arithmetic is method-based, and hence algorithmic in nature, and all calculations involve computational processes encoded in algorithms.

The Hindu Explains | What has the National Education Policy 2020 proposed?

Form of expressions

Modern algorithms, almost in the same form as we know them today, began to appear around 300 BC. Some of the earliest examples are procedures to compute the greatest common divisor of a pair of numbers, or the factorial, which appeared in Euclid’s books of Elements , and the descriptions of fast exponentiation and the Fibonacci sequence which appeared around 200 BC in the treatise of Chandah-Sutra by Acharya Pingala . The core algorithmic ideas of modern AI and machine learning are based on some seminal algorithmic ideas of Newton and Gauss, which date back a few hundred years. Though the form of expressions of algorithms — the coding — have been different, the fundamental principles of classical algorithm design have remained invariant.

In the modern world, the use of algorithmic ideas is not limited only to computations with numbers, or even to digitisation, communication or AI and data science. They play a crucial role in modelling and expressing ideas in diverse areas of human thinking, including the basic sciences of biology, physics and chemistry, all branches of engineering, in understanding disease spread, in modelling social interactions and social graphs, in transportation networks, supply chains, commerce, banking and other business processes, and even in economic and political strategies and design of social processes. Hence, learning algorithmic thinking early in the education process is indeed crucial.

Coding, however, is merely the act of encoding an algorithmic method in a particular programming language, which provides an interface such that the computational process can be invoked in a modern digital computer. Thus, it is less fundamental, and indeed great algorithms have been designed through the ages even without this facility. While coding certainly can provide excellent opportunities for experimentation with algorithmic ideas, they are not central or indispensable to algorithmic thinking. After all, coding is merely one vehicle to achieve experiential learning of a computational process.

National Education Policy 2020 | New curriculum, assessment system to roll out from academic year 2021-22

Learning the fundamentals

Rather than the intricacies of specific programming languages, it is more important at an early stage of education to develop an understanding of the basic algorithmic processes behind manipulating geometric figures, computing with numbers, solving systems of equations, modelling road networks and social graphs, and applying algorithmic ideas to everyday problems. In fact, an overemphasis on learning the nitty-gritty of specific programming languages prematurely — even from middle school — may distract from focusing on the development of algorithmic creativity. Indeed, this is a common outcome of the overly utilitarian skills training-based approaches evidenced throughout the country.

The devil lies in the details, and, while the NEP guideline of introducing algorithmic thinking early is a welcome step, it must be ensured that it does not degenerate and get bogged down with mundane coding tricks at a budding stage in the education process.

S. Arun-Kumar and Subhashis Banerjee are professors in the Department of Computer Science and Engineering at IIT Delhi.

0 / 0
Sign in to unlock member-only benefits!
  • Access 10 free stories every month
  • Save stories to read later
  • Access to comment on every story
  • Sign-up/manage your newsletter subscriptions with a single click
  • Get notified by email for early access to discounts & offers on our products
Sign in

Comments

Comments have to be in English, and in full sentences. They cannot be abusive or personal. Please abide by our community guidelines for posting your comments.

We have migrated to a new commenting platform. If you are already a registered user of The Hindu and logged in, you may continue to engage with our articles. If you do not have an account please register and login to post comments. Users can access their older comments by logging into their accounts on Vuukle.