Programming Languages
Explore different programming languages, their syntax features, use cases, and application areas
JavaScript
A dynamic language used for web development, mobile applications, and server-side programming.
const greeting = "Hello World!";
console.log(greeting);
Python
An easy-to-learn language ideal for data science, artificial intelligence, web development, and automation.
def greet(name):
return f"Hello {name}!"
Java
A powerful and reliable language for enterprise applications, Android development, and large-scale systems.
public class Hello {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
C++
Ideal for system programming, game development, and high-performance applications.
#include <iostream>
int main() {
std::cout << "Hello World!" << std::endl;
return 0;
}
C#
A modern language for developing desktop, web, and mobile applications for the Microsoft ecosystem.
using System;
class Program {
static void Main() {
Console.WriteLine("Hello World!");
}
}
PHP
A server-side scripting language and powerful web application platform specifically designed for web development.
<?php
echo "Hello World!";
$name = "PHP";
echo "Hello " . $name;
?>
C
A structured programming language used for system software, embedded systems, and performance-critical applications.
#include <stdio.h>
int main() {
printf("Hello World!");
return 0;
}
SQL
A standard query language used for managing relational databases and processing data.
SELECT first_name, last_name
FROM users
WHERE country = 'United States'
ORDER BY registration_date DESC
LIMIT 10;
Assembly
A low-level programming language that directly interacts with computer architecture.
section .text
global _start
_start:
mov edx, len
mov ecx, msg
mov ebx, 1
mov eax, 4
int 0x80
Kotlin
A modern, cross-platform, and pragmatic programming language developed by JetBrains.
fun main() {
val message = "Hello World!"
println(message)
val name = "Kotlin"
println("Hello $name")
}
HTML
Standard markup language that creates the structure of web pages and provides meaning to content.
<!DOCTYPE html>
<html>
<body>
<h1>Hello World!</h1>
</body>
</html>
CSS
Style sheet language that controls the appearance and layout of web pages, stylizing HTML elements.
body {
background-color: #f0f0f0;
font-family: Arial, sans-serif;
color: #333333;
}