shri govind guru university, godhara bca semester - 2shri govind guru university, godhara bca...

22
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 Semester Course Instruction Hours/Week Credit Exam Hours Internal External Total Theory Practical 2 BCA0E201 2 2 3 100 --- --- 100 2 BCA0F201 2 2 3 100 --- --- 100 2 BCA0C201 4 4 3 30 70 --- 100 2 BCA0C202 4 4 3 30 70 --- 100 2 BCA0C203 4 4 3 30 70 --- 100 2 BCA0C204 4 4 3 30 70 --- 100 2 BCA0P201 4 2 3 30 --- 70 100 2 BCA0P202 4 2 3 30 --- 70 100 2 BCA0P203 4 2 3 30 --- 70 100 TOTAL 32 26

Upload: others

Post on 21-Mar-2020

20 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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

Semester Course Instruction Hours/Week

Credit Exam Hours

Internal External Total Theory Practical

2 BCA0E201 2 2 3 100 --- --- 100 2 BCA0F201 2 2 3 100 --- --- 100 2 BCA0C201 4 4 3 30 70 --- 100 2 BCA0C202 4 4 3 30 70 --- 100 2 BCA0C203 4 4 3 30 70 --- 100 2 BCA0C204 4 4 3 30 70 --- 100 2 BCA0P201 4 2 3 30 --- 70 100 2 BCA0P202 4 2 3 30 --- 70 100 2 BCA0P203 4 2 3 30 --- 70 100 TOTAL 32 26

Page 2: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

SHRI GOVIND GURU UNIVERSITY, GODHARA

BCA Semester - 2

Page 2 of 22

BCA0E201 - Yogic Science

Unit-1

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.

Page 3: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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

Page 4: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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)

Reference Books:

K.C. Laudon & C.G. Traver, E-commerce, Pearson Education, 2003

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.

Page 5: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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

Page 6: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

SHRI GOVIND GURU UNIVERSITY, GODHARA

BCA Semester - 2

Page 6 of 22

UNIT-3: Dynamic Memory Allocation& Preprocessors

Memory Allocation Function • malloc() • calloc() • realloc() • free()

Preprocessors • Types of Preprocessors • Macro substitution directives • File inclusion directives • Compiler control directives

UNIT-4: File Processing and File Operations

Files Processing • Concepts of File Management • Text Files • Binary Files • Sequential & Random Access

Files Operations

• Files functions – fopen(),fclose(),fprintf(),fscanf(), fseek(),ftell(),rewind(),putc(),getc(),putw(),getw()

• Error handing functions • Command line argument

Reference Books

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

Page 7: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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

Searching and Sorting • Introduction to Searching • Searching Techniques(Sequential Search, Binary Search) • Sorting Techniques(Bubble Sort, Selection Sort, Insertion Sort, Quick Sort,

Merge Sort) Linked List

• 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

Page 8: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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

Page 9: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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

Page 10: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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

Developing an ER diagram UNIT-4 MS-Access

Creation of tables Defining Constrains Creating Relationships Querying databases (Design View)

• Simple queries on single table • Adding calculated/derived fields using expression builder • Parameter Queries • Action Queries(Make Table, Append, Update and Delete)

Simple Queries on Multiple table(Joins: Inner, Left Outer, Right Outer) Advanced Queries Queries(Design View)

• Summary Queries(Queries using group function: SUM,MAX, MIN, COUNT, AVG)

• Crosstab Queries • Find Duplicates Query Wizard and Find Unmatched

Reference Books

Fundamental of Database Systems- ElmasriNavathe- Pearson Education Asia Database- Principles, Programming and Performance- Parick O’ Neil Elizabeth

O’Niel, Harcort Asia PTE Limited An Introduction to Database Systems- C.J.Date, Addison Wesley, Pearson

EducationPress Database System Concepts- Abraham Silberschat, Henry F. Korth, S.Sudarshan,Tata

McGraw Hill.

Page 11: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

SHRI GOVIND GURU UNIVERSITY, GODHARA

BCA Semester - 2

Page 11 of 22

BCA0C204 - Discrete Mathematics

Unit –1: Set Theory

Notation, Inclusion and Equality of sets, The power set, Operations on sets, Venn

diagram, Set identities, Ordered pairs and n-tuples, Cartesian Products

Relations and Ordering – Properties of binary relations in a Set, Relation Matrix and

the Graph of a Relation, Equivalence Relations, Compatibility Relations, Composition

of Binary Relation.

Unit -2: Permutations and combination

Introduction

Rule of Sum and Product

o Kramp’s Factorial Notation

Combination - Permutations

o Important Deductions

o Permutations with Repetition of object

o Circular permutation

o Restricted Permutation

Principle of Mathematical Induction

Unit – 3: Functions

Functions, One-to-one Functions, Onto Functions, Inverse and Composition of

Functions, Floor Function, Ceiling Function.

Basic Concepts (Only Definition): Big-O Notation, Big-Omega and Big-Theta

Notation.

Unit –4 Graphs: Graph Isomorphism, Connectivity, Euler Paths and Circuits, Hamillonian paths and circuits, Shortest Path Problems, Planar Graphs. Trees : Trees, labelled trees, Tree Traversal, Undirected trees, Spanning Trees, Minimum

spanning trees.

Reference Books: Discrete Mathematical Structures-Bernard Kolman, Robert C. Busby, Sharon C.

