Combined Technical Services

Computer Science / IT

Computer Science and IT cover programming, operating systems, data structures, databases, networks, software engineering, web technologies, and emerging fields. This page provides a comprehensive study guide with core topics and TNPSC-style questions for Combined Technical Services exam preparation.

1. Programming Concepts

Programming is the process of writing instructions that tell a computer how to solve a problem. A program is written using a programming language such as C, C++, Java, Python, or C#.

Characteristics of a Good Program

  • Correctness
  • Simplicity
  • Efficiency
  • Readability
  • Maintainability
  • Reusability
  • Portability

Programming Languages

  • Machine Language – Binary (0 and 1), fastest execution, difficult for humans.
  • Assembly Language – Uses mnemonics, requires assembler.
  • High-Level Language – Examples: C, C++, Java, Python, C#, JavaScript. Requires compiler or interpreter.

Compiler vs Interpreter

CompilerInterpreter
Converts entire programConverts line by line
Faster executionSlower execution
Errors after compilationErrors immediately
Example: C, C++Example: Python

TNPSC Question: Which language uses an interpreter?

Answer: Python

Programming Paradigms

Procedural Programming – Program divided into functions. Example: C Language. Advantages: Simple, Fast. Disadvantages: Difficult for large projects.

Object-Oriented Programming (OOP) – Program organized around objects. Main principles: Class, Object, Encapsulation, Inheritance, Polymorphism, Abstraction. Benefits: Code reuse, Better security, Easy maintenance.

Basic Programming Concepts

  • Variables – Memory locations used to store values. Example: int age = 20;
  • Data Types – Integer, Float, Double, Character, Boolean.
  • Operators – Arithmetic (+, -, *, /, %), Relational (<, >, >=, <=, ==), Logical (AND, OR, NOT), Assignment (=), Increment (++), Decrement (--).
  • Control Statements – Selection: if, if-else, switch. Iteration: for, while, do-while. Jump: break, continue, return, goto.

Functions

A function performs a specific task. Advantages: Reusability, Easy debugging, Modular programming. Types: Library functions, User-defined functions.

Recursion

A function calling itself. Example: Factorial fact(5) = 5 × 4 × 3 × 2 × 1. Advantages: Elegant solution. Disadvantages: More memory, Stack overflow.

2. Data Structures

Data structure is a method of organizing data for efficient processing.

Types

  • Primitive – int, char, float.
  • Non-Primitive – Array, Linked List, Stack, Queue, Tree, Graph.

Array

Collection of similar data stored in contiguous memory. Advantages: Fast access, Simple implementation. Disadvantages: Fixed size. Applications: Matrix, Searching, Sorting.

Linked List

Nodes connected through pointers. Types: Singly, Doubly, Circular Linked List. Advantages: Dynamic memory, Easy insertion. Disadvantages: Sequential access.

Stack

LIFO (Last In First Out). Operations: Push, Pop, Peek. Applications: Function calls, Expression evaluation, Undo operation.

Queue

FIFO (First In First Out). Operations: Enqueue, Dequeue. Types: Simple, Circular, Priority Queue, Deque. Applications: CPU scheduling, Printer queue.

Tree

Hierarchical data structure. Terms: Root, Parent, Child, Leaf, Height, Degree. Types: Binary Tree, Binary Search Tree, AVL Tree, Heap. Applications: Database indexing, File systems.

Graph

Collection of vertices and edges. Types: Directed, Undirected, Weighted. Traversal: BFS, DFS. Applications: Social networks, Maps, Routing.

Hashing

Stores data using hash function. Advantage: Very fast searching. Collision Resolution: Chaining, Linear probing, Quadratic probing.

3. Algorithms

Algorithm is a step-by-step procedure to solve a problem. Characteristics: Finite, Definite, Effective, Correct, Efficient.

Time Complexity

  • O(1) – Constant
  • O(log n) – Binary Search
  • O(n) – Linear Search
  • O(n log n) – Merge Sort
  • O(n²) – Bubble Sort
  • O(2ⁿ) – Recursive algorithms

