Introduction to Programming
1. What is Programming?
- Programming is the process of writing instructions for computers to perform specific tasks.
2. Popular Programming Languages
- Python: Beginner-friendly, widely used in data science and web development.
- JavaScript: Main language for web development.
- Java: Common for mobile apps and enterprise software.
3. Basic Concepts
- Variables: Store data values.
- Loops: Repeat actions multiple times.
- Functions: Reusable code blocks that perform tasks.
- Conditional statements: Execute code based on conditions (if/else).
4. Example: Python
name = input("Enter your name: ")
print(f"Hello, {name}!")