Vous êtes sur la page 1sur 72

PGDCA (Practicals) / MCA (I Yr) / B,CA

Term-End Practical Examination


Decambet, 2006

TO SOFTWARE
CS-02: INTRODUCTION

Timeallowed:2hours Maximum Marks: 700


(Weishtase15%)

Note : There are 3 questions in this paper for 70 morks. The rest 30 marks are lor the
uiua-uoce,

1. Write a shell script that changesthe name of the files passedas argumentsto lowercase. 25

2. Write a grep command to selectall the lines from a text file that have exactly two characters. 25

3. (a) List and executethe command to selecta text file and double space the lines. 10

(b) List and executethe command to list ail the usersfrom /etc/pass^Id in the alphabetically
sorted order. 1A

cs-o2Pls1 3,000
.
-- r ;, .-r: ,. .:.
"

, ',.,
" . . , ,.
', .i ,:l

i' t ', ,, :
,. ,. .- , r

' '.r
:' ":' : ,,. i ,, .: ., i, ";,i :,,, il

i . I '

ttt ,
":-.
pGDCA (practicals) / MCA (I Yr) / BCA
Term-End Practical Examination
Decembet, 2006

TO SOFT\AIARE
CS-02: INTRODUCTION

Maximum Marks , 700


Timeallowed:2hours
(Weishtage750/0)

There are 3 questions in this pqper fo, 70 marks, The rest


30 marks qre fo, the
Note :
uiua-uoce.

of times of the occurrence


1. Write a shellprogram to count the number of vowelsand the number
30
of each vowel in a given Slines text file'

giwn as input' 25
2. Write a shell script that displaysthe last modification time of any file

the PID. 7
3. (a) List and executethe command to kill any processwith the help of
period in a text file. I
(b) List and executethe command that displaysthe lines ending with a

