Intro to Computer Programming
Python, Java, C++
What is Programming?
• Telling a computer what to do using code
• Used in everyday life: apps, games, websites,
ATMs
Why Learn Programming?
• Automate tasks
• Create apps & software
• Data analysis & AI
• Lucrative career opportunities
Why 3 Languages?
• Python – Easy syntax, great for beginners
• Java – Cross-platform, object-oriented
• C++ – High performance, low-level system
programming
Compiled vs Interpreted
• Python: Interpreted
• Java: Compiled to bytecode (JVM)
• C++: Compiled to machine code
Development Tools
• Python: IDLE / VS Code
• Java: Eclipse / IntelliJ
• C++: GCC / Code::Blocks / VS Code
Hello World – Python
• print("Hello, World!")
Hello World – Java
• public class Hello {
• public static void main(String[] args) {
• System.out.println("Hello, World!");
• }
• }
Hello World – C++
• #include <iostream>
• using namespace std;
• int main() {
• cout << "Hello, World!";
• return 0;
• }
Compare Syntax
• Python: Minimal and readable
• Java: Verbose, strict typing
• C++: Powerful but more complex
Next Steps
• Install Python, Java, and C++ tools
• Try Hello World examples
• Explore syntax differences
Q&A + Homework
• Homework:
• Install tools
• Write Hello World in each language
• Ask questions in the group/forum