Forum

  • Home
  • BCA
  • MCA
  • BCA Assignment
  • MCA AssignmentMCA Assignment
  • Write a short note on the recent developments in the area of finding minimum cost spanning trees.

    BCA Assignment, January 2026, MCS-208
    January 3, 2026

    Recent Developments in Minimum Cost Spanning Trees

    1. Dynamic MST Maintenance

    Recent research has focused on efficiently maintaining an MST when the underlying graph changes, without recomputing it from scratch.
    Instead, these algorithms update only the affected portions of the MST when edges or weights change.
    This is especially useful for dynamic networks such as real-time routing or evolving communication infrastructures, where graphs continuously change over time.

    (more…)
  • Explain Left Leaning Red Black Trees. What are their advantages and disadvantages?

    BCA Assignment, January 2026, MCS-208
    January 3, 2026

    What is a Left-Leaning Red–Black Tree?

    A Left-Leaning Red–Black Tree (LLRB) is a simplified form of a Red–Black Tree that enforces an additional rule:
    all red links must lean left.

    LLRB trees were introduced to make red–black trees easier to implement and reason about, while still maintaining balanced binary search tree properties.

    (more…)
  • We can test whether a node ‘ m’ is a proper ancestor of a node ‘ n’ by testing whether ‘ m’ precedes ‘ n’ in X-order but follows ‘ n’ in Y-order , where X and Y are chosen from {pre, post, in}. Determine all those pairs X and Y for which this statement holds.

    BCA Assignment, January 2026, MCS-208
    January 3, 2026

    [Answer of Question 2] This question is about tree traversals and how ancestor–descendant relationships are reflected in traversal orders.

    We are given:

    • A node m is a proper ancestor of node n
    • Test condition:
      m precedes n in X-order
      m follows n in Y-order
    • Where X, Y ∈ {preorder, postorder, inorder}

    We must find all valid (X, Y) pairs for which this condition is always true.

    (more…)
  • For each of the Singly Linked List, Circularly Singly Linked List, Doubly Linked List, Circularly Doubly Linked List, write one application that is exclusively suitable for that list.

    BCA Assignment, January 2026, MCS-208
    January 3, 2026

    Question 1 : For each of the Singly Linked List, Circularly Singly Linked List, Doubly Linked List, Circularly Doubly Linked List, write one application that is exclusively suitable for that list. For example, X may be an application for whose implementation, only Circularly Singly Linked List is suitable and others are not suitable. Justify your answer.

    1. Singly Linked List (SLL)

    Application: Implementation of a simple Undo feature with limited backward access (e.g., text editor undo stack)

    (more…)
  • What is an abstract class? Explain concepts of aggregation, generalization and specialization with the help of suitable example. [MCS-219, Q5]

    Uncategorized
    December 21, 2025

    Abstract Class: An abstract class is a class that cannot be instantiated (object cannot be created) and is used as a base class for other classes.
    It may contain abstract methods (methods without implementation) as well as concrete methods (methods with implementation).

    Key Points:

    • Used to represent common behavior
    • Acts as a template for derived classes
    • Forces subclasses to implement abstract methods
    (more…)
  • Draw state diagrams for: (i) Online Banking System (ii) Online Examination System [MCS-219, Q4]

    MCA Assignment, MCA January 2026, MCS-219
    December 21, 2025

    (i) State Diagram – Online Banking System

    Assumption: The diagram represents the user/account session.

    (more…)
  • What is object modeling, dynamic modeling and functional modeling? Briefly explain the diagrams used in these modeling. [MCS-219 Q3]

    What is object modeling, dynamic modeling and functional modeling? Briefly explain the diagrams used in these modeling. [MCS-219 Q3]

    MCA Assignment, MCA January 2026, MCS-219
    December 18, 2025

    Question 1 of MCS-219: Object Oriented Analysis and Design.

    Answer:In Object-Oriented Analysis and Design (OOAD), a system is understood using three complementary models: Object Modeling, Dynamic Modeling, and Functional Modeling. Each focuses on a different aspect of the system.

    (more…)
  • Draw class diagram for Online Banking System. Make necessary assumptions. [MCS-219 Q2]

    Draw class diagram for Online Banking System. Make necessary assumptions. [MCS-219 Q2]

    MCA Assignment, MCA January 2026, MCS-219
    December 17, 2025

    Below is a UML Class Diagram for an Online Banking System, with necessary assumptions clearly stated.

    Assumptions:

    1. A customer can have multiple bank accounts.
    2. Each account belongs to one customer.
    3. Customers access the system using login credentials.
    4. Transactions can be Deposit, Withdrawal, or Transfer.
    5. An admin manages customers and accounts.
    (more…)
  • What is OOAD? Explain basic constructs of object orientation. [MCS-219 Q1]

    What is OOAD? Explain basic constructs of object orientation. [MCS-219 Q1]

    MCA Assignment, MCA January 2026, MCS-219
    December 17, 2025

    Question 1 of MCS-219: Object Oriented Analysis and Design.
    Answer: OOAD (Object-Oriented Analysis and Design) is a software engineering approach that focuses on modeling a system as a collection of interacting objects. These objects represent real-world entities and combine data (attributes) with behavior (methods).
    OOAD helps in understanding system requirements (analysis) and translating them into a robust, reusable, and maintainable software design (design).

    (more…)
  • Write an algorithm and program in ‘C’ language to merge two sorted linked lists. The resultant linked list should be sorted [MCS-209 Q-2]

    Write an algorithm and program in ‘C’ language to merge two sorted linked lists. The resultant linked list should be sorted [MCS-209 Q-2]

    BCA Assignment, January 2026
    December 13, 2025

    Question: Write an algorithm and a program in ‘C’ language to insert and delete edges in an adjacency list representation of an undirected graph. Make assumptions, if necessary.

    Answer:

    Assumptions

    1. The graph is undirected.
    2. Vertices are numbered from 0 to (V–1).
    3. No multiple edges between the same pair of vertices.
    4. Adjacency list is implemented using linked lists.
    5. Maximum number of vertices is fixed.
    (more…)
1 2
Next Page→

  • Blog
  • About
  • FAQs
  • Authors
  • Events
  • Shop
  • Patterns
  • Themes

Designed with WordPress