Notes for basic Computer Science
π₯️ Unit I: Computer Systems and Organisation
π Chapter 1: Basics of Computer Organisation
-
Input Devices: Keyboard, Mouse, Scanner
-
Output Devices: Monitor, Printer, Speakers
-
Memory Units: Bit, Byte, KB, MB, GB, TB
-
Primary Memory: RAM, ROM
-
Secondary Storage: HDD, SSD, USB
π Chapter 2: Software Concepts
-
System Software: Operating System, Compilers, Device Drivers
-
Application Software: MS Word, Excel, Browsers
-
Open Source vs Proprietary Software
π Chapter 3: Boolean Logic and Number Systems
-
Boolean Operators: AND, OR, NOT
-
Truth Tables
-
Number Systems:
-
Binary to Decimal
-
Decimal to Binary
-
ASCII and Unicode characters
-
π» Unit II: Computational Thinking and Programming – I
π Chapter 4: Introduction to Python
-
Python Features: Simple, interpreted, free, versatile
-
Variables and Data Types:
int,float,str,bool -
Comments:
# for single-line,''' for multi-line''' -
Input/Output:
input(),print()
π Chapter 5: Operators and Expressions
-
Arithmetic Operators:
+,-,*,/,//,%,** -
Relational Operators:
<,>,<=,>=,==,!= -
Logical Operators:
and,or,not -
Assignment Operators:
=,+=,-= -
Operator Precedence
π Chapter 6: Control Flow
-
Conditional Statements:
if,if-else,if-elif-else -
Loops:
for,while -
Loop Control:
break,continue,pass
π Chapter 7: Strings
-
String Creation:
'Hello',"World" -
String Operations: Concatenation (
+), Repetition (*) -
Slicing:
s[1:4] -
Built-in Functions:
len(),lower(),upper(),find()
π Chapter 8: Lists and Tuples
-
List: Mutable collection
a = [1, 2, 3] -
List Methods:
append(),insert(),remove(),pop() -
Tuple: Immutable
t = (1, 2, 3) -
Accessing Elements: Indexing, slicing
π Chapter 9: Dictionaries
-
Dictionary Creation:
d = {'name': 'John', 'age': 17} -
Access Elements:
d['name'] -
Methods:
keys(),values(),get(),update()
π Unit III: Society, Law and Ethics – I
π Chapter 10: Cyber Safety
-
Digital Footprint
-
Cyberbullying, Phishing, Identity Theft
-
Password Security, Privacy Protection
π Chapter 11: Ethics & Legal Issues
-
Intellectual Property Rights (IPR)
-
Open Source vs Proprietary Software
-
Digital Rights & Responsibilities
-
Plagiarism and Fair Use
No comments:
Post a Comment