Category Archives: C, C++Programming & Data Structure

Write an algorithm and program for implementation of multiple stacks in an Array – IGNOU BCA Assignment 2017 – 18

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-033 Course Title : Data and File Structures Lab Assignment Number : BCA(3)/L-033/Assignment/17-18 Maximum Marks : 50 Weightage : 25% Write an algorithm and program for implementation of multiple stacks in an Array – IGNOU BCA Assignment 2017 – 18   CODE: #include <stdio.h> #define max 10 int… Read More »

Write an algorithm and program that accepts a Binary Tree as Input and Checks if the input Binary tree is Complete Binary Tree or a Full Binary Tree – IGNOU BCA Assignment 2017 – 18

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-033 Course Title : Data and File Structures Lab Assignment Number : BCA(3)/L-033/Assignment/17-18 Maximum Marks : 50 Weightage : 25% Write an algorithm and program that accepts a Binary Tree as Input and Checks if the input Binary tree is Complete Binary Tree or a Full Binary Tree… Read More »

Write an algorithm for the implementation of a Doubly Linked List – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-021 Course Title : Data and File Structures Assignment Number : MCA(2)/021/Assignment/17-18 Maximum Marks : 100 Weightage : 25% Write an algorithm for the implementation of a Doubly Linked List – IGNOU MCA Assignment 2017 – 18 CODE: #include<stdio.h> struct node { int data; struct node *next; struct… Read More »

Write an algorithm for the implementation of an AVL tree – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-021 Course Title : Data and File Structures Assignment Number : MCA(2)/021/Assignment/17-18 Maximum Marks : 100 Weightage : 25% Write an algorithm for the implementation of an AVL tree – IGNOU MCA Assignment 2017 – 18 CODE: #include <stdio.h> #include <stdlib.h> struct avl_node_s { struct avl_node_s *left; struct… Read More »

Write an algorithm that accepts a Tree as input and prints the correspondingBinary Tree – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-021 Course Title : Data and File Structures Assignment Number : MCA(2)/021/Assignment/17-18 Maximum Marks : 100 Weightage : 25% Write an algorithm that accepts a Tree as input and prints the correspondingBinary Tree – IGNOU MCA Assignment 2017 – 18 CODE: #include <stdio.h> #include <stdlib.h> struct tnode {… Read More »

Write a C program to create a file containing student’s records and also give a provision to update/modify the records too – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code: MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/2017-18 Maximum Marks : 100 Write a C program to create a file containing student’s records and also give a provision to update/modify the records too – IGNOU MCA Assignment 2017 – 18 Program: #include<stdio.h> #include<conio.h> #include<process.h> typedef… Read More »

Write an interactive C program to append the contents of a file at the end of another file without using any built-in functions – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code: MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/2017-18 Maximum Marks : 100 Write a program to find the largest element in an array using Recursion – IGNOU MCA Assignment 2017 – 18 Program: #include<stdio.h> #include<stdlib.h> void main() { FILE *fp1,*fp2,*ftemp; char CH; int c; clrscr();… Read More »

Write an interactive C program to calculate the sum of array element using pointer – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code: MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/2017-18 Maximum Marks : 100 Write a program to find the largest element in an array using Recursion – IGNOU MCA Assignment 2017 – 18 Program: #include<stdio.h> void main() { int ARRAY[]={1,2,3,4,5,6,7,8,9,0}; int I,*PTR,SUM=0; clrscr(); PTR=&ARRAY; while(*PTR) {… Read More »

Write a C program to determine a given matrix is a sparse matrix – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code: MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/2017-18 Maximum Marks : 100 Write a program to find the largest element in an array using Recursion – IGNOU MCA Assignment 2017 – 18 Program: #include<stdio.h> void main() { int MATRIX[10][10]; int I,J,M,N; int COUNT=0; clrscr(); printf(“ENTER… Read More »

Write a program to find the largest element in an array using Recursion – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code: MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/2017-18 Maximum Marks : 100 Write a program to find the largest element in an array using Recursion – IGNOU MCA Assignment 2017 – 18  Program: #include<stdio.h> int LARGE=-1; void main() { int NUM[10],I; void largest_rec(int *); clrscr();… Read More »