Sie sind auf Seite 1von 54

INDIRA GANDHI NATIONAL OPEN UNIVERSITY

LAB MANUAL MCA

BCA (5TH SEMESTER)


CS-70 (SOFTWARE ENGG.)
Day-1: Create 10 slides on IGNOU BCA course schedule.

Day-2: Create slides on Life Cycle Phases of Soft Engg. And Summarize
the principle tasks associates with each of the phases of the life
cycle.

Day-3Create slides on all the steps of software requirement specification with


brief details give transition in your slides.

Day-4 Create slides on Software crises:-

- From Programmer’s Point of View


- From User’s Point of View
- Using the transition and sound effect in your presentation

CS-68 (COMPUTER NETWORKS)

Project: Investigate a LAN of any organization.

Day-1: Network topology used and discuss advantage & disadvantage of


this topology and comparison with other.

Day-2: Type of Physical media used (Coaseial cable, twisted pair, Fiber
Optics) and discuss its charactertistics and compare it with other
medias.

Day-3: Type of Protocal used and discuss its important characteristics.

Day-4Type of Network devices are used. Explain functioning of these


devices.
Day-5: Discussion on emerging trends in Ethernet Technology.

1
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Day-6

LAB MANUAL MCA (3rd SEMESTER)

CS-08 (FORTRAN & NUMERICAL ANALYSIS)

Day-1: Write a program.


(a) To print area of a triangle
(b) To compute the sum & difference of two complex numbers.
(c) To print sum of series up to N.

Day-2: Write a program


(a) To print the sum of digits of a number
(b) To print Fahrenheit temperature into Celsius
(c) To print whether the number is prime or not.

Day-3: Write a program


(a) To print the reverse of a number.
(b) To print area and circumference of a circle
(c) To print maximum and minimum number out of three real
numbers.

Day-4Write a program
(a) To print whether entered number is positive, negative or
zero.
(b) To print roots of quadratic equation.
(c) To print tables from 2 to 10.

Day-5: Write a program:

(a) To compute the product of two matrices.


(b) A function to compute factorial of a positive integer “k”.
Day-6: Write a program to multiply two matrices stored in separate file.

2
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Day-7: Write a program to compute measures of central tendency


(Measures of central tendency are arithmetic mean, median,
mode, geometric mean, harmonic mean)

Day-8: Write a program to compute measures of dispersion. (Measures of


dispersion are range, mean deviation, variance & standard
deviation)
Day-9: Write a program to find correlation co-efficient between variable
x and y.

Day-10: Write a program


(a) To integrate a tabulated function using Trapezoidal rule.
(b) To integrate a tabulated function using Simpson’s rule.

Day-11: Write a program to find solution of linear system of equation by

- Gaurs Seidel Method


- Gaussian elimination method.
Day-12: Write a program to find the root of equation x 3 –4x-9=0 by Newton
Raphson method.

Day-13:

Question 1: (a) Use the Newton-Raphson method to find to three decimal


places all the roots of the equation.

(c) Solve the following system of linear equations by Gaussian


elimination method, using four-digit floating point arithmetic and row
interchanges:

Question 2 (a) Evaluate the following FORTRAN expressions:

(c) Do as directed for each of the following:

3
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

(i) Write the sequence of the numbers in which the


elements of the following 3-x2 array are stored in
memory in FORTRAN environment.

(ii) Find the value of the real variable x at the end of the
execution of the following FORTRAN program
segment:

Day-15, 16, 17

Question 1: The following three are well known methods of numerical


integration of functions:

(iii) Trapezoidal Rule


(iv) Simpson’s Rule
(v) Gaussian Quadrature Rule

(a) Describe each of the above rules.

(5marks)
(b) Discuss the relative merits of the rules, especially w.r.t.
computational complexity, truncation errors and round off
errors involved in computations using these rules.
(5 marks)
© Write a program for each of the above method using FORTRAN
90 as programming language.
(5 marks)

4
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

MCA 5th Semester


CS-16 (Object Modeling Techniques)

Introduction to C++

Day-1: (a) Write a program to display message:


Welcome to C++
Wish you all the best.
(b) Write a program to find the area of circle, rectangle or triangle.

© Write a program that generates the following table:


1990 135
1991 7290
1992 11300
1993 16200
We a single count statement for all output.
(c) Write a program to generate the following output:
10
20
19
We an integer constant for the 10, an arithmetic assignment
operator to generate the 20, and a decrement operator to
generate the 19.

Day-2: (a) Write a program that allows the user to enter the number,
and then generate the table, formatting it into ten columns
and 20 lines. Interaction with the program should look like
this.
Enter a number :2
2 4 6 8 10 12 14 16 18 20
22 24 26 28 30 32 34 36 38 40
42 44 46 48 50 52 54 56 58 60

5
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

(b) Write a temperature – conversion program that gives the user


the option of converting Fahrenheit to Celsius or Celsius to
Fahrenheit. Then carry out the conversion. Use Floating
point numbers.

(c) Create the equivalent of four-function calculator. The program


should request the user to enter a number, an operator, and
another number. It should then carry out the specified
arithmetical operation; adding, subtracting, multiplying or
dividing the two numbers. (It should use a switch statement
to select the operation). Finally it should display the result.
When it finishes the calculation, the program should ask if
the user want to do another calculation. The response can
be ‘y’ or ‘n’.

Day-3: 1. A phone number, such as (212) 767-8900, can be thought of


As having three parts: the area code (212), the exchange
(767), and the number (8900). Write a program that uses a
structure to store these three parts of a phone number
separately. Call the structure phone. Create two structure
variables of type phone. Initialize one, and have the user
input a number for the other one. Then display both
numbers.
2. A point on the two-dimensional plane can be
represented by two numbers: an X coordinate and a Y
coordinate. For example, (4,5) represents a point 4 units to
the right of the origin along the X axis, and 5 units up the Y
axis. The sum of two points can be defined as a new points,
and whose Y coordinate is the sum of their Y coordinates.

Write a program that uses a structure called point to model


A point. Define three points, and have the user input values
to two of them. Then set the third point equal to the sum of
the other two, and display the value of the new point.

6
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

3. Create a structure called volume that uses three variables of


