Master of Computer Applications: Programme Code Mca - New
Master of Computer Applications: Programme Code Mca - New
Master of Computer Applications: Programme Code Mca - New
APPLICATIONS
Programme Code
MCA_NEW
ASSIGNMENTS
OF
SEMESTER-I
MCSL-216, MCSL-217
CONTENTS
Important Notes
1. Submit your assignments to the Coordinator of your Study Centre on or before the
due date.
2. Assignment submission before due dates is compulsory to become eligible for
appearing in corresponding Term End Examinations. For further details, please
refer to Programme Guide of MCA (2Yrs) of respective learning modes.
3. To become eligible for appearing the Term End Practical Examination for the lab
courses, it is essential to fulfill the minimum attendance requirements as well as
submission of assignments (on or before the due date). For further details, please
refer to the Programme Guide of MCA (2yrs) of respective learning modes.
4. The viva voce is compulsory for the assignments. For any course, if a student
submitted the assignment and not attended the viva-voce, then the assignment is
treated as not successfully completed and
2 would be marked as ZERO.
Course Code : MCS-211
Course Title : Design and Analysis of Algorithm
Assignment Number : MCA(1)/211/Assign/2022
Maximum Marks : 100
Weightage : 30%
Last Dates for Submission : 31st May, 2022 (for January Session)
31st October, 2022 (for July Session)
This assignment has twelve questions (80 Marks). Answer all questions. Rest 20 marks are
for your viva voce examination. 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.
Q1. a) What are the desirable characteristics of an algorithm? Find the GCD of (4 Marks)
p = 144 and q = 55 using Euclid’s algorithm.
Q3. a) Evaluate p(x)= 3x4+2x3-5x+7 at x=2 using Horne’s rule. Show step wise (4 Marks)
iterations.
b) Sort the given sequence of numbers using Bubble sort. Write all the (4 Marks)
steps involved. 13, 15, 2, 6, 14, 10, 8, 7, 3, 5, 19, 4.
Q4. a) Find an optimal solution for the knapsack instance n=6 and M=13, (4 Marks)
(p1, p2,…, p6)=(8, 5, 13, 7, 6, 15)
(w1, w2,…, w6)=(3, 2, 4, 6, 2, 5)
b) Write the Huffman code for the following set of frequencies of given (3 Marks)
symbols. A:1, B:1, K:2, D:3, F:5, G:8 , H:13, E:21.
Q5. a) Write the steps involved in searching an element in a given array of (3 Marks)
sorted elements using Binary search algorithm. Assume the searched
element if not present in the sequence.
3
b) Analyse the merge sort algorithm Master Method. Also draw the (2+2 Marks)
relevant recursion tree.
Q6. a) Write the adjacency list and draw adjacency graph for the graph given (2+2 Marks)
below.
4 3
1 2
(3 Marks)
b) Explain Topological sorting using a suitable example of a graph.
Q7. a) What is a minimum cost spanning tree? Explain the working of Kruskal’s (2+3 Marks)
Algorithm with example.
b) While dealing with the negative edge weights, the Dijkstra’s algorithm is (4 Marks)
not considered best. Explain the alternate suitable algorithm for single
source shortest path with an example.
Q8. a) Explain the principle of optimality with respect to binary search. (3 Marks)
Matrix Dimension
A1 10 × 15
A2 15 × 25
A3 25 × 8
A4 8 × 13
A5 13 × 10
Q9. a) Using the Rabin Karp algorithm, find the pattern string in the given text. (3 Marks)
Pattern: “fed”, Text: “acfeddadfdec”. Write all the steps involved.
b) Differentiate between Knuth Morris Pratt and Rabin Karp Algorithm. (3 Marks)
Q10. Differentiate between NP, NP-Hard and NP-Complete problems with (4 Marks)
suitable example of each.
Q11. Discuss about the techniques to show the NP- Hardness in brief. (4 Marks)
Q12 What is a vertex cover problem? Discuss Graham’s algorithm in detail. (2+3
Marks)
4
Course Code : MCS-212
Course Title : Discrete Mathematics
Assignment Number : MCA(1)/212/Assign/2022
Maximum Marks : 100
Weightage : 30%
Last Dates for Submission : 31st May, 2022 (for January Session)
31st October, 2022 (for July Session)
This assignment has twelve questions (80 Marks). Answer all questions. Rest 20 marks are
for your viva voce examination. 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.
Q1. a) What are laws related to equivalence propositions ? Give example for (4 Marks)
each of equivalence proposition laws.
b) With respect to rule of precedence, write the truth table for the (3 Marks)
following expression: p « qÚ~r « r Å q
Q2. a) What are modus ponens and modus tollens? Give example for each. (2 Marks)
(2 Marks)
c) Using mathematical induction prove that n ! >2! for n >= 4.
Q3. a) Using Boolean laws, reduce the Boolean expression to simple form. (4 Marks)
(p , q, r )= (p Ù q )Ú(p Ù qÙ r )Ú(p Ù r).
(4 Marks)
b) Draw the gate circuit for the following Boolean expression
(p' Ù qÙ r') Ú ( (q'Ú p ) Ù r )
Q4. a) Define set, power set, subset, superset and proper set with suitable (4 Marks)
examples.
Q5. a) Using the properties pf closure for any set s of strings prove that (3 Marks)
s*= (s*)*= s**
b) What is regular expression? How it differs from regular language? (2+2 Marks)
(4 Marks)
c) Consider an NFA given in figure below. Check whether the strings
001, 010111,01110,110 are accepted by the machine, or not?
5
Q6. a) What is a Turing Machine ? Define Turing Acceptable Language and (2+2 Marks)
Turing Decidable Language with example.
Q7. a) Rohan rolled two dice red and blue. Calculate the probability of (2 Marks)
Rohan getting a big number on red dice than the number on blue dice.
b) Calculate the total number of words that can be formed using the
letters of the word “MISSIPPI” if two ‘S’ and two ‘I’ are adjacent to (3 Marks)
each other.
Q9. a) Using recurrence relation, solve the merge sort problem to sort a list (3 Marks)
of 𝑛 = 2$ elements in ascending order.
Q10. a) Given two graphs, calculate the degree of each vertex in both graphs. (4 Marks)
Also comment on the regularity of both the graphs.
Q11. Differentiate between path, walk, circuit and cycle in a graph with example. (4 Marks)
Q12 Differentiate between Eulerian and Hamiltonian graphs with suitable (2 Marks)
examples.
Q13. For the given graph, calculate the chromatic number of the graph. (3 Marks)
6
Course Code : MCS-213
Course Title : Software Engineering
Assignment Number : MCA(1)/213/Assign/2022
Maximum Marks : 100
Weightage : 30%
Last Dates for Submission : 31st May, 2022 (for January Session)
31st October, 2022 (for July Session)
This assignment has one question for 80 marks. 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.
Question 1:
Assume that you are assigned responsibility of developing an Online Grade Card Generation
System (OGCGS) for a University. OGCGS should run both on PCs and Mobile Devices.
OGCGS will have all fields such as Student’s name, Student’s Address, Learner Support Center
Code and Address, Aadhaar Number, Programme Code, Month (January/July) and Year of
Admission , Course Codes and Titles (Semester Wise), Marks obtained, Maximum and Minimum
Marks, Pass/Fail (Course Wise), Percentage Course Wise, Aggregate Percentage, Programme
Successfully Completed/Not Completed, Division (First/Second/Third) secured etc. Any student
enrolled to any programme should be able to generate Grade Card any time. Make necessary
assumptions.
(a) Which SDLC paradigm will be selected. You may also suggest a SDLC paradigm
that is proposed by you and non-existent as on date. Justify your answer. (10 marks)
(b) List the functional and non-functional requirements. (10 marks)
(c) Estimate cost. (15 marks)
(d) Estimate effort. (15 marks)
(e) Develop SRS using IEEE format. (15 marks)
(f) List queries for whom Reports can be generated (5 marks)
(g) List specific requirements which enables OSAS to run on both PCs and Mobile Devices
(10 Marks)
7
Course Code : MCS-214
Course Title : Professional Skills and Ethics
Assignment Number : MCA(1)/214/Assign/22
Maximum Marks : 100
Weightage : 30%
Last Date of Submission : 31st May, 2022 (for January Session)
31st October, 2022 (for July Session)
This assignment has eight questions. Answer all questions. 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.
Q1:
Read the following passage and answer the questions given below:
Time management has become one of the key issues of the second half of the twentieth century. Managers,
grappling with work pressures and deadlines, have come to recognize that time is a precious commodity to
be ‘saved’, ‘gained’, and not ‘wasted’ or ‘lost’. But if time is a commodity, how then can we best describe,
measure and manage it?
To describe and manage it, imagine a line that goes back to the beginnings of creation and continues into
the mists of the future. And on that line are a number of significant marks-these separate the past from the
present from the future. And within each time zone-past, present and future-we can differentiate periods
of time from points of time. For example, the 1980s gave us a period of rapid economic growth; black
Monday was a point of sudden financial catastrophe.
How can this brief analysis help the international manager? Firstly, there is the link between past, present
and future. In other words, historical performance should be a guide to the future, and the present ought to
represent last year’s forecast. So change-that which normally differentiates any two periods on our
continuum - can be seen as a gradual evolution rather than a dramatic revolution.
Secondly, the use of a time-planning system, on which key points and periods are plotted, enables managers
to organize their activities so that bottlenecks can be avoided and deadlines can be met. So stress, where
the jobs to be done exceed the available time, can be reduced to an acceptable and productive level.
ii. Give two reasons why managers are giving so much importance to time management.
(2 Marks)
iii. Explain the difference between period of time and point of time giving your own examples.
(4 Marks)
8
iv. Do you think time management can reduce stress? Discuss. (3 Marks)
Q2:
Pick out words/phrases from the passage which have the following meanings. (10 Marks)
i. time when the world was made
ii. area
iii. latest time by which an activity must be completed.
iv. step by step.
v. article which can be bought and sold
vi. make a division between two things
vii. work very hard to solve a problem
viii. unclear period of time
ix. time or place when jobs cannot be carried out, usually because of other pressures
x. terrible event.
Q3:
Q4:
Your prospective employer asked you to prepare a presentation on any one of the following: (10 Marks)
You may use visual aids to support your presentation. Presentation should consist of atleast 20 slides.
Q5:
You have seen a job with a multinational company advertised in a newspaper for the post of Software
Engineer (Trainee). Prepare your own Resume/Biodata to apply for the post. (10 Marks)
Q6:
You were told by the Project-Lead to organize an official meeting to invite suggestions from the Experts
regarding the use latest technologies for a proposed project. In this context, do the following: (10 Marks)
(a) Write an invitation through email to invite the Experts.
(b) Prepare the minutes of the meeting.
9
Q7:
Mark the stress in the following words: (10 Marks)
i) attend attention
ii) believe belief
iii) assist assistance
iv) lovely loveliness
v) commerce commercial
Q8:
Write short notes on the following: (10 Marks)
10
Course Code : MCS-215
Course Title : Security and Cyber Laws
Assignment Number : MCA (1)/215/Assign/2022
Maximum Marks : 100
Weightage : 30%
Last date of Submission : 31stMay, 2022 (for January session)
31stOctober, 2022(for July session)
This assignment has two questions. Answer all questions. 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.
Q1: List and explain any ten security breaches in the Cyberspace. How can these breaches be
handled with the use of technology? (10 Marks)
Q2: Explain the following terms with the help of an example: (20 Marks)
(i) Steganography
(ii) Different types of cipher used in cryptography
(iii) RSA algorithm
(iv) Authentication and authorisation
(v) Use of Hash function in security
Q3: Explain the security measures and security policies of an online systems. (10 Marks)
Q4: Why is Cyberlaws needed? How can cyberspace be regulated? Explain the cyberspace
regulation in India. (10 Marks)
Q5: Explain the following with the help of suitable examples (20 Marks)
(i) Cybercrimes and its classification
(ii) Penalties and Compensation against cyber crimes
(iii)Cyber forensic
(iv) Cybercrime investigation
Q6: Explain the copyright issues in the context of digital medium, music and goods with the help
of an example. (10 Marks)
11
Course Code : MCSL-216
Course Title : DAA and Web Design Lab
Assignment Number : MCA(1)/L-216/Assign/2022
Maximum Marks : 100
Weightage : 30%
Last Dates for Submission : 31st May, 2022 (for January Session)
31st October, 2022 (for July 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 (20 Marks for each section). Rest 20 marks
are for your viva voce examination. 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. Assumptions can be made wherever necessary.
Section – 1
Q1. Explain Huffman’s coding algorithm. Apply Huffman’s algorithm to construct an optimal binary
prefix code for the given letters andits frequencies in the following table. (12 Marks)
Letters P R E Q A I O
Frequency 11 7 14 8 9 5 3
Implement Huffman’s coding algorithm and run on the above given problem.
Q2. Implement Dijkstra’s algorithm for the below given graph to find shortest path from node A tot node
G. (8 Marks)
B 7
E
3 9
3
2 F G
A 6
4
4
4
C
1 D
12
Section – 2
Q3. As a developer, design the following web form for guest house reservation at IGNOU. The
requirements should include the following fields. (20 Marks)
First Name :
Last Name :
Email Address :
Govt. Issued- ID :
Date of Arrival :
Date of Departure :
Country :
Number of Persons :
Note:
13
Course Code : MCSL-217
Course Title : Software Engineering Lab
Assignment Number : MCA(1)/L-217/Assign/2022
Maximum Marks : 100
Weightage : 30%
Last Dates for Submission : 31st May, 2022 (for January Session)
31st October, 2022 (for July Session)
This assignment has One section. Answer all questions in the section. The section is of 40
marks. Your Lab Records will carry 40 Marks. Rest 20 marks are for your viva voce
examination. 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.
Question 1:
ABC is a University which is having Learner Support Centers (LSCs) across the World. It also
had Regional Centers (RCs) across the World. ABC also includes many departments which offer
various programmes. However, not all LSCs offer all the Programmes. Counseling sessions
normally take place during weekends. Minimum attendance of 75% is essential in Practical
Counseling Sessions. Every LSC is having a Code. Every RC is having a code. Every Department
is having a Code. Every Programme is having a Code. Every Course is having a Code. Any person
who takes admission to any of the Programmes is also having an enrollment number. All codes
and enrollment number are unique. Semester End Examinations are held at designated
Examination Centers and every Examination Center is having a code. Every students is assigned
to a LSC where he attends counseling sessions. A student can seek transfer from one LSC to
another.
14