MCA Semester-I Assignments 2015-16
MCA Semester-I Assignments 2015-16
APPLICATIONS
(MCA)
MCA/ASSIGN/SEMESTER-I
ASSIGNMENTS
MCSL-016, MCSL-017
th th
MCS-012 MCA(I)/012/Assignment/15-16 15 October, 2015 15 April, 2016 4
th
MCS-013 MCA(I)/013/Assignment/15-16 15 October, 2015 15th April, 2016 8
th th
MCS-014 MCA(I)/014/Assignment/15-16 15 October, 2015 15 April, 2016 11
th
MCS-015 MCA(I)/015/Assignment/15-16 15 October, 2015 15th April, 2016 12
st th
MCSL-016 MCA(I)/L-016/Assignment/15-16 31 October, 2015 30 April, 2016 16
st th
MCSL-017 MCA(I)/L-017/Assignment/15-16 31 October, 2015 30 April, 2016 18
Important Notes
2
Course Code : MCS-011
Course Title : Problem Solving and Programming
Assignment Number : MCA(I)/011/Assignment/15-16
Maximum Marks : 100
Weightage : 25%
th
Last Dates for Submission : 15 October, 2015 (For July 2015 Session)
th
15 April, 2016 (For January 2016 Session)
There are six questions in this assignment, which carries 80 marks. Rest 20
marks are for viva-voce. Answer all the questions. You may use illustrations and
diagrams to enhance the explanations. Please go through the guidelines
regarding assignments given in the Programme Guide for the format of
presentation. Insert comments in the coding for better understanding.
3
Course Code : MCS-012
Course Title : Computer Organisation and Assembly
Language Programming
Assignment Number : MCA(I)/012/Assignment/15-16
Maximum Marks : 100
Weightage : 25%
th
Last Dates for Submission : 15 October, 2015 (For July 2015 Session)
th
15 April, 2016 (For January 2016 Session)
There are four questions in this assignment, which carries 80 marks. Rest 20
marks are for viva voce. You may use illustrations and diagrams to enhance the
explanations. Please go through the guidelines regarding assignments given in
the Programme Guide for the format of presentation. Answer to each part of the
question should be confined to about 300 words.
1. (Covers Block 1)
(a) Perform the following arithmetic operations using binary signed 2’s (3 Marks)
complement notation for integers. You may assume that the
maximum size of integers is of 8 bits including the sign bit. (Please
note that the numbers given here are in decimal notation)
i) Add – 128 and 120
ii) Subtract 124 from –99
iii) Add 64 and 61
Please indicate the overflow if it is occurs. Also write, how you
have identified the overflow.
(c) Convert the following string into equivalent “UTF 16” code – (2 Marks)
"You may assume that Hindi swar starts with अ"
Are these UTF 16 codes similar as that used in ASCII?
(d) Use a Karnaugh's map to design a circuit that takes four input bits (2 Marks)
and produces one output bit. The output bit is 0 if the first and
fourth input are same else it is 1.
(f) Design a two bit counter (a sequential circuit) that counts from 00 (5 Marks)
to 10 only. Thus, the counter states are 00, 01, 10, 00, 01, .... You
should show the state table, state diagram, the k-map for circuit
design and logic diagram of the resultant design using D flip-flop or
J-K flip flop.
4
(g) Explain the double precision floating point IEEE 754 (4 Marks)
representation. Represent the number (124.0625)10 using IEEE 754
single precision and double precision representations.
2. (Covers Block 2)
(a) A RAM has a capacity of 8192K having the word size of 16 bits (2 Marks)
and supports byte addresses only.
(i) How many data input and output lines does this RAM need?
Explain your answer.
(ii) How many address lines will be needed for this RAM? Explain.
(b) A computer has 1MB RAM and has word size of 16 bits. It has (4 Marks)
cache memory having 16 blocks with a block size of 32 bits. Explain
how a main memory address will be mapped to a cache address, if
(i) Direct cache mapping is used
(ii) Associative cache mapping is used
(iii) Two way set associative mapping scheme is used.
(c) Compare and contrast the features of Interrupt driven I/O with that of (4 Marks)
DMA. Which I/O technique will be preferable in the following
situations. Give justification in support of your answer.
(i) Data is to be transferred from a very high speed device
having high volume data.
(ii) Small volume of data transferred asynchronously.
(d) Explain the term FAT in the context of disk operating system. (2 Marks)
What will be the size of a disk and its FAT, if a disk has 64 tracks
with each track having 16 sectors and size of each sector is 512
byte? You may take the cluster size as 4 sectors.
(f) Define each of the following terms. Also explain their use/advantage, (6 Marks)
if needed.
(Word limit for answer of each part is 50 words ONLY)
(i) Access time on magnetic disks
(ii) Backup devices
(iii) Scanner resolution
(iv) LCD and its types
(v) AGP in the context of video card interfaces
(vi) Colour Depth
5
3. (Covers Block 3)
(b) Assume that the machine as stated in part (a) has named 5 of its (5 Marks) general
purpose registers based on their possible role in instruction
execution as Program Counter (PC), Accumulator (AC), Memory
Address Register (MAR), Instruction Register (IR) , Data Register
(DR) and Flag registers (FR). To execute an instruction of the
machine that has a direct memory operand and a register operand,
the memory operand is first brought into the DR register and the
register operand is transferred to AC register. The result of the
operation is stored in the AC register. One of the instruction of the
machine is given below:
ADD R1, X // this instruction adds the operand stored in
Register R1 and memory location X. The result
is stored in the AC register.
Write and explain the sequence of micro-operations that are
required to fetch and execute this instruction. Make and state
suitable assumptions, if any.
(c) Assume that you have a machine as shown in section 3.2.2 of Block (2 Marks)
3 having the micro-operations as given in Figure 10 on page 62 of
Block 3. Consider that R1 and R2 both are 8 bit registers and
contains 1010 0011 and 11001011 respectively. What will be the
values of select inputs, carry-in input and result of operation
(including carry out bit) if the following micro-operations are
performed? (For each micro-operation you may assume the initial
value of R1 and R2 as given above)
(i) Subtract R2 from R1
(ii) AND of R1 and R2
(iii) Shift right R1 twice
(iv) Add R1 and R2 with carry
6
(d) How does a Micro-programmed control Unit will control the (3 Marks)
execution of an instruction. Explain with the help of an addition
instruction.
(e) Explain with the help of a diagram how does RISC Instruction (3 Marks)
pipelining work. Also explain how RISC instruction pipeline can
be optimised.
(f) Assume that a RISC machine has 128 registers out of which 16 (3 Marks)
registers are reserved for the Global variables and 16 for
Instruction related tasks. This machine has been designed to have
12 registers for storing four input parameters, four output
parameters and four local variables for a subroutine call. Explain
with the help of a diagram, how the overlapped register window
can be implemented in this machine for procedure calls. You must
explain how the parameters will be passed, if a subroutine calls
another subroutine.
4. (Covers Block 4)
(b) Write a program in 8086 assembly language that accepts a 2 digit (6 Marks)
input from the keyboard (as ASCII input) into packed BCD number.
The packed BCD number may be stored in memory.
(c) Write a simple near procedure in 8086 assembly language that (6 Marks)
receives an ASCII digit as parameter. It returns 1 if the ASCII digit is
'Z' else it returns 0. Make suitable assumptions, if any.
7
Course Code : MCS-013
Course Title : Discrete Mathematics
Assignment Number : MCA(I)/013/Assignment/15-16
Maximum Marks : 100
Weightage : 25%
th
Last Dates for Submission : 15 October, 2015 (For July 2015 Session)
th
15 April, 2016 (For January 2016 Session)
There are eight questions in this assignment, which carries 80 marks. Rest 20
marks are for viva-voce. Answer all the questions. You may use illustrations and
diagrams to enhance the explanations. Please go through the guidelines
regarding assignments given in the Programme Guide for the format of
presentation.
2. (a) Write down suitable mathematical statement that can be represented (4 Marks)
by the following symbolic properties.
(i) ( x) ( y) P
(ii) (x) ( y) ( z) P
(b) Show whether √15 is rational or irrational. (4 Marks)
3. (a) Make logic circuit for the following Boolean expressions: (6 Marks)
i) (x’ y’ z) + (xy’z)’
ii) ( x'y) (yz’) (y’z)
iii) (xyz) +(xy’z)
(b) What is a tautology? If P and Q are statements, show whether the (4 Marks)
statement
is a tautology or not.
8
4. (a) How many different 8 professionals committees can be formed each (4 Marks)
containing at least 2 Professors, at least 2 Technical Managers and 3
Database Experts from list of 10 Professors, 8 Technical Managers
and 10 Database Experts?
(b) What are Demorgan’s Law? Explain the use of Demorgen’s law with (4 Marks)
example.
(c) Explain addition theorem in probability. (2 Marks)
5. (a) How many words can be formed using letter of UNIVERSITY using (2 Marks)
each letter at most once?
i) If each letter must be used,
ii) If some or all the letters may be omitted.
6. (a) How many ways are there to distribute 20 district object into 10 (3 Marks)
distinct boxes with:
i) At least three empty box.
ii) No empty box.
(c) Set A,B and C are: A = {1, 2, 4, 8, 10 12,14}, B = { 1,2, 3 ,4, 5 } (4 Marks)
and C { 2, 5,7,9,11, 13}.
Find A B C , A B C, A B C and (B~C)
(c) What is a function? Explain following types of functions with example (5 Marks)
i) Surgective ii) Injective iii) Bijective
9
(c) Find Boolean expression for the output of the following logic (3 Marks)
circuit.
(d) Prove that the inverse of one-one onto mapping is unique. (3 Marks)
10
Course Code : MCS-014
Course Title : Systems Analysis and Design
Assignment Number : MCA(I)/014/Assignment/15-16
Maximum Marks : 100
Weightage : 25%
th
Last Dates for Submission : 15 October, 2015 (For July 2015 Session)
th
15 April, 2016 (For January 2016 Session)
This assignment has three questions of 80 marks. Rest 20 marks are for viva
voce. Answer all questions. You may use illustrations and diagrams to enhance
the explanations. Please go through the guidelines regarding assignments given
in the Programme Guide for the format of presentation.
1. Develop SRS for Online Admission System for a University. (30 Marks)
SRS should be as per IEEE standard SRS template. Make
necessary assumptions.
rd
2. Draw the DFDs upto 3 level for Online Admission System for a (30 Marks)
University.
3. Draw ERD for Online Admission System for a University. (20 Marks)
Make necessary assumptions.
11
Course Code : MCS-015
Course Title : Communication Skills
Assignment Number : MCA(I)/015/Assignment/15-16
Maximum Marks : 100
Weightage : 25%
th
Last Dates for Submission : 15 October, 2015 (For July 2015 Session)
th
15 April, 2016 (For January 2016 Session)
This assignment has ten questions. Answer all questions. Please go through the
guidelines regarding assignments given in the Programme Guide for the format
of presentation.
1. Read the passage below and answer the questions that follow:
Whatever the type of job interview a walk-in, a telephone interview or a regular in-
person job interview, preparation is the key. It is important that you keep yourself in a state
of high motivation and readiness, making optimum use of your time to equip yourself to
excel. Here are a few things you’d like to do for sure, by way of preparation.
You are certain to be asked specific questions about your potential employer, so make
sure you’ve done your homework on company information like company history, recent
performance, their last year's profits and latest product launches. Nothing is as
disappointing as when a candidate shows enthusiasm and then doesn’t even know the
most basic facts and figures about the company. So, where can you find all this
information? The most likely place is the Internet. A visit to the company website could
help you get all the vital statistics, including products and services as well as a feel of
the company culture. You must also check out the annual report and look for a press or
company news page. Put their name into a search engine to see if they’ve had any
recent interesting stories written about them. It is also advisable to tap industry sources,
trade journals, newspapers and other business publications to give you good
background knowledge of the industry as well as the company.
Talk to people who work in the company or in similar companies / areas to gather as
much information as you can about the nature of work, responsibilities, work
culture and work requirements.
For the interview, you need to know your CV inside out. Go through your CV carefully
and make notes on how you will elaborate or illustrate what you have stated. You need
to be ready with examples from your experience to be able to substantiate all the claims
you have made. Try to relate specific areas of your CV back to the job description. It
will make it clear to the interviewer why they should hire you. Also go through the
copy of your application carefully before the interview. The interview panel is likely to
ask specific questions about it.
Going for a job interview is no different from going for an exam. It is important that you
go well prepared and confident so that you can field any question that is put to you.
12
Before the Interview
Apart from finding out about the company and being thorough with your CV, it
would be helpful to follow these tips:
Make a rational assessment of yourself before you go for the interview. Know
your strengths and weaknesses.
Review your skills and abilities.
Have a mock interview with a friend based on the common interview
questions you’re likely to face.
If you are asked to bring certificates, references, etc, get them ready well in
advance to avoid having to chase around them on the morning of the big day.
If you have filled up a statement of purpose as part of the application, be ready
for some probing questions based on this.
Be sure you know the time, date and location of the interview.
Decide how you will get there and when you need to set off to arrive in good
time, anticipating any delays. Visit the place once beforehand if possible.
If you look good, you tend to feel good too. Avoid any last minute panic by
preparing what you’re going to wear the night before.
Don’t go into the interview with lots of baggage - psychological or physical.
Take the bare minimum with you so you can concentrate on the interview, and
nothing else.
Prepare at least 5 questions that you would like to ask the panel about the
company or your job. You don’t have to ask them all. See for yourself what is
most appropriate to ask during the interview.
(a) What should be your state of mind when getting ready for a job (2 Marks)
interview?
(b) Why do you need to do adequate homework about the company (2 Marks)
where you have been called for an interview?
(c) What sort of information can you get about the company from (2 Marks)
the internet?
(d) Going for an interview is just like going for an exam? Discuss. (2 Marks)
(e) Regarding the tips given in the passage which is the most useful (2 Marks)
for you and why.
2. Find words from the passage that mean the same as the following: (10 Marks)
13
(g) Give details
(h) Objective and reasonable
(i) Searching
(j) Being aware of
(1) The ship had sank (2) in the Pacific (3) before the distress signal
(4) was sent.
(1) Rajiv drove (2) as fastly as he could (3) but failed to (4) overtake
the train.
(1) I don’t wish (2) to buy a new camera (3) as my old one (4)
works perfect.
(1) The meanings of certain (2) difficult terms and phrases (3)
are given (4) in the bottom of the page.
4. Rewrite these sentences beginning with the words given below. (5 Marks)
7. Write an essay in 250 to 300 words on any one of the following: (20 Marks)
The impact of internet on social communication
Importance of body language
An effective presentation
9. Write a conversation between you and your grandfather. Discuss how (10 Marks)
people have, over the years, changed the way they spend their leisure
time.
Grandfather: We would usually spend our leisure time reading a book
or chatting with friends.
You:
(Take about ten turns).
10. Write a letter to a friend about your new job in an IT Company. Talk (10 Marks)
about the type of work that you do and the satisfaction that you
derive from it. Also talk about your colleagues. Write in about
150 words.
15
Course Code : MCSL-016
Course Title : Internet Concepts and Web Design
(Lab Course)
Assignment Number : MCA(I)/L-016/Assignment/15-16
Maximum Marks : 50
Weightage : 25%
st
Last Dates for Submission : 31 October, 2015 (For July 2015 Session)
th
30 April, 2016 (For January 2016 Session)
There are two questions in this assignment, which carries 40 marks. Rest 10
marks are for viva voce. You may use illustrations and diagrams to enhance the
explanations. Please go through the guidelines regarding assignments given in
the Programme Guide for the format of presentation. Submit the screenshots
also along with the coding and documentation.
1. Create a website that provides information about historical tourist places around your
city. Your site should include the following pages.
(30 Marks)
(a) The Home page should consists of four areas containing the
following information:
TOP area containing the name of your city and a photograph
of a historical monument. Make sure that you use a good
picture format.
LEFTMENU area containing the links to other pages - these
links should include - My City, List of Monuments, History of
the City, Important Addresses and Feedback.
The CONTENT area of this Home page should display
information like population, and climatic conditions etc.
about your city.
The COPYRIGHT area should display the
copyright information and current date and time.
You need to make sure that the TOP, LEFT MENU and
COPYRIGHT area is same across all the pages of the website.
(d) History of City page should highlight the history of city as well as
important monuments in the CONTENT area.
16
(e) Important Addresses page should provide information about the
important Government and public offices in the CONTENT area.
2. Write a program using VBscipt that subtracts two matrices. (This (10 Marks)
program is NOT a part of website, therefore, should be created
separately.)
17
Course Code : MCSL-017
Course Title : C and Assembly Language Programming
(Lab Course)
Assignment Number : MCA(I)/L-017/Assignment/15-16
Maximum Marks : 100
Weightage : 25%
st
Last Dates for Submission : 31 October, 2015 (For July 2015 Session)
th
30 April, 2016 (For January 2016 Session)
This assignment has two sections. Answer all questions in each section. Each
Section is of 20 marks. Your Lab Records will carry 40 Marks. Rest 20 marks
are for viva voce. You may use illustrations and diagrams to enhance the
explanations. Please go through the guidelines regarding assignments given in
the programme guide for the format of presentation.
Note: You must execute the program and submit the program
logic, sample input and output along with the necessary
documentation for this question. Assumptions can be made
wherever necessary.
18