type Distance (from the ENGLSTRC example) to model
the volume of a room. Initialize a variable of type Volume
to specific dimensions, then calculate the volume it
represents, and print out the result. To calculate the volume,
convert each dimension from a Distance variable to a
variable of type float representing feet and fractions of a
foot, and then multiply the resulting three numbers.

Day-4: 1. Write a function called c I r c a r e a ( ) that finds the area of


a circle in a similar way. It should take an argument of type
f l o a t and return an argument of the same type. Write a
main ( ) function that gets a radius value from the user, calls
c I r c a r e a ( ), and displays the result.

2. Raising a number n to a power p is the same as multiplying


n by itself p times. Write a function called p o w e r ( ) that
takes d o u b l e value for n and an i nt value for p, and
returns the result as d o u b l e value. Use a default
argument of 2 for p, so that if this argument is committed,
the number will be squared. Write a main ( ) function that
gets values from the user to test this function.

3. Write a function called z e r o Smaller ( ) that is passed two


int argument by reference and then sets the smaller of the
two numbers to 0. Write a main ( ) program to exercise this
function.

4. Write a function that takes two Distance values as


arguments and returns the larger one. Include a main ( )
program that accepts two Distance figures from the user,
compares them, and displays the larger.

7
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Day-5: 1. Create a class that imitates part of the functionality of the


basis data type int, Call the class int (note different
spelling). The only data in this class is an int variable.
Include member functions to initialize an Int to 0, to
initialize it to an int value, to display it (it looks just like an
int), and to add two Int values.

Write a program that exercises this class by creating two


initialized and one un-initialized int values, adding these
two initialized values and placing the response in the un-
initialized value, and then displaying this result.

2. Create a class called time that has separate int member data
for hours, minutes, and second. One constructor should
initialize this data to 0, and another should initialize it to
fixed values. A member function should display it, in
11:59:59 format. The final member function should add two
objects of type time passed as arguments.

A main ( ) program should create two initialized time


objects, and one that isn’t initialized. Then it should add the
two initialized values together, leaving the result in the
third time variable. Finally it should display the value of
this third variable.

Day-6: 1. Write a function called reversit ( ) that reverse a string (an


array of char). Use a for loop that swaps the first and last
characters, then the second and next-to-last characters, and
so on. The string should be passed to reverse it ( ) as an
argument.
Write a program to exercise reversit The program should
get a string from the user, call reversit ( ) and print out the
result. Use an input method that allows embedded blanks.
Test the program with Napoleon’s famous phrase, “Able
was I ere I saw Elba”.

8
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

2. Create a class called employee that contains a name (an


array of char) and an employee number (type Long).
Include a member function called get data ( ) to get data
from the user for insertion into the object, and another
function called put data ( ) to display the data. Assume the
name has no embedded blanks.
Write a main () program to exercise this class. It should
create an array of type employee, and then invite the user to
input data for up to 100 employees. Finally, it should print
out the data for all the employees.

3. Write a program that calculates the average of up to 100


English distances input by the user. Create an array of
objects of the Distance class, as in the ENGLARAY
example in this chapter. To calculate the average, you can
borrow the dist_add ( ) member function from the
ENGLCON example in Chapter 7. You’ll also need a
member function that divides a Distance value by an
integer. Here’s one possibility:

Void Distance:: div_dist (Distance d2,int divisor)


{
float flatfeet = d2.feet + d2.inches/12.0;
flatfeet /= divisor;
feet = int(flatfeet);
inches = (flatfeet-feet) * 12.0
}

Day-7: 1. Write a program that substitutes an overloaded += operator


for the overloaded+ operator in the STRPLUS program.
This operator should allow statements like

s1 +=s2;

9
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

where s2 is added (concentrated) to s1 and the result left in


s1. The operator should also permit the results of the
operation to be used in other calculations, as in
s3 = s1 +=s2

2. Create a class int. Overload all five integer arithmetic


operators (+; =; *; /; and %) so that they operate an objects
of type int. If the result of any such arithmetic operation
exceeds the normal range of ints = from = 32,768 to 32;767
–have the operator print a warning and terminate the
program. Such a data type might be useful where mistakes
caused by arithmetic overflow are unacceptable. Hint: To
facilitate checking for overflow; perform the calculations
using type long. Write a program to test this class.

Day-81. Imagine a publishing company that markets both book and


audio-cassette versions of its works. Create a class
publication that stores the title (a string) and price (type
float) of a publication. From this class derive two classes;
book, which adds a page count (type int); and tape, which
adds a playing time in minutes (type float). Each of these
three classes should have a get data () function to get its
data from the user at the keyboard, and a put data ( )
function to display its data.
Write a main ( ) program to test the book and tape classes
by creating instances of them, asking the user to fill in their
data with get data ( ), and then displaying the data with put
data ( ).

Day-9: 1. Write a program that reads a group of numbers from the


user and places them in an array of type float. Once the
numbers are stored in the array, the program should average
them and print the result. Use pointer notation wherever
possible.

10
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

2. Start with the String class from the NEWSTR. Add a


member function called up it ( ) that converts the string to
all upper case. You can use the toupper ( ) library function,
which takes a single character as an argument and return a
character that has been converted (if necessary) to
uppercase. This function uses the CTYPE,h H header file.
Write some code in main ( ) to test this function.

4. Add a destructor to the LINKLIST program. It should


delete all the links when a link list object is destroyed. It
can do this by following along the chain, deleting each
links as it goes. You can test the destructor by having it
display a message each time it deletes a link; it should
delete the same number of links that were added to the list.
(A destructor is called automatically by the system for any
existing objects when the program exits. )

Day-10: 1. Imagine the same publishing company that markets both


book and audio-cassette versions of its works. As in that
exercise, create a class called publication that stores the title
(a string) and price (type float) of a publication. From this
class derive two classes: book, which adds a page count
(type int); and tape, which adds a playing time in minutes
(type float). Each of the three classes should have a get data
( ) function to get its data from the user at the keyboard, and
a put data ( ) function to display the data.
Write a main ( ) program that creates an array of pointers to
publication. This is similar to the VIRTPERS example in
this chapter. In a look ask the user for data about a
particular book or tape, and use new to create an object of
type book or tape to hold the data. Put the pointer to the
object in the array. When the user has finished entering the
data for all books and tapes, display the resulting data for
all the books and tapes entered, using a for loop and a
single statement such as
Pubarr[ j] -> putdata ( ) ;

