This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 1 of 22
Course No.
Subject Credit Exam
BCA0E201 Yogic Sciences 2 Theory BCA0F201 E-Commerce & its applications 2 Theory BCA0C201 Advanced Programming through ‘C’
Language 4 Theory
BCA0C202 Data Structures 4 Theory BCA0C203 Database Management Systems 4 Theory BCA0C204 Discrete Mathematics 4 Theory BCA0P201 Advanced Programming through ‘C’
Language 2 Practicals
BCA0P202 Data Structures 2 Practicals BCA0P203 Database Management Systems 2 Practicals TOTAL 26
Principles of Yoga: What is Yoga, Koshas, The Chakra System, Swara Yoga, The mind and
personality
Unit - 2
Yogic View of Personality and its Evolvement :Personality and the Aspects of the Chakra
Systems, Evolvement of the Aspects of the Personality, Different Chakra Aspects Dominant
in each Individual.
Unit - 3
Benefits of a Yogic Lifestyle: General Lifestyle Considerations, Raja Yoga Lifestyle
Principles, The Karma Yoga Life, The Path of Bhakti, Jnana Yoga in our Life
Unit - 4
Yoga Techniques for Evolvement: Physical Techniques, Meditation Group of Practices,
How Yoga Evolves Vicious Circles into Virtuous Circles, Yogic Mechanisms of Evolvement
Note:
Basic Yogic practices like asanas, pranayama, suryanamaskar etc. needs to be
demonstrated.
Reference Books
1. R. Vivekananda, Practical yoga psychology. Yoga Publications Trust Bihar, 2005. 2. S. S. Saraswati, “A systematic course in the ancient Tantric techniques of Yoga and
Kriya,” Yoga Publications Trust Bihar, 2006. 3. P. Yogananda, Autobiography of a Yogi. YSS of India Publications, Ranchji, 2003. 4. P. Yogananda, God talks with Arjuna. YSS of India Publications, Ranchi, 2007. 5. B. K. S. Iyengar, “Light on yoga,” 1965. 6. S. Rama, Meditation and its practice. Himalayan Institute Press, 1998. 7. H. K. Goyandaka, Patanjali yoga darshan. Gorakhpur: Gita Press, 1951. 8. B. K. S. Iyengar, The Tree of Yoga: Yoga Vṛkṣa. Shambhala Publications, 1989. 9. S. Sivananda and Sivananda, Yoga in Daily Life. Yoga-Vedanta Forest University,
1955.
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 3 of 22
BCA0F201 - E-Commerce
1. Introduction to E- Commerce: The revolution is just beginning What is E-Commerce? The difference between E- Commerce and E-Business Eight Unique Features of E-Commerce Technology Introduction to Web 2.0 Types of E-Commerce
2. The Internet and World Wide Web : E-Commerce Infrastructure
The Internet: Technology Background
The Evolution of the Internet 1961 – the Present The Internet : Key Technology Concepts Other Internet Protocols and Utility Programs
The Internet Today
The Internet Backbone Internet Exchange Points Campus Area Networks (CANs) Internet Service Providers Internets and Extranets
The Internet and the Web: Features
E-mail
Instant Messaging
Search Engines
Intelligent Agents (Bots)
Online Forums and Chat
Streaming Media
Cookies
3. Online Security and Payment System
The E-Commerce Security Environment
Scope of the problem What is good E-commerce security? Dimensions of E-commerce security The tensions between security and other values
Security Threats in the E-Commerce Environment
Malicious code Unwanted programs Phishing and Identity theft Hacking and Cyber vandalism
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 4 of 22
Credit Card Fraud/Theft Spoofing and Spam Web Sites Sniffing Insider attacks Poorly designed server and client software
Technology solution
Protecting Internet communications Encryption(excluding: limitation of encryption solutions)
R. Kalakota&A.B.Whiilston-' Frontiers of Electronic Commerce, Pearson Education-
2006.
K.K.Bajaj&D.Nag- E-Commerce, Tata McGraw Hill, New Delhi, Second Edition.
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 5 of 22
BCA0C201 - Advanced Programming through ‘C’ Language
UNIT-1: Introduction to Functions
User Defined Functions • Introduction • Elements of UDF
Categories of UDF • No argument no return value • Argument but no return value • No argument but return a value • Argument with return value • Recursion • Nesting Function • Variable Scope • Visibility and lifetime in function • Storage Classes
UNIT-2: Structures,Union & Pointers
Structures • Defining a structure • Accessing a structure variable • Operations on structure members • Copying and comparing variables • Arrays of structure • Arrays within structure • Union
Pointer • Definition and Concept • Advantages of using pointer • Pointer arithmetic • Array of pointers • Pointers and Functions
E. Balagurusamy – Programming in ANSI C, 3rd Edn. , TMH, New Delhi ; 2004 Programming with C, B.S.Gottfried (TMH) Y. Kanetkar – Let us C, 4th Edition, BPB Publication , New Delhi; 2002
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 7 of 22
BCA0C202 - Data Structures
UNIT-1: Introduction to Data Structures, Linked list, Searching and Sorting:-
Introduction Data types[ Abstract Data types(Primitive) ,User-Defined Data types(Non-
primitive) Data Structures
• Definition • Classification of Data Structures and details of each classification
• Comparison of Array and Linked list • Types of Linked List(Singly Linked list, Doubly Linked List) • Representation of Linked List
UNIT-2: Stack & Queues
Stack • Introduction(Idea of the Stack) • Operations of Stack(Algorithm and Explanation) • Applications of Stack • Conversion: Infix to Postfix using manually and Stack for Parenthesis and
Non-Parenthesis • Recursion
Queue • Introduction(Idea of the Queue) • Types of Queue • Operation of Simple and Circular Queue(Algorithm and Explanation)
UNIT-3: NonLinear Data Structures(Tree)
• Introduction • Terminology • Binary Tree • Binary Tree Creation and Traversal
Types of Binary Tree • Full Binary Tree • Complete Binary Tree • Binary Search Tree • Expression Tree • Threaded Binary Tree
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 8 of 22
• Heap Tree • Height Balanced Tree(AVL Tree) • B-Tree
UNIT-4: Non Linear Data Structures(Graph)
• Introduction • Terminology • Representation of Graph(Array and Linked List) • Traversal of Graph(Breadth first Traversal, Depth first Traversal) • Application of Graph(Spanning Tree, Prim’s Algorithm, Kruskal’s Algorithm)
Reference Books: Data Structure through C/C++ Author :Tennaunbuam. Let us C Author :Kanitkar. Pointer in C Author :Kanitkar. Data and File Structure Author : Trembley &Sorrenson
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 9 of 22
BCA0C203 - Database Management System
UNIT-1: Introduction to Database system Concepts and Architecture:-
Database System and Data Models Data and Information
• Data Vs. Information • Database
Introduction of the Database and the DBMS Role and Advantage of DBMS Types of Database
• Database Systems The Database System Environment DBMS Functions
• Data Model Basic Building Block The Hierarchical Model The Network Model The Relational Model
UNIT-2: The Relational Database Model
A logical view of Data • Tables and Their characteristics • Keys • Integrity Rules • Concept of Functional Dependency • Relational Set Operators • The Data Dictionary and The System Catalog
Relationship within the Relational Database • The 1 : M Relationship • The 1 : 1 Relationship • The M : N Relationship
The Normalization process • Conversion to First normal form • Conversion to Second normal form • Conversion to Third normal form
UNIT-3: Entity Relationship Modeling
The Entity Relationship Model Entities Attributes
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 10 of 22
Relationships Connectivity and Cardinality Existence Dependence Relationship Strength Weak Entities Relationship Participation Relationship Degree Recursive Relationship Composite Entities
Asia. Elements of Discrete Mathematics, Second Edition, Tata McGraw Hill. Discrete Mathematics, SeymonLipschutz& Max Lans Lipson, Tata McGraw Hill.
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 12 of 22
Subject: (Practicals of BCA0P201)
Practical List
Sr. No.
Program Definition
1. Write a program to calculate average temperature of five days. create temp() function.
2. Write a program that uses recursive function fibo() that generates a Fibonacci series containing N elements.
3. Write a program that uses recursive function fact() that finds the factorial of a given number N.
4. Program to find if the given no. is prime or not. The function should accept the number as argument and return if the no. is prime or not.
5. Write a function which accepts a character array as argument from the user. The function should print the ASCII equivalent of all the characters in the string.
6. Write a function which accepts a character array as argument from the user. The function should convert all the lowercase characters into uppercase case.
7. Write a user-defined function to perform a) Square of a number b) Area of a square c) Reverse the number
8. Write a program that uses a function to check whether an entered three digit number is palindrome or not.
9. Write a program to create a list of books details. The details of a book include title, author, publisher, publishing year, number of pages, and price.
10. Define a structure called Item with members :Item_code,Item_name, Price. Create an array of five Items. Create a function which accepts the Item array and modifies each element with an increase of 10% in the price.
11. Define a structure that can describe a Hotel. It should have members that include name, address, grade, room charges, grade and no of rooms. Write a function to print out all hotel details with room charges less than a given value.
12. Write a program to accept records of different states using array of structures. The structure should contain char state and number of int engineering colleges, int medical colleges, int
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 13 of 22
management colleges and int universities. Calculate total colleges and display the state, which is having highest number of colleges.
13. Define a structure by name time with members seconds, minutes and hours of int type. A variable of the structure would thus represent time. If time1 and time2 are two variables of the structure type, write a program to find the difference of two times using a function.
14. Define a structure employee with members employee name, basic pay, dearness allowance, house rent, net salary. Declare an array of 5 employees. Write a function which calculates the net salary of employees and prints all employee details in descending order of their net salary.
15. Write a program to illustrate the use of indirection operator ‘*’ to access the value pointed to by a pointer.
16. Write a program to find the largest element within an integer array using pointers.
17. Write a program to accept string using character pointer and display it.
18. Write a program to calculate the length of the string using Pointers.
19. Write a program to calculate the square and cube of an entered number using pointer of a variable containing the entered number.
20. Write functions to add, multiply, subtract two numbers and call the functions from the main program using a function pointer.
21. Write a program to display contents of file on the screen. The program should ask for file name. Display the contents in capital case.
22. Write a program to find size of the file.
23. Write a program to combine contents of two files in a third file. Add line number at the beginning of each line.
24. Write a program to display number 1 to 100. Redirect the output of the program to text file.
25. Write a program to write contents of one file in reverse into another file.
26. Write a program to count number of lines, words and characters in a file.
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 14 of 22
27. Write a program to create a file called dictionary.dat that contains the information such
as Name, Surname, City and Phone number. Write a program to accept a City from user and list details of persons having the given city.
28. Write a program to copy one file to another. While doing so, all extra spaces in a file should be squeezed to one. For eg. If a file contains line “I am learning C”, it should be converted to “I am learning C”.
It is recommended that each student should submit the above listed programmes duly performed at least. Few more also could be added by the faculty if required.
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 15 of 22
P: (Practicalsof BCA0P202)
Practical List
Sr. No.
Program Definition
1. Write program to implement following operations using Singly link list. (1) Create (2)Insert at first (3) Insert at Last (4)Insert at Specified Location(Before and After the Node) (5)Display the list
2. Write program to implement following operations using Singly link list. (1) Create (2)Delete at first (3) Delete at Last (4) Delete at specified location (Before and After the Node) (5) Display the list
3. Write program to implement following operations using Singly link list. (1)Reverse (2)Sorting (3)Count the no. of nodes (4)Display
4. Write program to implement following operations using Doubly link list (1) Create (2)Insert at first (3) Insert at Last (4)Insert at Specified Location(Before and After the Node) (5)Display
5. Write program to implement following operations using Doubly link list (1) Create (2)Delete at first (3) Delete at Last (4) Delete at specified location (Before and After the Node) (5) Display
6. Write a Program to implement Sequential Search. 7. Write a Program to implement Binary Search.
8. Write a program to implement Bubble sort. 9. Write a program to implement Selection sort.
10. Write a program to implement Merge sort. 11. Write a program to implement Quick sort.
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 16 of 22
12. Write a program to implement Insertion sort. 13. Write a program to implement following operations in STACK.
• PUSH • POP • PEEP • CHANGE 14. Write a program to implement recursion. 15. Write a program to reverse the string using the stack. 16. Write a program to implement Simple Queue.
• ENQUEUE • DEQUEUE • Traversal (display) 17. Write a program to implement Circular Queue operations.
• ENQUEUE • DQUEUE • Traversal (display) 18. Write a program to implement following operations on Binary Search Tree using Linked
It is recommended that each student should submit the above listed programmes duly performed at least. Few more also could be added by the faculty if required.
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 17 of 22
P: (Practicals of BCA0P203)
Practical List Practical Hours/ week : 2
Sr.
No
Program Definition
1 Create Table as Mention:
Table Name: Student
Field Name Data type
stud_no Number
stud_name Text
gender Text
class Text
address Text
contact_no Number
dob Date/Time
Define stud_no as Primary key.
Ensure that the field heading of stud_no as Student Number, stud_name as
Student Name, gender as Gender, class as Semester, address as Address,
contact_no as Contact Number, dob as Date of Birth in datasheet view of
table using caption property.
Name of the Student must be displayed in upper case.
Student Name must be less than or equal to 20 characters.
Create a drop-down list for class with value: I-semester, II-semester, III-
semester, IV-semester, V-semester and VI-semester.
Ensure that gender field contains only one of the two values: Male or
Female. Display proper error message if any other value is entered.
2 Create Table as Mention:
Table Name: Product_details
Field Name Data type
Product _no Number
product_name Text
Product_catg Text
Price Number
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 18 of 22
Quantity Number
mfg_date Date/Time
Disc Yes/No
Discount Number
Define product_no as Primary key.
Use caption property for heading in datasheet view of the table.
Name of the Category must be displayed in upper case.
The name of the product must be 15 character long and First letter of the
name must be displayed in Upper case.
Mfg_date must be display in mm/dd/yy.
Queries:
Sort the data product name wise (ascending order.).
Sort data quantity wise (descending order).
Search all the data whose product category is Computer.
List out all data whose quantity is less than or equal to 25.
List out all the products whose price is greater than 1000.
List out all the products which do not include hardware category.
3 Create the following tables and create appropriate relationship among these
tables.
• Customer (cid, name, address, city)
• Product (pid, name, desc, rate)
• Order(cid, pid, oid, odate, qty, amt)
Create a form for data entry of all the tables.
Create a macro from which should open the customer table, a beep sound and
msgbox Saying “BYE!!!!”
4 Create the following tables and create appropriate relationship among these
o Product code should start with PC followed by three digited no.
eg:- PC005.
o Description should only be: Ball Pen, cellotape, sharpeners, fountain pen, erasers
and these should be entered using a pull down menu in the tables.
o Supplier name should be in capital.
Create a form with all the fields. Also add a button to navigate from one record to
SHRI GOVIND GURU UNIVERSITY, GODHARA
BCA Semester - 2
Page 22 of 22
other.
Create a report containing the field’s product_code, Price, Description, Supp_name,
status, order date and quantity grouped on the description field and find the total
price of products
and the total quantity ordered.
Create a switch board from which user can run report and form.
It is recommended that each student should submit the above listed programmes duly performed at least. Few more also could be added by the faculty if required.