Space Complexity – Measures memory usage.

Searching Algorithms

  • Linear Search – Checks each element. Complexity O(n).
  • Binary Search – Works only on sorted data. Complexity O(log n). Frequently asked in TNPSC.

Sorting Algorithms

  • Bubble Sort – Repeatedly swaps adjacent elements. Worst complexity O(n²).
  • Selection Sort – Finds minimum repeatedly. Complexity O(n²).
  • Insertion Sort – Best for nearly sorted arrays.
  • Merge Sort – Divide and Conquer. Complexity O(n log n). Stable sorting algorithm.
  • Quick Sort – Uses Pivot. Average O(n log n), Worst O(n²). Fastest in practice.
  • Heap Sort – Uses Binary Heap. Complexity O(n log n).

Algorithm Design Techniques

  • Divide and Conquer – Problems divided into subproblems. Examples: Merge Sort, Quick Sort, Binary Search.
  • Greedy Algorithm – Chooses locally optimal solution. Examples: Dijkstra, Huffman Coding, Prim, Kruskal.
  • Dynamic Programming – Stores previously computed results. Examples: Fibonacci, Knapsack, Matrix Chain Multiplication.
  • Backtracking – Explores all possible solutions. Examples: N Queen, Sudoku, Rat in Maze.

4. Database Management System (DBMS)

DBMS is software used to store, organize and retrieve data efficiently. Examples: MySQL, Oracle, SQL Server, PostgreSQL.

Advantages: Data Security, Data Sharing, Reduced Redundancy, Backup, Recovery.

Database Models

  • Hierarchical
  • Network
  • Relational (most popular)
  • Object-Oriented

Relational Database – Data stored in tables. Terms: Row (Tuple), Column (Attribute), Table (Relation).

Keys

  • Primary Key – Uniquely identifies a record. Cannot contain NULL.
  • Foreign Key – Connects two tables.
  • Candidate Key – Possible primary key.
  • Composite Key – Multiple columns.
  • Super Key – Unique identifier.
  • Alternate Key – Candidate key not selected.

Normalization

  • 1NF – Atomic values.
  • 2NF – Removes partial dependency.
  • 3NF – Removes transitive dependency.

Benefits: Less redundancy, Better consistency.

SQL (Structured Query Language)

  • DDL – CREATE, ALTER, DROP, TRUNCATE.
  • DML – INSERT, UPDATE, DELETE.
  • DQL – SELECT.
  • DCL – GRANT, REVOKE.
  • TCL – COMMIT, ROLLBACK, SAVEPOINT.

SQL Clauses – WHERE, GROUP BY, ORDER BY, HAVING, DISTINCT, LIMIT.

Joins

Inner Join, Left Join, Right Join, Full Join, Self Join, Cross Join.

Transactions

Properties (ACID): Atomicity, Consistency, Isolation, Durability.

Advanced Concepts

  • Indexing – Improves search speed. Types: Clustered, Non-clustered.
  • Views – Virtual table. Advantages: Security, Simplicity.
  • Stored Procedures – Precompiled SQL programs. Advantages: Faster execution, Reusability.
  • Triggers – Automatically executed on events (INSERT, UPDATE, DELETE).

5. Operating System (OS)

An Operating System is system software that acts as an interface between the user and computer hardware. It manages hardware resources, executes programs, controls files, memory, and input/output devices.

Functions of Operating System

  • Process Management
  • Memory Management
  • File Management
  • Device Management
  • Security and Protection
  • User Interface
  • Resource Allocation
  • Error Detection

Types of Operating Systems

  • Batch OS – Jobs executed in batches without user interaction. Suitable for payroll processing and billing systems.
  • Multiprogramming OS – Multiple programs reside in memory simultaneously; CPU switches between programs.
  • Multitasking OS – Allows multiple applications to run simultaneously. Example: Windows, Linux.
  • Multiprocessing OS – Uses two or more CPUs. Improves speed and reliability.
  • Time Sharing OS – CPU time shared among multiple users; each gets a small time slice.
  • Real-Time OS (RTOS) – Types: Hard Real-Time, Soft Real-Time. Applications: Aircraft control, Robotics, Medical equipment.