11
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

MCA - Ist Year

 CS-03 (File Structure & Programming in COBOL)

S. No. Topic

1. Data Processing through COBOL


2. Advance Concepts of COBOL

DETAILED SYLLABUS

1. Data Processing through COBOL

1.1 Introduction to COBOL

1.1.1 Character
1.1.2 COBOL Words
1.1.3 Data names & identifiers
1.1.4 Literals
1.1.5 Overall Organization of COBOL Program
1.1.6 Program Format
1.1.7 IDENTIFICATION DIVISION
1.1.8 ENVIRONMENT DIVISION
1.1.9 DATA DIVISION

1.2 Procedure Division and Basic Verbs

1.2.1 Structure of a PROCEDURE DIVISION


1.2.2 MOVE Structure
1.2.3 Arithmetic Verbs
1.2.4 Sequence Control Verbs
1.2.5 Input / Output Verbs

12
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

1.2.6 Conditional Verb IF


1.2.7 A complete COBOL program

1.3 Introduction to Data Processing and some Advanced features of Data division

1.3.1 Introduction to Data Processing


1.3.2 USAGE Clause
1.3.3 SYNCHRONIZED Clause
1.3.4 JUSTIFIED Clause
1.3.5 REDEFINE Clause
1.3.6 RENAME Clause
1.3.7 Some More Data Manipulation Verbs
1.3.8 AFTER Clause
1.3.9 EXIT Verb
1.3.10 SIGN Clause

1.4 Sequence Control and Table handling in COBOL

1.4.1 Different types of conditions in COBOL


1.4.2 Nested IF
1.4.3 PERFORM Statement
1.4.4 GO TO DEFENDING
1.4.5 Table handling
1.4.6 OCCURS Clause
1.4.7 OCCURS Clause in Multi Dimensional Table
1.4.8 Indexed Table and Indexing
1.4.9 SET Verb
1.4.10 SEARCH Verb
1.4.11 Sorted Table and Searching
1.4.12 Sorting a table

2. Advance Concept of COBOL

String Manipulation in COBOL Structure

The INSPECT Statement


The STRING Statement
The UNSTRING Statement

Sorting and Searching in COBOL

The SORT Statement


The MERGE Statement
13
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

The SEARCH Statement

2.3 File Organization

2.3.1 Sequential File Organization


2.3.2 Indexed Sequential File Organization
2.3.3 Relative File Organization

 CS-02 (Introduction to Software)

S. No. Topic

1. UNIX Operating System-I


2. UNIX Operating System-II

DETAILED SYLLABUS

1. UNIX Operating System-I

1.1 Theoretical Concepts of UNIX Operating Systems

Basic Features of UNIX Operating System


File Structure
CPU Scheduling
Memory Management
File System

UNIX – Getting Started-I

Getted Started
1.2.1.a User names and Groups
1.2.1.b Logging In
1.2.1.c Correcting Typing Mistakes
1.2.1.d Format of UNIX Commands
1.2.1.e Changing your password
1.2.1.f Character with Special Meaning
1.2.2 File & Directories

UNIX Getting Started II

14
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Looking A+ File Contents


Own Directories
File permission
Basic Operations on Files
Changing Permission Modes
Standard Files
Processes

1.4 Text Manipulation

1.4.1 Inspecting Files


1.4.2 Operating on Files
1.4.2.a Printing files
1.4.2.b Rearranging Files
1.4.2.c Rearranging Files
1.4.2.d Splitting Files
1.4.2.e Translating Characters

1.5 Editors

1.5.1 General Characteristics of Vi.


1.5.2 Line editors Ex and Ed
1.5.3 The stream editor SED
1.5.4 Changing Several Files in SED
1.5.5 AWK

2. UNIX Operating System-II

User to User Communication

On-line Communication
Off line Communication

Shell Programming

Programming in the Bourne and C. Shell


Wild Cards
Simple Shell Programs
Variables
Programming Constructs
Interactive Shell Scripts
15
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Advanced Features

Programming Tools

The UNIX-C Compiler


Some other tools
2.3.2.a Lint – The C Verifier
2.3.2.b Program profiles
2.3.2.c Program listings
2.3.2.d Cross References and Program Flow
2.3.2.e Other tools
Maintaining Programs
The Source Code Control System

2.4 System Administration

2.4.1 System Administration – A definition


2.4.2 Booting the System
2.4.3 Maintaining User Accounts
2.4.4 File systems and special files
2.4.5 Backups and Restoration

 CS-01 (Computer Fundamentals)

S. No. Topics

1. Assembly Language Programming

Detailed Syllabus
1. Assembly Language Programming

Introduction to assembly language

Introduction to assembly language


Assembly language Fundamentals
1.1.2.a A sample program
1.1.2.b SEGMENT and ENDS Directive
1.1.2.c Data Definition directives
1.1.2.d The ASSUME Directive
1.1.2.e Initializing Segment Registers
1.1.2.f END directive

16
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Input / Output Services

1.1.3.a. Interrupts
1.1.3.b DOS Functions Calls

1.1.4 Assembly language Program Development tools

1.1.5 A Final look at the Assembly language programs

1.1.5.a COM Programs


1.1.5.b EXE Programs

1.1.6 complete example

Assembly language Programming (Part-I)

Simple Assembly Programs


1.2.1.a Data transfer
1.2.1.b Simple Arithmetic
1.2.1.c Shift Operations
1.2.1.d Larger of two numbers

Programming with loops and comparisons

1.2.2.a Simple Program loops


1.2.2.b Find the largest and the smallest array Values
1.2.2.c Character coded data
1.2.2.d Code conversion

Programming for Arithmetic & String Operations

1.2.3.a String Processing


1.2.3.b Arithmetic problems

Assembly language programming (Part II)

Arrays

Modular Programming

1.3.2.a The Stack


1.3.2.b FAR and NEAR procedures
1.3.2.c Parameter passing
17
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

1.3.2.d External procedures

1.3.3. Interfacing Assembly language Routines to High level language programs

1.3.3.a Simple interfacing


1.3.3.b Interfacing subroutines with parameters passing

1.3.4 Interrupts

 CS-04 (Data Structure through ‘C’ )

S. No. Topics

