This is an individual assessment. In this Lab Test, you must write a complete program to input an R-by-C matrix with your own data R is the row and C is the column of the matrix. However, you MUST write a program by implementing the functions method. Here are the complete program requirements. Please read carefully. Write a MAIN program that will call THREE user-defined functions. The task of each function is described below. 1.1 The FIRST function (named my_info) is to display your information, without passing parameters and return values, such as: a. Full Name b. Matrix No C. Course and Group d. then display a Plagiarism Declaration statement as below. "I confirm that this LAB TEST is my own work and is not copied from any other person's work." 1.2 The SECOND function (named get_matrix_size) is to accept two integers value from the user to specify the matrix size which is the size of 2 dimension array namely row and column. This function must use a pass value by the reference /address method. That means no return value is required in the function definition. You are not allowed to create global variables. 1.3 The THIRD function (named get_matrix_data) is to fill up all elements of the matrix with any integer value from the user. This function must use a pass by value method, which is consist of row and column from the MAIN function. After finishing the data input process, this function also needs to display again all the data. Please be creative in how you display your output. In the end, this function needs to return the lowest value from data in the matrix to the MAIN function. The MAIN function need to

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Urgent Answer plzz

QUESTION 1
This is an individual assessment. In this Lab Test, you must write a complete program to input an R-by-C matrix with your own data.
R is the row and C is the column of the matrix. However, you MUST write a program by implementing the functions method.
Here are the complete program requirements. Please read carefully.
1.
Write a MAIN program that will call THREE user-defined functions. The task of each function is described below.
1.1 The FIRST function (named my_info) is to display your information, without passing parameters and return values, such
as:
a.
Full Name
b.
Matrix No
C.
Course and Group
d.
then display a Plagiarism Declaration statement as below.
"I confirm that this LAB TEST is my own work and is not copied from any other person's work."
1.2 The SECOND function (named get_matrix_size) is to accept two integers value from the user to specify the matrix size
which is the size of 2 dimension array namely row and column. This function must use a pass value by the reference /address
method. That means no return value is required in the function definition. You are not allowed to create global variables.
1.3 The THIRD function (named get_matrix_data) is to fill up all elements of the matrix with any integer value from the user.
This function must use a pass by value method, which is consist of row and column from the MAIN function. After finishing the
data input process, this function also needs to display again all the data. Please be creative in how you display your output. In
the end, this function needs to return the lowest value from data in the matrix to the MAIN function. The MAIN function need to
create a program to display this return value data.
Transcribed Image Text:QUESTION 1 This is an individual assessment. In this Lab Test, you must write a complete program to input an R-by-C matrix with your own data. R is the row and C is the column of the matrix. However, you MUST write a program by implementing the functions method. Here are the complete program requirements. Please read carefully. 1. Write a MAIN program that will call THREE user-defined functions. The task of each function is described below. 1.1 The FIRST function (named my_info) is to display your information, without passing parameters and return values, such as: a. Full Name b. Matrix No C. Course and Group d. then display a Plagiarism Declaration statement as below. "I confirm that this LAB TEST is my own work and is not copied from any other person's work." 1.2 The SECOND function (named get_matrix_size) is to accept two integers value from the user to specify the matrix size which is the size of 2 dimension array namely row and column. This function must use a pass value by the reference /address method. That means no return value is required in the function definition. You are not allowed to create global variables. 1.3 The THIRD function (named get_matrix_data) is to fill up all elements of the matrix with any integer value from the user. This function must use a pass by value method, which is consist of row and column from the MAIN function. After finishing the data input process, this function also needs to display again all the data. Please be creative in how you display your output. In the end, this function needs to return the lowest value from data in the matrix to the MAIN function. The MAIN function need to create a program to display this return value data.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education