⚠️ If you find any broken or incorrect document links, report it here.
🎓 University: Gurugram University (GU)Programme: M.Sc. Computer ScienceScheme: NEP 2020 · 2024-25 · PG A1Studying at another university? See all →

M.Sc. Computer Science Semester 2 Syllabus – Gurugram University (GU) NEP 2024-25

Semester 2 (22 credits) of M.Sc. Computer Science at Gurugram University (GU) has three Core courses (Cryptography and Network Security, Programming in Java, Analysis and Design of Algorithms), a Discipline Specific Elective (Discrete Mathematics and Statistics or Mobile Computing) and pool papers: MDC, AEC and SEC. This page gives the official GU scheme, course IDs, credits and marks, with the complete unit-wise syllabus (course outcomes, units, books and lab experiments) of every Core and DSE subject.

Quick Answer: M.Sc. Computer Science Semester 2 Syllabus – GU NEP 2020

University: Gurugram University (GU) | Total Credits: 22 | Total Marks: 550 | Framework: NEP 2020, Scheme PG A1 (coursework only)

Show all subjects

Exam pattern for core (4-credit) subjects: 25 Internal + 50 External + 5 Practical Internal + 20 Practical External = 100 marks.

M.Sc. Computer Science Semester 2 Syllabus – Gurugram University (GU) | NEP 2020

📱 Note for Mobile Users: Scroll horizontally to view the complete table
M.Sc. Computer Science Semester 2 (Gurugram University) – Credit Distribution (Total: 22 Credits, 550 Marks)
Course CodeSubjectCategoryCreditsMax Marks
241/CS/CC201Cryptography and Network SecurityCore (CC)4100
(25+50+5+20)
241/CS/CC202Programming in JavaCore (CC)4100
(25+50+5+20)
241/CS/CC203Analysis and Design of AlgorithmsCore (CC)4100
(25+50+5+20)
241/CS/DS201 / DS202Discrete Mathematics and Statistics OR Mobile ComputingElective (DSE-02)375
MDC Pool (241/CS/MD201)One subject from the university MDC pool (as allotted by college)Multidisciplinary (MDC-02)375
AEC Pool (241/CS/AE201)One subject from the AEC pool (as allotted by college)Ability Enhancement (AEC-02)250
SEC Pool (241/CS/SE201)Programming in Python (department SEC) or another SEC from the poolSkill Enhancement (SEC-01)250
(15+35)

MDC, AEC and SEC are pool papers allotted by college and session; every student's pool subjects may differ, so they are listed separately from the Core and DSE subjects.

CORE (CC)

Cryptography and Network Security Syllabus – Unit-wise Topics

📊 Exam Pattern: 9 questions in total. Question 1 is compulsory with 7 parts from all units (20% of marks); 2 questions are set from each unit (Q2-Q9, 20% each). Attempt 5 questions: Q1 plus one from each unit.
Marks: 100 (25 Theory Internal + 50 Theory External + 5 Practical Internal + 20 Practical External) | Duration: 3 hrs

Cryptography and Network Security (Paper ID: 231111 | Course ID: 241/CS/CC201 | CC-A04) — 4 Credits, Semester 2, Gurugram University (GU).

Course Outcomes
  • Discover the information security goals, services and mechanisms for network security and the necessity of mathematics in designing crypto algorithms.
  • Develop and design various kinds of symmetric key crypto algorithms and cryptanalyse them.
  • Construct and design various kinds of asymmetric key crypto algorithms and the mathematics required for designing them.
  • Analyse the integrity of information transmitted and generate digital signatures.
  • Apply the knowledge and skills obtained to design and understand the latest cryptographic protocols used for securing information in networks or in storage.
Unit I – Introduction to Information Security and Cryptography
  • What is information security, need for security, principles of security, threats, types of attacks, services and mechanisms
  • Mathematics of cryptography: integer arithmetic, modular arithmetic, matrices, linear congruence