1. Introduction to ‘C’ Programming


2. Programming in ‘C’
3. Data Structures
4. Trees and File Organization
5. Searching and Sorting techniques

DETAILS SYLLABUS

1. Introduction to ‘C’ Programming

Introduction
Data types in ‘C’
Operators and expression in ‘C’
Decision Structures in ‘C’
Control Structure-I

2. Programming in ‘C’

Control Structure-II
Pointers and Array
Functions
Function-II
Files and Structs, Union and Bit-field

3. Data Structure

Introduction to Data Structure : Array


Lists
Stacks and Queue
18
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Graphs

4. Trees and File Organization

Trees
AVL-tree and B-tree
Files

5. Searching and Sorting

Searching techniques
Sorting techniques-I
Sorting techniques-II

CS-05 (System Analysis & Design ) - No Practical Class

CS-06 (Introduction to DBMS) - No Practical Class

19
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

MCA – 2nd YEAR

 CS-08 (Numerical and Statistical Computing)

S. No. Topic

1. FORTRAN 77 AND FORTRAN 90


2. Additional Features of FORTRAN
3. Statistical Computations

DETAILED SYLLABUS

1. FORTRAN 77 AND FORTRAN 90

1.1 Introductory FORTRAN Concept

1.1.1 Character Set, Constant and Variables


1.1.2 Data types

1.1.2.a. Integer Data types


1.1.2.b. Real Data types
1.1.2.c Double Precision Data types
1.1.2.d Complex Data types
1.1.2.e Logical Data types
1.1.2.f Character Data types

1.1.3 Subscripted Variables and Simple FORTRAN Functions


1.1.4 FORTRAN expressions
1.1.5 Naming FORTRAN Programmes
1.1.6 Assignment Statement
1.1.7 FORTRAN Commands

20
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

1.1.7.a Format Free READ Command


1.1.7.b Format Free PRINT Command
1.1.7.c Naming Constants
1.1.7.d COMMENT Command
1.1.7.e Ending Programs
1.1.7.f Character expressions and Assignment

1.2 Data Transfer and Program Execution Control

1.2.1 Format Specification for READ & WRITE Statements


1.2.1.a Formatted Input
1.2.1.b Formatted Output

1.2.2 FORMAT Commands


1.2.2.a FORMAT Command for Integer Data (I. Specification)
1.2.2.b FORMAT Command for Real Number Date (F, E, X
Specification)
1.2.2.c Printer Carriage Control
1.2.2.d FORMAT Command for Literal Data
1.2.2.e FORMAT Command for double Precision Data (D
Specification)
1.2.2.f FORMAT Command for Complex Data
1.2.2.g FORMAT Command for logical Values (L. Specification)

1.2.3 Control Commands

1.2.3.a IF-THEN-END IF
1.2.3.b IF-THEN-ELSE-ENDIF Construct
1.2.3.c ELSE-IF-THEN-Construct
1.2.3.d Logical IF Commands
1.2.3.e Arithmetic IF Commands

1.2.4 Transfer Commands

1.2.4.a GO TO Commands
1.2.4.b Computed GO TO Command

1.3 Arrays and Repetitive Computations

1.3.1 Arrays
1.3.2 Array Storage

21
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

1.3.2.a One dimensional Array


1.3.2.b Two dimensional Array
1.3.2.c Three dimensional Array
1.3.3 Dimension Statement
1.3.4 Do Construct
1.3.5 Nested DO-Loops
1.3.6 CONTINUE Statement
1.3.7 Implied DO

1.4 Sub-program: Functions and Subroutines

1.4.1 Subprograms
1.4.2 Functions in FORTRAN

1.4.2.a Statement Function


1.4.2.b Library Functions
1.4.2.c Function Subprograms

1.4.3. Functions Arguments


1.4.3.a Dummy Arguments
1.4.3.b Actual Arguments

1.4.4. Subroutines

1.4.4.a Subroutine Name


1.4.4.b Subroutine argument lists
1.4.4.c Subroutine Invocation

1.4.5 Save Variables

1.4.6 Function Vs Subroutine Subprograms

2. Additional Features of Fortran

2.1 Global Variables & Additional Features

2.1.1 COMMON Statements

2.1.1.a Blank COMMON


2.1.1.b Labelled COMMON

22
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

2.1.2 EQUIVALENCE Declaration


2.1.3 DATA Command
2.1.4 BLOCK DATA Subprogram
2.1.5 Declaration EXPERNAL
2.1.6 Character expressions and Assignment

2.1.6.a Character expressions


2.1.6.b Sub-strings

2.2 File Manipulation

2.2.1 Records and Files


2.2.2 File Structures
2.2.3 File Connection
2.2.4 The OPEN and CLOSE Statements
2.2.5 Pre connected Files
2.2.6 File Inquiry
2.2.7 Additional Sequential File Manipulation Statements

2.2.7.a The ENDFILE Statement


2.2.7.b The REWIND Statement
2.2.7.c The BACKSPACE Statement

2.2.8 Internal Files


2.2.9 File INPUT/ OUTPUT

2.2.9.a. READ & WRITE Statements for sequential access file


2.2.9.b Unformatted WRITE / READ Statement
2.2.9.c Formatted READ / WRITE Statement
2.2.9.d READ / WRITE Statements for direct access file
2.2.9.e List directed Input / Output on sequential file

2.3 FORTRAN 90

2.3.1 Character Set


2.3.2 Names
2.3.3 Source Program
2.3.4 Date types and Declaration
2.3.5 Type Declaration Commands
2.3.6 Expressions and Assignments
2.3.7 Control and Interactive Constructs
2.3.7.a SELECT CASE Construct
2.3.7.b DO Construct
23
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

2.3.8 Arrays
2.3.8.a Array Constructors
2.3.8.b Array Sections (Sub-arrays)
2.3.8.c Marked Array Assignments
2.3.8.d Dynamic Arrays
2.3.9 Program Units
2.3.10 Modules
2.3.11 Simple POINTERS

3. Statistical Computations

Practice on Computer Oriented Numerical Techniques

3.1.1. Simpson rule


3.1.2. Trapezoidal rule
3.1.3. Solution of simultaneous Algebric equation using Gauss Elimination method
and Gauss Seidel method
3.1.4. Finding roots of equation using method of Newton Raphson

 CS-09 (Data Communication & Networks)