Ross, 4th Edition, Pearson Education Asia. Discrete Mathematics-Richard Johnsonbaugh, 5th Edition, Pearson Education,

Asia. Elements of Discrete Mathematics, Second Edition, Tata McGraw Hill. Discrete Mathematics, SeymonLipschutz& Max Lans Lipson, Tata McGraw Hill.

Page 12: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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

Page 13: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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.

Page 14: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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.

Page 15: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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.

Page 16: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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

List. • Creation • Insertion • Traversal( In-order, Pre-order, Post-order)

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.

Page 17: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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

Page 18: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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

tables.

• Studentmaster(rno, name, age, address, phoneno, city)

• Studentdetail(rno, exam, m1, m2, total , percentage)

Create a form for data entry of student detail.

Create a report having group by rno. Each rno should display its exam details and

calculate the sum of all the students in each exam.

Page 19: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

SHRI GOVIND GURU UNIVERSITY, GODHARA

BCA Semester - 2

Page 19 of 22

Create a switchboard from which user can run report and form.

5 Create the table as mention:

Department Table (dept_no, dept_name).

Employee Table (eno, ename, address, contact, dept_no, b_loc, join_date,

salary).

Properties:-

In Department table dept_no must be a 4 character long and First Character

must be start with D and remaining 3 characters are must be digit.

The employee number should be displayed as EC001 (first Character E,

followed by C and then a 3 digits code).

The default value of the department should be sales.

Create Relationship between the above tables.

Enter following data in the Department table.

Dept_no Dname

101 Sales

201 Purchase

301 Accounts

401 Development

Enter following data in the Employee table.

Queries:-

1. Display eno, ename, salary and branch_location, dept_name of all

employees who are belonging to the department “Sales” or Branch

location “Anand”.

2. List all employee details having salary in the range of 23000 to

35000.those were hired during the year 2001.

3. Display all contents of employee and department table.

4. Display all details of employee in ascending order of emp_no.

5. Display all details of employee in descending order of emp_name.

6. Display emp_no, emp_name, dept_name and salary whose salary is

greater than 20,000.

7. Display all details of employee whose salary is less than 15,000.

8. List all employee details whose name starts with character “D”.

9. List all employee details whose name starts with any character, but

its second character must be “h”.

Page 20: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

SHRI GOVIND GURU UNIVERSITY, GODHARA

BCA Semester - 2

Page 20 of 22

10. List all employee detail whose branch location is “Rajkot” or

“Ahmedabad”.

11. List all employee detail whose dept_name is “Finance” or “Account”.

12. Display all details of employee whose joining_date is after

1/8/1999.

13. Design a parameter query that will display list of all employees for

branch location field.

14. Design a parameter query that will display list of all employees for

parameter Dept_name.

15. Design a parameter query that will display all details of employee

for parameter City name.

16. Design a parameter query that will display all details of employee

for parameter Dept_no.

17. Design a query that will create a new table “surat” with fields

(emp_no, emp_name, salary, brn_loc and dep_no) of employee

belonging to “Surat” branch location.

18. Design a query that will append a record from “employee” table to

“Surat” table (for all fields).

19. Design a query that will delete a record from “Surat” table whose

location is “Ahmedabad”.

20. Design a query that will update a record where employee name

from “Sachin” to “Kapil Dev “

6 Create the following tables and create appropriate relationship among these

tables.

• Invoice(Invoice_no, Invoice_date, Cust_code)

• Invoice_details(Invoice_no, Product_no, Quantity)

Create a parameterized report such that it displays the records of a specific

customer code.

Create a form for data entry of invoice.

Create a macro from which it should open the data entry form.

7 Create a database with the following tables. Give appropriate data types, create

primary key, foreign key and established relationship between the two tables.

• Employee ( emp_code, emp_name, department, designation, salary)

• Leavetable(emp_code, leave_startdate, leave_type, no_of_leaves)

Page 21: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

SHRI GOVIND GURU UNIVERSITY, GODHARA

BCA Semester - 2

Page 21 of 22

The employee number should be displayed as EC001 (first character E, followed

by C and then a 3 digit code)

The default value of the department should be sales.

The leave type should be PL, SL or CL

Create the following queries:

List the details of employees who have taken PL or SL between 5/7/2010 and

31/12/2010.

List the employees who are in the sales or marketing department and gets salary

between 20000 to 30000.

Create a parameter query to display the details for a particular leave start date.

Create report which groups the record on the Department and the leave type and

finds the total number of leave types for each department.

8 Create the tables for the following data set primary key, foreign key and field

properties.

• Sales (Item_code, Description, Price, quantity)

• Supplier (Item_code, Supp_code, Supp_name, order_date, status, quantity_ord)

• Default value of quantity should be 10 and the quantity to the ordered should

not be more than 5000.

• Status should be P or C for pending and complete.

• Supplier name should be in capital.

Create an update query which will update the description of item_code I101.

Create a report containing the fields and find the total price of item.

Create a macro which will run the update query automatically.

9 Create table for the following data set primary key, relationship and field

properties

• Product (Product_code, Prod_description, Price, Tot_stock)

• Supplier (Product_code, Sup_code, Supp_name, order_date, status, quantity_ord)

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

Page 22: SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2SHRI GOVIND GURU UNIVERSITY, GODHARA BCA Semester - 2 Page 2 of 22 BCA0E201 - Yogic Science Unit-1 Principles of Yoga: What is

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.