B SC II Computer Science (Opt)
B SC II Computer Science (Opt)
Syllabus For
B. Sc. Part – II
6. EQUIVALENCEINACCORDANCEWITHTITLESANDCONTENTSOFPAPERS
(FOR REVISED SYLLABUS)
Sr.No. Title of old paper Sr.No. Title of New paper
SEMESTER III
1 Fundamentals of Software 1 PHP and MySQL
Engineering
2 Object Oriented Programming 2 Object Oriented Programming Using C++
Using C++
SEMESTER – IV
3 Relational Database Management 3 Cyber Security Essentials-I
System
4 Advanced Object Oriented 4 Data Structure Using C++
Programming Using C++
PRACTICAL (ANNUAL PATTERN)
Computer Science Practical
5 6 Computer Science Practical Paper-III
Paper-II
Course Outcomes:
Students will be able
1. To understand basic concept of PHP.
2. To Learn how to developing applications in PHP using MySQL.
3. To learn and develop various PHP technology applications that definitely meets the
currentindustry needs.
Reference Books –
1. PHP and MySQL By Dreamtech Publications
2. PHP Concepts Unleashed For Novice – Vol I - By Poornima Naik, Kavita Oza, Evincepub
Publishing
3. PHP A Beginner’s Guide – Vikram Vaswami
4. PHP 5.1 for Beginners – By Ivan Bayross and Sharanam Shah(Shroff Publishers &Distributors)
5. Beginning PHP 6, Apache, MySQL Web Development- By Timothy Boronczyk,
ElizabethNaramore, Jason Gerner, Yann Le Scouarnec, Zeremy Stolz, Michael K. Glass
6. PHP and MySQL by Rajendra Salokhe(Aruta Publications)
7. Learning PHP 7 by Antonio Lopez
8. Beginning PHP 5.3 by Matt Doyle
9. PHP-MySQL-Dummies-3rd-edition by Janet Valade
Practical Based on DSC-11C
Take input either from keyboard, command line or using PHP form. And use either terminal or web
page to demonstrate following examples,
Sr. Content
No
1 Linear Problem:
i) Arithmetic Operations on 2 numbers(real)
ii) Percentage of Student in 5 Subjects
iii) Convert Degree Celsius To Degree Fahrenheit using 32
iv) Calculate Simple Interest.
v) Display type of given value.(gettype())
2 Decision Making - I:
i) Check Integer is even or odd
ii) Maximum Between 3 numbers
iii) Leap Year or Not
iv) Grade of a student from Percentage
3 Decision Making - II:
Check whether given variable stores an integer, float, Boolean, null, array, string,
resource.
4 Iterative - I:
i) Factorial of natural number
ii) Number of digits, sum of digits, reverse number and palindrome or not
iii) Prime number (using break)
iv) Permutation of 1,2,3(using continue)
v) Patterns: Triangles, Pyramids
5 Iterative - II:
i) Sequences: Natural Numbers, Odd Natural Numbers, Even Natural Numbers,
Square Natural Numbers, Fibonacci Sequence
ii) Series: Sum of First n natural numbers, sum of first n odd natural numbers, sum of
first n even natural numbers, sum of first n reciprocals of factorial numbers
6 Array - I:
Create an array and display array and Smallest, Largest, Sum, Average of integer
numeric array
7 Array – II:
i) Create two arrays and merge them.
ii) Create array and reverse it.
iii) Create associative array and fetch value array and key array from it.
8 Array – III:
sort associative array using sort(), rsort(), asort(), arsort(), ksort(), krsort()
9 Array – IV:
i) Create an array and treat it as stack from begin
ii) Create an array and treat it as stack from end
10 String –I :
i) Reverse string
ii) String is Palindrome or not
iii) Covert to Lower or Upper Case
iv) Compare two strings
11 Function - I:
i) Prime Function
ii) Armstrong Function
iii) Factorial Function(Recursive)
iv) Swap Functions(Call By Reference)
12 Function - II:
i) Input Variable number of integers to function and display their sum.
ii) Demonstrate working of static variable and display number function call to given
function
13 MySQL – I Initial:
Connect to mysql database, create own database, choose database, create a table
using PHP
14 MySQL – II Manipulation:
To manipulate data in a table using PHP
i) insert record in a table
ii) update record in a table
iii) delete record from a table
15 MySQL – III Selection:
To display contents of table using PHP
i) All records
ii) First 10 records
iii) Using criteria
iv) Using order by particular column
16 MySQL – IV Grouping:
To display sum, avg, count group by particular column using PHP
B.Sc. Part –II Computer Science Optional (Semester– III)
Course Code: DSC-12C Computer Paper –VI
Course Title:Object Oriented Programming Using C++
Total Contact Hours: 36 Hrs (45 Lectures of 48 Min.)
Teaching Scheme: Theory – 03 Lect. / Week
Course Outcomes:
Perform object oriented programming to develop solutions to problems demonstrating usage of control
structures, modularity, I/O and other standard language constructs.
Students will be able
1. To understand how C++ improves C with object oriented features
2. To learn syntax and semantics of C++ programming language
3. To learn how to write inline functions for efficiency and performance.
4. To learn how to overload functions and operators in C++.
5. To learn how to design C++ classes for code reuse.
6. To learn how inheritance promote code reuse in C++.
7. To learn how inheritance and virtual functions implement dynamic binding with polymorphism.
• Some Concepts: Procedure Oriented programming versus Object oriented programming, Benefits
of C++ over C Language
• Object oriented programming Concepts: Object, class, Encapsulation, Abstraction,
Polymorphism (static and dynamic), Inheritance
• Basic C++ program: Header file, using namespace std, main(), input (>> extraction using cin) and
output (<< insertion using cout) operator, Structure of C++ Program
• C++ Tokens: Keywords (bool, class, delete, namespace, friend, operator keywords, and other C++
keywords), Introduction to Identifiers, constants, strings and operators as on C.
• C++ Data Types: Built –in /Fundamental (void, char, int, float, double), User defined(struct,
union, enum, class), derived(array, function, pointer, reference)
• Symbolic Constants: const (simple, pointer)
• Variable: Definition, Declaration, Initialisation, Dynamic Initialisation and reference variables
• Operators in C++: DMA operators (new, delete), :: scope resolution operator, type cast
operators(const_cast, static_cast, dynamic_cast, reinterpret_cast), manipulators(setw, endl,
setprecision)
• Functions: Prototyping, Function Call(by value, by pointer, by reference), return by reference,
default arguments, const arguments, inline function, constexpr function, function overloading(exact
match, best match)
Reference Books
Use “Problem Solving Techniques” For Following problems and implement code through C++
programming language. It include: Problem Analysis, Algorithm, Flowchart, Output Tracing using
Algorithm, Source Code with Output
First introduce Linux Operating System, GPU commands, C++ compilation process and components
(cpp, g++, as only )with simple program and Debugging using(GDB).
Sr. Content
No.
1 Function Default Argument:
i) To calculate perimeter of square(4*r), rectangle(2*l+2*b), triangle (a+b+c)
ii) To calculate area of square(r*r), rectangle(l*b), trapezium(1/2*h*(s1+s2))
Course Outcomes:
Students will be able to:
1. Understand concept of information security management.
2. Learn different access controls methods.
3. Understand wireless network security.
4. Learn cyber security laws and importance of security audit.
Unit I: Information Security Management 18 Hrs
• Information Security Overview: Background and Current Scenario, Types of Attacks, DoS
attack, Goals for Security, E-commerce Security, dimensions of E-commerce security,
Security protocols,Computer Forensics, Steganography, Security Management- Overview of
Security Management, Information Classification Process, Security Policy, Risk
Management, Security Procedures and Guidelines, Business Continuity and Disaster
Recovery, Ethics and Best Practices.
Unit II: Network Security, Access Controls , Cyber Security and Cyber Laws 18 Hrs
• Wireless Network Security- Components of wireless networks, Security issues in wireless,
Wi-FiSecurity, Risk of Using Unsecured Wi-Fi, Bluetooth and its security, Firewall, types of
firewall.
• Access Controls: Overview of Authentication and Authorization, Overview of Intrusion
Detection Systems, Intrusion Detection Systems and Intrusion Prevention Systems.
• Cyber Security: Email security: PGP and SMIME, Web Security: web authentication, SSL
and SET, Database Security.
• Cyber Security Laws: Security Assurance, Security Laws, Intellectual Property Rights,
International Standards, Security Audit- Need, Importance.
References:
Unit – I: Introduction to Data structure & Linear Data Structures: Array, Stack and Queue
18 Hrs.
Concept of Abstract Data Types,
Definitions – Data types, Data Object, Data structure (D-Data, A-Axioms, O-Operations),
Classification (Primitive, Non-Primitive: Array, Files, List: Linear, Non-Linear), Basic Operations
(Traversing, Searching, Insertion, Deletion, Sorting, Merging)
Array – Definition as a Data Structure, Types (one Dimensional, multi dimensional),
Applicationsof Array – Polynomial representation using array, Operations on Polynomial
(Addition & Product)
Sorting: Definition, Stable-Unstable Sorting, Adaptive-Non Adaptive Sorting, Order of Sorting
(Increasing, Decreasing, Non Increasing, Non Decreasing)
Sorting Techniques: Bubble sort, Selection sort, Insertion sort, Quick sort
Searching: Linear and Binary Search
Stack: Definition, Operations (Push, Pop, Peek, Isfull, Isempty), Implementation using array
Applications of stack: Recursion, Mathematical Expressions (Well-Parentheses, Notations: Infix,
Prefix, Postfix, Conversion from Infix to Postfix and Infix to Prefix)
Queue – Definition of queue, Operations (Enqueue, Dequeue, Peek, Isfull, Isempty), Types of
queue (Linear, Circular, Priority), Implementation Linear Queue using array(Compaction),
Implementation Circular Queue using array (Use of Counter), Applications of Queue
Unit – II: Non Linear Data Structures: Linked List and Trees 18 Hrs.
Linked List: Concept of linked list, Types of Linked List (Singly-Doubly, Linear-Circular),
Implementation of Linked list, Operations on linear linked list (Insertion, Deletion, Display,
Search)
Application: Implementation of stack and queue using linked list.
Trees: Definition, Terminologies (Root, Child, Parent, Siblings, Descendant, Ancestor,
Leaf/External node, Branch node/Internal node, Degree, Edge, Path, Level, Depth, Height of node,
Height of tree, Forest)
Binary Tree: Definition, Types (Full/Proper/Plane, Complete, Perfect, Skewed, Balanced), Array
representation of Binary Tree
Binary Search Tree: Definition, Representation, Operations (Insertion, Deletion, Search, Tree
Traversal:Preorder, Inorder, Postorder)
Reference Books
Use “Problem Solving Techniques” For Following problems and implement code through C++
programming language. It include: Problem Analysis, Algorithm, Flowchart, Output Tracing using
Algorithm, Source Code with Output.
Sr. Content
No
1 Polynomial:
Create a class Poly having member dynamic array of doubles and an integer for
degree to represent polynomial. Write appropriate member functions and operators to
initialise, assign, display and do following
i) Evaluate polynomial for given value
ii) Add to polynomials
iii) Multiply two polynomials
2 Stack And Application:(Using Array)
i) Implementation and Operations on Stack
ii) Check Expression is Well-Parenthesized or not “Use [,(,{ brackets”
iii) Conversion of infix expression to postfix and prefix “Use ( only”
3 Queue:(Using Array)
i) Implementation and Operations on Linear Queue
ii) Implementation and Operations on Circular Queue(Use Count)
4 Sorting:
i) Bubble sort
ii)Insertion sort
iii)Selection sort
iv)Quick Sort(recursive function)
5 Searching:
i) Linear Search
ii) Binary Search
6 Linked List:
i) Implementation and Operations on Linear Linked List
ii) Implementation and Operations on Circular Linked List(Use Count)
iii) Implementation and Operations on Circular Linked List
7 Binary Tree:
Implementation and Operation of Binary Tree using array(use 0 to represent empty
cell)
8 Stack ,Queue and Binary Search Tree using Linked List:
i) Implementation and Operations using Linear Linked List on Stack
ii) Implementation and Operations using Linear Linked List on Queue
iii) Implementation and Operations using Circular Linked List on Circular Queue
iv) Implementation and Operations (insert, display inorder preoder and post order
with recursive function) using Linked List on BST.