S. No. Topic

1. Novell Netware
2. Network Project

DETAILED SYLLABUS

• Introduction of Novell Netware


• Simulate Protocols in C- language

 CS-51 (Operation Research)

S. No. Topic

1. Assignment discussion
2. Project discussiond
3. FORTRAN implementation of various operation research areas

24
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

DETAILED SYLLABUS

1. Assignment discussion
2. Project Discussion
3. FORTRAN implementation of various operation research areas
 Generation of Random Number
 Integer programming problems (or methods)
 Goal programming
 Dynamic Programming
 Game theory
 Simulation

 CS-07 (Discrete Mathematics)

S. No. Topic

1. Assignment discussion
2. Project discussion
3. Practice on Computer oriented discrete mathematics problem

DETAILED SYLLABUS

1. Assignment discussion
2. Project Discussion
3. Practice on Computer Oriented discrete mathematics problem
 Kruskal Algorithms
 Prim Algorithm
 Dijkastra Algorithm
 Fusion
 Adjacency & Incidence matrix
 Two optimal algorithm

 CS-10 (Software engineering)

S. No. Topic

1. Practical on CASE tools

25
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

MCA – 3rd YEAR

 CS-12 (Computer Architecture) – No Practical Class

 CS-13 (Operating System)

S. No. Topic

1. UNIX Operating System-I


2. UNIX Operating System-II

DETAILED SYLLABUS

1. UNIX Operating System-I

1.1 Theoretical Concepts of UNIX Operating Systems

1.1.1 Basic Features of UNIX Operating System


1.1.2 File Structure
1.1.3 CPU Scheduling
1.1.4 Memory Management
1.1.5 File System

1.2 UNIX – Getting Started-I

1.2.1 Getted Started


1.2.1.a User names and Groups
1.2.1.b Logging In
1.2.1.c Correcting Typing Mistakes
1.2.1.d Format of UNIX Commands
26
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

1.2.1.e Changing your password


1.2.1.f Character with Special Meaning
1.2.2 File & Directories

1.3 UNIX Getting Started II

1.3.1 Looking A+ File Contents


1.3.2 Own Directories
1.3.3 File permission
1.3.4 Basic Operations on Files
1.3.5 Changing Permission Modes
1.3.6 Standard Files
1.3.7 Processes

1.4 Text Manipulation

1.4.1 Inspecting Files


1.4.2 Operating on Files
1.4.2.a Printing files
1.4.2.b Rearranging Files
1.4.2.c Rearranging Files
1.4.2.d Splitting Files
1.4.2.e Translating Characters

1.5 Editors

1.5.1 General Characteristics of Vi.


1.5.2 Line editors Ex and Ed
1.5.3 The stream editor SED
1.5.4 Changing Several Files in SED
1.5.5 AWK

2. UNIX Operating System-II

2.1 User-to-User Communication

On-line Communication
Off line Communication

2.2 Shell Programming

2.2.1 Programming in the Bourne and C. Shell


27
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

2.2.2 Wild Cards


2.2.3 Simple Shell Programs
2.2.4 Variables
2.2.5 Programming Constructs
2.2.6 Interactive Shell Scripts
2.2.7 Advanced Features

2.3 Programming Tools

2.3.1 The UNIX-C Compiler


2.3.2 Some other tools
2.3.2.a Lint – The C Verifier
2.3.2.b Program profiles
2.3.2.c Program listings
2.3.2.d Cross References and Program Flow
2.3.2.e Other tools
2.3.3 Maintaining Programs
2.3.4 The Source Code Control System

2.4 System Administration

2.4.1 System Administration – A definition


2.4.2 Booting the System
2.4.3 Maintaining User Accounts
2.4.4 File systems and special files
2.4.5 Backups and Restoration

 CS-14 (Artificial Intelligence)

S. No. Topic

1. LISP and other AI Programming Language

DETAILED SYLLABUS

1. LISP and other AI programming languages

1.1 Introduction to LISP : syntax and Numeric Functions

1.2 Basic LIST manipulation functions in LISP

1.2.1 Basic LIST manipulation function


28
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

1.2.2 Additional LIST manipulation Function

1.3 Defining Functions, Predicates and Conditionals

1.3.1 Defining function


1.3.2 Predicate functions
1.3.3 Conditional cond.
1.3.4 Logical function

1.4 INPUT, OUTPUT and LOGICAL VARIABLES


1.5 ITERATION and RECURSION
1.6 PROPERTY LISTS and ARRAYS
1.7 Miscellaneous topics
1.7.1 Mapping function
1.7.2 Lambda function
1.8 PROLOG and other programming languages

 CS-15 (Relational Database Management System)

S. No. Topic

1. Practical on ORACLE

DETAILED SYLLABUS

1. ORACLE
1.1 Introduction to SQL
1.1.1 Oracle data types
1.1.2 Starting SQL * PLUS
1.1.3 Queuing database tables
1.1.3.a Conditional Retrieval of rows
1.1.3.b Working with Null values
1.1.3.c Matching a pattern from a tables
1.1.4 Ordering thr result of a Query
1.1.5 Aggregate functions
1.1.6 Grouping the result of a Query
1.1.7 ROLLUP operation: Getting Sub totals
1.1.8 CUBE operation: Getting Cross tabs
1.1.9 Command summary of SQL * PLUS Editor

1.2 Queuing Multiple Tables


29
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

1.2.1 Collating information


1.2.1.a Equi join
1.2.1.b Cartesion Join
1.2.1.c Outer joins
1.2.1.d Self joins
1.2.2 SET operators
1.2.2.a Union
1.2.2.b Intersect
1.2.2.c Minus
1.2.3 Nested Queries

1.3 Functions
1.3.1 Single Row Function
1.3.1.a Arithmetic functions
1.3.1.b Character functions
1.3.1.c Data functions
1.3.1.d General functions
1.3.2 Group Functions

1.4 Data Manipulation and Control - I


1.4.1 Data Definition Language (DDL)
1.4.2 Creating tables
1.4.3 Creating a table with data from another table
1.4.4 Inserting values into a table
1.4.5 Updating column(s) of a table
1.4.6 Deleting Row(s) from a table
1.4.7 Dropping a column
1.4.8 Introduction to VIEWS