Unit II – Symmetric Key Ciphers
  • Traditional symmetric-key cipher design and analysis: substitution and transposition ciphers, basic principles of designing stream and block ciphers
  • Mathematics of symmetric-key cryptography: algebraic structures, GF(2ⁿ) fields
  • Modern symmetric key ciphers: block cipher design and analysis – DES, AES; stream cipher design and analysis – LFSR based, RC4, A5/1
Unit III – Asymmetric Key Ciphers, Hash Functions and Digital Signatures
  • Mathematics of asymmetric-key cryptography, asymmetric key ciphers
  • Hash functions and MAC, introduction to digital signatures
Unit IV – Network Security
  • Security at the application layer – PGP and S/MIME
  • Key distribution centre, Diffie-Hellman key exchange
Books / Suggested Readings
  • William Stallings – Cryptography and Network Security (7th ed.)
  • Forouzan, Mukhopadhyay – Cryptography and Network Security (4th ed.), TMH
  • Nigel P. Smart – Information Security & Cryptography: Cryptography Made Simple, Springer, 2016
  • Atul Kahate – Cryptography & Network Security (2nd ed.), McGraw Hill
Cryptography and Network Security Lab – List of Experiments

At least 8 experiments are to be performed.

  1. Program to find the GCD of two numbers a and b mod n by the Generalized Euclidean Algorithm
  2. Program to encrypt and decrypt by Caesar cipher
  3. Program to encrypt and decrypt by Affine cipher
  4. Program to encrypt plaintext by Playfair cipher
  5. Program to generate addition and multiplication tables for the GF(2²) field
  6. Program for the key expansion algorithm of DES
  7. Program to implement a 4×4 S-box: (a) check that the given S-box and inverse S-box tables are invertible to each other; (b) take an input and return its S-box output
  8. Program to implement encryption and decryption of the RSA algorithm
CORE (CC)

Programming in Java Syllabus – Unit-wise Topics

📊 Exam Pattern: 9 questions in total. Question 1 is compulsory with 7 parts from all units (20% of marks); 2 questions are set from each unit (Q2-Q9, 20% each). Attempt 5 questions: Q1 plus one from each unit.
Marks: 100 (25 Theory Internal + 50 Theory External + 5 Practical Internal + 20 Practical External) | Duration: 3 hrs

Programming in Java (Paper ID: 231112 | Course ID: 241/CS/CC202 | CC-A05) — 4 Credits, Semester 2, Gurugram University (GU).

Course Outcomes
  • Identify classes, objects, members of a class and relationships among them for a specific problem.
  • Understand and demonstrate the concepts of garbage collection, polymorphism, inheritance, etc.
  • Do numeric (algebraic) and string-based computation.
  • Understand and implement modularity as well as basic error-handling techniques.
  • Develop, design and implement small multithreaded programs using Java.
  • Apply appropriate problem-solving strategies for the implementation of small/medium scale Java applications.
Unit I – Introduction to Java
  • Evolution of Java, object-oriented programming structure, overview and characteristics of Java
  • Java program compilation and execution process, organisation of the Java Virtual Machine, platform independence and portability, security
  • Relation between JVM, JRE and JDK, introduction to JAR format, naming conventions, data types and type casting, operators, arrays
Unit II – Object-Oriented Concepts, Inheritance and Polymorphism
  • Classes and objects: fundamentals of classes, creating objects, assigning object reference variables, methods, static methods, constructors, constructor overloading, this keyword, method overloading, garbage collection and the finalize() method
  • Inheritance and polymorphism: basics of inheritance, access control, multilevel inheritance, method overriding, abstract classes, polymorphism, final keyword
Unit III – Packages, Interfaces and Exception Handling
  • Packages: defining packages, setting CLASSPATH, package naming, accessibility of packages, using package members
  • Interfaces: implementing interfaces, differences between interfaces and abstract classes, using extends and implements together
  • Exception handling: exceptions, try-catch, catching multiple exceptions, finally clause, types of exceptions, throwing user-defined exceptions
