Docsity

Computer science short book, Summaries of Computer science

Toggle sidebar
bg1
COMPUTER SCIENCE • COMPLETE STUDY NOTES
COMPUTER SCIENCE
BASIC → INTERMEDIATE → BS / UNIVERSITY / TEACHER LEVEL
Complete Study & Revision Notes
31 PAGES • DEFINITIONS • EXAMPLES • KEY POINTS • URDU EXPLANATIONS • QUESTION TYPES
Prepared for learning and revision
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20

Partial preview of the text

Download Computer science short book and more Summaries Computer science in PDF only on Docsity!

COMPUTER SCIENCE • COMPLETE STUDY NOTES

COMPUTER SCIENCE

BASIC → INTERMEDIATE → BS / UNIVERSITY / TEACHER LEVEL

Complete Study & Revision Notes

31 PAGES • DEFINITIONS • EXAMPLES • KEY POINTS • URDU EXPLANATIONS • QUESTION TYPES

Prepared for learning and revision

COMPUTER SCIENCE

1. INTRODUCTION TO COMPUTERS

5 Important Definitions

  1. Computer: A computer is an electronic machine that accepts data, processes it according to instructions, stores it, and produces useful information.
  2. Data: Data is a collection of raw facts, numbers, symbols, or observations that have not yet been processed.
  3. Information: Information is processed and meaningful data that can be used for understanding or decision-making.
  4. Hardware: Hardware means the physical parts of a computer that can be seen and touched.
  5. Software: Software is a collection of programs and instructions that tells computer hardware what to do. Basic Working of Computer Input → Processing → Output → Storage

Example: Keyboard → CPU → Monitor → Hard Disk

10 Examples

1. Desktop computer

2. Laptop

3. Tablet

4. Smartphone

5. ATM

6. Supercomputer

RAM = temporary/volatile memory ROM = non-volatile memory Hardware = physical parts Software = programs Input = data entering computer Output = result produced by computer

Exam Questions

Q1. What is a computer? Q2. Differentiate between hardware and software.

Q3. What is data and information? Q4. Explain the basic components of a computer. Q5. What are input and output devices?

2. OPERATING SYSTEM

5 Definitions

  1. Operating System: An operating system is system software that manages computer hardware, software, files, memory, and users.
  2. Process: A process is a program that is currently being executed.
  3. File: A file is a named collection of data stored on a storage device.
  4. Folder: A folder is a container used to organize files and other folders.
  5. User Interface: A user interface is the method through which a user interacts with a computer system.

10 Examples

1. Windows

2. Linux

  1. macOS

4. Android

  1. iOS

6. Ubuntu

7. Fedora

8. Debian

9. ChromeOS

10. Unix

Main Functions

Process management Memory management File management Device management Security User management Networking Resource allocation

5. Creating a graph

6. Preparing a PowerPoint presentation

7. Creating a database in Access

8. Mail merge

9. Formatting a document

10. Creating formulas in Excel

Important Excel Formulae

SUM() — adds values AVERAGE() — calculates average MAX() — highest value MIN() — lowest value COUNT() — counts numbers

Urdu

عومجم اک software لاو نو لامعتسا یل ک ںوماک educational روا office فلتخم MS Office Word س documents، Excel س calculations/data، PowerPoint س presentations روا Access س databases ںی تکس اج ئانب

Key Points

Word → Documents Excel → Spreadsheet/Data PowerPoint → Presentation Access → Database

Shortcut keys improve productivity.

4. INTERNET & WEB

5 Definitions

  1. Internet: A worldwide network of interconnected computer networks.
  2. World Wide Web: A system of interconnected web pages and resources accessed through the Internet.
  3. Web Browser: Software used to access and display websites.
  4. Search Engine: A service that helps users find information on the web.
  5. URL: Uniform Resource Locator; the address of a resource on the Internet.

10 Examples

1. Google

2. Bing

3. Chrome

4. Firefox

5. Edge

6. Wikipedia

7. YouTube

8. Email

  1. Malware: Malicious software designed to damage, disrupt, spy on, or gain unauthorized access to systems.
  2. Cybercrime: Illegal activities performed using computers or networks.

10 Examples

1. Virus

2. Worm

3. Trojan

4. Ransomware

5. Spyware

6. Phishing

7. Password theft

8. Identity theft