2,000
cs-o2Plsz
'
, ) : , 1, : ; . ' , " , ' 1 ,
PGDCA (Practicals) / MCA (I Yrl / BCA
Term-End Practical Examination
Decembet, 2006

TO SOtrWARE
CS-02: INTRODUCTION

Timeallowed:2 hours Maximurn Marks : 700


(Weishtage 15W

Note : There are 3 questions in this paper for 70 marks. The rest 3O mcrks are for the
uiua-uoce.

1. Write a shell program that outputs all the ihtegers upto the command line argument (n) starting
from 1 and also should display them in tlk ranerseorder. 30

2. Write a shell script that counts the English articles(a, an, the) in a given text file. 25

3. (a) List and executethe command to display all the list of the processescurrentty running. 7

(b) List the text files in your current dirdctory. I

cs-o2P/s3 2,000
t '

.{ i .,,i, ,,. ',,,


., r ,,i,,'::t

i;riui.,:ftj;,i:i{"rii:li;i$;:]'];.ii:"',,-l*,.,*j.Tt.*,.:..:-i.$';i$

, , ;i $ l ' " ; , . : , i ' i:;: s .,.',; ,, ;


*:,,;;;'r-i"i i . ,l i ; - . ; , . , , . i . ' r i : . i ; - i ' ii r , i i .
PGDCA (Practicals) / MCA (I Yr) / BCA
Term-End Practical Examination
Decembet, 2006

CS -02: INTRODUCTIONTO SOFTWARE

Timeqllowed:2hours Maximum Marks: 700


(Weishtage750/o)

Note ; There are 3 questions in this paper t'or 70 morks. The rest 30 marks are t'or the
uiva-uoce.

1. Write a shell program which deletesall the even numbered lines in any text file given as an
argument. 25

2. Write a shell script to encrypt any text file. Assumptionscan be made. 30

3. (a) List and executethe command to delete all the files in the current directory whose name
endswith ".bak". 10

(b) List and executethe command to displaythe number of lines in a given file. 5

cs-o2P/s4 1,000
rit\,.-'d,$'i,:d'i"'u,ritf,..i .,*t',ll;1 gi'rlt{--$4"X,*'5
", i;rirr,r ,ri:i.,;*;,*t{iH$

';l:i ';uitt
$ i ;11
j;i+,,ri$,t;;t :l'iitlti'; ;,"r,- ,i $,''i!) $'*tt*;i$,-'{€;$i'?:o,,,$'$
'
_,: j::,;,."i+,"_t
;r : i . . , . i i ; l if i ; i

N)-,..\

't:i,rLi,'
i, r X i'.i:t:\;a
, i.:,'tr,r'i:','
PGDCA (Practicals) / MCA (I Yr) / BCA
Term-End Practical Examination
Decembet, 2006

lN COBOL
AND PROGRAMMING
CS-03: FILESTRUCTURE

Timeallowed:2hours MaximumMsrks : 100


(Weightage15%)

Genersl Instructions :
(i) There are two compulsory questions in this paper of 40 marks each' Rest
20 marks are for uiua-uoce.
(ii) Test your programs by running them on 5 to 1.0 records or data ualues.
(iii) Print the programs and the resulfs, if possible,otherwise write partial input and
output on your answer scriPt.
(iu) Make and stste suitable assumptions,if any.

l. A file contains data about employeesof an organisationwith the following record


description:
ID_NUMBER PIC 9(6)
NAME PICX(24)
DEPARTMENT PICX(10)
BASrC_PAY PIC 9(5)V99
ALLOWANCE PIC 9(4)V99
DEDUCTION PIC9(4]'V99

Write a programin COBOL to sort this file, first on DEPARTMENTin ascendingsequence


and then recordshavingthe samevalue for DEPARTMENTare to be arrangedfrom the
higherto the lower valuesof BASIC-PAY. 40

2. Writea programin COBOLto calculate total numberof daysin the givenmonth.For example,
if giveninput is Februarythen outputis 28 days.OR If giveninput is December,outputshould
be 31 days. 40

1
cs-03P/s 3,000
PGDCA (Practicals) / MCA (I yr) / BCA
Term-End Practical Examination
Decembet, 2006

cs-03: FILEsrRUcruREANDpRocRAMMtNG
tN coBol
Timeallowed:2hours
Maximum Morks : 700
(Weightase I5%)

General Instructions :

(i) There are two compulsory questions in this paper of 40 marks each. Rest
20 marks are for uiua-uoce.

(ii) Test yoir programs by running them on 5 to 70 recordsor dqta


uqlues.
(iii) Print the programs and the results, if possible, otherwisewrite partial
input and
output on your answer script.

(iu) Make qnd state suitable assumptions,if any.

1' Assumethat the following fietd MARKS containsthe total marks obtained
by a studentand the
column GRADE is one characteralphanumericfield. Write a program
in CoBOL to calculate
GRADE of the studentsaccordingto the foilowing rules :
40

MARKS GRADE

80 - 100 A

60-79 B

45-59 C

30-44 D

0-29

The literal ' (\ru'' is moved to GRADE in the caseof wrong marks.

C S - 0 3P / S 2
P.T.O.
2: Write a program in COBOL to displaya figure that looks like a triangle of arterisks.The value
enteredis taken.asthe number of lines to be displayedin the triangle. 40

For example ' If value enteredis 5, then output should be


*
* * *
4! 4 .P -ar

::r *l ::. {: :i. * :i3

* 8 * } 8 * * 8 { . *

cs-03P/s2 2,000
PGDCA (Practicals) / MCA (I Yr) / BCA
Term-End Practical Examination
Decembet, 2006

CS-03 : FILE STRUCTUREAND PROGRAMMINGlN COBOL

Timeallowed:2hours Maximum Marks ; 100


(Weishtage 15%)

General Instructions :

, (i) There are two compulsory questions in this paper of 40 msrks eqch. Rest
20 marks are lor uiuq-uoce.

(iil Test your programs by running them on 5 to 70 records or datq uqlues.

(iii) Print the programs rrnd the results, if possible, otherwise write partial input and
output on your answer script.

(iu) Make qnd state suitable assumptions,if any.

l. A file containsthe following data about the applicantsfor the post of soldier. 40

NAME PIC X(25)


AGE PIC X(2)
HETGHT PrC X(3)
WEIGHT PIC X(3)

. Write a COBOL program to sort the file as per ascendingorder of AGE. For applicants
having same age sort them again as per ascendingHEIGHT.

2. A fieldnameSTRINGcontains100 characters. Thecharacter(/)and(, )are usedto indicate


the end of a word and a statementrespectivelywithin these 100 characters.Write a COBOL
program to find the number of words and the number of statementsin the STRING. 40

CS-O3P/S3 2,000
PGDCA (Practicals) / MCA (I Yr) / BCA
Term-End Practical Examination
December, 2006

IN COBOL
AND PROGRAMMING
CS.O3: FILESTRUCTURE

Timeallowed:2hours Maximum Morks : 700


(Weishtage750/o)

General lnstructions :

(i) There are two compulsory questions in this paper of 40 marks each. Rest
20 mqrks are for uiua-voce.

(ii) Test your programsby running them on 5 to !0 recordsor data volues.

(iil Print the programs and the results, il possible, otherwisewrite partial input ond
output on Your answer scriPt.

(iu) Make and state suitable assumptions,if any.

40
l. Consider the following table :

AMOUNT.TABLE

AMOUNT PIC 9(6)V99

AMOUNT.CODE PIC X

AMOUNT-TYPE PIC X

Write a program to find the total of all the amounts of the table in the following manner'

. If the amount code is 1, the correspondingamount is to be consideredpositive'

. Else, the amount is to be considerednegative.

Note : ossurnptions, il any.


Make necessory

P.T.O.
CS-O3P/S4
2. Considerthe following fields :
40
NAME Prcx(25)

cs-03P/S4
1,000
PGDCA (Practicats) / MCA (I yr)
Term-End Practical Examination
flecembet, 2006

THROUGH'C'AND PASCAL
CS-04:DATA STRUCTURES

Timeallowed:2hours
Maximum Marks ; 100
(Weightage 15%)

Nofe : There xre two questions in this paper totalling 70 marks. Rest s0
mqrks are fo, the
uiua-uoce.Answer both the quesfions.

1. Write a program in 'C' language for performing Binary Search.


35

2. Write a program in 'C' language to implement a Doubly Linked List.


35

cs-04P/s
1 3,000
PGDCA (Practicals) / McA (I Yt)
Term-End Practical Examination
December, 2006

cs-04: DATAsrRUcruRESTHRoucH'c'AND pAscAL


Timeallowed:2hours
Maximum Marks: 700
(Weightage150/o)

Note t There are two questions in this pqper totalling


70 marks. RestS0 marks are for the
uiua-wce.Answer both the guestions.

l' write a program in 'c' languagefor murtipricationof two porynomiars.


40

2' Write a program in 'C' languagethat accepts5 integersas input


and sorts them in ascending
order using Bubble Sort.
S0

cs-04Ptsz 2,000
ni
i:
PGDCA (Practicals) / McA (I Yr)
Term-End Practical Examination
f)ecembet, 2A06

'C'AND PASCAL
CS-04: DATA STRUCTURESTHROUGH

Maximum Marks r 100


Timeallowed:2hours
(Weishtage 754/o)

marks sre fo' the


Note : There are t w o q u e s t i o n s i n rhis psper totqlling 70 marks. Rest 30
uiua-uoce.Answer both the q u e s t i o n s .

it in
1. Write a Program in language that accepts a Binary Tree as input and traverses
40
Post order.

'C'
language for the addition of two sparse matrices'
30
2. Write a program in

1, 0 0 0
CS.04P/S3
'
:ri
PGDCA (Practicals) / MCA (I Yr)
Term-End Practical Examination
Decembet, 2006

CS-04: DATA STRUCTURESTHROUGH 'C'AND PASCAL

Timeallowed:2hours Maximum Marks: 700


(Weightage750/o)

Note: There are two questions in this paper totalling 70 marks. Rest 30 marks are
for the
uiua-uoce.Ansuer both the questions.

l- write a program in 'c' languagefor the imptementationof a circular eueue. 35

2- Write a program in 'C' languagethat acceptsa file as input and counts the number of lines in
it' ss

cs-o4P/s4 1,OOO
) i l
BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
December, 2A06

cS-611 : COMPUTERFUNDAMENTALSAND
PC SOFTWARE

Timesllowed:2hours
Mqximum Marks : 700
(Weightase 15%)

General Instructions :

(i) There are four questions (20 marks each)in this paper totalling 80 marks.
Rest
20 msrks are for uiuq-uoce.
(ii) Test the macras created by you (whereuer needed).

(iil write all the steps which you haueperformed in your answer-script.

(iu) Print the files, iJ required and possible, otherwise write partial data input and
output
in your answer-script.
(u) Mqke suitable assumptions,if any.

l' (a) Create letter-headof a sports company with its name, address,phone no. at top
and
introduce companiesproduct base line at the bottom. You are supposedto use
headers
and footers in the creation of the said document.

(b) Using the createdletter-head,write a letter to the GeneralManagerof the company


about
the growth achievedby the company in 2006 _ 07 .

(c) Insert a hyperlink "Steps of Growth" in the letter, such that clicking on it the
General
Managercan view the powerpoint presentationexplaining stepwisegrowth.

(d) Insert a clip-art into the letter-headcreated above, such that it serves the purpose
of
companylogo.

(e) At the end of the letter-headcreatedabove,insert a table to compare the sale of products
of the company in the current year with the sale of the past year.
20

C S - 6 11 P / S1
P . T .O .
2. (i) Create a Powerpoint presentationof the sports company such that the slidesexpressthe
products' information, figures, growth charts and salescomparison(yearwise)of products
producedby the company. 10
,
(b) Createa macro such that on pressing Ctrl+Alt+Tab a new letter-headis opened, with
name and addressof the General,Managerof the cornpany (left aligned),Subject(centre
aligned)and Dear Sir (left aligned). 10

3. Create a data-filecontaining name, address,phone number of the clients of a sports company


and useMailmergefeatureto createthe greetingletter for each of your clientsusing the data-file
createdby you. 20

4. (a) Changehome page to ignou.ac.in.

(b) Create a folder on desktop and make it shareable.

(c) Add a program to Start menu.

(d) Show Internet settings.

(e) Find free space in the hard disk. 20

C S - 61 1 P / S 1 5,000
BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
Decembet, 2006

CS-611: COMPUTERFUNDAMENTALSAND
PC SOFTWARE

Timeqllowed:2hours MaximumMarks ; rcO


(Weishtage150/0)

General Instructions:

(il There are four questions(20 marks each)in this paper totalling 80 marks. Rest
20 marks are lor uiua-uoce.
(ii) Test the macros created by you (whereuer needed).
(iil Write all the steps which you have pert'ormed in your answer-script.
(iu) Print the files, if required ond possible,otherwisewrite partial data input and output
in your answer-script.
(u) Make suitableossumptions,if any.

l. (a) Insert header in your document, write your name and roll number in it.

(b) In the document created by you in 1(a), write a paragraph about Microsoft Office. Use
bulletsmarking to emphasisethe softwaresavailablein MS Office package.
(c) At the end of the paragraph written in Lh), insert a table named MS Office with one
column for the softwares in MS Office and other column for the utility of respective
softwares.Choose suitabletabular format to display the information.
(d) Insert a suitableclip-art into your document.
(e) Using autoshapesdraw the following figure exactly.You may use text boxes in your figure
to display the shown information. 20

0<90" 0<90"

cs-611P/S2 P.T.O.
2. (a) Use autocorrect feature such that it expandsthe abbreviationI.G.N.O.U. whenever you
use it in your text.

(b) Create mirror images of odd and even pages.

(c) Createa Powerpoint presentationof 3 slidesdescribingyour name, roll no., addresson


one slide, exams cleared and exams not clearedon next two slides. Set slide transition
time of 3 secondsand display your presentation.

(d) Write the equationar*2 + brxl + cr = 0. 20

3. (a) Write a macro to rotate triangle in your documentwhen Ctrl + # is pressed.

(b) Protect your document by adding passwordrequirementfor both, to open and to modify. 20

4. (a) Change wallpaper of your monitor.

(b) Find Internetsettings.

(c) Set currenttime and date to 12.30 AM 31-72-2006.

(d) Changethe screenresolution 20

c s - 61 l P t S 2 5,000
BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
Decembet, 2006

CS-611: COMPUTER AND


FUNDAMENTALS
PC SOFTWARE

Time allowed : 2 hours Maximum Marks t 100


(Weightage 15%)

Genersl Instructions :

(i) There are four questions (20 morks each)in this poper totalling 80 marks' Rest
20 marks are for uiua'uoce.
(ii) Test the,macros created by you (whereuerneeded)'

(iil write all the steps which you haue performed in your answer-script.

(iu) Print the files,if requiredond possible, otherwisewrite partial data input and output
in your answer-scriPt'
(u) Make suitable assumpti,ons,if any.

1. (a) DemonstrateWord count utility to describestatisticsof any Word document'

(b) Insert window split in your current MS Word document'

(c) Createa table in MS Word containingfive students'Roll numbersin one column and their
marks in the other column. Now sort their mark by using Sort utility of MS Word'

(d) Insert date, time and page number on every page of your document'

(e). Customizethe toolbar after resettingit. 20

in different
2. Create a data file containing name, department, designationof at least 5 persons
that you
companies.Write a letter to all of them using MS Word Mailmerge feature to inform
20
have clearedyour examinationsand now you want to do the project in their guidance'

P.T.O.
C S . 6 11P / S 3
3. (a) Using autoshapesand textboxescreatefigure shown
l'
,. ,' below.

(b) write name of coursecs 6lr in capitalIetters and use


utility "change case" to change
the name to small letters.

(c) Change backgroundcolour of your Word document.

(d) In word document write name of week days, repeatedry


2 times. Now use replaceutility
to replace "Sunday" with ,,holiday,,at everyplace in
the text. 20

4. (a) Write a macro that selectsthe current page and changes


its font to Arial Black with size
of 12 points.
10
(b) (i) Write the formulu sr(t]) oc $*
[;)
(ii) Change default printer and make it available on network.

(iii) Interchange the functioning of mouse


left click and right click. 10

C S - 6 11P / S 3
3,000
BACHELOR rN COMPUTERAppLrCATroNS (BCA)
Term-End Practical Examination
flecembet, 2006

cS-611 : COMPUTERFUNDAMENTALSAND
PC SOFTWARE

Timeallowed:2hours
Mqximum Mqrks : 100
(Weishtage 15%)

Genersl Instructions :

(i) There are t'our questions (20 marks each)in this paper totalling 80 marks.
Rest
20 marks are for uiuo-uoce.
(ii) Test the macros created by you (whereuerneeded).

(iii) write all the steps which you have performed in your snswer-script.

(iu) Print the files,if requiredond possible, otherwisewrite partial data input and
output
in your answer-script.
(u) Make suitable assumptions, if any.

1' (a) Createa Word document having name of the game you like as a header.In this
document
write a paragraph about the features of the game. Format this paragraph with
double
spacing and 14 point size and Arial font.

(b) Insert a hyperlink at the end of your paragraph written in 1(a) such that it
links your
document to a Powerpoint presentationwith 3 slides.One slide should have your
name
and roll number',next slide shouldhave name of the playersand last slide shows the
word
"Thank you" with suitableanimation.

(c) Insert an appropriate clip-art in your document.

(d) Show the web page preview of the document createdby you in
e1 (a), (b), (c).
(e) Set all marginsof documentto 2.A,'.
20

C S - 6 11P / S 4
P.T.O.
2. (a) Create a short-cut of an application and put it on the desktop'

(b) Show name of PC on which you are working.

(c) Show how to print 4 pages of your document on a single page'

(d) Change the screen saver of your PC and set its wait time to 1 minute.
1l

(e) Write the expression ,in2o ao. 20


. J[
0

3. (a) Write a macro to print current page.

(b) Createa table with name of'player as one column and the sports s/he plays as second
column. Now add few more rows to the table and make few more entries. Also introduce
a new column named serial number to the table'

(c) Change the mouse double click speed.

(d) Find Internet settings., 20

4. Createa data file containing name, addressand contact number of your friends. Create a
greeting of New Year. Use Mailmerge feature to create the greeting letter for each of your
friends using the two files above. 20

C S - 6 11P / S 4 3,000
BACHELOR rN COMPUTERAPPLTCATTONS
(BCA)
Term-End Practical Examination
Decembet, 2006

CS-62:'C' PROGRAMMING
AND DATA STRUCTURE

Timeallowed:2hours Maximum Marks: 7a0


(Weishtage150/0)

Note : There sre two questions in this paper totalling 70 marks. Rest 30 marks are t'or
uiua-uoce.Answer both the auestions.

l. 'C' 'language
Write a program in to generate fibonacci series. 30

2. 'C'
Write a program in language to implement a queue. 40

C 5 - 6 2 P / S1 5,000
ls'*rl
BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
December, 2006

CS-62.'C'PROGRAMMINGAND DATA STRUCTURE

Timeallowed:2hours Maximum Marks : 100


(Weishtage750/o)

Note : There are two questions in this poper totalling 70 marks. Rest 30 marks are for
uiua-uoce.Answer both the guesfions.

'C' 30
1. Write a program in language for the addition to two matrices.

'C' languagethat
2. Write a program in acceptsa file as input and prints its contents in reverse
order. That is, the last line in the file becomesthe first line and vice-versa. 40

cs-62Pts2 4,000
BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
December, ?OOG

CS-62 i'C' PROGRAMMINGAND DATA STRUCTURE

Timeallowed:2hours MaximumMarks : 100


(Weightage750/o)

Note : There are two questionsin this paper totalling 70 msrks. Rest 30 marks are for
vius-uoce.Answer both the questions.

'C' languageto evaluateexpressions '+' '-' operators. 30


1. Write a programin which consistof and

'C'
2. Write a program in languageto reversethe elementsof a singly linked list. That is, the last
node of the singlylinked list becomesfirst node etc' 40

CS.62PlS3 1 3,000
BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
Decemb et, 2006

AND DATA STRUCTURE


CS=62i'C' PROGRAMMING

Timeallowed:2hours Maximum Morks: 700


(Weishtage750/o)

Note: There are two questionsin this paper totalling 70 marks' Rest 30 mqrks are for
Answer both the questions.
uiua-voce.

'C' languagethat acceptstwo filesas input and appendsthe contentsof


l. Write a programin
secondfile to the first file. 35

'C' languagethat acceptsa Binary Tree as,input and counts the numtier
2. Write a program in
of leavesin it. 35

3,000
CS-62PIS4
BACHELOR rN COMPUTER APPLTCATTONS(BCA)
Term-End Practical Examination
December, 2006

CS-63 : INTRODUCTIONTO SYSTEM SOFTWARE

Timeallowed:2hours Maximum Marks : 100


(Weishtage 15%)

Note : There are 2 questionsin this paper. Answer them all. They corry 70 msrks. The rest
30 marks sre for the uiua-uoce.

l. Write a shell script to append the contents of any 3 text files whose file names are given as
command arguments. 30

2. List and execute the following commands : 4x70:40

(a) To selectthe lines that have only one hexadecimalnumber. The line should not have any
other character.

(b) To print the absolutepathname of the file.

(c) To set read, write and executepermissionsfor the user and remove the write permissions
for the group and others for any file.

(d) To kill any processusing PID.

C S - 6 3 P I S1 5,000
BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
Decembet, ?OOG

CS-63 : INTRODUCTIONTO SYSTEM SOFTWARE

Timeallowed:2 hours Ma:ximumMarks : 700


(Weightage750/0)

The rest
Note : There are 3 quesfions in this paqer. Answer them all. They carry 70 msrks.
30 marks ere fo, the uiua-uoce.

given text file' 30


1. Write a shell program to translateall the upper caselettersto lower caseof any

same
2. Write a shellscript that acceptstwo directorynamesand deletes the files which have the
filenamesand extensionnames.
20

3. List and executethe following commands:


10
(a) List the lines that differ betweenany two given files.

10
(b) Changethe owner for a given file.

4,000
cs-63P/S2
BACHELOR IN COMPUTERAPPLICATIONS(BCA)
Term-End Practical Examination
December, 2006

TO SYSTEMSOFTWARE
CS-63: INTRODUCTION

Timeqllowed:2hours Maximum Marks ; 100


(Weightage15%)

Note : There are 3 questionsin this paper. Answer them all. They carry 7a marhs. The rest
30 marks'are t'or the uiua-voce.

1. Write a shell program to encrypt a given text file using a logic of your choice. 25

2. Write a shell script to echo the length of the string given as an argument. 25

3. List and executethe following commands : 4x5=20

(a) To display the total disk spaceused by files and directories.

(b) To display the current directory.

(c) To remove an existing directory.

(d) To summarizethe free space on the disk

CS-63P/S3 1 3,000
BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
December, ?OOG

TO SYSTEMSOFTWARE
CS-63: INTRODUCTION

Timeallowed:2hours Maximum Morks : 700


(Weishtage150/o)

Note; There are 3 guestions in this paper. Answer them all. They carry 70 marks. The rest
30 marks are for the viua'uoce

1. Write a shell progmm to count the following in a text file : 20

(a) Number of blank spaces

(b) Number of lines

(c) Number of symbols

2. Write a shell script to implement the DISKCOPY command of DOS. 20

3. List and executethe following commands : 3xl0=30

(a) To display all the users logged on to the system.

(b) To select the lines in a file that have one or more blank spaces'

(c) To display the number of times the alphabet "t" appeared in a text file.

cs-63P/S4 1 2,000
BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
Decembet, 2006

CS-65: WINDOWSPROGRAMMTNG

Timeallowed:2hours
Maximum Marks : 75

Note : There are 2 questionsin fhis paper. Answer both the questions. They carry
S0 marks.
The rest 25 marks are for the uiuq-uoce.

t' Simulatea simple polling application and draw the resultsbasingupon the votes gained by the
individualcandidates.Assumptionscan be made wherever necessary. 2s

2' Write a VB program to count the number of charactersin a given string. The string is to be
ended by placing a " /" by the user. 25

C S - 6 5 P / S1
5,000
BACHELOR rN COMPUTER APPLTCATTONS(BCA)
Term-End Practical Examination
Decembet, 2006

CS-65 : WINDOWS PROGRAMMING

Time allowed: 2 hours Maximum Marks : 75

Note : There are 2 questions in fhis paper. Answer both the questions.They carry 50 marks.
The rest 25 marks are for the viua-uoce.

l. Design a simple application to generate electricity-bill.The fotm should accept the previous
reading, present reading, either domestic householdor commercial purpose etc. and should
display the amount to be paid. Interface should also display the time, date, printed by,
connectionnumber, address,dues if any etc. along with the amount. Assumptionscan be made
wherever necessary. 40

2. Designa splash-screen
for the above application. 10

cs-65P/S2 5,000
BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
Decembet, ?OOG

CS-65: WINDOWSPROGRAMMING

Timeallowed:2hours Maximum Marks : 75

Note : There are 2 questionsin this paper. Answer both the questions. They carry 50 marks.
The rest 25 marks are t'or the uiva-uoce.

1. Designa simple application to displaythe hall-ticket.The basisfor this is user entersthe details
in the form of an examinationapplicationform. Assumptionscan be made wherevernecessary. 30

2. Write a program in VB to count the number of words in a given sentence,if the sentenceis
endedwith a "." (period). 20

C5.65P/S3 3,000
BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
December, zOOb

CS-65 : WINDOWS PROGRAMMING

Timeallowedt2hours Maximum Marks : 75

Note : There are 2 questionsin fhis psper. Answer both the questions.They corry 50 marks.
The rest 25 marks are for the uiua-uoce.

1. Design a simple application to generate a bill for the car-servicecentre, wherein the user at
the centre will input the details of the car, accessoriespurchased,spare-partsused, insurance
coverage, mechanic charges etc. The bill should also contain the details like time, date,
mechanic (person) who handled the service, delivery time, etc. Assumptions can be made
wherever necessary. 40

2. Design a splash screen for the above application. 10

CS-65 P/S4 2,000


BACHELOR IN COMPUTER APPLICATIONS (BCA)
Term-End Practical Examination
Decembet, ?OOG

CS-67: RDBIVIS
LAB
Timeallowed:2hours
, Maximum Marks : 75

Note : There is one compulsory question in this paper carrying S0 marks. 25 marks are
for uiua-uoce.

l' A regional centre wants to do monitoring of study centres.


For this purpose a databasehas to
designedfor the following :
nbe

tres, names of study centre coordinators.

(ii) Programwiseenrorment statusat the various centres.

(iii) Programwiseperformance of students


at the various centres.

(iv) Information about facultiesqualification.

(v) Fee submissionstatus(studycentrewise).

tvi) Assignment.submissionstatus.

Do the following tasks. (Make and justify suitable


assumptions,if any) :

(a) Design and implement the-normalizeddatabasetables


for the requirementslisted above.
You must implement the keys, validation checks and
constraints including referential
constraints'Enter 5 sets of meaningfuldata in each of the tabres.
24
(b) Design and implement suitablequerieforms
/reports for (i) to (vi) above. 26

cs-67P/S
1
5,000
BACHELOR IN COMPUTER APPLICATIONS
(BCA)
Term-End Practical Examination
Decembet, 2006

CS-67: RDBMS LAB

Timeallowed:2hours
Maximum Marks : 75

Nofe : There is one compulsory question in this paper carrying s0 marks. 2s


mqrks are
fo, uiua-uoce.

L. A bank wants to maintain information


about their credit card holders. It creates the following
information for the database :

(i) Details of credit card holders (name, dg€,


designation, address).

(ii) Monthwise details of money withdrawal


by card holders.

(iii) Monthwise details of purchasing of items.

(iv) Date of renewal of card.

(v) Preparation of monthly statements.

Do the following (Make and state suitable


assumptions,if any) :

(a) Design and implement the normalizeddatabase


tables for the requirementslisted above.
You must implement the key, validation
checks and constraints including referential
constraints.Enter 5 sets of meaningfuldata in .
each of the iables. 25
(b) Design and irnplement suitablequeriesforms/reports
for (i) to (v) above. 25

cs- 67PtS2
4,000
BACHELOR rN COMPUTERAPPLTCATTONS
(BCA)
Term-End Practical Examination
Decembet, ?OOG

CS-67 : RDBMS LAB

Timesllowed:2hours Maximum Mqrks ; 75

Note: There is one compulsory question in this paper carrying 50 marks. 25 marks are
for uiua-uoce.

l. A regional passport office in Delhi wants to keep records of application forms received,
dispatched,pending, rejected and generate different types of reports accordingly. Applicants
may be in different categories: children, adults,students,professionals,governmentemployees
and diplomats. Diplomats should be issuedpassportson high priority.

Do the following activitiesfor the above.

(i) Design and implement the suitable normalized databasetables considering the above
requirements.You are also requiredto perform integrity checksand show the relationship
among tables and key attributes(foreign key). 25

(ii) Design and implement suitablequerieslorms for the above problem statement. 25

CS.67PlS3., 3,000
BACHELOR rN COMPUTERAPPLTCATIONS(BCA)
Term-End Practical Examination
Decembet, ?OOG

CS-67 : RDBMS LAB

Timeallowed:2hours Maximum Marks : 75

Note: There is one compulsory question in this paper carrying 50 marks. 25 marks are
Jor uiua-voce.

l. The university wants to keep records of studentswho have taken admission in the various
programmes.through online mode and generatedifferent types of reports. The universityalso
wants to keep records of availabilityof bandwidth, computers and the required s/w to access
ihe online resourcesby students. There are different categories of programs : Certificate,
Diploma, Graduate and Post-graduateprograms. Students joining the program could be
working, non-working, foreigners etc.

Do ihe following steps for the above problem statement.

(a) Designand implement relationslables consideringthe requirementsas given above.Your


design should have normalized tables, integrity checks, relationship among tables and
key/foreign key attributes. 25
(b) Design and implement suitablequeries,ftorms/reportsfor the problems mentioned above. 25

cs- 67Pts4 2,000,


I sE-f
BACHELOR IN COMPUTER APPTICATIONS (BCA)
Term-End Practical Examination
Decembet, 2OOG

cs -72: G++AND oBJEcTOR|ENTED


PROGRAMMING

Timeallowed:2hours
Maximum Marks: 700
(Weishtage150/o)

General Instructions :

(i) There are two compulsory questions in this paper of 40 marks each, Rest 20 marks
are for uiua-uoce.
(ii) You must write the appropriate main( ) t'unction and test your programs.
(iii) write / print the programs, input and resulitson your answer-script.
(iu) Make and state suitable assumptions,if any.

l. Write a program in C++ which has


40
(a) The overloaded'+' add, which adds two affays erementwise.
(b) The overloaded'-' subtract,which subtractstwo arrays element wise, the right operand
from the left.
(c) The overloaded '=:' equal, which returns TRUE if each element of both arrays (each
operand)is same, otherwise returns FAI-SE.

2. Degignand implement the following classhierarchy using C++ :


40
Book

History Literafure Science

Ancient Medieval Modern Indian Foreign Biology Chemistry Physics


You must include the following in your implementation :
. Member variablesfor the classes.
. At least one constructor for each classand destructor,if needed.
o I polymorphic member function that prints detailsof the Books.

CS-72P/S1 1 5,000
BACHELOR IN COMPUTERAPPLICATIONS (BCA)
Term-End Practical Examination
Decembet, 2006
CS-72: G++ AND OBJECTORIENTED
PROGRAMMING
Timeallowed:2hours
Maximum Marks: 700
(Weishtage1S%)
General Instructions :
(i) There are two compulsory questionsin this paper
ol 40 marks each. Rest20 marks
are for uiua-uoce.
(ii) You must write the qppropriate main(
) function and test your progrqms,
(iii) Write / print the progrqffis, input snd
results on your snswer-script.
(iu) Make and state suitqble ossum ptions, if qny.

l' Design and implement a classcalled "stopwatch"


that emulatesa stopwatch that keeps track
of elapsedtime' use a constructorto initially
set the elapsedtime to zero. provide two member
functions calledstart( ) and stop( that tum
) on and off the timer, respectively.Also, include a
memberfunctionthat displaysthe elapsedtime,
40
2. Design and implement the following class
hierarchy using C++ : 40
LivingThings

r l - l I
Animal Bird plant

Mammal Reptile

Egg laying
You must include the following in your
implementation :
. Member variables for the classes
o At least one constructor of each class and
destructor, if needed.
o A polymorphic member function that prints
information about the Living Things.

C S - 72 PI 3 2
4,000
BACHELOR rN COMPUTER APPLTCATTONS(BCA)
Term-End Practical Examination
December, 2006
CS-72: C++ AND OBJECTORIENTEDPROGRAMMING

Timesllowedt2hours Maximum Marks : 100


(Weishtage 15%)

Genersl Instructions :

(i) There qre two compulsory questions in fhis paper of 40 marks eqch. Rest 20 msrks
. are for uiua-uoce.
(ii) You must write the'appropriate main( ) function rrnd test your p,rograms,
(iii) Write / print the programs, input qnd results on your answer-script.
(iu) Mqke and stqte suitable assumptions, if any.

l. Designand implementa classCircularlist. Write a C++ program that splits a circularlinked


list into two separate circular linked lists. Each node in circular linked list should have two
fields: 40

o Data field having integer value.

o Pointer field having pointer to next node.

2. A universityhas two types of students: hostelersand day-scholars.The hostelersstay in a hostel


but pay hostel rent along with hhe fee, the day-scholarsonly pay the fee. The student may
registerfor one programme. The fee of one programme is different from others. 40

. Design and implement suitableclasshierarchiesfor student class.

o Write necessaryconstructs and write the polymorphic function for printing the total
payment due for a student.

. Write appropriate functions for the above design.

Note : Make suitable assumptions,if necessary.

C S - 72 PI S 3 2,000
t-sEr4l

BACHELOR IN COMPUTER APPLICATIONS (BCA)


Term-End Practical Examination
December, 2006
CS-72: C++ AND OBJECTORIENTEDPROGRAMMING

Timeallowed:2hours Maximum Marks ; 100


(Weishtage 15%)

Genersl Instructions :

(i) There are two compulsory questions in this paper of 40 marks each, Rest 20 marks
are for uiua-uoce.
(i't You must write the appropriate main( ) function and test your progrsms.
(iil write / print the programs,input ond resultson your answer-script.
(iu) Make and state suitsble assumptions,if any'

1. Designand implementa classmatrix of sizem x n (m > n). Write a program in C++ to find
whether the input matrix is a symmetric matrix or not' 40

Note : symmetric matrix is a matrix, urhich is equal to its transpose.

(lf matrix A is an m x n order then after transposingit, we will get an n x m matrix')

2. A university has two types of students : Full-timer and part-timer. A full-timer student can
registerfor maximum of four coursesper semester,while a part-timer is allowed only for one
. courseper semester. 40

. Designand implernentthe suitableclasshierarchyfor the student,with suitableconstructs


and input/output functions.
o Write a polymorphic function registration that allows the student to register a course'
given the above constraints.

Note : Make suitqble assumptions,if necessory.

c s - 72 Pl s 4 2,000

Vous aimerez peut-être aussi