Unit IV – Multithreading, I/O and Strings
  • Multithreading: introduction, the main thread, Java thread model, thread priorities, synchronization, inter-thread communication
  • I/O in Java: I/O basics, streams and stream classes, predefined streams, reading from and writing to the console, reading and writing files, transient and volatile modifiers, native methods
  • Strings and characters: fundamentals of characters and strings, the String class, string operations, data conversion using valueOf(), the StringBuffer class and its methods

Note on Reference Books: The reference books listed in the university-provided syllabus appear to relate to Operating Systems and UNIX rather than Programming in Java. Students are advised to confirm the recommended Java reference books with the concerned department.

Programming in Java Lab – List of Experiments

At least 8 experiments are to be performed.

  1. (a) Fibonacci series using recursive and non-recursive functions; (b) multiplication of two matrices; (c) method overloading and constructor overloading
  2. (a) Static blocks, static variables and static methods; (b) display employee details using the Scanner class; (c) sort a given list of names in ascending order
  3. (a) Single and multilevel inheritance; (b) hierarchical inheritance; (c) method overriding
  4. (a) Abstract class Shape with two integers and an empty printArea() method, extended by Rectangle, Triangle and Circle, each printing its area; (b) implement an interface; (c) multiple and hybrid inheritance
  5. (a) Inner classes; (b) user-defined package demonstrating access modifiers; (c) use of super and final keywords
  6. (a) Raise an out-of-range exception if a number is less than 10 or greater than 50, else display its square; (b) multiple catch statements; (c) nested try
  7. (a) Simple thread by extending the Thread class and implementing the Runnable interface; (b) multi-threaded application with three threads; (c) set and print thread priorities
CORE (CC)

Analysis and Design of Algorithms Syllabus – Unit-wise Topics

📊 Exam Pattern: 9 questions in total. Question 1 is compulsory with 7 parts from all units (20% of marks); 2 questions are set from each unit (Q2-Q9, 20% each). Attempt 5 questions: Q1 plus one from each unit.
Marks: 100 (25 Theory Internal + 50 Theory External + 5 Practical Internal + 20 Practical External) | Duration: 3 hrs

Analysis and Design of Algorithms (Course ID: 241/CS/CC203 | CC-A06) — 4 Credits, Semester 2, Gurugram University (GU).

Course Outcomes
  • Argue the correctness of algorithms using inductive proofs and analyse worst-case running times using asymptotic analysis.
  • Explain important algorithmic design paradigms (divide-and-conquer, greedy method, dynamic programming and backtracking) and apply them when a design situation calls for it.
  • Explain the major graph algorithms and employ graphs to model engineering problems.
  • Compare different data structures and pick an appropriate one for a design situation.
  • Describe the classes P, NP and NP-Complete and prove that a certain problem is NP-Complete.
  • Analyse string matching algorithms.
Unit I – Introduction and Divide and Conquer
  • Algorithm, performance analysis (time and space complexity), asymptotic notation (Big O, Omega, Theta), best, average and worst-case behaviour
  • Elementary data structures (basic terminology of stacks and queues, tree, graph), sets and disjoint set union
  • Divide and conquer: general method, binary search, merge sort, quick sort and other sorting algorithms, Strassen's matrix multiplication and analysis
Unit II – Greedy Method and Dynamic Programming
  • Greedy method: general method, fractional knapsack problem, job sequencing with deadlines, minimum cost spanning trees, single source shortest paths
  • Dynamic programming: general method, optimal binary search trees, 0/1 knapsack, the travelling salesperson problem
Unit III – Backtracking and Branch and Bound
  • Backtracking: general method, 8-Queens problem, sum of subsets, graph colouring, Hamiltonian cycles
  • Branch and bound: the method, 0/1 knapsack problem, travelling salesperson problem, efficiency considerations
Unit IV – NP-Hard and NP-Complete Problems
  • Basic concepts, Cook's theorem, NP-hard graph problems, NP-hard scheduling problems, NP-hard code generation problems and some simplified NP-hard problems
