Computer Science Honours bku
Computer Science Honours bku
FOR
THREE YEARS UNDER-GRADUATE COURSE
IN
COMPUTER SCIENCE (HONOURS)
(w.e.f. 2017)
BANKURA UNIVERSITY
BANKURA
WEST BENGAL
PIN 722155
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
SEMESTER –I
Course Course Title Credit Marks No. of Hours
Code I.A. ESE Total Lec. Tu. Pr.
SH/CSC/ Programming Fundamentals 6 10 40 50 4 - 4
101/C-1
Using C/ C++ T:25 L:15
SH /CSC/ Computer System Architecture 6 10 40 50 4 - 4
102/C-2
T:25 L:15
Any one of the following
SH /CSC/ Computer Fundamentals 6 10 40 50 4 - 4
103/GE-1
Introduction to
Programming
T:25 L:15
ACSHP/10 Environmental Studies 4 10 40 50 4
4/ AECC-1
Total in Semester - I 22 40 160 200
SEMESTER –II
Course Course Title Credit Marks No. of Hours
Code I.A. ESE Total Lec. Tu. Pr.
SH /CSC/ Programming in JAVA 6 10 40 50 4 - 4
201/C-3
T:25 L:15
SH /CSC/ Discrete Structures 6 10 40 50 5 1 -
202/C-4
Any one of the following
SH /CSC/ Introduction to Database 6 10 40 50 4 - 4
203/GE-2 Systems
Programming in Visual
Basic T:25 L:15
ACSHP/20 English/Hind/MIL 2 10 40 50 2
4/ AECC-2
Total in Semester - II 20 40 160 200
Page 2 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
SEMESTER –III
Course Course Title Credit Marks No. of Hours
Code I.A. ESE Total Lec. Tu. Pr.
SH /CSC/ Data Structures 6 10 40 50 4 - 4
301/C-5
T:25 L:15
SH /CSC/ Operating Systems 6 10 40 50 4 - 4
302/ C-6
T:25 L:15
SH Computer Networks 6 10 40 50 4 - 4
/CSC/303
/C-7 T:25 L:15
T:25 L:15
Page 3 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
SEMESTER –IV
SH Software Engineering 6 10 40 50 4 - 4
/CSC/402
/C-9
T:25 L:15
SH Database Management 6 10 40 50 4 - 4
/CSC/403 Systems
/C-10
T:25 L:15
Page 4 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
SEMESTER – V
Course Course Title Credit Marks No. of Hours
Code I.A. ESE Total Lec Tu Pr
Page 5 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
SEMESTER – VI
SH= Science Honours CSC = Computer Science, ACSHP= Arts Commerce Science Honours
Programme, C= Core Course, AECC= Ability Enhancement Compulsory Course, SEC= Skill
Enhancement Course, GE= Generic Elective, DSE= Discipline Specific Elective IA= Internal
Assessment, ESE= End-Semester Examination, Lec.=Lecture, Tu.= Tutorial, and Prc.=Practical
Page 6 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Declaring, Defining and Initializing Variables, Scope of Variables, Using Named Constants,
Keywords, Data Types, Casting of Data Types, Operators (Arithmetic, Logical and Bitwise),
Using Comments in programs, Character I/O (getc, getchar, putc, putcharetc), Formatted and
Console I/O (printf(), scanf()), Using Basic Header Files (stdio.h, conio.hetc).
3. Expressions, Conditional Statements and Iterative Statements (5 Lectures)
Page 7 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
6. Pointers in C (7 Lectures)
Understanding a Pointer Variable, Simple use of Pointers (Declaring and Dereferencing
Pointers to simple variables), Pointers to Pointers, Pointers to structures, Problems with
Pointers, Passing pointers as function arguments, Returning a pointer from a function, using
arrays as pointers, Passing arrays to functions. Pointers vs. References, Declaring and
initializing references, Using references as function arguments and function return values
Need of Overloading functions and operators, Overloading functions by number and type of
arguments, Looking at an operator as a function call, Overloading Operators (including
assignment operators, unary operators)
11. Inheritance, Polymorphism and Exception Handling (5 Lectures)
Page 8 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Reference Books
1. HerbtzSchildt, "C++: The Complete Reference", Fourth Edition, McGraw Hill.2003
th
2. BjarneStroustrup, "The C++ Programming Language", 4 Edition, Addison-Wesley , 2013.
3. BjarneStroustroup, "Programming -- Principles and Practice using C++", 2nd Edition,
Addison-Wesley 2014.
4. E Balaguruswamy, "Object Oriented Programming with C++", Tata McGraw-Hill Education,
2008.
5. Paul Deitel, Harvey Deitel, "C++ How to Program", 8th Edition, Prentice Hall, 2011. 5.
John R. Hubbard, "Programming with C++", Schaum's Series, 2nd Edition, 2000.
6. Andrew Koeni, Barbara, E. Moo, "Accelerated C++", Published by Addison-Wesley , 2000.
7. Scott Meyers, "Effective C++", 3rd Edition, Published by Addison-Wesley, 2005.
8. Harry, H. Chaudhary, "Head First C++ Programming: The Definitive Beginner's Guide", First
Create space Inc, O-D Publishing, LLC USA.2014
9. Walter Savitch, "Problem Solving with C++", Pearson Education, 2007.
10. Stanley B. Lippman, JoseeLajoie, Barbara E. Moo, "C++ Primer", Published by Addison-
Wesley, 5th Edition, 2012
11. Y Kanetkar, “Let us C”, BPB
Page 9 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
28. Write a function that reverses the elements of an array in place. The function must
accept only one pointer value and return void.
29. Write a program that will read 10 integers from user and store them in an array. Implement
array using pointers. The program will print the array elements in ascending and descending
order
Page 12 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
2. A. J. Dos Reis, Assembly Language and Computer Architecture using C++ and JAVA, Course
Technology, 2004 th
3. W. Stallings, Computer Organization and Architecture Designing for Performance, 8
Edition, Prentice Hall of India,2009
4. M.M. Mano , Digital Design, Pearson Education Asia,2013
5. Carl Hamacher, Computer Organization, Fifth edition, McGrawHill, 2012.
Page 13 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 14 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 15 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Reference Books
1. Ken Arnold, James Gosling, David Homes, "The Java Programming Language", 4th Edition,
2005.
2. James Gosling, Bill Joy, Guy L Steele Jr, GiladBracha, Alex Buckley"The Java Language
Specification, Java SE 8 Edition (Java Series)", Published by Addison Wesley, 2014.
3. Joshua Bloch, "Effective Java" 2nd Edition,Publisher: Addison-Wesley, 2008.
4. Cay S. Horstmann, GaryCornell, "Core Java 2 Volume 1 ,9th Edition,Printice Hall.2012
5. Cay S. Horstmann, Gary Cornell, "Core Java 2 Volume 2 - Advanced Features)", 9th Edition,
Printice Hall.2013
6. Bruce Eckel, "Thinking in Java", 3rd Edition, PHI, 2002.
7. E. Balaguruswamy, "Programming with Java", 4th Edition, McGraw Hill.2009.
8. Paul Deitel, Harvey Deitel, "Java: How to Program", 10th Edition, Prentice Hall, 2011.
9. "Head First Java", Orielly Media Inc. 2nd Edition, 2005.
10. David J. Eck, "Introduction to Programming Using Java", Published by CreateSpace
Independent Publishing Platform, 2009.
11. John R. Hubbard, "Programming with JAVA", Schaum's Series, 2nd Edition, 2004.
_____________________________________________________
COMPUTER SCIENCE LAB (C-III): Programming in Java Lab
Practical: 60 Lectures
1. To find the sum of any number of integers entered as command line arguments
2. To find the factorial of a given number
3. To learn use of single dimensional array by defining the array dynamically.
4. To learn use of .lenth in case of a two dimensional array
5. To convert a decimal to binary number
6. To check if a number is prime or not, by taking the number as input from the keyboard
7. To find the sum of any number of integers interactively, i.e., entering every number from the
keyboard, whereas the total number of integers is given as a command line argument
8. Write a program that show working of different functions of String and StringBufferclasss
like setCharAt(, setLength(), append(), insert(), concat()and equals().
9. Write a program to create a ―distanceǁ class with methods where distance is computed
interms of feet and inches, how to create objects of a class and to see the use of this pointer
10. Modify the ―distanceǁ class by creating constructor for assigning values (feet and
inches)to the distance object. Create another object and assign second object as reference
variable to another object reference variable. Further create a third object which is a clone
of the first object.
11. Write a program to show that during function overloading, if no matching argument is found,
then java will apply automatic type conversions(from lower to higher data type)
12. Write a program to show the difference between public and private access specifiers. The
program should also show that primitive data types are passed by value and objects are
passed by reference and to learn use of final keyword
Page 16 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
13. Write a program to show the use of static functions and to pass variable length arguments in
a function.
14. Write a program to demonstrate the concept of boxing and unboxing.
15. Create a multi-file program where in one file a string message is taken as input from the user
and the function to display the message on the screen is given in another file (make use of
Scanner package in this program).
16. Write a program to create a multilevel package and also creates a reusable class to
generate Fibonacci series, where the function to generate fibonacii series is given in a
different file belonging to the same package.
17. Write a program that creates illustrates different levels of protection in classes/subclasses
belonging to same package or different packages
18. Write a program ―DivideByZeroǁ that takes two numbers a and b as input, computes
a/b,and invokes Arithmetic Exception to generate a message when the denominator is zero.
19. Write a program to show the use of nested try statements that emphasizes the sequence of
checking for catch handler statements.
20. Write a program to create your own exception types to handle situation specific to your
application (Hint: Define a subclass of Exception which itself is a subclass of Throwable).
21. Write a program to demonstrate priorities among multiple threads.
22. Write a program to demonstrate multithread communication by implementing
synchronization among threads (Hint: you can implement a simple producer and consumer
problem).
23. Write a program to create URL object, create a URL Connection using the openConnection()
method and then use it examine the different components of the URLand content.
24. Write a program to implement a simple datagram client and server in which a message that
is typed into the server window is sent to the client side where it is displayed.
25. Write a program that creates a Banner and then creates a thread to scrolls the message in the
banner from left to right across the applet‘s window.
26. Write a program to get the URL/location of code (i.e. java code) and document(i.e. html
file).
27. Write a program to demonstrate different mouse handling events like mouseClicked(),
mouseEntered(), mouseExited(), mousePressed, mouseReleased() and mouseDragged().
28. Write a program to demonstrate different keyboard handling events.
29. Write a program to generate a window without an applet window using main() function.
30. Write a program to demonstrate the use of push buttons.
Page 17 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
4. Graph Theory (15 Lectures) Basic Terminology, Models and Types, multigraphs and
weighted graphs, Graph Representation, Graph Isomorphism, Connectivity, Euler and
Hamiltonian Paths and Circuits, Planar Graphs, Graph Coloring, Trees, Basic Terminology and
properties of Trees, Introduction to Spanning
Trees
Recommended Books:
nd
1. C.L. Liu , D.P. Mahopatra, Elements of Discrete mathematics, 2 Edition , Tata
McGraw Hill, 1985,
2. Kenneth Rosen, Discrete Mathematics and Its Applications, Sixth Edition ,McGraw Hill
2006
5. J. L. Hein, Discrete Structures, Logic, and Computability, 3rd Edition, Jones and Bartlett
Publishers, 2009
6. D.J. Hunter, Essentials of Discrete Mathematics, Jones and Bartlett Publishers, 2008
Page 18 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
2. Stacks (5 Lectures)
Implementing single / multiple stack/s in an Array; Prefix, Infix and Postfix expressions,
Utility and conversion of these expressions from one to another; Applications of stack;
Limitations of Array representation of stack
4. Queues (5 Lectures)
Array and Linked representation of Queue, De-queue, Priority Queues
5. Recursion (5 lectures)
Developing Recursive Definition of Simple Problems and their implementation; Advantages
and Limitations of Recursion; Understanding what goes behind Recursion (Internal Stack
Implementation)
8. Hashing (5 Lectures)
Introduction to Hashing, Deleting from Hash Table, Efficiency of Rehash Methods, Hash
Table Reordering, Resolving collusion by Open Addressing, Coalesced Hashing, Separate
Chaining, Dynamic and Extendible Hashing, Choosing a Hash Function, Perfect Hashing
Function
Page 19 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Reference Books:
1. Adam Drozdek, "Data Structures and algorithm in C++", Third Edition, Cengage Learning,
2012.
2. SartajSahni, Data Structures, "Algorithms and applications in C++", Second Edition,
Universities Press, 2011.
3. Aaron M. Tenenbaum, Moshe J. Augenstein, YedidyahLangsam, "Data Structures Using C
and C++:, Second edition, PHI, 2009.
4. Robert L. Kruse, "Data Structures and Program Design in C++", Pearson,1999.
5. D.S Malik, Data Structure using C++,Second edition, Cengage Learning, 2010.
6. Mark Allen Weiss, "Data Structures and Algorithms Analysis in Java", Pearson Education,
3rd edition, 2011
7. Aaron M. Tenenbaum, Moshe J. Augenstein, YedidyahLangsam, "Data Structures Using Java,
2003.
8. Robert Lafore, "Data Structures and Algorithms in Java, 2/E", Pearson/ Macmillan Computer
Pub,2003
9. John Hubbard, "Data Structures with JAVA", McGraw Hill Education (India) Private Limited;
2 edition, 2009
10. Goodrich, M. and Tamassia, R. "Data Structures and Algorithms Analysis in Java", 4th
Edition, Wiley,2013
11. Herbert Schildt, "Java The Complete Reference (English) 9th Edition Paperback", Tata
McGraw Hill, 2014.
12. D. S. Malik, P.S. Nair, "Data Structures Using Java", Course Technology, 2003.
_________________________________________________________________
Page 20 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. Write a program to search an element from a list. Give user the option to perform Linear or
Binary search. Use Template functions.
2. WAP using templates to sort a list of elements. Give user the option to perform sorting using
Insertion sort, Bubble sort or Selection sort.
3. Implement Linked List using templates. Include functions for insertion, deletion and search
of a number, reverse the list and concatenate two linked lists (include a function and also
overload operator +).
4. Implement Doubly Linked List using templates. Include functions for insertion, deletion and
search of a number, reverse the list.
5. Implement Circular Linked List using templates. Include functions for insertion, deletion
and search of a number, reverse the list.
6. Perform Stack operations using Linked List implementation.
7. Perform Stack operations using Array implementation. Use Templates.
8. Perform Queues operations using Circular Array implementation. Use Templates.
9. Create and perform different operations on Double-ended Queues using Linked List
implementation.
10. WAP to scan a polynomial using linked list and add two polynomial.
11. WAP to calculate factorial and to compute the factors of a given no. (i)using recursion,
(ii) using iteration
12. (ii) WAP to display fibonacci series (i)using recursion, (ii) using iteration
13. WAP to calculate GCD of 2 number (i) with recursion (ii) without recursion
14. WAP to create a Binary Search Tree and include following operations in tree:
(a) Insertion (Recursive and Iterative Implementation)
(b) Deletion by copying
(c) Deletion by Merging
(d) Search a no. in BST
(e) Display its preorder, postorder and inorder traversals Recursively
(f) Display its preorder, postorder and inorder traversals Iteratively
(g) Display its level-by-level traversals
(h) Count the non-leaf nodes and leaf nodes
(i) Display height of tree
(j) Create a mirror image of tree
(k) Check whether two BSTs are equal or not
15. WAP to convert the Sparse Matrix into non-zero form and vice-versa.
16. WAP to reverse the order of the elements in the stack using additional stack.
17. WAP to reverse the order of the elements in the stack using additional Queue.
18. WAP to implement Diagonal Matrix using one-dimensional array.
19. WAP to implement Lower Triangular Matrix using one-dimensional array.
20. WAP to implement Upper Triangular Matrix using one-dimensional array.
21. WAP to implement Symmetric Matrix using one-dimensional array.
22. WAP to create a Threaded Binary Tree as per inorder traversal, and implement operations like
finding the successor / predecessor of an element, insert an element, inorder traversal.
Page 21 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 22 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. WRITE A PROGRAM (using fork() and/or exec() commands) where parent and child
execute:
a) same program, same code.
b) same program, different code.
c) before terminating, the parent waits for the child to finish its task.
2. WRITE A PROGRAM to report behaviour of Linux kernel including kernel version, CPU
type and model. (CPU information)
3. WRITE A PROGRAM to report behaviour of Linux kernel including information on
configured memory, amount of free and used memory. (memory information)
4. WRITE A PROGRAM to print file details including owner access permissions, file access
time, where file name is given as argument.
5. WRITE A PROGRAM to copy files using system calls.
6. Write program to implement FCFS scheduling algorithm.
7. Write program to implement Round Robin scheduling algorithm.
8. Write program to implement SJF scheduling algorithm.
9. Write program to implement non-preemptive priority based scheduling algorithm.
10. Write program to implement preemptive priority based scheduling algorithm.
11. Write program to implement SRJF scheduling algorithm.
12. Write program to calculate sum of n numbers using thread library.
13. Write a program to implement first-fit, best-fit and worst-fit allocation strategies
Page 23 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Reference Books
1. B. A. Forouzan: Data Communications and Networking, Fourth edition, THM ,2007.
2. A. S. Tanenbaum: Computer Networks, Fourth edition, PHI , 2002
Page 24 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. Simulate Cyclic Redundancy Check (CRC) error detection algorithm for noisy channel.
2. Simulate and implement stop and wait protocol for noisy channel.
3. Simulate and implement go back n sliding window protocol.
4. Simulate and implement selective repeat sliding window protocol.
5. Simulate and implement distance vector routing algorithm
6. Simulate and implement Dijkstra algorithm for shortest path routing.
_______________________________________________________________________________
Page 25 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Decision Trees
Red-Black Trees
Amortized analysis
7.Graphs (5 Lectures)
Recommended Books:
1. T.H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein Introduction to
rd
Algorithms, PHI, 3 Edition 2009
2. Sarabasse& A.V. Gelder Computer Algorithm – Introduction to Design and Analysis,
rd
Publisher – Pearson 3 Edition 1999
_________________________________________________________________
Page 26 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. i. Implement Insertion Sort (The program should report the number of comparisons)
ii. Implement Merge Sort(The program should report the number of comparisons)
2. Implement Heap Sort(The program should report the number of comparisons)
3. Implement Randomized Quick sort (The program should report the number of comparisons)
4. Implement Radix Sort
5. Create a Red-Black Tree and perform following operations on it:
i. Insert a node
ii. Delete a node
iii. Search for a number & also report the color of the node containing this number.
6. Write a program to determine the LCS of two given sequences
7. Implement Breadth-First Search in a graph
8. Implement Depth-First Search in a graph
9. Write a program to determine the minimum spanning tree of a graph
For the algorithms at S.No 1 to 3 test run the algorithm on 100 different inputs of sizes varying
from 30 to 1000. Count the number of comparisons and draw the graph. Compare it with a graph of
nlogn.
Page 27 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Recommended Books:
Page 28 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
S. No Practical Title
1. • Problem Statement,
• Process Model
2. Requirement Analysis:
Creating a Data Flow
Data Dictionary, Use Cases
3. Project Management:
Computing FP
Effort, Schedule, Risk Table, Timeline Chart
4. Design Engineering
Architectural Design
Data Design, Component Level Design
5. Testing
Basic Path Testing
Sample Projects:
1. Criminal Record Management: Implement a criminal record management system for jailers,
police officers and CBI officers
2. DTC Route Information: Online information about the bus routes and their frequency and fares
3. Car Pooling: To maintain a web based intranet application that enables the corporate employees
within an organization to avail the facility of carpooling effectively.
4. Patient Appointment and Prescription Management System
5. Organized Retail Shopping Management Software
6. Online Hotel Reservation Service System
6. Examination and Result computation system
7. Automatic Internal Assessment System
8. Parking Allocation System
9. Wholesale Management System
Page 29 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. Introduction: (6 Lectures)
Characteristics of Database Approach, Data Models, Database System Architecture and Data
Independence
2. Entity Relationship (ER) Modeling (8 Lectures)
Entity Types, Relations, Constraints
3. Relational Data Model (20 Lectures)
Relational Model Concepts, Relational Constraints, Relational Algebra, SQL Queries
4. Database Design (15 Lectures)
Mapping ER/EER model to relational database, functional dependencies, Lossless decomposition,
Normal forms(upto BCNF).
5.Transaction Processing (3 Lectures)
ACID properties, concurrency control
6.File Structure and Indexing (8 Lectures)
Operations on File, Unordered and Ordered Records, Overview of File Organizations, Indexing
Structures for Files, B and B+ Trees
Books Recommended:
1. th
R. Elmasri, S.B. Navathe, Fundamentals of Database Systems 6 E, PE, 2010
2. rd
R. Ramakrishanan, J. Gehrke, Database Management Systems 3 E, MGH, 2002
3. th
A. Silberschatz, H.F. Korth, S. Sudarshan, Database System Concepts 6 E, PE
Page 30 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Create and use the following database schema to answer the given queries.
EMPLOYEE Schema
Field Type NULL KEY DEFAULT
Eno Char(3) NO PRI NIL
Ename Varchar(50) NO NIL
Job_type Varchar(50) NO NIL
Manager Char(3) Yes FK NIL
Hire_date Date NO NIL
Dno Integer YES FK NIL
Commission Decimal(10,2) YES NIL
Salary Decimal(7,2) NO NIL
DEPARTMENT Schema
Field Type NULL KEY DEFAULT
Dno Integer No PRI NULL
Dname Varchar(50) Yes NULL
Location Varchar(50) Yes New Delhi
Page 31 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Query List
1. Query to display Employee Name, Job, Hire Date, Employee Number; for each employee with
the Employee Number appearing first.
4. Query to display all the data from the Employee Table. Separate each Column by a comma and
name the said column as THE_OUTPUT.
5. Query to display the Employee Name and Salary of all the employees earning more than $2850.
6. Query to display Employee Name and Department Number for the Employee No= 7900.
7. Query to display Employee Name and Salary for all employees whose salary is not in the range
of $1500 and $2850.
8. Query to display Employee Name and Department No. of all the employees in Dept 10 and
Dept 30 in the alphabetical order by name.
9. Query to display Name and Hire Date of every Employee who was hired in 1981.
10. Query to display Name and Job of all employees who don‘t have a current Manager.
11. Query to display the Name, Salary and Commission for all the employees who earn
commission.
13. Query to display Name of all the employees where the third letter of their name is ‗A‘.
14. Query to display Name of all employees either have two ‗R‘s or have two ‗A‘s in their name
and are either in Dept No = 30 or their Manger‘s Employee No = 7788.
15. Query to display Name, Salary and Commission for all employees whose Commission Amount
is 14 greater than their Salary increased by 5%.
17. Query to display Name, Hire Date and Salary Review Date which is the 1st Monday after six
months of employment.
Page 32 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
18. Query to display Name and calculate the number of months between today and the date each
employee was hired.
19. Query to display the following for each employee <E-Name> earns < Salary> monthly but
wants < 3 * Current Salary >. Label the Column as Dream Salary.
20. Query to display Name with the 1st letter capitalized and all other letter lower case and length
of their name of all the employees whose name starts with ‗J‘, ‘A‘ and ‗M‘.
21. Query to display Name, Hire Date and Day of the week on which the employee started.
22. Query to display Name, Department Name and Department No for all the employees.
23. Query to display Unique Listing of all Jobs that are in Department # 30.
24. Query to display Name, Dept Name of all employees who have an ‗A‘ in their name.
25. Query to display Name, Job, Department No. And Department Name for all the employees
working at the Dallas location.
26. Query to display Name and Employee no. Along with their Manger‘s Name and the Manager‘s
employee no; along with the Employees‘ Name who do not have a Manager.
27. Query to display Name, Dept No. And Salary of any employee whose department No.
and salary matches both the department no. And the salary of any employee who earns a
commission.
28. Query to display Name and Salaries represented by asterisks, where each asterisk (*) signifies
$100.
29. Query to display the Highest, Lowest, Sum and Average Salaries of all the employees
30. Query to display the number of employees performing the same Job type functions.
31. Query to display the no. of managers without listing their names.
32. Query to display the Department Name, Location Name, No. of Employees and the average
salary for all employees in that department.
33. Query to display Name and Hire Date for all employees in the same dept. as Blake.
34. Query to display the Employee No. And Name for all employees who earn more than the
average salary.
35. Query to display Employee Number and Name for all employees who work in a department
with any employee whose name contains a ‗T‘.
36. Query to display the names and salaries of all employees who report to King.
37. Query to display the department no, name and job for all employees in the Sales department.
Page 33 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Java (5 lectures)
Use of Objects, Array and ArrayList class
Recommended Books:
Page 34 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. Print a table of numbers from 5 to 15 and their squares and cubes using alert.
2. Print the largest of three numbers.
3. Find the factorial of a number n.
4. Enter a list of positive numbers terminated by Zero. Find the sum and average of these
numbers.
5. A person deposits Rs 1000 in a fixed account yielding 5% interest. Compute the amount
in the account at the end of each year for n years.
Page 35 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. Languages: (8 Lectures)
Alphabets, String, Language, Basic Operations on Language, Concatenation, KleeneStar
Context free grammars, parse trees, ambiguities in grammars and languages, Pushdown
automata (Deterministic and Non-deterministic), Pumping Lemma, Properties of context free
languages, normal forms.
Recommended Books:
Page 36 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Problem Characteristics, Production Systems, Control Strategies, Breadth First Search, Depth
First Search, Hill climbing and its Variations, Heuristics Search Techniques: Best First Search,
A* algorithm, Constraint Satisfaction Problem, Means-End Analysis, Introduction to Game
Playing, Min-Max and Alpha-Beta pruning algorithms.
Introduction to First Order Predicate Logic, Resolution Principle, Unification, Semantic Nets,
Conceptual Dependencies, Frames, and Scripts, Production Rules, Conceptual Graphs.
Programming in Logic (PROLOG)
Page 37 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 38 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Raster scan line, circle and ellipse drawing, thick primitives, Polygon filling, line and polygon
clipping algorithms, 2D and 3D Geometric Transformations, 2D and 3D Viewing
Transformations (Projections- Parallel and Perspective), Vanishing points.
4.Geometric Modeling (10 Lectures)
Representing curves & Surfaces.
Illumination and shading models. Basic color models and Computer Animation.
Books Recommended:
1. J.D.Foley, A.Van Dan, Feiner, Hughes Computer Graphics Principles & Practice
nd
2 edition Publication Addison Wesley 1990.
Page 39 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
3. Write a program to clip a line using Cohen and Sutherland line clipping algorithm.
(Credit: 06 each)
(4 papers to be selected) – DSE 1 - 4
I. Numerical Methods
Theory: 60 Lectures
Floating point representation and computer arithmetic, Significant digits, Errors: Round-off
error, Local truncation error, Global truncation error, Order of a method, Convergence and
terminal conditions, Efficient computations
REFERNCE BOOKS:
[1] Laurence V. Fausett, Applied Numerical Analysis, Using MATLAB, Pearson, 2/e
(2012)
[2] M.K. Jain, S.R.K. Iyengar and R.K. Jain, Numerical Methods for Scientific and
Engineering Computation, New Age International Publisher, 6/e (2012)
[3] Steven C Chapra, Applied Numerical Methods with MATLAB for Engineers and
Scientists, Tata McGraw Hill, 2/e (2010)
Page 41 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Reference Books
1. G. Hadley: Linear Programming. Narosa, 2002 (reprint).
III. Microprocessor
Theory: 60 Lectures
Page 43 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Recommended Books:
Microprocessor Lab
Practical: 60 Lectures
ASSEMBLY LANGUAGE PROGRAMMING
1. Write a program for 32-bit binary division and multiplication
2. Write a program for 32-bit BCD addition and subtraction
3. Write a program for Linear search and binary search.
4. Write a program to add and subtract two arrays
5. Write a program for binary to ascii conversion
6. Write a program for ascii to binary conversion
Page 44 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. Introduction (6 Lectures)
Light, Brightness adaption and discrimination, Pixels, coordinate conventions, Imaging
Geometry, Perspective Projection, Spatial Domain Filtering, sampling and quantization.
Page 45 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Reference Books
1. R C Gonzalez , R E Woods, Digital Image Processing, 3rd Edition, Pearson Education.2008.
2. A K Jain, Fundamentals of Digital image Processing, Prentice Hall of India.1989.
3. K R Castleman, Digital Image Processing, Pearson Education.1996
4. Schalkoff, Digital Image Processing and Computer Vision, John Wiley and Sons.1989.
5. Rafael C. Gonzalez, Richard E. Woods, Steven Eddins,' Digital Image Processing using
MATLAB', Pearson Education, Inc., 2004.
Page 46 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Digital Image
Processing Lab
Practical: 60 Lectures
1. Write program to read and display digital image using MATLAB or SCILAB
a. Become familiar with SCILAB/MATLAB Basic commands
b. Read and display image in SCILAB/MATLAB
c. Resize given image
d. Convert given color image into gray-scale image
e. Convert given color/gray-scale image into black & white image
f. Draw image profile
g. Separate color image in three R G & B planes
h. Create color image using R, G and B three separate planes
i. Flow control and LOOP in SCILAB
j. Write given 2-D data in image file
2. To write and execute image processing programs using point processing method
a. Obtain Negative image
b. Obtain Flip image
c. Thresholding
d. Contrast stretching
3. To write and execute programs for image arithmetic operations
a. Addition of two images
b. Subtract one image from other image
c. Calculate mean value of image
d. Different Brightness by changing mean value
4. To write and execute programs for image logical operations
a. AND operation between two images
b. OR operation between two images
c. Calculate intersection of two images
d. Water Marking using EX-OR operation
e. NOT operation (Negative image)
5. To write a program for histogram calculation and equalization using
a. Standard MATLAB function
b. Program without using standard MATLAB functions
c. C Program
6. To write and execute program for geometric transformation of image
a. Translation
b. Scaling
c. Rotation
d. Shrinking
e. Zooming
Page 47 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
11. Write and execute program for image morphological operations erosion and dilation.
12. To write and execute program for wavelet transform on given image and perform inverse
wavelet transform to reconstruct image.
Page 48 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
V. Information Security
Theory: 60 Lectures
1. Introduction
Security, Attacks, Computer Criminals, Security Services, Security Mechanisms.
2. Cryptography
Substitution ciphers, Transpositions Cipher, Confusion, diffusion, Symmetric, Asymmetric
Encryption. DES Modes of DES, Uses of Encryption, Hash function, key exchange, Digital
Signatures, Digital Certificates.
3. Program Security
Secure programs, Non malicious Program errors, Malicious codes virus, Trap doors, Salami
attacks, Covert channels, Control against program
4. Threats.
Protection in OS: Memory and Address Protection, Access control, File Protection, User
Authentication.
5. Database Security
Requirements, Reliability, Integrity, Sensitive data, Inference, Multilevel Security.
6. Security in Networks
Threats in Networks, Security Controls, firewalls, Intrusion detection systems, Secure e-mails
7. Administrating Security
Security Planning, Risk Analysis, Organisational Security Policy, Physical Security. Ethical issues
in Security: Protecting Programs and data. Information and law.
Recommended Books:
Page 49 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 50 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Data Scientist’s Tool Box: Turning data into actionable knowledge, introduction to the
tools that will be used in building data analysis software: version control, markdown, git,
GitHub, R, and RStudio.
R Programming Basics: Overview of R, R data types and objects, reading and writing
data, Control structures, functions, scoping rules, dates and times, Loop functions,
debugging tools, Simulation, code profiling
Getting and Cleaning Data: Obtaining data from the web, from APIs, from database sand
from colleagues in various formats. basics of data cleaning and making data ―tidyǁ.
Exploratory Data Analysis: Essential exploratory techniques for summarizing data, applied
before formal modeling commences, eliminating or sharpening potential hypotheses about the
world that can be addressed by the data, common multivariate statistical techniques used to
visualize high-dimensional data.
Reproducible Research : Concepts and tools behind reporting modern data analyses in
are producible manner, To write a document using R markdown, integrate live R code into
a literate statistical program, compile R markdown documents using knitr and related
tools, and organize a data analysis so that it is reproducible and accessible to others.
Reference Books
1. Rachel Schutt, Cathy O'Neil, "Doing Data Science: Straight Talk from the
Frontiline" by Schroff/O'Reilly, 2013.
2. Foster Provost, Tom Fawcett, "Data Science for Business" What You Need to Know About
Data Mining and Data-Analytic Thinking" by O'Reilly, 2013.
3. John W. Foreman, "Data Smart: Using data Science to Transform Information into
Insight" by John Wiley & Sons, 2013.
4. Ian Ayres, "Super Crunchers: Why Thinking-by-Numbers Is the New Way to Be
Smart" Ist Edition by Bantam, 2007.
5. Eric Seigel, "Predictive Analytics: The Power to Predict who Will Click, Buy, Lie, or
st
Die", 1 Edition, by Wiley, 2013.
6. Matthew A. Russel, "Mining the Social Web: Data mining Facebook, Twitter, Linkedln, Goole+,
GitHub, and More", Second Edition, by O'Reilly Media, 2013.
Page 51 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. Write a program that asks the user for a number n and prints the sum of the numbers 1 to n
2. Write a program that prints ‗Hello World‘ to the screen.
3. Write a program that prints a multiplication table for numbers up to 12.
4. Write a function that returns the largest element in a list.
5. Write a function that computes the running total of a list. 6.
Write a function that tests whether a string is a palindrome.
7. Implement linear search.
8. Implement binary search.
9. Implement matrices addition , subtraction and Multiplication
10. Fifteen students were enrolled in a course. There ages were:
20 20 20 20 20 21 21 21 22 22 22 22 23 23 23
i. Find the median age of all students under 22
years ii. Find the median age of all students
iii. Find the mean age of all
students iv. Find the modal age for
all students
v. Two more students enter the class. The age of both students is 23. What is now
mean, mode and median ?
12. Obtain probability distribution of , where X is number of spots showing when a six-sided
symmetric die (i.e. all six faces of the die are equally likely) is rolled. Simulate random
samples of sizes 40, 70 and 100 respectively and verify the frequency interpretation of
probability.
13. Make visual representations of data using the base, lattice, and ggplot2 plotting systems in
R, apply basic principles of data graphics to create rich analytic graphics from available
datasets.
14. Use Git / Github software to create Github account. Also, create a repo using Github.
Page 52 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 53 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Transport Layer Protocols: TCP, UDP, SCTP protocol. Socket Programming: Socket
Introduction; TCP Sockets; TCP Client/Server Example ; signal handling; I/O multiplexing
using sockets; Socket Options; UDP Sockets; UDP client server example; Address lookup using
sockets. Network Applications: Remote logging; Email; WWW and HTTP. LAN
administration: Linux and TCP/IP networking: Network Management and Debugging.
Recommended Books:
1. W. Richard Stevens, Bill Fenner, Andrew M. Rudoff, Unix Network Programming, The
sockets Networking API, Vol. 1, 3rd Edition, PHI.2003
3. Nemeth Synder & Hein, Linux Administration Handbook, Pearson Education, 2nd
Edition,2010
4. R. Stevens, Unix Network Programming, PHI 2nd Edition,1990
Practical: 60 Lectures
Page 54 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 55 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 56 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Q6. Create HTML documents (having multiple frames) in the following three formats
Frame 1
Frame 2
Frame 1
Frame 2 Frame 3
Page 57 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Books Recommended
1. XML in action web technology by William J. Pardi
2. Step by Step XML by Michael J. Young
Page 58 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
In this exercise, student will practice identifying the explicit structure within an XML document. In
a sense, this is the reverse of what you did in Exercise #1. For the sample XML markup below, create
a document-like representation (or a simple drawing) for the content contained within the XML tags:
<book>
<coverInfo>
<title>The XML
Handbook</title><author>Charles F.
Goldfarb</author><author>Paul
Prescod</author><edition>Second</edit
ion>
<description>The definitive XML resource: applications, products, and technologies. Revised and
expanded—over 600 new pages.
</description>
</coverInfo>
</book>
Page 59 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Exercise #4 – Well-Formedness
This exercise checks your understanding of the constraints for well-formedness. Are the following
document instances well-formed? Explain any NO answers.
<list><title>The first list</title><item>An
item</list><item>An item</item><item>Another
item</item>
<para>Bathing a cat is a <emph>relatively</emph> easy task as long as the cat is
willing.</para><bibl><title>How to Bathe a Cat<author></title>Merlin Bauer<author></bibl>
Page 60 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Reference Books
1. T. Budd, Exploring Python, TMH, 1st Ed, 2011
2. Python Tutorial/Documentation www.python.or2015
3. Allen Downey, Jeffrey Elkner, Chris Meyers , How to think like a computer scientist :
learning with Python , Freely available online.2012
4. http://docs.python.org/3/tutorial/index.html
5. http://interactivepython.org/courselib/static/pythonds
6. http://www.ibiblio.org/g2swap/byteofpython/read/
Page 61 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 62 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 63 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Introduction (4L)
What is linux/unix Operating systems
Difference between linux/unix and other operating systems
Features and Architecture
Various Distributions available in the market
Installation, Booting and shutdown process
System Processes (an Overview)
Internal and External Commands
Creation of Partitions in O/S
Processes and its creation Phases- Fork, Exec, wait
User Management and File Systems (5L)
Types of Users, Creating users, Granting rights
User management commands
File quota and various file systems available
File System Management and Layout, File permissions
Login process, Managing Disk Quotas
Links (hard links, symbolic links)
Reference Books:
1. Sumitabha, Das, Unix Concepts And Applications, Tata McGraw-Hill Education, 2006
2.Michael Jang RHCSA/ RHCE Red Hat Linux Certification: Exams (Ex200 & Ex300)
(Certification Press), 2011
3.Nemeth Synder & Hein, Linux Administration Handbook, Pearson Education, 2nd Edition
,2010
4.W. Richard Stevens, Bill Fenner, Andrew M. Rudoff, Unix Network Programming,
Page 64 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 65 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Reference Books:
1. A. Goel, Computer Fundamentals, Pearson Education, 2010.
2. P. Aksoy, L. DeNardis, Introduction to Information Technology, Cengage Learning, 2006
3. P. K.Sinha, P. Sinha, Fundamentals of Computers, BPB Publishers, 2007
Page 66 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
MS Word
1. Prepare a grocery list having four columns (Serial number, The name of the product,
quantity and price) for the month of April, 06.
• Font specifications for Title (Grocery List): 14-point Arial font in bold and italics.
• The headings of the columns should be in 12-point and bold.
• The rest of the document should be in 10-point Times New Roman.
• Leave a gap of 12-points after the title.
4. BPB Publications plans to release a new book designed as per your syllabus. Design the
first page of the book as per the given specifications.
• The title of the book should appear in bold using 20-point Arial font.
• The name of the author and his qualifications should be in the center of the page
in 16-point Arial font.
• At the bottom of the document should be the name of the publisher and address
in 16-point Times New Roman.
• The details of the offices of the publisher (only location) should appear in the footer.
Page 67 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
9. Enter the following data into a table given on the next page.
Add a column Region (values: S, N, N,S,S,S) between the Salesperson and Dolls columns to
the given table Sort your table data by Region and within Region by Salesperson in ascending
order:
In this exercise, you will add a new row to your table, place the word "Total" at the bottom of the
Page 68 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Salesperson column, and sum the Dolls, Trucks, and Puzzles columns.
MS Excel
1. Enter the Following data in Excel Sheet
REGIONAL SALES PROJECTION
State Qtr1 Qtr2 Qtr3 QTR4 Qtr Total Rate Amount
Delhi 2020 2400 2100 3000 15
Punjab 1100 1300 1500 1400 20
U.P. 3000 3200 2600 2800 17
Haryana 1800 2000 2200 2700 15
Rajasthan 2100 2000 1800 2200 20
TOTAL
AVERAGE
Page 69 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 70 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
4. A company XYZ Ltd. pays a monthly salary to its employees which consists of basic salary,
allowances & deductions. The details of allowances and deductions are as follows:
Allowances
• HRA Dependent on Basic
30% of Basic if Basic <=1000
25% of Basic if Basic>1000 & Basic<=3000
20% of Basic if Basic >3000
• DA Fixed for all employees, 30% of Basic
• Conveyance Allowance Rs. 50/- if Basic is <=1000 Rs.
75/- if Basic >1000 & Basic<=2000
Rs. 100 if Basic >2000
• Entertainment Allowance NIL if Basic
is<=1000 Rs. 100/- if Basic > 1000
Deductions
• Provident Fund 6% of Basic
• Group Insurance Premium Rs. 40/- if Basic is <=1500
Rs. 60/- if Basic > 1500 & Basic<=3000
Rs. 80/- if Basic >3000
Calculate the following:
Gross Salary = Basic + HRA + DA + Conveyance + Entertainment
Total deduction = Provident Fund + Group Insurance Premium
Net Salary = Gross Salary – Total Deduction
5. Create Payment Table for a fixed Principal amount, variable rate of interests and time in the
format below:
No. of Instalments 5% 6% 7% 8% 9%
3 XX XX XX XX XX
4 XX XX XX XX XX
5 XX XX XX XX XX
6 XX XX XX XX XX
6. Use an array formula to calculate Simple Interest for given principal amounts given the rate
of Interest and time
Rate of Interest 8%
Time 5 Years
Principal Simple Interest
1000 ?
18000 ?
5200 ?
Page 71 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
7. The following table gives year wise sale figure of five salesmen in Rs.
Salesman 2000 2001 2002 2003
S1 10000 12000 20000 50000
S2 15000 18000 50000 60000
S3 20000 22000 70000 70000
S4 30000 30000 100000 80000
S5 40000 45000 125000 90000
(a) Calculate total sale year wise.
(b) Calculate the net sale made by each salesman
(c) Calculate the maximum sale made by the salesman
(d) Calculate the commission for each salesman under the condition.
(i) If total sales >4,00,000 give 5% commission on total sale made by the salesman.
(ii) Otherwise give 2% commission.
(e) Draw a bar graph representing the sale made by each salesman. (f)
Draw a pie graph representing the sale made by salesman in 2000.
8. Enter the following data in Excel Sheet
PERSONAL BUDGET FOR FIRST QUARTER
Monthly Income (Net): 1,475
EXPENSES JAN FEB MARCH QUARTER QUARTER
TOTAL AVERAGE
Rent600.00 600.00 600.00
Telephone 48.25 43.50 60.00
Utilities 67.27 110.00 70.00
Credit Card 200.00 110.00 70.00
Oil 100.00 150.00 90.00
AV to Insurance 150.00
Cable TV 40.75 40.75 40.75
Monthly Total
Calculate Quarter total and Quarter average.
(a) Calculate Monthly total.
(b) Surplus = Monthly income - Monthly total.
(c) What would be total surplus if monthly income is 1500.
(d) How much does telephone expense for March differ from quarter average.
(e) Create a 3D column graph for telephone and utilities.
(f) Create a pie chart for monthly expenses.
Page 72 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Page 73 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
2. Basic Computer Organization - Units of a computer, CPU, ALU, memory hierarchy, registers,
I/O Devices (4L)
3. Planning the Computer Program: Concept of problem solving, Problem definition, Program
Design, debugging, types of programming errors, documentation (3L)
4. Techniques of Problem Solving: Flowcharting, decision table, algorithms, Structured
programming concepts, Programming methodologies viz. top-down and bottom-up programming.
(4L)
5. Introduction to C (3L)
Declaring, Defining and Initializing Variables, Scope of Variables, Using Named Constants,
Keywords, Data Types, Casting of Data Types, Operators (Arithmetic, Logical and Bitwise),
Using Comments in programs, Character I/O (getc, getchar, putc, putcharetc), Formatted and
Console I/O (printf(), scanf()), Using Basic Header Files (stdio.h, conio.hetc).
7. Expressions, Conditional Statements and Iterative Statements (6L)
Page 74 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Reference Books:
1. P. K. Sinha & Priti Sinha , “Computer Fundamentals”, BPB Publications, 2007.
2. Dr. Anita Goel, Computer Fundamentals, Pearson Education, 2010.
3. T. Budd, Exploring Python, TMH, 1st Ed, 2011
4. Python Tutorial/Documentation www.python.or2010
5. Allen Downey, Jeffrey Elkner, Chris Meyers , How to think like a computer scientist :
learning with Python , Freely available online.2012
6. http://docs.python.org/3/tutorial/index.html
7. http://interactivepython.org/courselib/static/pythonds
8. http://www.ibiblio.org/g2swap/byteofpython/read/
Page 75 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Lab Practical:
1. WAP to print the sum and product of digits of an integer.
7. WAP to reverse a number.
8. WAP to compute the sum of the first n terms of the following series
S = 1+1/2+1/3+1/4+……
9. WAP to compute the sum of the first n terms of the following series
S =1-2+3-4+5…………….
10. Write a function that checks whether a given string is Palindrome or not. Use
this function to find whether the string entered by user is Palindrome or not.
11. Write a function to find whether a given no. is prime or not. Use the same to
generate the prime numbers less than 100.
7.WAP to compute the factors of a given number.
8. Write a macro that swaps two numbers. WAP to use it.
9. WAP to print a triangle of stars as follows (take number of lines from user):
*
***
*****
*******
*********
11. WAP to perform following actions on an array entered by the user:
i) Print the even-valued elements
ii) Print the odd-valued elements
iii) Calculate and print the sum and average of the elements of array
iv) Print the maximum and minimum element of array
v) Remove the duplicates from the array
vi) Print the array in reverse order
The program should present a menu to the user and ask for one of the options. The
menu should also include options to re-enter array and to quit the program.
16. WAP that prints a table indicating the number of occurrences of each alphabet in the
text entered as command line arguments.
17. Write a program that swaps two numbers using pointers.
18. Write a program in which a function is passed address of two variables and then alter its
contents.
19. Write a program which takes the radius of a circle as input from the user, passes it to another
function that computes the area and the circumference of the circle and displays the value of
area and circumference from the main() function.
20. Write a program to find sum of n elements entered by the user. To write this program,
allocate memory dynamically using malloc() / calloc() functions or new operator.
Page 76 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
22. Given two ordered arrays of integers, write a program to merge the two-arrays to
get an ordered array.
23. WAP to display Fibonacci series (i)using recursion, (ii) using iteration
24. WAP to calculate Factorial of a number (i)using recursion, (ii) using iteration
25. WAP to calculate GCD of two numbers (i) with recursion (ii) without recursion.
26. Create Matrix class using templates. Write a menu-driven program to perform following
Matrix
operations (2-D array implementation):
a) Sum b) Difference c) Product d) Transpose
Page 77 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Network Devices: NIC, repeaters, hub, bridge, switch, gateway and router. 2L
Internet Terms: Web page, Home page, website, internet browsers, URL, Hypertext, 2L
ISP, Web server, download and upload, online and offline.
Internet Applications: www, telnet, ftp, e-mail, social networks, search engines, 6L
Video Conferencing, e-Commerce, m-Commerce, VOIP, blogs.
JavaScript Fundamentals: Data types and variables, functions, methods and events, 14L
controlling program flow, JavaScript object model, built-in objects and operators.
Reference Books:
1. Andrew S. Tanenbaum, David J. Wetherall Computer Networks (5th Edition),PHI, 2010
2. B. A. Forouzan, Data Communication and Networking , TMH,2003.
3. D.R. Brooks, An Introduction to HTML and Javascript for Scientists and Engineers, Springer
W. Willard,2009
4. HTML A Beginner's Guide, Tata McGraw-Hill Education, 2009.
5. J. A. Ramalho, Learn Advanced HTML 4.0 with DHTML, BPB Publications, 2007
Page 78 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. Create HTML document with following formatting – Bold, Italics, Underline, Colors,
Headings, Title, Font and Font Width, Background, Paragraph, Line Brakes,
Horizontal Line, Blinking text as well as marquee text.
2. Create HTML document with Ordered and Unordered lists, Inserting Images, Internal and
External linking
4. Create Form with Input Type, Select and Text Area in HTML.
5. Create an HTML containing Roll No., student‘s name and Grades in a tabular form.
6. Create an HTML document (having two frames) which will appear as follows:
About
This frame would show the contents
Department 1 According to the link clicked on the
left frame
Department 2
Department 3
Page 79 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
9. Create HTML documents (having multiple frames) in the following three formats:
Frame1
Frame2 Frame3
10. Create a form using HTML which has the following types of controls:
V. Text Box
VI. Option/radio buttons
VII. Check boxes
VIII. Reset and Submit buttons
Page 80 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. Print a table of numbers from 5 to 15 and their squares and cubes using alert. 8. Print the
largest of three numbers.
2. Find the factorial of a number n.
3. Enter a list of positive numbers terminated by Zero. Find the sum and average of these numbers.
4. A person deposits Rs 1000 in a fixed account yielding 5% interest. Compute the amount in
the account at the end of each year for n years.
5. Read n numbers. Count the number of negative numbers, positive numbers and zeros in the list.
Page 81 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Reference Books :
1. P. Rob, C. Coronel, Database System Concepts by, Cengage Learning India, 2008
2. R. Elmsasri,S. Navathe Fundamentals of Database Systems, Pearson Education,
Fifth Edition, 2007
3. MySQL : Reference Manual
Page 82 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1) Create a database having two tables with the specified fields, to computerize a library system
of a Delhi University College.
LibraryBooks (Accession number, Title, Author, Department, PurchaseDate,
Price) IssuedBooks (Accession number, Borrower)
a) Identify primary and foreign keys. Create the tables and insert at least 5 records in
each table.
b) Delete the record of book titled ―Database System Concepts‖.
c) Change the Department of the book titled ―Discrete Mathsǁ to ―CSǁ.
d) List all books that belong to ―CSǁ department.
e) List all books that belong to ―CSǁ department and are written by author ―Navatheǁ.
f) List all computer (Department=‖CS‖) that have been issued.
g) List all books which have a price less than 500 or purchased between
―01/01/1999ǁ and ―01/01/2004ǁ.
Create a database having in your college.
Personal information about Student (College roll number, Name of student, Date of
birth, Address, Marks(rounded off to whole number) in percentage at 10 + 2, Phone
number) Paper Details (Paper code, Name of the Paper)
Student’s Academic and Attendance details (College roll number, Paper code,
Attendance, Marks in home examination).
a) Identify primary and foreign keys. Create the tables and insert at least 5 records in each
table.
b) Design a query that will return the records (from the second table) along with the name
of student from the first table, related to students who have more than 75% attendance
and more than 60% marks in paper 2.
c) List all students who live in ―Delhiǁ and have marks greater than 60 in paper 1.
d) Find the total attendance and total marks obtained by each student.
e) List the name of student who has got the highest marks in paper 2.
3) Create the following tables and answer the queries given below:
Customer (CustID, email, Name, Phone, ReferrerID)
Bicycle (BicycleID, DatePurchased, Color, CustID,
ModelNo) BicycleModel (ModelNo, Manufacturer, Style)
Service (StartDate, BicycleID, EndDate)
a) Identify primary and foreign keys. Create the tables and insert at least 5 records in each
table.
b) List all the customers who have the bicycles manufactured by manufacturer ―Hondaǁ.
c) List the bicycles purchased by the customers who have been referred by customer ―C1ǁ.
d) List the manufacturer of red colored bicycles.
e) List the models of the bicycles given for service.
4) Create the following tables, enter at least 5 records in each table and answer the queries given
below.
Page 83 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
5) Create the following tables, enter at least 5 records in each table and answer the queries
given below.
Page 84 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
5 Programming in Python
Theory: 60 lectures
Basic Computer Organization - Units of a computer, CPU, ALU, memory hierarchy, registers,
I/O devices. (6L)
Planning the Computer Program: Concept of problem solving, Problem definition, Program
design, Debugging, Types of errors in programming, Documentation. (4L)
Techniques of Problem Solving: Flowchart, decision table, algorithms, Structured programming
concepts, Programming methodologies viz. top-down and bottom-up programming.
(4L)
Overview of Programming: Structure of a Python program, Elements of Python (6L)
Introduction to Python: Python Interpreter, Using Python as calculator, Python shell, Indentation.
Atoms, Identifiers and keywords, Literals, Strings, Operators (Arithmetic operator, Relational
operator, Logical or Boolean operator, Assignment, Operator, Ternary operator, Bit wise operator,
Increment or Decrement operator). (8L)
Creating Python Programs: Input and Output Statements, Control statements (Looping-while Loop,
for Loop , Loop Control, Conditional Statement- if...else, Difference between break, continue
and pass). (14L)
Structures: Numbers, Strings, Lists, Tuples, Dictionary, Date & Time, Modules, Defining
Functions, Exit function, default arguments. (14L)
References :
3. T. Budd, Exploring Python, TMH, 1st Ed, 2011
4. How to think like a computer scientist : learning with Python / Allen Downey, Jeffrey Elkner,
st
Chris Meyers. 1 Edition – Freely available online.2012
1. http://docs.python.org/3/tutorial/index.html
2. http://interactivepython.org/courselib/static/pythonds
Page 85 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
1. Using for loop, print a table of Celsius/Fahrenheit equivalences. Let c be the Celsius
temperatures ranging from 0 to 100, for each value of c, print the corresponding
Fahrenheit temperature.
2. Using while loop, produce a table of sins, cosines and tangents. Make a variable x in range
from 0 to 10 in steps of 0.2. For each value of x, print the value of sin(x), cos(x) and tan(x).
3. Write a program that reads an integer value and prints ―leap yearǁ or ―not a leap yearǁ.
4. Write a program that takes a positive integer n and then produces n lines of output shown as
follows.
For example enter a size: 5
*
**
***
****
*****
5. Write a function that takes an integer ‗n‘ as input and calculates the value of
1 + 1/1! + 1/2! + 1/3! + … + 1/n
6. Write a function that takes an integer input and calculates the factorial of that number.
7. Write a function that takes a string input and checks if it‘s a palindrome or not.
8. Write a list function to convert a string into a list, as in list (‗abc‘) gives [a, b, c].
9. Write a program to generate Fibonacci series.
10. Write a program to check whether the input number is even or odd.
11. Write a program to compare three numbers and print the largest one.
12. Write a program to print factors of a given number.
13. Write a method to calculate GCD of two numbers.
Page 86 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
6 Programming in VB
Theory: 60 lectures
Controls : Introduction to controls text boxes, frames, check boxes, option buttons, 8L
images, setting borders and styles, the shape control, the line control, working with
multiple controls and their properties, designing the user interface, keyboard access,
tab controls, default & cancel property, coding for controls.
Operations: Data types, constants, named & intrinsic, declaring variables, scope of 4L
variables, val function, arithmetic operations, formatting data.
Forms Handling : Multiple forms creating, adding, removing forms in project, hide, 6L
show method, load, unload statement, me keyword, referring to objects on a different
forms
Iteration Handling: Do/loops, for/next loops, using msgbox function, using string 4L
function
Arrays and Grouped Data Control: Arrays - 1-dimension arrays, initializing an 10L
array using for each, user-defined data types, accessing information with user-defined
data types, using list boxes with array, two dimensional arrays. lists, loops and
printing list boxes & combo boxes, filling the list using property window / add item
method, clear method, list box properties, removing an item from a list, list box/
combo box operations.
Database Connectivity: Database connectivity of forms with back end tool like 10L
mysql, populating the data in text boxes, list boxes etc. searching of data in database using
forms. Updating/ editing of data based on a criterion.
Page 87 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Reference Books:
1. Reference: Programming in Visual Basic 6.0 by Julia Case Bradley, Anita C. Millispangh
(Tata Mcgraw Hill Edition 2000 (Fourteenth Reprint 2004))
Programming in VB Lab
Practical: 60 lectures
Page 88 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Employee Form
Employee Name
Employee ID
Date of Joining:
Designation:
Department:
Address:
Basic Pay
PREV
FIRST
LAST
Next
ADD
DELETE
SAVE
CANCEL
Page 89 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Theory: 60 Lectures
UNIT 1- An introduction to Electronic commerce: What is E-Commerce (Introduction And
Definition), Main activities E-Commerce, Goals of E-Commerce, Technical Components of E-
Commerce, Functions of E-Commerce, Advantages and disadvantages of E-Commerce, Scope of E-
Commerce, Electronic Commerce Applications, 9 Electronic Commerce and Electronic Business
(C2C), (C2G,G2G, B2G, B2P, B2A, P2P, B2A, C2A, B2B, B2C) (10L)
UNIT 2- The Internet and WWW: Evolution of Internet, Domain Names and Internet
Organization (.edu, .com, .mil, .gov, .net etc.) , Types of Network, Internet Service Provider, World
Wide Web, Internet & Extranet, Role of Internet in B2B Application, building own website, Cost,
Time, Reach, Registering a Domain Name, Web promotion, Target email, Baner, Exchange,
Shopping Bots (10L)
UNIT 3- Internet Security: Secure Transaction, Computer Monitoring, Privacy on Internet, Corporate
Email privacy, Computer Crime( Laws , Types of Crimes), Threats, Attack on Computer System,
Software Packages for privacy, Hacking, Computer Virus( How it spreads, Virus problem, virus
protection, Encryption and Decryption, Secret key Cryptography, DES, Public Key Encryption, RSA,
Authorization and Authentication, Firewall, Digital Signature( How it Works)
(10L)
UNIT 4: Electronic Data Exchange: Introduction, Concepts of EDI and Limitation, Applications of
EDI, Disadvantages of EDI, EDI model, Electronic Payment System: Introduction, Types of
Electronic Payment System, Payment Types, Value Exchange System, Credit Card System,
Electronic Fund Transfer, Paperless bill, Modern Payment Cash, Electronic Cash (10L)
UNIT 5: Planning for Electronic Commerce: Planning Electronic Commerce initiates, Linking
objectives to business strategies, Measuring cost objectives, Comparing benefits to Costs, Strategies
for developing electronic commerce web sites (10L)
UNIT 6: Internet Marketing: The PROS and CONS of online shopping, The cons of online
shopping, Justify an Internet business, Internet marketing techniques, The E-cycle of Internet
Marketing, Personalization e-commerce (10L)
Recommended Books :
1. G.S.V.Murthy, E-Commerce Concepts, Models, Strategies- :- Himalaya Publishing House,
2011.
2. Kamlesh K Bajaj and Debjani Nag , E- Commerce , 2005.
3. Gray P. Schneider , Electronic commerce, International Student Edition, 2011,
4. HENRY CHAN, RAYMOND LEE, THARAM DILLON, ELIZABETH CHANG
E-COMMERCE, FUNDAMENTALS AND APPLICATIONS, Wiely Student Edition, 2011
Page 90 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
HyperText Markup Language (HTML): structural setup; page layout; text manipulation; special
characters; images; links. Intermediate: image maps; tables; frames, forms; meta tags; web forms.
Cascading Style Sheets (CSS): embedding/linking; HTML element selectors; classes; ID
selectors, text manipulation; background; borders and spacing; layout; context selectors and
grouping, pseudo-classes; pseudo-elements.
JavaScript : writing your first script; creating HTML tags; user input and output; loops and tables;
payroll calculator, forms and text fields; validating an email address; radio buttons; check boxes; self-
grading tests, image rollovers; slide shows; real-time clock; controllable clock; working with cookies.
Perl/CGI 10: sample Perl operations; random numbers; lists; dealing four poker hands; time
manipulation; subroutines, hash tables; files; string matching, CGI; registration lists; surveys
SQL and Regular Expressions: Regular expression: basics, repeating, positioning, Beginner: Select; Where;
Order by; Insert; update; delete; like; between; in; distinct; group by; aliases; aggregate functions; create table,
alter table; drop table; nested select; SoundEx; join; deterministic and non-deterministic functions
ASP structural setup: response. write; retrieving from forms; retrieving from query string; variables;
control constructs; subroutines and functions; session state; application variables; server variables;
debugging, reading and writing cookies; server-side includes; response object methods; VBScript
functions; error handling; debugging, browser details; CDONTS; files; output from a recordset;
global.asa; setup instructions for using IIS and ASP. Flash 3 Create Flash movies of moving and
interactive objects.
Page 91 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Text: Fonts & Faces, Using Text in Multimedia, Font Editing & Design Tools, 4L
Hypermedia & Hypertext.
Images: Still Images – bitmaps, vector drawing, 3D drawing & rendering, natural 6L
light & colors, computerized colors, color palettes, image file formats.
Sound: Digital Audio, MIDI Audio, MIDI vs Digital Audio, Audio File Formats. 6L
Video: How video works, analog video, digital video, video file formats, video 8L
shooting and editing.
Internet and Multimedia: www and HTML, multimedia on the web – web servers, 6L
web browsers, web page makers and site builders.
References
Page 92 of 93
Bankura University B.Sc. COMPUTER SC (Hons) CBCS w.e.f. 2017-18
Practical exercises based on concepts listed in theory using Flash/ GIMP/ PhotoShop/
Animation Tools/ Image Editors/ Video Editors.
Optional
Implement the followings using Flash-
1. Create an animation using the tools panel and the properties panel to draw the following –
Line, pe , oval, circle, rectangle , square, pencil , brush , lasso tool
2. Create an animation using text tool to set the font, size, color etc.
3. Create an animation using Free transform tool that should use:
Move Objects
Skew Objects
Stretch
Objects
Rotate
Objects
Stretch Objects while maintaining proportion
Rotate Objects after relocating the center dot
4. Create an animation using layers having following
features-
Insert layer, Delete layer, guide layer, Mask layer.
5. Modify the document (changing background color etc.) using the following tools
Eraser tool
Hand tool
Zoom tool
Eyedropper tool
Ink bottle tool
Paint bucket tool
6. Create an animation for bus car race in which both starts from the same point and car wins
the race.
7. Create an animation in which text Hello gets converted into GoodBye (using motion/shape
tweening).
8. Create an animation having five images having fade-in fade-out effect.
9. Create an scene to show the sunrise (using multiple layers and motion tweening)
10. Create an animation to show the ripple effect.
11. Create an animation (using Shape tweening and shape hints) for transforming one shape
into another.
12. Create an animation for bouncing ball (you may use motion guide layer).
Page 93 of 93