You are on page 1of 20

A Handbook on

Computer
Science & IT
Revised & Updated

Contains well illustrated formulae


& key theory concepts

For

GATE, PSUs
& OTHER COMPETITIVE EXAMS

Publications
Publications

MADE EASY Publications Pvt. Ltd.


Corporate Office: 44-A/4, Kalu Sarai (Near Hauz Khas Metro Station), New Delhi-110016
Contact: 011-45124660, 9021300500
E-mail: infomep@madeeasy.in
Visit us at: www.madeeasypublications.org

A Handbook on Computer Science & IT


© Copyright, by MADE EASY Publications Pvt. Ltd.
All rights are reserved. No part of this publication may be reproduced, stored in or introduced
into a retrieval system, or transmitted in any form or by any means (electronic, mechanical,
photo-copying, recording or otherwise), without the prior written permission of the above
mentioned publisher of this book.

First Edition: 2014


Reprint: 2017
Second Edition: 2018
Reprint: 2019
Reprint: 2020

Third Edition: 2022

Published by: MADE EASY Publications Pvt. Ltd., New Delhi-110016


Director’s Message
During the current age of international competition in
Science and Technology, the Indian participation through
skilled technical professionals have been challenging
to the world. Constant efforts and desire to achieve top
positions are still required. B. Singh (Ex. IES)

I feel every candidate has ability to succeed but competitive environment and
quality guidance is required to achieve high level goals. At MADE EASY, we
help you to discover your hidden talent and success quotient to achieve your
ultimate goals. In my opinion IAS, ESE, GATE & PSU’s exams are tool to enter in
to main stream of Nation serving. The real application of knowledge and talent
starts, after you enter in to the working system. Here in MADE EASY you are also
trained to become winner in your life and achieve job satisfaction.

MADE EASY aluminae have shared their winning stories of success and
expressed their gratitude towards quality guidance of MADE EASY. Our students
have not only secured All India First Ranks in ESE, GATE and PSU entrance
examinations but also secured top positions in their career profiles. Now, I invite
you to become aluminae of MADE EASY to explore and achieve ultimate goal of
your life. I promise to provide you quality guidance with competitive environment
which is far advanced and ahead than the reach of other institutions. You will
get the guidance, support and inspiration that you need to reach the peak of
your career.

I have true desire to serve Society and Nation by way of making easy path of
the education for the people of India.

After a long experience of teaching in Computer Science & IT over the period of
time MADE EASY team realised that there is a need of good Handbook which
can provide the crux of Computer Science & IT in a concise form to the student
to brush up the formulae and important concepts required for GATE and other
competitive examinations. This handbook contains all the formulae and important
theoretical aspects of Computer Science & IT. It provides much needed revision
aid and study guidance before examinations.

B. Singh (Ex. IES)


CMD, MADE EASY Group
CONTENTS
A Handbook on Computer Science & IT

Chapter 1 : Chapter 4 :
Discrete and Engineering Programming and Data
Mathematics.................................. 1-62 Structures................................. 141-163
I. Mathematical Logic............................................. 1
I. Programming in C........................................... 141
II. Combinatorics....................................................... 5
II. Functions and Recursion.............................. 149
III. Set Theory & Algebra........................................11
IV. Graph Theory.......................................................30 III. Abstract Data Types, Arrays and
V. Probability............................................................40 Linked Lists........................................................ 152
VI. Linear Algebra.....................................................45 IV. Stacks and Queues......................................... 155
VII. Numerical Methods..........................................50 V. Trees, BSTs and Binary Heaps..................... 158
VIII. Calculus.................................................................54

Chapter 5 :
Chapter 2 :
Algorithms............................... 164-183
Digital Logic............................... 63-104
I. Analysis and Asymptotic Notations......... 164
I. Logic Functions..................................................63
II. Minimization........................................................68 II. Divide-and-Conquer...................................... 169
III. Combinational Circuits....................................73 III. Greedy Approach............................................ 172
IV. Sequential Circuit...............................................85 IV. Dynamic Programming................................ 175
V. Number Representation and Computer V. Graph Traversals, Hashing and
Arithmetic.............................................................97
Sorting................................................................ 178
VI. Complexity Classes: P, NP,

Chapter 3 : NPH and NPC.................................................... 181

Computer Organization and


Chapter 6 :
Architecture............................. 105-140
Theory of Computation........... 184-206
I. Machine Instructions and Addressing
Modes................................................................. 105 I. Regular Languages and
II. ALU and Data-path, CPU Finite Automata............................................... 184
Control Design................................................. 111 II. Push Down Automata and CFLs................ 197
III. Memory and I/O Interfaces......................... 117 III. Recursively Enumerable Sets &
IV. Instruction Pipelining.................................... 122
Turing Machines.............................................. 201
V. Cache and Main Memory, Secondary
IV. Undecidability.................................................. 205
Storage............................................................... 129
Chapter 7 : Chapter 10 :
Compiler Design...................... 207-222 Computer Networks................ 285-318
I. Lexical Analysis................................................ 207 I. ISO/OSI Stack, LAN Technologies (Ethernet,
II. Parsing................................................................ 209
Token Ring)....................................................... 285
III. Syntax Directed Translation........................ 215 II. (IPv4), (IPv6) and Routing Algorithms..... 295
IV. Runtime Environments................................. 217 III. TCP/UDP and Application
V. Intermediate, Target Code Generation Layer protocols................................................ 306
and Code Optimization................................ 218 IV. ** Network Security (Cryptography)........ 315

Chapter 8 : Chapter 11 :
Operating System.................... 223-255 ** Information Systems and Software
I. Processes and Threads.................................. 223
Engineering.............................. 319-332
II. IPC, Concurrency and Synchronization.. 226
I. Information Gathering, Requirement &
III. Deadlock............................................................ 234
IV. CPU Scheduling............................................... 236 Feasibility Analysis.......................................... 319
V. Memory Management and II. DFDs and Process Specifications............... 321
Virtual Memory................................................ 240 III. I/O Design, Process Life Cycle..................... 322
VI. I/O and File Systems, Protection IV. Planning and Managing the Project........ 326
and Security...................................................... 250
V. Design, Coding, Testing, Implementation
and Maintenance............................................ 328

Chapter 9 :
Databases................................. 256-284
Chapter 12 :
I. ER-model and Relational Model................ 256
** Web Technologies................ 333-342
II. Database Design............................................. 261
I. HTML..................................................................333
III. SQL....................................................................... 267 II. XML....................................................................335
IV. File Structures (B and B+ Trees).................. 273 III. Basic Concepts of Client-Server
V. Transactions and Concurrency Computing......................................................340
Control................................................................ 276

nnnn

** Marked are not in GATE syllabus

You might also like