9. Unauthorized access

10. Data theft

Urdu

unauthorized ،انرک یروچ password اک ںورسود اتلاک computer ethics انرک لامعتسا responsibly وک Computer ینوناق ریغ رثکا روا طلغ انرک یروچ private information یک یسک ای انلایھپ malware ،انرک access

Safety Rules

ںیرک لامعتسا Strong passwords

Two-factor authentication ںیرک لامعتسا ںیلوھک ن Unknown links Software update ںیھکر Antivirus/security tools ںیرک لامعتسا Important data اک backup ںیھکر ںیھکر ظوفحم Personal information

LEVEL 2 — INTERMEDIATE COMPUTER SCIENCE

6. PROGRAMMING FUNDAMENTALS

5 Definitions

  1. Programming: The process of creating instructions that a computer can execute.
  2. Algorithm: A finite step-by-step procedure for solving a problem.
  3. Flowchart: A graphical representation of an algorithm.
  4. Variable: A named memory location used to store a value.
  5. Data Type: A classification that specifies what kind of value a variable can store.

10 Examples

1. Algorithm for addition

2. Algorithm for finding maximum

3. Algorithm for calculating average

4. Login program

5. Calculator program

ںیرک add وک ںونود.

  1. Result display ںیرک

7. C PROGRAMMING

5 Definitions

  1. C: A general-purpose procedural programming language.
  2. Function: A block of code designed to perform a particular task.
  3. Loop: A programming structure that repeats instructions.
  4. Array: A collection of elements of the same data type stored in an indexed structure.
  5. Pointer: A variable that stores the memory address of another variable.

10 Examples

1. Hello World

2. Addition

3. Subtraction

4. Multiplication

5. Even/odd

6. Factorial

7. Fibonacci series

8. Array processing

9. Function-based program

10. File handling program

Important C Concepts

Variables Constants Operators if else switch for while do-while Functions Arrays Strings Pointers Structures Files

Urdu

C کیا general-purpose programming language وج programming fundamentals، system programming روا یتو لامعتسا ںیم software development

Important Concepts

Stack: LIFO Example: A stack of books. Queue: FIFO Example: People waiting in a line. Searching Linear search Binary search Sorting Bubble sort Selection sort Insertion sort Merge sort Quick sort

Urdu

Data structure data س بیترت یسیا وک store نرکقیرط اک س سج سا efficiently access، modify روا process ایک کس اج یتلکن راب لپ و یتو لخاد ںیم رخآ زیچ وج :Stack یتلکن راب لپ و یتو لخاد لپ زیچ وج :Queue

9. DATABASE MANAGEMENT

5 Definitions

  1. Database: An organized collection of related data.
  2. DBMS: Software used to create, manage and manipulate databases.
  3. Table: A database structure consisting of rows and columns.
  4. Primary Key: A field that uniquely identifies each record.
  5. SQL: Structured Query Language used to communicate with relational databases.

10 Examples

1. Student database

2. University database

3. Hospital database

4. Library database

5. Bank database

6. Employee database

7. Inventory database

8. Airline database

9. Online store database

10. Botanical specimen database

SQL Categories

DDL: Data Definition Language

10 Examples

1. HTML headings

2. HTML paragraphs

3. HTML links

4. HTML images

5. HTML tables

6. CSS colors

7. CSS layouts

8. JavaScript buttons

9. JavaScript forms

10. Responsive websites

Basic Web Structure

HTML → Structure CSS → Presentation JavaScript → Behavior

Urdu

:ںیم نانب Website اتانب structure یداینب HTML

اتانب تروصبوخ وک CSS website JavaScript website ںیم interaction روا dynamic behavior اترک لماش

LEVEL 3 — BS / UNIVERSITY / TEACHER LEVEL

11. ADVANCED PROGRAMMING

5 Definitions

  1. Object-Oriented Programming (OOP): A programming paradigm based on objects containing data and behavior.
  2. Class: A blueprint/template for creating objects.
  3. Object: An instance of a class.
  4. Inheritance: A mechanism through which one class acquires properties and behavior of another class.
  5. Polymorphism: The ability of the same interface or operation to behave differently in different contexts.

10 Examples

1. Class

2. Object

3. Encapsulation

4. Inheritance

5. Polymorphism

6. Abstraction

7. Exception handling

8. File handling