๐Ÿ“˜ CodingMarble Learn

Programming Languages and Emerging Technologies

A computer only understands machine code (0s and 1s). Programming languages let people write instructions in easier words, which a compiler or interpreter turns into machine code. Languages evolved from machine code and assembly (low-level) to high-level languages like Fortran, C, Java and Python, and newer ones like Swift, Kotlin and Rust. They follow styles called paradigms: procedural, object-oriented and functional. Each emerging technology (AI, mobile, web, IoT, cloud, quantum) has its own needs, such as libraries, speed, safety or running on small devices, so it favours certain languages. Programmers also report on IT innovations and weigh their benefits and risks for society.

๐ŸŽฌ Step-by-step story

  1. A computer only understands 0s and 1s. Each box is one bit: dark is 1, light is 0. Instructions in bits are called machine code.
  2. People built a staircase of languages. Machine code at the bottom, assembly in the middle, high-level languages at the top. Each step is easier to read.
  3. Here is a timeline. Fortran came in 1957, then C, Python, Java, JavaScript, and newer ones like Swift, Rust and Kotlin. Further right means newer.
  4. Now colour shows style. Grey is procedural, blue is object-oriented, green is multi-paradigm or functional. Newer languages often mix styles.
  5. Each new technology needs certain things. AI needs ready-made maths and data libraries, so Python lights up.
  6. Your turn. Pick a technology: mobile, web, IoT or science. See which languages light up, and think about why.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

๐Ÿค” Common doubts, cleared

If computers only read 0s and 1s, how do they run Python?

A translator (compiler or interpreter) turns the Python into machine code before or while it runs.

Why not just write everything in machine code? It is fastest.

It takes far too long and is full of mistakes. High-level code is quicker to write and fix, and compilers make it fast.

Why do new languages keep appearing?

New devices and problems appear (phones, AI, the web), and people want safer, shorter code for them.

Is object-oriented better than procedural?

Neither is always better. Many modern languages mix styles and you pick the one that fits the problem.

Which language should I learn first for AI?

Python, because it is easy and has the main AI libraries. Pick AI in the 3D to see it light up.

Can one app use more than one language?

Yes. A payment app may use Kotlin on the phone, JavaScript on the web and Java or Python on the servers.

From machine code to high-level languages

Machine code is the only thing a processor runs: patterns of 0s and 1s. Writing it is slow and error-prone.

A short timeline

Newer languages add safety (catching errors early), better tools and easier syntax, while staying fast.

Programming paradigms

A paradigm is a style of writing programs.

Most modern languages are multi-paradigm: you can mix styles.

Programming requirements of emerging technologies

TechnologyWhat it needsCommon languages
Artificial intelligence, data sciencemaths and machine-learning libraries, quick experimentsPython, R, C++ (for speed)
Mobile appstouch screens, battery care, app-store rulesKotlin, Java (Android); Swift (iOS)
Web and cloudruns in browsers and servers, many users at onceJavaScript/TypeScript, Python, Java, Go
IoT, robots, dronessmall memory, low power, real-time control, safetyC, C++, Rust, MicroPython
Games and VR/ARfast 3D graphicsC++, C#
Blockchainsecure, checked contractsSolidity, Rust
Quantum computingdescribe qubits and gatesPython toolkits such as Qiskit

Choosing a language means weighing speed, safety, libraries, the device it runs on and the team's skills.

Reporting on innovations in information technology

A good tech report answers five questions:

  1. What is it? Explain the innovation in plain words.
  2. How does it work? The main idea and the software behind it.
  3. Who uses it? Real examples, for example AI language assistants, self-driving features, digital payments like UPI, 5G, cloud computing.
  4. Benefits and risks: jobs, privacy, security, energy use, fairness, e-waste.
  5. Sources: name trusted sources and dates; check facts in more than one place.

Share it as a short written report, slides or a talk, using diagrams instead of long text.

Try it

In the 3D, pick each technology. Write one reason why its languages fit (for example: IoT โ†’ small memory โ†’ C or Rust).

At home: list 5 apps on a phone. Guess the technology behind each (mobile, web, AI, cloud) and the language it might use. Then check one online.

Key formulas and definitions

Worked examples

1. Order these from lowest to highest level: Python, machine code, assembly.

Machine code โ†’ assembly โ†’ Python. Each step is easier for people and further from the hardware.

2. A team is building a smart water meter with very little memory and a small battery. Suggest a language and give two reasons.

C or Rust. They make small, fast programs that run without a big runtime, and they give close control of the hardware. Rust also stops many memory bugs.

3. Why is Python popular for AI?

It is easy to read, so experiments are fast, and it has big ready-made libraries for maths, data and machine learning. The heavy maths inside those libraries runs in fast C/C++.

4. Kotlin (2016) and Java (1995) both build Android apps. Give one reason a newer language appears.

Kotlin needs less code for the same job and catches 'null' errors at compile time, which removes a common crash in Java apps.

5. Plan a short report on UPI digital payments.

What: instant phone-to-bank payments. How: apps call secure bank interfaces. Who: shops, families, small vendors. Benefits: fast, cheap, less cash. Risks: fraud, phone loss, needs internet. Sources: official payment body data and news, with dates.

Common mistakes

Practice quiz

1. The only language a processor runs directly is:
2. Which language came first?
3. Which language is mainly used for iPhone apps?
4. A program that translates and runs code line by line is:
5. Which need matters most for a tiny IoT sensor?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What are the generations of programming languages?

Roughly: 1st machine code, 2nd assembly, 3rd high-level languages (C, Java, Python), 4th very high-level tools like SQL, and 5th logic/AI-based languages.

Which programming languages are emerging now?

Rust, Kotlin, Swift, Go and TypeScript are widely adopted newer languages; Python keeps growing because of AI.

What is the difference between low-level and high-level languages?

Low-level languages are close to the hardware (machine code, assembly). High-level languages are close to human language and must be translated.

Where this is taught

Canada (Ontario)Grade 12D. Computers and Society

Learn first

Learn next

Related lessons

All Computer Science lessons