1.5 Data Manipulation and Control - II


1.5.1 GRANT command
1.5.2 REVOKE command
1.5.3 COMMIT and ROLLBACK

 CS-16 (Object Oriented System)

S. No. Topic

1. Introduction to Programming
2. Conditional Statements and integer types
3. Iteration and floating types
4. Functions
30
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

5. Arrays
6. Pointers
7. Strings
8. Classes
9. Overloading Operators
10. Inheritance

DETAILED SYLLABUS

1. Introduction to programming in C++


Simple Programs
The Output operator
Character and string literals
String length
Comments
Variables, objects, and their declarations
Keywords and identifiers
Program style
Integer types
Simple arithmetic operators
Operator precedence
Compound assignment expression
The char type

2. Conditional statement and Integer types


2.1 Input
2.2 The if statement
2.3 The if…else statement
2.4 Relational operators
2.5 Compound statements
2.6 Keywords
2.7 Compound statements
2.8 Keywords
2.9 Boolean expression
2.10 The switch statement

3. Iteration and floating types


The while statement
The do…while statement
31
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

The for statement


The break statement
The continue statement
The goto statement
Real number type

4. Function
4.1 Standard C library functions
4.2 User defined functions
4.3 void functions
4.4 Boolean function
4.5 I/O functions
4.6 The main () and exit () functions

5. Arrays
Introduction
Processing arrays
Initializing an array
Multidimensional arrays

6. Pointers
6.1 Introduction
6.2 Pointers
6.3 Arrays and pointers
6.4 The new operator
6.5 The delete operator
6.6 Dynamic array
6.7 Using const with pointer
6.8 NUL, NULL, and void

7. Strings
7.1 Introduction
7.2 Strings
7.3 Some cin member functions
7.4 Arrays of strings

8. Classes
8.1 Introduction
8.2 Class declarations
8.3 Constructors
8.4 Private member function
32
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

8.5 The copy constructor


8.6 The class destructor
8.7 Structure

9. Overloading Operator
9.1 Introduction
9.2 Overloading the Assignment operator
9.3 The this operator
9.4 Overloading Arithmetic operator
9.5 Overloading the Relational operators
9.6 Conversion operators
9.7 Overloading the Increment and Decrement operator

10. Inheritance
a. Introduction
b. Inheritance
c. protected Class Members
d. private Access versus protected Access
e. Virtual destructors
f. Abstract base classes
g. Object-oriented programming

************

33
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

YEAR –1 (Semeater-1)

CS-611 PC Software & Computer Fundamental

Day-1
 Using Windows
• The Desktop
• The Task Bar
• My Computer icon
• Network neighborhood

Day-2
Using Windows
• Explorer
• Folders
• Shortcuts
• Some web features

Day-3
 Word Processing
• Basics
• Opening documents and moving around
• Manipulating Windows

Day-4
 Word Processing
• Printing documents
• Selecting Text
• Using the Interface

34
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Day-5
 Word Processing
• Editing Text
• Finding and replacing text
• Proofing document with spell check and grammar check

Day-6
 Word Processing
• Using Auto Correct, Auto Complete and Auto Text
• Document enhancement
• Creating and printing merged documents

Day-7
 Word Processing
• Using Wizards and Templates
• Handling Graphics
• Creating tables and charts

Day-8
 Word Processing
• Mail merge
• Macro

Day-9
 Power Point
• Make Power Point Slides
• Animation with sound Effects

Day-10
 Project Practice

YEAR –1 (Semester-II)

CS-612 PC Software & Application Skills

Day-1
 Internet
• Some Internet tools
• E-mail

35
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Day-2
 Excel
• Worksheet basics
• Opening worksheets and moving around
• Toolbars

Day-3
 Excel
• Editing data in a cell
• Working with workbooks
• Working with formulae

Day-4
 Excel
• Working with ranges
• Cell Referencing
• Efficient data display with data formatting

Day-5
 Excel
• Printing worksheets
• Working with graphs and charts
• Using functions

Day-6
 Excel
• Creating and using macros
• Creating and using multiple worksheets and linking
workbooks

CS-62 ‘C’ Programming & Data Structure

Day-1
 Practice with ‘C’ Programs
• Introduction to ‘C’
• Write a Program to Display Following Message
a. Welcome to ‘C’
b. Wish you all the best

Day-2
 Practice with ‘C’ Programs
36
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

• Write a Program read a price in decimal form & Print output in


Paise
• Convert any integer value to ASCII

Day-3
 Practice with ‘C’ Programs
• Practice on C Programs
• Write a program to evaluate the sine and cosine of an angle

Day-4
 Practice on C Programs
• Write a program to find the area of circle, rectangle or
triangle
• Write a program to find the sum of reciprocal of two integer
numbers
Day-5
 Practice on C Programs
• Suppose integer variable x1 and x2 have been assigned values
of 3 and 4 respectively. What values will be returned by the
following relational expressions
i) x1 < 5 && x2 < 6
ii) x1 > 5 && x2 < 6
iii) x1 > 5 || x2 < 6
iv) x1 > 5 && ! (x2 < 6)
v) ! ( x1 > 5 && x2 < 6)

Day-6
 Practice on C Programs
• Write a program to find the first ten natural numbers along
with their square, square roots and cube roots

Day-7
 Practice on C Programs
• Write a program to find the factorial of number
With and Without Use of Recursion

Day-8
 Practice on C Programs
• Write a program to display the following on the middle of
your screen

37
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

*******************************
* *
* *
* *
*******************************

Day-9
 Practice with C Programs
• Using Loops Display

1 1 1
22 23 22
333 456 333
4444 7 8 9 10 4444

Day-10
 Practice with C Programs
• Write a Program that that contain the list of names & marks 0f
3 subjects of 10 students

Day-11
 Practice on Data Structure through C
• Write a program to create a single link list and perform
following operations on them
• Add, Delete, and Traverse a node from the link list

Day-12
 Practice on Data Structure through C
• Write a program to create a double link list and perform following operations on
them
• Add, delete and traverse a link list

Day-13
 Practice on Data Structure through C
• Write a program to create Queues, add and delete nodes in it.

Day-14
 Practice on Data Structure through C
• Write a program to create circular queues, add and delete
nodes in queue

38
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Day-15
 Practice on Data Structure through C
