ICS students studying Computer Science First Year under Punjab Board can now download the complete textbook in PDF format. This book is part of the official ICS curriculum approved by PECTAA (Punjab Education, Curriculum, Training and Assessment Authority) and follows the National Curriculum of Pakistan 2023.
For ICS students, Computer Science is one of the core subjects for board exams. This textbook covers programming, data analytics, and entrepreneurship — all important for understanding modern technology and preparing well for annual exams.
Book Overview
| Class | Class 11 / First Year |
| Subject | Computer Science and Entrepreneurship |
| Category | ICS |
| Board | Punjab Board (PCTB / PECTAA) |
| Total Units | 9 |
| Medium | English |
| Format | PDF (Free Download) |
Chapter List
Unit 1: Introduction to Software Development
Introduction to Software Development covers the Software Development Life Cycle (SDLC) — requirement gathering, design, coding, testing, deployment, and maintenance — plus functional vs. non-functional requirements illustrated with a Library Management System. It contrasts the Waterfall model (linear, sequential) with Agile methodology (sprints, continuous integration, test-driven development, pair programming), and covers project planning (timelines, cost estimation, risk assessment). UML diagrams (use case, class, sequence, activity) are taught using an online shopping platform, alongside design patterns (Singleton, Factory, Observer, Strategy), debugging/testing levels, and tools like VS Code, PyCharm, GDB, and GitHub.
Important Questions:
- What is SDLC and what is its primary purpose? SDLC (Software Development Life Cycle) is a framework defining the stages used to build software from initial conception through deployment and maintenance. Its primary purpose is to deliver high-quality software that meets customer expectations within time and cost estimates.
- Differentiate functional and non-functional requirements using the Library Management System example. Functional requirements describe what the system should do, such as allowing user registration and book borrowing. Non-functional requirements describe how well it performs, such as handling 1000 simultaneous users or maintaining 99.9% uptime.
- Compare the Waterfall model and Agile methodology. Waterfall is linear and sequential — each phase must finish before the next begins — making it simple but inflexible, suited to small projects with fixed requirements. Agile works in short sprints with practices like continuous integration and test-driven development, offering flexibility for changing requirements.
- What is a Use Case Diagram, illustrated with the online shopping platform example? A Use Case Diagram visually represents system functionality from the user’s perspective, capturing functional requirements and actor interactions. In the shopping platform example, actors include Customer, Administrator, and Delivery Personnel, with use cases like Browse Products and Process Orders.
Unit 2: Python Programming
Python Programming introduces variables, data types (int, float, str, bool), and input/output using input() and print(). It covers arithmetic, comparison, assignment, and logical operators along with operator precedence, then control structures — if/if-else/if-elif-else, while loops, and for loops with range(). Students learn to define functions with def, use default parameters, and import modules (random, datetime, statistics). Built-in data structures covered include lists, tuples, and indexing/slicing. The unit closes with object-oriented programming (class, object, __init__, self), exception handling (try-except), file handling, and testing/debugging using unittest and pdb.
Important Questions:
- What is the difference between int() and float() when handling numeric input? int() converts input text into a whole number, while float() converts it into a decimal number; both are used to convert the string returned by input(), e.g., user_age = int(input(“Enter your age: “)).
- Explain default parameters in Python functions with an example. A default parameter provides a fallback value used when no argument is supplied. In def greet(name=”Student”), calling greet() outputs “Hello, Student!” while greet(“Umer”) outputs “Hello, Umer!”.
- What is the key difference between a list and a tuple in Python? A list, created with square brackets, is mutable and can be changed after creation using methods like append() and remove(). A tuple, created with parentheses, is an ordered collection that is immutable.
- Explain the purpose of try-except blocks. The try block contains code that might cause an error, and the except block catches a specific error type (such as ZeroDivisionError) and handles it gracefully, allowing the program to continue running instead of crashing.
Unit 3: Algorithms and Problem Solving
Algorithms and Problem Solving defines computational problems in terms of input, process, and output, classifying them as decision, search, optimization, or counting problems. It explores solvability (the Halting Problem, proved unsolvable by Alan Turing) and complexity classes P, NP, NP-hard, and NP-complete, alongside Big O notation (O(1), O(n), O(n²), O(log n)). Algorithm design techniques covered include divide and conquer (Merge Sort), greedy algorithms (Coin Change problem), dynamic programming (Fibonacci sequence), and backtracking, along with Bubble Sort, Selection Sort, Linear Search, Binary Search, BFS, and DFS.
Important Questions:
- What is the Halting Problem and why is it unsolvable? The Halting Problem asks whether a given program will eventually finish running or continue forever. Alan Turing proved that no general algorithm can solve this for all possible program-input pairs, making it a classic unsolvable problem.
- Differentiate tractable and intractable problems with examples. Tractable problems can be solved in polynomial time (Class P), like sorting a list with Merge Sort at O(n log n). Intractable problems require super-polynomial or exponential time, like the Traveling Salesman Problem, which is NP-hard.
- Explain Bubble Sort and its time complexity. Bubble Sort repeatedly steps through a list, comparing adjacent elements and swapping them if out of order, continuing until no swaps are needed. Its time complexity is O(n²), making it simple but inefficient for large datasets.
- Compare Breadth-First Search (BFS) and Depth-First Search (DFS). BFS explores a graph level by level using a queue and is well-suited to finding shortest paths. DFS explores as far as possible down one branch using a stack before backtracking. Both have time complexity O(V+E), but DFS is more memory-efficient for deep graphs.
Unit 4: Computational Structures
Computational Structures covers Lists (dynamic size, index-based access, insert/remove/pop), Stacks operating on the LIFO principle (push and pop, illustrated with a stack of books), and Queues operating on FIFO (enqueue/dequeue, illustrated with a bank line). Trees are introduced with root nodes, edges, leaves, height, and balanced trees, plus applications like pre-order traversal for file system backups. Graphs are covered with vertices, edges, degree, weight, and direction, distinguishing directed, undirected, and weighted graphs using city-road and social-network examples.
Important Questions:
- Explain the LIFO principle in a stack. LIFO (Last-In, First-Out) means the most recently added item is the first one removed. In the textbook’s stack-of-books example, pushing “Book A” then “Book B” and then popping removes “Book B” first, since it was added last.
- What is the FIFO principle used in queues? FIFO (First-In, First-Out) means the first item added is the first one removed, like a line at a bank. Enqueue adds an item to the back of the queue, while Dequeue removes the item from the front.
- Define a tree and describe two of its properties. A tree organizes data hierarchically starting from a root node, with nodes connected by edges. Key properties include height (the longest path from root to the farthest leaf) and balanced trees (where left and right branches are nearly equal in height).
- Differentiate between directed and undirected graphs. In a directed graph, edges have a one-way direction, like a one-way road from city A to city B. In an undirected graph, edges have no direction, so the connection works both ways, as in a mutual friendship between two people.
Unit 5: Data Analytics
Data Analytics covers measures of central tendency (mean, median, mode) and dispersion (variance and standard deviation), worked through a Class A vs. Class B test-score comparison. It covers probability basics, data collection methods (surveys, observations, experiments), and data cleaning/transformation, including handling missing data via imputation, flagging, or removal. Statistical modeling includes linear regression (a fruit-stall earnings example with slope and intercept), logistic regression, and K-means clustering. The unit ends with model evaluation, ethical considerations, and data visualization types using tools like Excel, Python, Tableau, and Matplotlib.
Important Questions:
- Differentiate mean, median, and mode using the test-score example (50, 60, 70, 80, 90). The mean is the average of all values (sum divided by count = 70). The median is the middle value when arranged in order (70). The mode is the value that appears most often in a dataset.
- What does a higher variance or standard deviation indicate about a dataset? A higher variance/standard deviation means data points are more spread out from the mean. Tightly clustered scores give a low variance, while widely scattered scores give a much higher variance.
- Explain simple linear regression using the fruit-stall example. Linear regression models the relationship Y = β0 + β1X between an independent variable (number of customers) and a dependent variable (daily earnings). With slope β1=40 and intercept β0=100, the equation becomes Earnings = 100 + 40 × Customers.
- Name three data collection methods described in the unit. Surveys (e.g., a grocery store surveying customers on product preferences), observations (a restaurant tracking which tables customers choose), and experiments (a teacher testing whether printed notes improve exam performance).
Unit 6: Emerging Technologies
Emerging Technologies covers Cloud Computing fundamentals — virtualization, scalability, elasticity, and on-demand access — the three service models IaaS, PaaS, and SaaS, and deployment models: public, private, hybrid, and multi-cloud. The Blockchain section covers core principles — decentralization, immutability, consensus mechanisms — components (node, ledger, block, transaction), and use cases including cryptocurrencies, smart contracts, and supply chain tracking. The unit closes with edge computing (autonomous vehicles) and serverless architectures (AWS Lambda).
Important Questions:
- Differentiate IaaS, PaaS, and SaaS with examples. IaaS provides basic infrastructure like servers and storage on a pay-as-you-go basis (e.g., AWS virtual servers). PaaS provides a complete development and deployment environment (e.g., Google App Engine). SaaS provides ready-to-use hosted software (e.g., Google Workspace).
- What are the three core principles of blockchain? Decentralization (a network of nodes validates and records transactions instead of a central authority), Immutability (once a block is added it cannot be altered), and Consensus Mechanisms (nodes must reach agreement before a new block is added).
- Differentiate scalability and elasticity in cloud computing. Scalability means adding more resources when needed, such as adding servers during a sales traffic spike. Elasticity is the cloud’s ability to automatically scale resources up or down based on real-time demand and scale back down afterward.
- What is edge computing, illustrated with an example? Edge computing processes data close to its source rather than in a centralized data center, reducing latency. In autonomous vehicles, sensor and camera data is processed locally in the car, enabling quick real-time responses to changing road conditions.
Unit 7: Legal and Ethical Aspects of Computing System
Legal and Ethical Aspects of Computing covers Terms of Use clauses (user obligations, limitations of liability, privacy/data use, intellectual property, termination), illustrated with Pakistani services like Daraz, Careem, and WhatsApp. It details privacy/security threats — spam, spyware, cookies, phishing, and pharming — and their prevention. The digital divide is examined through economic, geographical, educational, and social barriers. Computing’s societal impact section covers positive effects (accessibility, e-commerce) and negative effects (misinformation, data leaks), plus digital citizenship, copyright/plagiarism, and cybersecurity reporting via NR3C-FIA.
Important Questions:
- Differentiate phishing and pharming. Phishing is a scam where someone impersonates a trustworthy organization, such as a fake bank email, to trick users into giving personal information. Pharming redirects users to a fake website without their knowledge, even when they type the correct URL.
- What are the main causes of the digital divide identified in the unit? Economic barriers (unaffordable devices/internet), geographical barriers (poor rural infrastructure), educational barriers (lack of digital literacy), and social barriers (age, gender, or disability limiting access to technology).
- Explain two common Terms of Use clauses. User Obligations outline what is expected of the user, such as Careem requiring a valid phone number. Limitations of Liability restrict the provider’s responsibility for issues like service disruptions.
- What does Pakistan’s Personal Data Protection Bill (2020) aim to do? It aims to protect citizens’ data and privacy by requiring organizations to obtain explicit consent before collecting personal data and to store that data securely.
Unit 8: Online Research and Digital Literacy
Online Research and Digital Literacy covers five types of online research: general information, academic, market, fact-checking, and health research. It defines digital literacy through using technology, searching for information, and evaluating sources, then covers navigating online libraries and academic journals. Research ethics is built around four principles — informed consent, confidentiality, integrity, and respect for participants. The unit closes with intellectual property types — patents, trademarks, copyrights, industrial designs, and trade secrets — illustrated with Pakistani examples, and how to protect IP via Pakistan’s Intellectual Property Organization (IPO).
Important Questions:
- Name and describe two types of online research from the unit. Academic Research focuses on finding scholarly information such as books and research papers for educational purposes. Fact-Checking Research verifies the accuracy of information by checking it against multiple reliable sources.
- What are the four key principles of research ethics? Informed Consent (inform participants and obtain permission), Confidentiality (keep personal information private), Integrity (be honest, avoid falsifying data or plagiarizing), and Respect for Participants (ensure the research does not harm them).
- Differentiate a patent from a copyright, using the unit’s examples. A patent grants exclusive rights to an invention, such as a more efficient solar panel design, preventing others from making or selling it without permission. Copyright protects literary and artistic works, such as a novel, giving the author exclusive rights to publish, sell, or adapt it.
- What makes an academic journal article a trustworthy source? It is typically peer-reviewed, meaning it has been checked by other experts in the field before publication, which makes it a reliable, scholarly source of information.
Unit 9: Entrepreneurship in Digital Age
Entrepreneurship in Digital Age introduces Design Thinking’s five steps — Empathize, Define, Ideate, Prototype, Test — using a school-bag redesign example, then walks through building a business plan (Executive Summary, Business Description, Market Analysis, Products/Services, Marketing and Sales Strategy, Financial Plan). It covers market research (qualitative vs. quantitative, surveys, focus groups, market segmentation), crafting a business pitch, and marketing strategy in a Pakistani context. Financial concepts covered include revenue, profit, budgeting, investment, savings, and loans, with Rupee-based worked examples, closing with communication/storytelling and innovation (mobile banking as an example).
Important Questions:
- What are the five steps of Design Thinking? Empathize (understand user needs), Define (clearly state the problem), Ideate (brainstorm solutions), Prototype (build a simple model), and Test (get feedback and refine), as shown in the unit’s school-bag redesign example.
- Name the key parts of a business plan covered in the unit. Executive Summary, Business Description, Market Analysis, Products or Services, Marketing and Sales Strategy, and Financial Plan.
- Differentiate qualitative and quantitative market research. Qualitative research collects non-numerical data through interviews and focus groups to understand customer opinions and motivations. Quantitative research collects numerical data, such as survey results, that can be measured and analyzed statistically.
- Using the textbook’s example, calculate profit if revenue is Rs. 50,000 and costs are Rs. 30,000. Profit = Revenue − Costs = 50,000 − 30,000 = Rs. 20,000, the money left after subtracting operating costs such as rent, salaries, and cost of goods from total revenue.
Download Computer Science 1st Year Book PDF
Both editions are available below. Download the 2025-26 (new PCTB edition) or the 2018-19 version based on your need.
2025-26 Edition (New PCTB)
2018-19 Edition
Who Should Read This
This book is primarily for ICS Part 1 students studying Computer Science under Punjab Board. It is also useful for students in other programs who want to learn Python, data analytics, or digital entrepreneurship. Students preparing for board exams will find the unit-wise structure especially helpful for revision.
Applicable Boards
This textbook is published by PCTB (Punjab Curriculum and Textbook Board) and is used in all Punjab Board affiliated schools and colleges. Students from Lahore Board, Gujranwala Board, Faisalabad Board, Multan Board, Rawalpindi Board, Sargodha Board, DG Khan Board, and Sahiwal Board all follow the same curriculum.
FAQs
Is this book for ICS students?
Yes. This is the official PCTB Computer Science textbook for ICS Part 1 (Class 11) students following the Punjab Board curriculum.
Can students from other programs use this book?
Yes, students from FSC Pre-Engineering or other programs who want to learn Python, data analytics, or software development basics can also benefit from this book.
Is this the 2025-26 edition?
Yes, the 2025-26 PCTB edition is available for download above. The older 2018-19 edition is also provided for reference.
Does this book include Python programming?
Yes. Unit 2 is fully dedicated to Python Programming, covering core concepts that students need for board exams and practical coding work.
Which boards use this textbook?
All Punjab Board affiliated colleges use this PCTB textbook, including Lahore, Faisalabad, Gujranwala, Rawalpindi, Multan, Sahiwal, Sargodha, and DG Khan boards.
Related Books
- Computer Science 2nd Year ICS Book
- Physics 1st Year ICS Book
- Statistics 1st Year ICS Book
- Mathematics 1st Year ICS Book
- Statistics 2nd Year ICS Book
- Mathematics 2nd Year ICS Book
Study Resources for Computer Science 1st Year
Free exam-preparation resources for Computer Science 1st Year from the Freebooks.pk Editorial Team — chapter-wise notes (definitions, short & long questions and MCQs), the latest paper pairing scheme. Study online or download.