Books / Suggested Readings
  • Ellis Horowitz, Sartaj Sahni – Fundamentals of Computer Algorithms, Galgotia, 1978
  • Cormen, Leiserson, Rivest – Introduction to Algorithms, TMH
  • Aho, Hopcroft – The Design and Analysis of Computer Algorithms, Addison Wesley, 1974
  • Berlion, Bizard – Algorithms: The Construction, Proof and Analysis of Programs, John Wiley & Sons, 1986
  • J. L. Bentley – Writing Efficient Programs, PHI
  • Goodman, Hedetniemi – Introduction to the Design and Analysis of Algorithms, MGH, 1997
  • Trembley, Bunt – Introduction to Computer Science: An Algorithms Approach, TMH, 2002
  • D. E. Knuth – Fundamentals of Algorithms: The Art of Computer Programming, Naresh Publication, 1985
Analysis and Design of Algorithms Lab – List of Experiments

At least 8 experiments are to be performed.

  1. Implement different sorting techniques: Bubble sort, Insertion sort, Selection sort, Quick sort, Merge sort
  2. Find a minimum cost spanning tree
  3. Implement the travelling salesperson problem
  4. Find the longest path in a Directed Acyclic Graph
  5. Shortest path with exactly k edges in a directed and weighted graph
  6. Find the maximum number of edge-disjoint paths between two vertices
  7. Implement the 0/1 knapsack problem using dynamic programming
  8. Perform various tree traversal algorithms for a given tree
  9. Implement the N-Queens problem
DISCIPLINE SPECIFIC ELECTIVE (DSE-02)

Discrete Mathematics and Statistics Syllabus – Unit-wise Topics

📊 Exam Pattern: 9 questions in total. Question 1 is compulsory with 7 parts from all units (20% of marks); 2 questions are set from each unit (Q2-Q9, 20% each). Attempt 5 questions: Q1 plus one from each unit.
Marks: 75 (25 Theory Internal + 50 Theory External) | Duration: 3 hrs

Discrete Mathematics & Statistics (Course ID: 241/CS/DS201 | DSE-02) — 3 Credits | 75 (25+50) Marks, Semester 2, Gurugram University (GU). Choose this OR Mobile Computing.

Course Outcomes
  • Solve mathematical problems based on set theory, relations, functions and lattices.
  • Express logical sentences in terms of quantifiers and logical connectives.
  • Apply basic counting techniques to solve permutation and combination problems.
  • Solve recurrence relations.
  • Classify the algebraic structure of a given mathematical problem.
  • Evaluate Boolean functions and simplify expressions using the properties of Boolean algebra.
Unit I – Set Theory, Relations, Functions, Logic and Propositional Calculus
  • Set theory: Venn diagrams, set operations, algebra of sets, duality, finite and infinite sets, counting principles, power sets, partitions, multisets
  • Relations: Cartesian product, representation and types of relations, binary relation, equivalence relations, partitions, partial ordering relations, POSET, Hasse diagram, lattices and their types
  • Functions: types of functions, bijective functions, composition, inverse functions, recursively defined functions, countable and uncountable sets, Cantor's diagonal argument, power set theorem, Schroeder-Bernstein theorem
  • Logic and propositional calculus: propositions and compound propositions, logical operations, truth tables, tautologies, contradictions, logical equivalence, algebra of propositions, conditional and bi-conditional statements, quantifiers
Unit II – Counting Techniques and Recurrence Relations
  • Basic counting techniques: pigeon-hole principle, permutation and combination, the division algorithm, prime numbers, GCD (Euclidean algorithm), Fundamental Theorem of Arithmetic
  • Recursion and recurrence relations: polynomials and their evaluation, sequences, AP, GP and AG series, partial fractions, linear recurrence relations with constant coefficients (homogeneous and non-homogeneous), particular and total solutions, solving recurrence relations using generating functions
Unit III – Algebraic Structures and Boolean Algebra
  • Algebraic structures with one binary operation: semigroups, monoids, groups, subgroups, Abelian groups, cosets, normal subgroups, cyclic groups, congruence relation and quotient structures, permutation groups, Lagrange's theorem, homomorphism, isomorphism, automorphism
  • Algebraic structures with two binary operations: rings, integral domains, fields; Boolean algebra and Boolean ring, identities, duality, representation of Boolean functions, disjunctive and conjunctive normal form
