Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NOTE: NEED ANSWER URGENTLY Consider that the papers of Computer Programming course are checked by 2 faculties of the college. The two faculties have picked

NOTE: NEED ANSWER URGENTLY

Consider that the papers of Computer Programming course are checked by 2 faculties of the college. The two faculties have picked up papers randomly from a pile. After the papers are checked, the roll numbers and marks of a student are stored in a 2-D array by individual faculty. Both the arrays maintained by the faculty are sorted according to roll number at their end. The marks are to be submitted to the Test section. For this, there is a need to merge the two list of marks that the two faculties have. The marks are to be merged and saved in a sorted 1-D array where marks[0] will hold the marks of roll number 1, marks[1] will hold the marks of roll number 2 and so on. Write a program that reads the marks in 2-D array from the faculties and calls a merge() function that merges the marks and returns a 1-D array. Use dynamic memory allocation to allocate memory for the arrays.

USE BUBBLE SORT AND BOTH FACULTY ARE CHECKING PAPERS OF STUDENTS SO THAT THEY CAN DO IT FAST STUDENT WILL NOT HAVE 2 MARKS BOTH TEACHER ARE CHECKING COMBINALY

NOTE: PLEASE ANSWER IN C LANGUAGE ONLY AND PLEASE INCLUDE COMMENTS WHENEVER REQUIRED IN CODE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions