Complete Study Notes: Software Engineering & History
Variables: Variables store data values. Example: int age = 20; string name = "John";
Data Types: int (numbers), char ('A'), string ("Hello"), bool (true/false).
Input/Output: cin >> variable (input), cout << variable (output). Example: cout << "Hello";
Operators: Arithmetic (+ - * /), Comparison (== != > <), Logical (&& ||).
If/Else: Example: if(age > 18) { cout << "Adult"; } else { cout << "Minor"; }
Loops: Example while loop: int i=1; while(i<=5){ cout<<i; i++; }
Do While: do{ cout<<"Hi"; }while(false);
Functions: int add(int a,int b){ return a+b; }
Arrays: int arr[3]={1,2,3};
Strings: string name="Kun";
Nature of History: Study of past human events using evidence and interpretation.
Uses of History: Understand present, avoid mistakes, build identity, improve thinking.
Primary Sources: diaries, photos, artifacts.
Secondary Sources: books and articles.
Historiography: study of how history is written.
European Contribution: recorded Ethiopian history, introduced writing, may have bias.