Unit IV – Graph Theory
  • Graphs and their properties: degree, connectivity, path, cycle, directed and undirected graphs, subgraph, bipartite, regular and connected graphs, multigraph and weighted graph, homomorphic and isomorphic graphs
  • Cut points and bridges, paths and circuits, shortest path algorithm for weighted graphs, Eulerian and Hamiltonian paths and circuits, planar graphs, Euler's formula, graph colouring
Books / Suggested Readings
  • Kenneth H. Rosen – Discrete Mathematics and its Applications (6th ed.), Tata McGraw Hill, 2011
  • Satinder Bal Gupta – A Text Book of Discrete Mathematics and Structures, University Science Press
  • C. L. Liu, D. P. Mohapatra – Elements of Discrete Mathematics: A Computer Oriented Approach (3rd ed.), Tata McGraw Hill, 2008
  • J. P. Tremblay, R. Manohar – Discrete Mathematical Structures with Applications to Computer Science, Tata McGraw Hill, 2012
  • Richard Johnsonbaugh – Discrete Mathematics (6th ed.), Pearson, 2011
  • S. Lipschutz, M. Lipson – Discrete Mathematics (3rd ed.), Tata McGraw Hill, 2010
  • B. Kolman, R. C. Busby, S. C. Ross – Discrete Mathematical Structures (6th ed.), PHI, 2010

Syllabus Clarification: Although the official course title is "Discrete Mathematics and Statistics", the detailed syllabus document does not specify a separate Statistics unit. Students are advised to confirm this with the university or concerned department.

DISCIPLINE SPECIFIC ELECTIVE (DSE-02)

Mobile Computing Syllabus – Unit-wise Topics

📊 Exam Pattern: 9 questions in total. Question 1 is compulsory with 7 parts from all units (20% of marks); 2 questions are set from each unit (Q2-Q9, 20% each). Attempt 5 questions: Q1 plus one from each unit.
Marks: 75 (25 Theory Internal + 50 Theory External) | Duration: 3 hrs

Mobile Computing (Course ID: 241/CS/DS202 | DSE-02) — 3 Credits | 75 (25+50) Marks, Semester 2, Gurugram University (GU). Alternative to Discrete Mathematics and Statistics.

Course Outcomes
  • Gain knowledge about various types of wireless data networks and wireless voice networks.
  • Understand the architectures, challenges and solutions of wireless communication.
  • Realise the role of wireless protocols in shaping the future Internet.
  • Develop simple mobile applications using a toolkit.
Unit I – Mobile Physical Layer and Mobile Computing Architecture
  • Mobile physical layer: generations of mobile services, wireless telephony, cellular concept, GSM (air-interface, channel structure), location management (HLR-VLR, hierarchical), handoffs, channel allocation in cellular systems, CDMA, GPRS
  • Mobile computing architecture: issues in mobile computing, three-tier architecture, design considerations, mobile file systems, mobile databases
  • WAP: architecture, protocol stack, datagram protocol, wireless transport layer security, wireless transaction protocol, wireless session protocol, application environment and applications
Unit II – Mobile Data Link Layer and Bluetooth
  • Wireless LAN overview, IEEE 802.11, motivation for a specialised MAC, near and far terminals, multiple access techniques for wireless LANs (collision avoidance, polling, inhibit sense, spread spectrum, CDMA), LAN system and protocol architecture, physical layer, MAC layer and management, HiperLAN
  • Bluetooth (IEEE 802.15): user scenarios, physical layer, MAC layer and link management
  • Local area wireless systems: WPABX, IrDA, ZigBee, RFID, WiMax
Unit III – Mobile IP Network Layer and Mobile Transport Layer
  • IP and Mobile IP network layer: packet delivery and handover management, location management, registration, tunnelling and encapsulation, route optimisation, DHCP
  • Ad hoc networks: localisation, MAC issues, routing protocols – GSR, DSDV, DSR, AODV; VoIP, IPSec
  • Mobile transport layer: traditional TCP/IP, transport layer protocols – indirect, snooping, mobile TCP
