0% found this document useful (0 votes)
16 views6 pages

12th Computer Science Part2 Notes

The document provides a comprehensive overview of key topics in computer science for Class 12, including Python basics, database management systems, HTML & CSS, C++ functions and arrays, and cyber safety. Each section outlines essential concepts, terminology, and examples relevant to the subject matter. It serves as a resource for revision and understanding fundamental programming and web development principles.

Uploaded by

aryanthakur5467
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)
16 views6 pages

12th Computer Science Part2 Notes

The document provides a comprehensive overview of key topics in computer science for Class 12, including Python basics, database management systems, HTML & CSS, C++ functions and arrays, and cyber safety. Each section outlines essential concepts, terminology, and examples relevant to the subject matter. It serves as a resource for revision and understanding fundamental programming and web development principles.

Uploaded by

aryanthakur5467
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/ 6

Computer Science Part 2 – Notes & Summary

Maharashtra State Board – Class 12

Compiled Notes for TPS Upload and Revision


1. Python Basics
Python is a high-level, interpreted programming language used for general-purpose programming.
It is known for its simplicity and readability. It supports object-oriented, procedural, and functional
programming paradigms.

**Key Concepts:** Variables: Used to store data values (e.g., x = 10). Data Types: int, float, string,
list, tuple, dictionary, etc. Control Structures: if, else, elif, while, for loops. Functions: Defined
using def keyword to reuse code. Input/Output: input() for user input, print() for output.
2. Database Management System (DBMS)
A Database Management System (DBMS) is software that helps to create, manage, and operate
databases efficiently. It allows users to store, modify, and extract information from a database.

**Key Terms:** Data: Raw facts and figures. Database: Organized collection of related data.
Primary Key: Unique identifier for records in a table. Foreign Key: Links data between two tables.
Normalization: Process to reduce redundancy and improve data integrity.
3. HTML & CSS
HTML (HyperText Markup Language) is used to create the structure of a webpage, while CSS
(Cascading Style Sheets) is used to style and format the webpage.

**Basic HTML Tags:** <html>: Root element of a webpage. <head>: Contains metadata like title.
<body>: Contains visible page content. <h1> to <h6>: Headings. <p>: Paragraph tag. **CSS
Syntax Example:** p { color: blue; font-size: 16px; }
4. C++ Functions & Arrays
**Functions:** Functions are blocks of code designed to perform a particular task. They make
programs modular and reusable.

**Example:** int add(int a, int b) { return a + b; } **Arrays:** Arrays store multiple elements of the
same data type under one variable name.

**Example:** int marks[5] = {90, 85, 78, 92, 88};


5. Cyber Safety
Cyber Safety refers to practices that protect users from online threats such as viruses, malware,
and phishing. It ensures safe and responsible use of the internet.

**Important Topics:** Viruses and Malware: Harmful software that can damage data. Phishing:
Fake emails or websites to steal information. Password Security: Use strong, unique passwords.
Data Privacy: Avoid sharing personal information publicly. Cyber Ethics: Respect privacy, avoid
plagiarism and piracy.

You might also like