• Write a program to create stack , add and delete a node in a
stack

Day-16
 Practice on Data Structure through C
• Write a program to do bubble sort
• Write a program to do heap sorting

Day-17
 Practice on Data Structure through C
• Write a program to do Merge sort
• Write a program to do Selection sorting

Day-18
 Practice on Data Structure through C
• Write a program to do Binary Search

Day-19
 Practice on Data Structure through C
• Write a program to do Linear Searching

Day-20
 Practice on Data Structure through C
• Write a program to do Quick Sort

Day-21
 Practice on Data Structure through C
• Write a program to create a circular link list and add,
delete and traverse the node

Day-22
 Practice on Data Structure through C
• Write a program to create a double ended queues

Day-23
 Practice on Data Structure through C
• Do the questions given in the project
Day-24
39
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

 Practice on Data Structure through C


• Do the questions given in the project

YEAR – 2 (Semester-3)

CS-63 Introduction to System Software

Day-1
 Practice with UNIX
• Start with Unix Session- Logging In
• Ending of Unix Session-Logging out
• Security for the Unix User-Passwords
• Creating the passwords
• Rules for passwords
• Changing the passwords

Day-2
 Practice with UNIX
• The Unix File System
• File Naming Conventions
• Unix Commands: Simple Directory and file Commands
• Directory Commands- Identifying the current working directory
• Moving to the different directory

Day-3
 Practice with UNIX
• Making new directory
40
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

• Removing new directory


• Listing the contents of the directory
• File Commands
• Copying File
• Removing File

Day-4
 Practice with UNIX
• Relative Path-Names in File Commands
• All listing Commands
• Wild Card Matching
• Shell Scripts and Files:
• Create and Execute simple shell scripts
• Reference Variable

Day-5
 Practice with UNIX
• Use of Export Command to Create Global Variables
• List some of the environmental Variables available in shell
• Understand the need for the profile file

Day-6
 Practice with UNIX
• Use the if construct in Shell scripts, test command in conjunction
with the if construct to test values of variables.
• Usage of Positional Parameters
• Use of Exit and Shift Command

Day-7
 Practice with UNIX
• Editors: General characteristics of VI, line editor EX & ED,
stream editor SED
• Use of while and case, Break and Continue commands in the
Shell Script
• Insert Comments Entries
• List the type of file under Unix

41
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Day-8
 Practice with UNIX
• Explain how Unix Provides file security for users
• Set the file access Permissions for files using the chmod
Command
• Define Links and need of them

YEAR – 2 (Semester-4)

CS-65 Windows Programming

Day-1
 Practice with Visual Basic
Introduction to Visual Basic 6.0
Place controls on form resize, move them with the help of Keyboard and
Mouse.

Day-2
 Practice with Visual Basic
• Set properties like colors, fonts etc.
• Use Msgbox function on various events to trace them

Day-3
 Practice with Visual Basic
• Hands on Properties and Method of Text Box and Labels
• Try different type of data Types
• Make a program to add,multiply,divide,subtract Two numbers

Day-4
 Practice with Visual Basic
42
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

• Make use of Drivelist,Dirlist,Dir Controls


• Use ActiveX Controls like CommmonDialog Box

Day-5
 Practice with Visual Basic
• Use error Handling like On Error Goto,On Error Resume
• Try on OLE Object and Call other application’s data

Day-6
 Practice with Visual Basic
• Use timer Object to change Various properties of Various Objects
• Make a Control array of object At design Time as Well as Run
Time To make a calculator
Day-7
 Practice with Visual Basic
• Program of Calculator Continue….
• Make a database of Students in MS-Access and Access it through
Visual Basic Using Data Control

Day-8
 Practice with Visual Basic
• Data Control Program Continue operations like addition, deletions
of records, Use of Data grid
• Add search capability on Data Control Program
• Provide proper validation code at front end of entries going into
Backend

Day-9
 Practice with Visual Basic
• Make Menus and Toolbar to Your Data
• Add Error Handling to your Data Control Program

Day-10
 Practice with Visual Basic
• Make a simple animation using ActiveX Objecs, Timer Etc., Call
frmBrowser in your Applications
• Project Discussion

CS-67 RDBMS (Relational Database Management System) Lab

Day-1
43
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

 Practice with RDBMS


• Overview of Logical Database Design

Day-2
 Practice with MS Access
• Overview of Normalization
• Entity Relationship Diagram

Day-3
 Practice with MS Access
• Basics of Microsoft Access
• Working with Database

Day-4
 Practice with MS Access
• Create Table in Database view.
• Create Table in Design view.

Day-5
 Practice with MS Access
• Structured Query Language (SQL)
• View and Security Using SQL

Day-6
 Practice with MS Access
• Learn various type of database and their associated option.
• Set validation rule and Input mask on field.

Day-7
 Practice with MS Access
• Set relationship in Table.
• SQL queries Select and its various option.

Day-8
 Practice with MS Access
• SQL queries (Insert, Delete, Update)

Day-9
 Practice with MS Access
• Creating a Forms
44
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Day-10
 Practice with MS Access
• Showing Data Form More than one Table on a Form
• Creating Reports and Mailing Labels

Day-11
 Practice with MS Access
• Make Report
• Make Masks

Day-12
 Practice with MS Access
• Project & Group Discussion

CS-66 Multimedia

Day-1
 Practice with Multimedia
• Introduction to Multimedia Software’s

Day-2
 Practice with Multimedia
• Multimedia Authoring Tools

Day-3
 Practice with Multimedia
• Contd. Authoring Tools

Day-4
 Practice with Multimedia
• Making of Multimedia Slides

Day-5
 Practice with Multimedia
• Project & Group Discussion

45
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

YEAR-3 (Semester-5)

CS-68 Computer Network

Day-1
 Protocols
• OSI & TCP Protocol Model

Day-2
 Transmission Media
• Cable Media
• Wireless Media

Day-3
 Transmission Media
• Public & Private Network Service
• The Internetwork

Day-4
 Network Connecting Devices
• Network Interface Boards
46
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

• Hubs
• Repeaters
• Bridges
• Modems

Day-5
 Internetwork Connectivity Devices
• Routers

Day-6
 OSI Layer
OSI Physical Layer& Data Link Layer Concept
• Network & Application Layer Concept

