MCS (S) Dec 2005
MCS (S) Dec 2005
MCS (S) Dec 2005
o
MCA (Revised)
Term-End Examinatlon
December, 2005
MCS-011@: PROBLEM
SOLVINGAND
PROGRAMMING
MCS-or1@ PT.O,
(c) Write a program in 'C' to print fhe {olloqing
format: 10
I
I G
I G N
I G N O
ICNOU
IGNO
I G N
I G
I
M C S0 t r @
(b) Wril€ a Fogram in 'C' to perlorm multiplication of
two matrices A and B. 10
Struct I
Char itemcodel6li
Clnr itemname [20);
int qtyi
I iierr;
Write a program to read these recordsand arrange
them in asc€ndingorder with respectto qiy. 10
(b) Write ihe functionsto periorm the following : 10
(i) To find mn where m, n ) 0
(ii) To swap hro '"ariables
MCS-o11@ P.T.O.
(c) Wriie a symbollc constant or a macro definition for
each of the following :
(i) Define a macro called AREA, which will
calculate area of circle in terms of radius. Use
the constantPI in calculation.
(ii) Rewrite the macro describ€d in preceding
problem so thai radius is expressed as an
argument.
M C S - 0 1@1 2,000
MCS-0l2
@
MCA (Revised)
Term-End Examination
December.2OO5
MCS-o12O: COMPUTER
ORGANISATIoN
& ASSEMBLYLANGUAGEPROGRAMMING
M C $0 1 2 @ P.T.O.
tcl An instruction is stored at location 500 with its
address field at location 501. The address field has
the t,?lue 300. A processor regtster Rl contains the
number 100. E!"luate th€ effective address if the
addressing mode of the instruction is
(i) Direct
{ii) Relative
(iii) Registerindirect
(iv) Index with Rt as lndex regisier
MCS-o12o
2. la) Design a decade counter using D,flipflop. Show ail
the steps involved- 10
(b) What is an intermpt ? Explain each oI th€ condrtions
under which an interrupl occurs.
(t 01101101
(it 11111101
(d) Write an assemblyprogram to conv€rt a 4digit BCD
number to its binary equivalent.
Mcs-o12@ P.T.O
(b) What is cachememory ?
A two-way setassociative cache memory us€s blocks
of four words. The cache can accommodate a total
of 2048 words Irom the main memory. The main
memory size is 128 K x 32. Whai are the si?esof
the following :
(i TAG
(ii) INDEX
(ii4 Data
(iv) Cache Memory
(c) Write a program in 8086 assemblylanguageto find
whether two strings are of equal length. You can
assume ihat the strings are stored in the main
memory and a string is terminatedby a $ character.
(d) A computer has 32 registers, ALU has 64
operations. A1l ar€ connected to a common bus
system. Formulaie a conirol word tor the computer,
specily the bits in each field of the control words.
MCS-012o 2,000
Mcs,o13
@
MCA (Revised)
Term-End Examinatlon
December,20O5
MCS-013G) ; DISGRETE
MATHEMATICS
Time, 2 hours MaximumMarks. 50
l\4cs-013@ P.T.O.
(d) How manv one-one functlons ar€ there from an
n-elemenfset to an m'elementset (n < m) ? Justify
MCS.013@
5. {a) Let | , 82 + B tp a functjon which is defined by
(0, 0) = 1, (1, 0) = 0,
f(0, 1) = 0 andf{1, 1) = 1.
Find the Boolean expression specjfuing the function
f.
MCS-o13@ 2.000
MCS0r4 @
MCA (Revised)
Term-End Examination
Decembet 2OQ5
MCS.014@: SYSTEMSANALYSTS
AND
DESIGN
Time : 3 hours Maximu,h Marks : 100
(Weightose 75a/o)
MCS-014@ P.T.O
(c) Dilferentiate behreen the following pairs :
(i) Batch process'ng and Online transaction
processing
Scope
Data dictionary
Inpuvoutput design
. Data coupling
. Stamp coupling
. Control coupling
MCS-or4@
4. (a) What is an obj€ct oriented CASE tool ? List five
iypes of CASE tools, and four features of CASE
baseddevelopment. 10
(b) Explain Indexed Sequential and Hashed File
organizations- 10
MCS,O14o 2,OO0
MCS-o15
0
MCA (Revised)
Term-End Examination
December, 2O05
MCS-015O: COMMUNICATION
SKILLS
Time : 2 hours MoximumMarks: 50
MCS-o15@ P . TO .
relationshipwith its major clients ('k€9 accounts') and
potential customers ('pro5pects'). It i5 often said that
'people
do businessMth people' , a firm doesn'tjust deal
imper6onally with a;other {irm. but a person in the
buying department receives personal visits from people
repr€sentingihe firm's suppherson a r€gdar basis- ot
in the case of departmentstores or chain stores,a team
of buyersmay travel around visitingsuppliers.
'on
Keeping salespeople the road is much more
expensive than €mploying them to work in the office
because much of their time is spent unproductively
travelling. Telephone selling may use this time more
productively (though in some countri€s this is illegal), but
a face-to{ace meeting and discussion is much mor€
e{f€ciive. Companies involv€d in the export trad€ olten
have a separate export Sales force. whose travel and
accommodation expenses may be very high. So servicing
overceas customers may often be don€ by phone, fax or
letter with not so many personal vigits. Many fitms
appoint an overseasagent or distdbutor whose own sales
Iorce takes over responsibility for selling their producis in
anoth€r country.
MCS-0r5@
commrmicating with each oiher that olfice,based stafl
have For this reason.lirm\ hold ,egularsalesconferences
where their €ntire sales lorce can meet, receive
information and ask questions about- new products and
tec€ive training,
MCS-Dr5o P T.O
2. Choose the lvord or phla,re that best completes each
senience from the oplions glv€n for each :
. (i) lndividuals should hav€ - to infomation
about themselves in record-k€eping svstems.
{a) approach
{b) access
(cJ Foximity
(d) reach
(a) anonymous
(b) united
{c) finat
(d) unanlmous
MCS-015@
(v) Her secretary always _ the phone first.
(a) callsup
(b) laoks up
(c) picks up
(d) gets up
Customer :
Customer:
Customer:
customer I
MCS-015@ P.TO.
4. Fill in the blank in the following sentenceswith a suitable
preposiiion : 10
MCS
015o
Bead the advertisem€nt given below and wriie a letter
applying {or the job. Attach your briel biodata.
Sal€s Executives
. for a
Leading MultinaiionalCompany
(basedin Delhi)
I ABC Co.
P.O. Box : 1234
MCS-ot5@ 2,000
MCS-021
€)
MCA (Revised)
Term-End Examination
December. 20O5
MCS.O21@ P.T.O.
2. (a) Give simplifiedbigo notation loj th€ fo owing
functions:
(t) 10n3+ 6n2
(ii) 5n log n + 30n
(b) Writean algorjihmfor ihe impl€mentation
of a stack
usinglinked list.
Mcs-021@ 2.000
MCS-o22
o
MCA (Revised)
Term-End Examination
December,2005
MCS-022@ : OPERATINGSYSTEM
CONCEPTSAND NETWORKING
MANAGEMENT
MCS-022
o P.T,O.
iv) How will you secure a gu€st account in Windows
2000?
{vi) Can more than one p€rson use ihe same user
accounton a Linux system? Discuss.
{a) Spoolins
(b) Buffering
MCS022@
5. {t AnsLver the following questions with respect to
Windows 2000 :
(a) What is the pr.fpose of distrtbuted l e system ?
What are its features? How are the rwo rypes
ol distributed files-roots implemented on
Windows 2000 ser,,er ? 5
(b) How does a domain differ from a workgroup ? 3
(c) When shouldsecuritygroups be used insteadol
distributjongroups?
MCS-022@ 2,A00
MCA (Revised)
Term-End Examination
December, 2OO5
MCS-O23
O : DATABASEMANAGEMENT
SYSTEMS
MCS-o2s@ P.T.O.
(b) Consider the following relational scheme :
. subjects{subject_id,subject_name,taught_by)
.
. marks (s_id, subjectjd, marks)
MCS-023@
(c) Assume the following three concurrent transacijons :
T1 : Reads A, B and C and wtiies modilied ',rlues of
B, C and A.
T2 : Read A, C and D and writes modiliedv"lue. of
A and C.
T3 rReads A, B, C and D only and produces a
. resultE.
Write the pseudo code lor the transactionsabove.
Show a non-serialisable schedule for the
tran.actions. Consi.r'.rcta precedence grdph Jor th€
non-serialisableschedulecreatedby you.
(d) Write at least six admntages oJ the database
approach.
2. ConsiderLhelollowing retation:
Examination(student_id,name, subjectcode,
praper-code,maximum marks, pass_fail,
examination_date,exam-cenke code,
marks_obtained-by_stud€nt) 20
(i) Etplain at least three anomalies in the relation
I Mcs,o23@ P.T.O,
3. (a) Explain the sequenhnl file organisation with the help
ol a diagram. Write ai least one advantage and one
disadvantage of this organisotion.
(d) ExplaiD the two phase locljng sch€rne with ibe hejp
ol an example. Why is sirict tw<J phase locking
needed?
MCS-023@
5. e,(plain the lollowing in the context of database systems,
wiih the help of an example each : 20
(0 Data independence
(ii) Data dictionarg
(iii) Issuesrelating to physical databasedesign
F
{iv) Three-Tier client-server architecture
I
{v) Deadlock
MCS-o23@ 2,000
MCA (Revised)
Term-End Examination
December,2OO5
MCS-023@: DATABASEMANAGEMENT
SYSTEMS
Time : 3 hours Maximun Morks: 100
(Weightose75%)
Note: Questionnumber1 is cotnpursory.Attempt ony
three questionsJrom the rest.
MCS-023@ P.T.O.
(b) Consider the following rclational scheme :
(iii] Find the subject ihal has been passed by all the
shldents who have appeared for that subj€ct.
MCS023o
(c) Assumeihe following ihree concurent transaciions: 14
T1 : Reads A, B and C and wites modified values of
B, C and A.
T2 : Read A, C and D and writes modified !"lues of
A and C.
T3 : Reads A, B, C and D only and produces a
result E.
Write the pseudo code {or the transactions above.
Show a non-serialisable schedule for the
transactions.Construct a precedencegraph for the
non-serialisable schedule created by you.
(d) Wnte at least six advantages ot the database
approach.
l
3 z . Consider the following relation :
Examination (student-id, name, subject-code,
paper-code, maximum_marks,pass_fail,
examination_date,exam-centre_cod€,
malks_obtained-b9_studeni) 20
{i) Explain at least ihree anomalies in the r€lation
above.
(ii) Identily ihe functional dependenci,esin the relation.
Identi&rthe primary key o{ the relation.
(iii) Normalisethe r€lation to 2NF and 3NF
(iv) Write ihe SQL commandsfor creating the tables.
Specily the primary key(s)also.
MCS-023o P.T.O.
3' (a) Rplain the sequential file organisation with the h€lp
of a diagram. Wfite at least one advantage and one
disadvantage of this organisatlon.
{ii) Division :
{d) Explain the two phase locking schem€ with the h€lp
of an example. Why is stdci hro phase jocking
needed?
MCS-023@
Explain the following in the cont€xt of database sysiems,
with the help ol an example each :
MCS-023@ 2,000
MCS-024o
MCA (Revised)
Term-End Examination
December,2OO5
MCS-024@ : OBJECTORIENTED
TECHNOLOGIESAND JAVA
PROGRAMMING
Time : 3 hours MaximumMarks, 100
MCS-024o P.TO
{e, W1at ls multithreading ? Explain this with an
example of how interthread communication takes
plac€ in Java.
MCS-024@
(b) Java progtam, and
Find the enors in tbe follo'\J,,ing
correct them 6
public classMg_String
I
public vold ftain(stdng)
l
)
MCS-024o P.T.O.
5. (a) What is a container ? Explain how componenisare
addedto a contaiher.What is a.defaultlayout of an
applet ? How can you changeit ?
(b) What is a bihxiseoperator ? II i is ini i = 32, what
will ihe !"?lue oJ i be after
(i) i=<<<3i
(it i=i+i<<<2?
MCS,O24@ 2,000