Process Management

A process is a program in execution. Process States: New, Ready, Running, Waiting (Blocked), Terminated.

Process Control Block (PCB) contains: Process ID, Program Counter, CPU Registers, Memory Information, Scheduling Information.

CPU Scheduling

  • FCFS (First Come First Serve) – Simple, easy implementation. Disadvantages: Convoy effect, High waiting time.
  • SJF (Shortest Job First) – Minimum average waiting time. Disadvantages: Difficult to predict execution time, Starvation possible.
  • Priority Scheduling – Higher priority process executes first. Problem: Low-priority starvation. Solution: Aging.
  • Round Robin Scheduling – Each process gets a fixed time quantum. Advantages: Fair, Suitable for time-sharing systems.

Deadlock

Deadlock occurs when processes wait indefinitely for resources. Necessary Conditions (Coffman Conditions): Mutual Exclusion, Hold and Wait, No Preemption, Circular Wait.

Deadlock Handling: Prevention, Avoidance, Detection, Recovery.

Memory Management

  • Paging – Memory divided into pages. Eliminates external fragmentation.
  • Segmentation – Memory divided into logical segments. Examples: Code, Stack, Data.
  • Virtual Memory – Allows execution of programs larger than physical memory. Advantages: Better utilization, Large program execution.

Page Replacement Algorithms – FIFO, LRU (Least Recently Used), Optimal. Frequently asked in TNPSC exams.

File System

A file system organizes files on storage devices. Operations: Create, Delete, Read, Write, Rename. Examples: NTFS, FAT32, ext4.

6. Computer Networks

A computer network is a collection of interconnected computers sharing resources. Advantages: Resource Sharing, Communication, Data Sharing, Internet Access.

Types of Networks

  • PAN – Personal Area Network. Range: Few meters. Example: Bluetooth.
  • LAN – Local Area Network. Examples: Office, School, College. Advantages: High speed, Low cost.
  • MAN – Metropolitan Area Network. Covers an entire city.
  • WAN – Wide Area Network. Largest network. Example: Internet.

Network Topologies

  • Bus – Single cable. Simple. Disadvantage: Cable failure affects network.
  • Star – Central hub. Most commonly used. Advantage: Easy troubleshooting.
  • Ring – Devices connected in a circle. Data flows in one direction.
  • Mesh – Every node connected. Highly reliable. Disadvantage: Expensive.
  • Tree – Combination of Star and Bus.

OSI Model (Seven Layers)

  1. Physical
  2. Data Link
  3. Network
  4. Transport
  5. Session
  6. Presentation
  7. Application

Important for TNPSC.

TCP/IP Model

Layers: Network Access, Internet, Transport, Application.

IP Address

  • IPv4 – 32-bit. Example: 192.168.1.1
  • IPv6 – 128-bit. Developed to overcome IPv4 limitations.
  • MAC Address – Physical address of a network interface. Assigned by manufacturer.

Network Devices

  • Hub – Broadcasts data to all devices.
  • Switch – Sends data only to destination. More efficient than Hub.
  • Router – Connects different networks. Used for Internet connectivity.
  • Bridge – Connects LAN segments.
  • Gateway – Connects different protocols.

Transmission Media

  • Guided – Twisted Pair Cable, Coaxial Cable, Optical Fiber.
  • Unguided – Radio, Microwave, Satellite.

Network Protocols

HTTP, HTTPS, FTP, SMTP, POP3, IMAP, DNS, DHCP, Telnet, SSH, TCP, UDP. Know default purposes for TNPSC.

Network Security

Threats – Virus, Worm, Trojan, Spyware, Ransomware, Phishing.

Protection – Firewall, Antivirus, Encryption, VPN, Authentication.

Cryptography

Plain Text → Encryption → Cipher Text → Decryption → Original Message.