Unit IV – Support for Mobility
  • Databases, data hoarding, data dissemination, user-agent profile and caching, service discovery, data management issues, data replication for mobile computers, adaptive clustering for mobile wireless networks, mobile devices and file systems, data synchronisation, SyncML
  • Introduction to wireless devices and operating systems: Palm OS, Windows CE, Symbian OS, Android; mobile agents; mobile application languages and toolkits
Books / Suggested Readings
  • J. Schiller – Mobile Communications (2nd ed.), Pearson, 2011
  • Raj Kamal – Mobile Computing (2nd ed.), Oxford Higher Education, 2012
  • Dharma Prakash Agrawal, Qing-An Zeng – Introduction to Wireless and Mobile Systems (3rd ed.), Cengage Learning, 2013
  • Asoke K. Talukder, Hasan Ahmed, Roopa R. Yavagal – Mobile Computing, Tata McGraw Hill, 2010
  • Pei Zheng, Larry L. Peterson, Bruce S. Davie, Adrian Farrell – Wireless Networking Complete, Morgan Kaufmann, 2009
  • Vijay K. Garg – Wireless Communications & Networking, Morgan Kaufmann, 2010
  • M. V. D. Heijden, M. Taylor – Understanding WAP, Artech House
  • Charles Perkins – Mobile IP, Addison Wesley
  • Charles Perkins – Ad Hoc Networks, Addison Wesley
  • Hansmann, Merk, Nicklous, Stober – Principles of Mobile Computing, Springer
  • Evaggelia Pitoura, George Samaras – Data Management for Mobile Computing, Kluwer Academic Press, 1998
SKILL ENHANCEMENT (SEC-01)

Programming in Python – Scheme Details

Programming in Python (Course ID: 241/CS/SE201) — 2 Credits | 50 (15+35) Marks, Semester 2, Gurugram University (GU).

Details: Department SEC-1 listed in the official scheme. SEC papers are allotted from the university pool, so confirm your allotted SEC with your college.

The unit-wise syllabus of this paper is not included in the official documents used for this page yet; it will be added after verification.

FAQs on M.Sc. Computer Science Semester 2 Syllabus – Gurugram University (GU)

  • What is the credit structure of M.Sc. Computer Science Semester 2 at Gurugram University? M.Sc. Computer Science Semester 2 at GU (NEP 2020, Scheme PG A1) carries 22 credits and 550 marks: three 4-credit Core courses (Cryptography and Network Security, Programming in Java, Analysis and Design of Algorithms), one 3-credit DSE (Discrete Mathematics and Statistics OR Mobile Computing), a 3-credit MDC from the university pool, a 2-credit AEC from the pool and a 2-credit SEC.
  • Which subjects are Core and which are optional in M.Sc. Computer Science Semester 2 at GU? Core: Cryptography and Network Security (241/CS/CC201), Programming in Java (241/CS/CC202) and Analysis and Design of Algorithms (241/CS/CC203). DSE-02 is a choice between Discrete Mathematics and Statistics (241/CS/DS201) and Mobile Computing (241/CS/DS202). MDC-02, AEC-02 and SEC-01 come from pools, so every student's optional papers may differ.
  • What is the exam pattern of Core papers in M.Sc. Computer Science at GU? Each 4-credit Core paper carries 100 marks: 25 Theory Internal + 50 Theory External + 5 Practical Internal + 20 Practical External. The theory paper has 9 questions; Question 1 is compulsory with 7 parts from all units and the student attempts one question from each unit.
  • Where can I find the unit-wise syllabus of Semester 2 subjects? The unit-wise syllabus of every Core and DSE subject (Cryptography and Network Security, Programming in Java, Analysis and Design of Algorithms, Discrete Mathematics and Statistics, Mobile Computing) is given on this page, along with course outcomes, books and lab experiments, as per the official Gurugram University Semester 2 syllabus (Batch 2024-25).