Skip to main content

0. Group Assignment

This week, we will be exploring the concept of interface and application programming.

1.1. Programming Language

1.1.1. Python

Python is a high-level programming language. It is easy to learn and use. And it has a large community which provides a lot of packages. You can easily find the package you need. And it is also a good choice for beginners.

print("Hello, World!")

!

1.1.2. JavaScript

The language of the web. JavaScript runs in browsers and is used to create interactive web pages. It also works on the server side with tools like Node.js.

<button onclick="changeText()">Click me</button>
<p id="demo">Original Text</p>

<script>
function changeText() {
document.getElementById("demo").innerText = "Hello, world!";
}
</script>

1.1.3. C++

A compiled language known for speed and control over system resources. Common in game development, embedded systems, and high-performance computing.

#include <iostream>
int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
# Compile and run a C++ program
g++ hello.cpp -o hello
./hello

1.2. Intergrated Development Environment (IDE)

1.2.1. Visual Studio Code

Visual Studio Code is a fast, versatile editor made by Microsoft. It supports many languages and has an active plugin ecosystem. Good for everything from web to embedded development.

1.2.2. Arduino IDE

Arduino IDE is a simple IDE for writing and uploading code to Arduino boards. It is easy to use and has a large community of users.

1.3. Flow-based Programming

1.3.1. Node-RED

Node-RED is a flow-based programming tool that allows you to create applications with a simple drag-and-drop interface. It is easy to use and has a large community of users.