0% found this document useful (0 votes)
2 views

Computer Science Detailed Notes

Uploaded by

alexhu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Computer Science Detailed Notes

Uploaded by

alexhu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Computer Science Class Notes: Introduction to Programming (Detailed)

1. What is Programming?
- Communicating instructions to a computer to perform tasks.

2. Early Programming History


- 1940s: Machine Language (binary code).
- 1950s: Assembly Language (mnemonics).
- Today: High-Level Languages (Python, Java, C++).

3. Algorithms and Flowcharts


- Algorithm: Step-by-step logical procedure.
- Flowchart: Visual diagram representing steps.

4. Variables and Data Types


- Variable: Symbolic name for a memory location.
- Data Types: Integer, Float, String, Boolean.

5. Control Structures
- If Statements: Decision-making.
- Loops: Repeat actions (for, while).

6. Pseudocode Example
- Start
- Input A, B
- If A > B then
Print A
Else
Print B
- End

7. Importance of Programming
- Software development, AI, cybersecurity, web design.

You might also like