CS-69 TCP/IP Programming

Day-1 Intro. TCP Internet

Day-2 Internet Control Message Protocol

Day-3 Error Reporting

Day-4 Error Correcting

Day-5 Testing Destination

Day-6 Physical Addresses

Day-7 Echo Request

Day-8 Reply Message

Day-9 Mapping Internet Address

Day-10 Internet Protocol


47
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

CS-70 Software Engineering

Day-1 Software Project Planning

Day-2 Software Project Cost, Estimation & analysis

Day-3 Software Quality Assurance

Day-4 Software Testing, Software Maintenance

YEAR-3 (Semester-6)

CS-72 C++ &and Object Oriented Programming

Day-1
 Practice with C++ Programs
• Introduction to C++
• Write a Program to Display Following Message
c. Welcome to C++
d. Wish you all the best

Day-2
 Practice with C++ Programs
• Write a Program read a price in decimal form & Print output in
Paise
• Convert any integer value to ASCII

Day-3
 Practice with C++ Programs
48
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

• Practice on C++ Programs


• Write a program to evaluate the sine and cosine of an angle

Day-4
 Practice on C++ Programs
• Write a program to find the area of circle, rectangle or
triangle
• Write a program to find the sum of reciprocal of two integer
numbers
Day-5
 Practice on C++ Programs
• Suppose integer variable x1 and x2 have been assigned values
of 3 and 4 respectively. What values will be returned by the
following relational expressions
vi) x1 < 5 && x2 < 6
vii) x1 > 5 && x2 < 6
viii) x1 > 5 || x2 < 6
ix) x1 > 5 && ! (x2 < 6)
x) ! ( x1 > 5 && x2 < 6)

Day-6
 Practice on C++ Programs
• Write a program to find the first ten natural numbers along
with their square, square roots and cube roots

Day-7
 Practice on C++ Programs
• Write a program to find the factorial of number With and
Without Use of Recursion
• Write a Program by using Pointers

Day-8
 Practice on C++ Programs
• Write a program to display the following on the middle of
your screen
*******************************
* *
* *

49
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

* *
*******************************

Day-9
 Practice with C++ Programs
• Write Programs to Display

1 1 1
22 23 22
333 456 333
4444 7 8 9 10 4444

Day-10
 Practice with C++ Programs
• Write a program to do the following:
Accept a string, Display it in Arial Font, bold style and size of 50.

Display the number of characters in the string.


Display the width and height of the string
Reverse the width and height of the string.

Day-11
 Practice with C++ Programs
• Practice of Previous Exercise

Day-12
 Practice with C++ Programs
• Project & Group Discussion
• And Practice of Above Programs

CS-74 Introduction to Internet Programming

Day-1
 Practice With JAVA
• Develop a Welcome message
• Compute area of a rectangle
• Convert any integer value of Float values
50
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

• Convert any char value to integer values


• Convert any integer value to ASCII char

Day-2
 Practice With JAVA
Write a program read a price in decimal form and print output to
paise.
Write a program read two values like a and b and print the result
of add a and b
Write a program read two values like a and b and print the result
Using Arithmetic operator +, -, *, /, %.
Write a program read two value one is int, another if Float then
using Arithmetic Operator +, -, *, /, %.

Day-3
 Practice With JAVA
Write a program read a=10, b=15, what is the result if a<=b, a>b,
a<b, a==b
Write a program read a=10, print output using ++a, a++, --a, a—
Write a program. Compute the following expression

(i) Area = r2 + 2 rh
(ii) S = s(s-a)(s-b)(s-c) where s = (a+b+c)/2
(iii) S = ut + ½ gt2 where g = 9.8(
(iv) S = a>b && a<c where a=5, b =10, c=-6
Day-4
 Practice With JAVA
• Write a program that will read the value of x and evaluate the
following function.
Y={1 for x>0 Using (i) nested if statement
{0 for x=0 (ii) else if statement
{ -1 for x<0 (iii) conditional operator
• Write a program to calculate the sum of the odd integer
between 1 and 99.
• Write a program convert binary number to decimal number.

Day-5
 Practice With JAVA
• Compute area of a rectangle using calling a method.
• Using command line argument display a message, where
arguments are

51
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Simple Object-Oriented Distributed Using while and


For loops
• Write a program to convert the given temperature in
Fahrenheit to Celsius.

Day-6
 Practice With JAVA
• Write Programs to display

1 1 1 $$$ 1
22 23 01 $$ 2 2
333 456 101 $ 333
4444 7 8 9 10 0101 4444
55555 1 0 1 01

Day-7
 Practice With JAVA
• Write a program that will contain two array. In the first array
Store the following:
1. Banana
2. Apple
3. Mango
4. Date
And store the following price in the second array
1.30 2.20 3.20 4.15
• Write a method that will display the product with their
corresponding price.

Day-8
 Practice With JAVA
• Write a program that illustrates the usage of
synchronization. There are 3 threads each of which prints the
string shown below through a synchronized method.
[
hi
]
when the thread are synchronized, the output should be
[
hi
]
[
hi
]
52
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

[
hi
]

when the thread are not synchronized, the output should be

[
[
[
hi
hi
hi
]
]
]

Day-9
 Practice With JAVA
• Create an applet to display a message.
• Create an applet to show the sum of two numbers.
• Create an applet to sum of two numbers, where number are
taken from input in a text box.

Day-10
 Practice With JAVA
• Create a program to display menu bar. In menu bar File,
Edit, Option, display option and display some popup menu.
• Create an applet to accept an integer as parameter and
display a message as “Are you……… Years Old ?” The age
should be displayed in blank space. The default age should be 60.

CS-75 Intranet Administration

Day-1 Web Browser to Access Intranet

Day-2 Intranet Security

53
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org
INDIRA GANDHI NATIONAL OPEN UNIVERSITY
LAB MANUAL MCA

Day-3 Choosing Intranet Hardware & Software

Day-4 Setting up Intranet Sites

Day-5 Intranet Authoring & Management Tools

Day-6 Intranet Protocols

54
Universal Institute of Computers & Technology
UPS Campus, Block – A, Preet Vihar, Delhi-110092 Ph. 2440117
E-Mail: uict0776@gmail.com, Visit us: www.uict.org

Das könnte Ihnen auch gefallen