Computer_Science_Basics_Notes_1 (1)
Computer_Science_Basics_Notes_1 (1)
Computer Science is the study of computers-how they work, how we can make them do tasks, and how we
We use programming to tell computers what to do, just like giving instructions.
CPU (Central Processing Unit): The brain of the computer. It processes instructions and does calculations.
Storage (Hard Disk / SSD): Like a computer's memory. It stores data and programs even when the computer
is off.
Backend: The engine behind the scenes that handles logic and processes
Contact: [email protected]
Introduction to Computer Science & Programming Basics
Programming is not just about writing code. It's about solving problems:
Then it becomes Machine Language (Binary - 0s and 1s) which the CPU can understand
- Clean
Java:
- Longer code
Python:
Contact: [email protected]
Introduction to Computer Science & Programming Basics
- Shorter code
Encapsulation: Hiding the internal details and showing only what's needed
Example: A car - you don-t see the engine inside; you just drive it.
System.out.println("Hello, World!");
How we do that:
- API (Application Programming Interface): Like a waiter in a restaurant - it connects the user and the kitchen
Contact: [email protected]
Introduction to Computer Science & Programming Basics
Summary
- Java vs Python
Contact: [email protected]