Types: Symmetric Key, Asymmetric Key.

7. Software Engineering

Software Engineering is the systematic approach to software development. Objectives: High Quality, Low Cost, Maintainability, Reliability.

SDLC (Software Development Life Cycle)

  1. Requirement Analysis
  2. Planning
  3. Design
  4. Coding
  5. Testing
  6. Deployment
  7. Maintenance

Frequently asked.

Software Development Models

  • Waterfall Model – Sequential. Advantage: Simple. Disadvantage: No flexibility.
  • Spiral Model – Risk-based. Suitable for large projects.
  • Prototype Model – Customer feedback included.
  • Agile Model – Iterative. Popular in IT industry.

Software Testing

Purpose: Identify defects.

Levels – Unit Testing, Integration Testing, System Testing, Acceptance Testing.

Testing Types – Black Box, White Box, Regression, Smoke, Performance, Load, Stress Testing.

Software Quality Attributes – Reliability, Availability, Efficiency, Security, Maintainability, Portability, Scalability.

CASE Tools – Computer Aided Software Engineering Tools. Used for: Design, Documentation, Testing, Maintenance.

8. Web Technologies

  • HTML – HyperText Markup Language. Used to create web pages. Common tags: , , , <body>, <h1>, <p>, <a>, <img>, <table>, <form>, <input>, <div>, <span>.</li> <li><strong>CSS</strong> – Cascading Style Sheets. Purpose: Fonts, Colors, Layout, Responsive design. Advantages: Better appearance, Code reuse.</li> <li><strong>JavaScript</strong> – Client-side scripting language. Applications: Validation, Animation, Dynamic pages, DOM manipulation.</li> <li><strong>PHP</strong> – Server-side scripting language. Uses: Database connectivity, Login system, Dynamic websites.</li> <li><strong>XML</strong> – Extensible Markup Language. Stores and transfers data.</li> <li><strong>JSON</strong> – JavaScript Object Notation. Lightweight data exchange format. Preferred over XML in modern applications.</li> </ul> <h3>Web Services</h3> <p>SOAP, REST API. REST is more popular. <strong>HTTP Methods</strong> – GET, POST, PUT, DELETE, PATCH.</p> <h3>Cookies vs Sessions</h3> <ul class="study-list"> <li><strong>Cookies</strong> – Stored on client browser. Used for Login, Preferences, Sessions.</li> <li><strong>Sessions</strong> – Stored on server. More secure than cookies.</li> </ul> </div> <div class="study-section"> <h2>9. Computer Organization & Architecture</h2> <h3>Functional Units</h3> <p>Input Unit, Output Unit, CPU, Memory, Storage.</p> <h3>CPU Components</h3> <p>ALU, Control Unit, Registers.</p> <h3>Registers</h3> <p>Accumulator, Program Counter, MAR, MDR, Instruction Register.</p> <h3>Memory Types</h3> <ul class="study-list"> <li><strong>Primary Memory</strong> – RAM, ROM.</li> <li><strong>Secondary Memory</strong> – HDD, SSD, Optical Disk.</li> <li><strong>RAM</strong> – Volatile memory. Types: SRAM, DRAM.</li> <li><strong>ROM</strong> – Non-volatile. Types: PROM, EPROM, EEPROM.</li> <li><strong>Cache Memory</strong> – Fastest memory after CPU registers. Purpose: Reduce memory access time.</li> </ul> <h3>Memory Hierarchy</h3> <p>Registers → Cache → RAM → SSD/HDD → Tape.</p> <h3>Number Systems</h3> <p>Binary, Decimal, Octal, Hexadecimal. Conversions are frequently asked.</p> <h3>Boolean Algebra</h3> <p>Operations: AND, OR, NOT, NAND, NOR, XOR, XNOR. Logic gates truth tables are important.</p> <h3>Instruction Cycle</h3> <p>Fetch → Decode → Execute → Store.</p> <p><strong>Interrupts</strong> – Types: Hardware Interrupt, Software Interrupt.</p> </div> <div class="study-section"> <h2>10. Cloud Computing</h2> <p>Cloud Computing provides computing resources over the Internet. Advantages: Cost Saving, Scalability, Flexibility, High Availability, Disaster Recovery.</p> <h3>Service Models</h3> <ul class="study-list"> <li><strong>IaaS</strong> – Infrastructure as a Service. Example: Virtual Machines.</li> <li><strong>PaaS</strong> – Platform as a Service. Example: Application development platforms.</li> <li><strong>SaaS</strong> – Software as a Service. Example: Gmail, Microsoft 365.</li> </ul> <h3>Deployment Models</h3> <p>Public Cloud, Private Cloud, Hybrid Cloud, Community Cloud.</p> <h3>Virtualization</h3> <p>Allows multiple virtual machines on one physical server. Advantages: Better resource utilization, Reduced cost.</p> </div> <!-- ===================== PART 3 ===================== --> <div class="study-section"> <h2>11. Artificial Intelligence (AI)</h2> <p><strong>Artificial Intelligence (AI)</strong> is a branch of Computer Science that enables computers to perform tasks that normally require human intelligence, such as reasoning, learning, decision-making, problem-solving, speech recognition, and image processing.</p> <h3>Goals of AI</h3> <ul class="study-list"> <li>Learn from experience</li> <li>Solve complex problems</li> <li>Understand natural language</li> <li>Recognize speech and images</li> <li>Make intelligent decisions</li> <li>Automate repetitive tasks</li> </ul> <h3>Applications of AI</h3> <p>Chatbots, Virtual Assistants, Self-driving cars, Medical diagnosis, Fraud detection, Recommendation systems, Robotics, Smart surveillance.</p> <h3>Types of AI</h3> <ul class="study-list"> <li><strong>Narrow AI</strong> – Performs one specific task. Examples: Voice assistants, Recommendation engines.</li> <li><strong>General AI</strong> – Can perform any intellectual task a human can perform. Still under research.</li> <li><strong>Super AI</strong> – Hypothetical AI surpassing human intelligence.</li> </ul> <h3>Expert System</h3> <p>An Expert System is an AI program that mimics the decision-making ability of a human expert. Components: Knowledge Base, Inference Engine, User Interface. Applications: Medical diagnosis, Loan approval, Fault diagnosis.</p> <h3>Natural Language Processing (NLP)</h3> <p>Allows computers to understand and generate human language. Applications: Translation, Chatbots, Speech recognition, Text summarization.</p> <h3>Computer Vision</h3> <p>Enables computers to interpret images and videos. Applications: Face recognition, Traffic monitoring, Medical imaging.</p> </div> <div class="study-section"> <h2>12. Machine Learning (ML)</h2> <p>Machine Learning is a subset of AI where computers learn patterns from data without being explicitly programmed.</p> <h3>Types</h3> <ul class="study-list"> <li><strong>Supervised Learning</strong> – Uses labeled data. Examples: Classification, Regression.</li> <li><strong>Unsupervised Learning</strong> – Uses unlabeled data. Examples: Clustering, Association.</li> <li><strong>Reinforcement Learning</strong> – Learns by rewards and penalties. Applications: Robotics, Game playing.</li> </ul> <h3>Common Algorithms</h3> <p>Linear Regression, Logistic Regression, Decision Tree, Random Forest, K-Means Clustering, Naive Bayes, Support Vector Machine (SVM), Neural Networks.</p> <h3>Applications</h3> <p>Email spam detection, Medical diagnosis, Stock prediction, Fraud detection, Recommendation systems.</p> </div> <div class="study-section"> <h2>13. Data Mining & Data Warehousing</h2> <p><strong>Data Mining</strong> is the process of discovering useful patterns and knowledge from large datasets. Applications: Market analysis, Customer segmentation, Fraud detection, Healthcare analytics.</p> <p><strong>Techniques</strong> – Classification, Clustering, Association Rule Mining, Prediction, Outlier Detection.</p> <p><strong>Data Warehouse</strong> – A centralized repository used for reporting and analysis. Characteristics: Subject-oriented, Integrated, Time-variant, Non-volatile.</p> <p><strong>ETL Process</strong> – Extract, Transform, Load.</p> </div> <div class="study-section"> <h2>14. Cyber Security</h2> <p>Cyber Security protects computers, networks, and data from unauthorized access and attacks.</p> <h3>Security Goals (CIA Triad)</h3> <p>Confidentiality, Integrity, Availability.</p> <h3>Types of Cyber Attacks</h3> <ul class="study-list"> <li><strong>Virus</strong> – Attaches to files and spreads.</li> <li><strong>Worm</strong> – Spreads automatically through networks.</li> <li><strong>Trojan Horse</strong> – Disguised as legitimate software.</li> <li><strong>Ransomware</strong> – Encrypts files and demands payment.</li> <li><strong>Phishing</strong> – Steals passwords through fake websites or emails.</li> <li><strong>DoS</strong> – Makes a service unavailable.</li> <li><strong>DDoS</strong> – Attack from multiple systems.</li> </ul> <h3>Security Mechanisms</h3> <p>Firewall, Antivirus, Intrusion Detection System (IDS), Intrusion Prevention System (IPS), Multi-Factor Authentication (MFA), VPN, Encryption, Digital Signature.</p> <h3>Encryption</h3> <ul class="study-list"> <li><strong>Symmetric Encryption</strong> – Same key for encryption and decryption. Examples: AES, DES.</li> <li><strong>Asymmetric Encryption</strong> – Uses public and private keys. Examples: RSA, ECC.</li> </ul> </div> <div class="study-section"> <h2>15. Internet of Things (IoT)</h2> <p>IoT connects physical devices to the Internet for communication and automation. Examples: Smart homes, Smart agriculture, Wearable devices, Smart cities, Industrial automation.</p> <p><strong>Components</strong> – Sensors, Microcontroller, Communication Module, Cloud Platform, User Application.</p> <p><strong>Advantages</strong> – Automation, Remote monitoring, Efficient resource usage.</p> </div> <div class="study-section"> <h2>16. Compiler Design</h2> <p>A <strong>Compiler</strong> translates high-level language into machine code.</p> <h3>Phases of Compiler</h3> <ol> <li>Lexical Analysis</li> <li>Syntax Analysis</li> <li>Semantic Analysis</li> <li>Intermediate Code Generation</li> <li>Code Optimization</li> <li>Code Generation</li> </ol> <p><strong>Lexical Analyzer</strong> – Converts source code into tokens. Examples of tokens: Keywords, Identifiers, Operators, Constants.</p> <p><strong>Parser</strong> – Checks grammatical correctness using syntax rules.</p> <p><strong>Symbol Table</strong> – Stores information about Variables, Functions, Data types, Scope.</p> <p><strong>Error Types</strong> – Lexical Error, Syntax Error, Semantic Error, Runtime Error, Logical Error.</p> </div> <div class="study-section"> <h2>17. Theory of Computation</h2> <p>Theory of Computation studies mathematical models of computation.</p> <ul class="study-list"> <li><strong>Finite Automata (FA)</strong> – Used for pattern recognition and lexical analysis. Types: DFA, NFA.</li> <li><strong>Context-Free Grammar (CFG)</strong> – Used in compiler design to describe programming language syntax.</li> <li><strong>Turing Machine</strong> – A theoretical model capable of simulating any algorithm.</li> </ul> </div> <div class="study-section"> <h2>18. Digital Electronics</h2> <p>Digital Electronics deals with binary signals (0 and 1).</p> <p><strong>Logic Gates</strong> – AND, OR, NOT, NAND, NOR, XOR, XNOR. Universal Gates: NAND, NOR.</p> <p><strong>Flip-Flops</strong> – Memory elements used to store one bit. Types: SR, JK, D, T. Applications: Registers, Counters, Memory.</p> <p><strong>Counters</strong> – Asynchronous Counter, Synchronous Counter.</p> <p><strong>Shift Registers</strong> – SISO, SIPO, PISO, PIPO. Applications: Serial communication, Data transfer.</p> </div> <div class="study-section"> <h2>19. Microprocessors</h2> <p>A <strong>Microprocessor</strong> is the CPU on a single integrated circuit. Components: ALU, Control Unit, Registers.</p> <p>Common Microprocessors: Intel 8085, Intel 8086.</p> <p>Important Concepts: Address Bus, Data Bus, Control Bus, Interrupts, Instruction Set.</p> </div> <div class="study-section"> <h2>20. UNIX / Linux</h2> <p>Linux is an open-source operating system widely used in servers and embedded systems. Advantages: Secure, Stable, Multi-user, Multitasking, Portable.</p> <h3>Common Commands</h3> <div class="table-wrap"> <table> <tr><th>Command</th><th>Purpose</th></tr> <tr><td>ls</td><td>List files</td></tr> <tr><td>pwd</td><td>Present working directory</td></tr> <tr><td>cd</td><td>Change directory</td></tr> <tr><td>mkdir</td><td>Create directory</td></tr> <tr><td>rm</td><td>Remove files</td></tr> <tr><td>cp</td><td>Copy files</td></tr> <tr><td>mv</td><td>Move files</td></tr> <tr><td>cat</td><td>Display file contents</td></tr> <tr><td>chmod</td><td>Change permissions</td></tr> <tr><td>grep</td><td>Search text</td></tr> <tr><td>ps</td><td>View running processes</td></tr> <tr><td>top</td><td>Monitor system</td></tr> </table> </div> </div> <div class="study-section"> <h2>21. Programming Language Fundamentals</h2> <ul class="study-list"> <li><strong>C Language</strong> – Features: Structured programming, Fast execution, Portable. Important topics: Data Types, Operators, Functions, Arrays, Pointers, Structures, File Handling.</li> <li><strong>C++</strong> – Features: Object-Oriented Programming, Classes and Objects, Inheritance, Polymorphism, Templates, Exception Handling.</li> <li><strong>Java</strong> – Features: Platform Independent, Object-Oriented, Robust, Secure, Multithreading, JVM based. Common concepts: Class, Object, Interface, Package, Exception, Thread, Collection Framework.</li> <li><strong>Python</strong> – Features: Simple syntax, Interpreted, High-level, Cross-platform, Rich standard library. Applications: AI, ML, Data Science, Automation, Web Development.</li> </ul> </div> <div class="study-section"> <h2>22. Software Project Management</h2> <p>Key Concepts: Project Planning, Scheduling, Cost Estimation, Risk Management, Quality Assurance, Configuration Management. Common Charts: Gantt Chart, PERT Chart.</p> </div> <div class="study-section"> <h2>TNPSC CTS – Most Important One-Liners</h2> <ul class="study-list"> <li>CPU Scheduling algorithm with minimum average waiting time – <strong>SJF</strong></li> <li>Stack follows – <strong>LIFO</strong></li> <li>Queue follows – <strong>FIFO</strong></li> <li>Binary Search complexity – <strong>O(log n)</strong></li> <li>Merge Sort complexity – <strong>O(n log n)</strong></li> <li>Bubble Sort worst case – <strong>O(n²)</strong></li> <li>Quick Sort average case – <strong>O(n log n)</strong></li> <li>Primary key cannot contain <strong>NULL</strong></li> <li>Foreign key maintains <strong>referential integrity</strong></li> <li>SQL command to retrieve records – <strong>SELECT</strong></li> <li>ACID stands for <strong>Atomicity, Consistency, Isolation, Durability</strong></li> <li>IPv4 address size – <strong>32 bits</strong></li> <li>IPv6 address size – <strong>128 bits</strong></li> <li>OSI model has <strong>7 layers</strong></li> <li>TCP is <strong>connection-oriented</strong></li> <li>UDP is <strong>connectionless</strong></li> <li>HTTP default port – <strong>80</strong></li> <li>HTTPS default port – <strong>443</strong></li> <li>DNS converts <strong>domain names to IP addresses</strong></li> <li>Switch works at the <strong>Data Link Layer</strong></li> <li>Router works at the <strong>Network Layer</strong></li> <li>Hub <strong>broadcasts to all devices</strong></li> <li>Firewall <strong>filters network traffic</strong></li> <li>Cache memory is <strong>faster than RAM</strong></li> <li>RAM is <strong>volatile memory</strong></li> <li>ROM is <strong>non-volatile memory</strong></li> <li>NAND and NOR are <strong>universal gates</strong></li> <li>Linux is an <strong>open-source operating system</strong></li> <li>Java is platform-independent because of the <strong>JVM</strong></li> <li>Python is an <strong>interpreted</strong> language</li> <li>HTML defines <strong>page structure</strong></li> <li>CSS controls <strong>presentation</strong></li> <li>JavaScript adds <strong>interactivity</strong></li> <li>Cookies are stored on the <strong>client</strong></li> <li>Sessions are maintained on the <strong>server</strong></li> <li>ETL stands for <strong>Extract, Transform, Load</strong></li> <li>AI aims to <strong>simulate human intelligence</strong></li> <li>Machine Learning is a <strong>subset of AI</strong></li> <li>Data Warehouse is used for <strong>analytical processing</strong></li> <li>IoT connects physical devices through the <strong>Internet</strong></li> </ul> </div> <div class="study-section"> <h2>Frequently Asked TNPSC Computer Science Questions</h2> <div class="study-grid"> <div class="study-card"><h3>Comparing</h3><p>Compiler vs Interpreter, Stack vs Queue, BFS vs DFS</p></div> <div class="study-card"><h3>Algorithms</h3><p>Binary Search, Merge Sort, Quick Sort pivot, Sort complexities</p></div> <div class="study-card"><h3>DBMS</h3><p>SQL commands, Primary vs Foreign key, ACID, Normalization forms</p></div> <div class="study-card"><h3>Data Structures</h3><p>Tree traversal, Hashing, Linked list advantages, Array limitations</p></div> <div class="study-card"><h3>OS</h3><p>Process vs Thread, FCFS vs Round Robin, Deadlock, Paging vs Segmentation</p></div> <div class="study-card highlight"><h3>Networks</h3><p>OSI layers, TCP vs UDP, IPv4 vs IPv6, Hub vs Switch vs Router, HTTP vs HTTPS</p></div> <div class="study-card"><h3>Software</h3><p>Waterfall vs Agile, SDLC phases, Black Box vs White Box</p></div> <div class="study-card"><h3>Web</h3><p>HTML tags, CSS purpose, JavaScript features, Cookies vs Sessions</p></div> <div class="study-card"><h3>Architecture</h3><p>RAM vs ROM vs Cache, SRAM vs DRAM, Number conversions, Logic gates</p></div> <div class="study-card"><h3>Cloud</h3><p>Cloud service models, Public vs Private Cloud</p></div> </div> </div> <div class="study-section"> <h2>Study Tips</h2> <ol> <li>Practice algorithms and their time complexities regularly.</li> <li>Memorize OSI model layers, IP versions, and network device functions.</li> <li>Learn SQL commands and normal forms for database questions.</li> <li>Review the TNPSC one-liners for quick revision before the exam.</li> <li>Practice number system conversions and logic gate truth tables.</li> </ol> </div> <div class="study-section"> <h2>Conclusion</h2> <p>Computer Science and IT are important subjects in the Combined Technical Services exam. Mastering programming, data structures, operating systems, databases, networks, and emerging technologies like AI and Cloud will help you answer objective questions accurately and score well.</p> </div> </div> </div> </div> <div class="footer"> <div class="footer-links"> <a href="about.php">About Us</a> <a href="contact.php">Contact Us</a> <a href="privacy.php">Privacy Policy</a> <a href="disclaimer.php">Disclaimer</a> </div> <p>© 2026 tnquestionpapers</p> </div> </body> </html> </body> </html>