KORAMANGALA
Kuvempu University
Assignment:
1. With a neat block diagram explain the I/O handling in C++.
2. Give the taxonomy of different statements in C++ and explain each one of them in
detail.
3. Explain the object based and object oriented concepts of C++ with examples.
4. Write a C++ program to generate Lucas series
5. Give the different types of Inheritance supported by C++. For each type, explain the
concepts, program example, advantages and disadvantages.
6. Write a C++ program to accept the student’s information of UG students in a college.
Also include the functions for searching student information and updating the existing
information.
7. Write a C++ program to create a doubly linked list and support the following
operation:
i). Insertion at the rear end
ii). Insertion at the specific position
iii). Traversing the entire list and displaying the nodes.
iv). Counting the occurrence of duplicate nodes
8. Write a C++ program to implement Stack data structure.
uvempu University
Assignment:
1. Write a brief note on evolution of computer networks
2. What are protocols? Why are they introduced in network communications?
INFYSYS ACADEMY
KORAMANGALA
3. Explain OSI reference model with relevant diagram?
4. Using OSI reference model explain the data communication between two hosts?
5. Explain the functions of Network layer and Transport layer?
6. With the help of suitable diagrams, explain the functions of the Session and
presentation layers?
7. Explain the TCP/IP architecture and compare it with OSI architecture.
8. Distinguish between physical address, Internet address and port address. Give
examples
Kuvempu University
Assignment:
Kuvempu University
Subject: RDBMS
Subject Code: BSIT - 32
Assignment: TA (Compulsory)
INFYSYS ACADEMY
KORAMANGALA
What is the difference between procedural and non procedural language?
What is the difference between database instance and relation schema?
What is a relation?
What is the difference between UNARY and BINARY operations? Give examples for the
same.
What is the difference between select and project operations?
What is a query language?
What is the difference between Cartesian product and natural join operation? Write
sample queries for both the operations.
Explain clearly additional relational algebra operations giving examples
For the database considered in the chapter, write relational algebra expressions for the
following:
list all the customers whose loan amount is greater than Rs. 20000
list all the customers whose balance is greater than Rs. 9000
list names of all branches at MYSORE
find all the tuples who have both an account and loan at the same branch
find all the customers having both loan and an account and their names stating with “S”.
What do you mean by union compatibility?
What is the advantage of using a query language?
Give the salient features of SQL.
What is the difference between the select clause of relational algebra and that
Of SQL
What is the difference between use of % and - characters in string operations?
How do you order tuples in SQL
Explain various types of set operations in SQL
What are aggregate functions. With an example each, write the various aggregate
functions used in SQL
What is the significance of group by clause.
What is set membership.
What is set comparison.
Explain different domain types of SQL.
How do you create views.
How do you give schema definition in SQL.
Explain various types of data base modification operations..
How is inner join operation different from outer join operation.
What are different join types and join condition?
What are embedded SQL statements.?
What is the necessity of embedded SQL ?
Explain briefly what the normalization process avoids?
What is normalization? What are three basic steps of normalization ?.
What is an unnormalized relation ? Give example.
What problems are associated with an unnormalized relation ? Explain.
Explain first, second and third normal form giving example
List other normal forms.
What in meant by an instance?
Explain briefly the elements that are internal to database.
INFYSYS ACADEMY
KORAMANGALA
Differentiate between Procedures and Functions.
What is a Constraint? Explain the different Constraints that can be placed on table’s
columns.
What is Rollback Segment? Explain its role.
Explain the need of Redo log buffer.
Differentiate between Trace files and Alert log.
Mention the different constituents of SGA.
Explain the importance of RECO Background process.
What is Rollback Segment? Explain its role.
Differentiate between Procedures and Functions.
Kuvempu University
Laboratory Assignments
Subject: RDBMS
Subject Code: BSIT - 32
1. A software company has the following information about its clients and the projects
given by them:
Create a database with the tables given above. Give suitable field names, keys and
validation checks. Create data entry forms and enter at least 10 rows.
Design data entry forms for the above tables with suitable validations and enter atleast
10 rows.
3. An insurance database has the tables given below. The data types are also
specfified.
a) Create the above table with proper primary and foreign keys.
b) Enter at least 5 tuples for each relation
c) Update the cost of damage for a particular car involved in an accident with report
number 25 to 30000.
d) Add a new car to the database
e) Add a new accident to the database
f) List the car owners whose cars were involved in accidents in the year 2006
g) Find the number of accidents in which cars of a particular model were involved
h) generate suitable reports
a) Create the tables specified above with suitable primary and foreign keys
b) Create data entry forms and enter at least 5 rows in each table with suitable
validations
c) Find the author of the book which has the maximum sales
INFYSYS ACADEMY
KORAMANGALA
d) List the details of the authors who have two or more books in the catalog
e) List all the books in the catalog that have the word ‘COMPUTER’ in their titles
f) Add a new order to the database.
a) Create the tables given above with proper primary and foreign key specifications
b) Design data entry forms with proper validations and enter at least 5 rows in each
table
c) List the customer names with their total number of orders and the average
order amount
d) List the orders that were shipped from all the warehouses that the company has in
a
particular city
e) Delete item number 15 from the item table and make that column null in the
items_ordered table.
f) Design suitable reports
Kuvempu University
Laboratory Assignments
1. Using C++ , design and implement a class COMPLEX having the following
functionality:
a) allows representation of complex numbers
b) allows addition of two complex numbers
c) has overloading constructors and a copy constructor
d) allows assignment of one complex number to another
3. Assume that a bank maintains two kinds of accounts for customers, one called
savings account and the other as current account. The savings account provides
compound interest and withdrawal facilities but no cheque book facility. The current
account provides cheque book facility but no interest. Current account holders
should also maintain a minimum balance and if the balance falls below this level, a
service charge is imposed.
Create a class ACCOUNT that stores customer name, account number and type of
account. From this derive the class CUR_ACCT and SAV_ACCT to make them more
specific to their requirements. Include necessary member functions in order to
achieve the following:
a) accept deposit from a customer and update the balance
b) display the balance
c) compute and deposit interest
d) permit withdrawal and update the balance
e) check for minimum balance, impose penalty, if necessary, and update the balance
Use member functions to initialize the class members. Do not use constructors.
4. Write a C++ program to create a class called QUEUE with member functions to add
an element and to delete an element from the queue. Display the contents of the
queue after every operation.
5. Write a C++ program to create a class called STRING and do the following
operations. Show the results after every operation by overloading the operator <<.
Use copy constructor.
STRING s1 = “KUVEMPU”
STRING s2 = “UNIVERSITY”
STRING s3 = s1+s2
INFYSYS ACADEMY
KORAMANGALA
6. Write a C++ program to create a class called DATE. Accept two valid dates in the
form dd/mm/yyyy. Implement the following operations by overloading the operators
+ and -. After every operation show the results by overloading the operator <<:
a) ndays = d1 – d2; where d1 and d2 are DATE objects, d1>=d2 and ndays is an
integer.
b) d2 = d1 + ndays; where d1 is a DATE object and ndays is an integer.
7. Create a class FLOAT that contains one float data member. Overload all the four
arithmetic operators so that they operate on the objects of FLOAT.
8. Create a base class called SHAPE. Use this class to store two double type values
that could be used to compute the area of figures. Derive two specific classes called
TRIANGLE and RECTANGLE from the base SHAPE. Add to the base class, a
member function get_data() to initialize the base class data members and another
member function display_area() to compute and display the area of the figures. Make
display_area() as a virtual function and redefine this function in the derived classes
as per the requirements. Using the three classes, design a program that will accept
dimensions of a triangle or rectangle interactively and display the area. The two
values given as input will be treated as lengths of the two sides in the case of a
rectangle and as base and height in the case of triangles.
Area of a rectangle = side1 * side2
Area of a triangle = ½ * side1 * side2
9. A book shop maintains the inventory of books that are being sold at the shop. The
list has details like author, title, price, publisher and stock position. Whenever a
customer wants a book, the sales person inputs the title and author and the system
searches the list and displays a suitable message if it is not available. If it is
available, the system displays the book details and requests for the number of
copies required. If the copies are available, the total cost of the copies requested is
displayed, otherwise the message ‘copies not in stock’ is displayed.
Design a system using a class called BOOKS with suitable member functions and
constructors. Use new operator in constructors to allocate required memory space.
INFYSYS ACADEMY
KORAMANGALA