Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Inside a series of text files you are required to create a data set for N people. Where N is a random integer between 30

Inside a series of text files you are required to create a data set for N people. Where N is a random integer between 30 and 130. The text files should contain note grade information for each person for note 1, note 2, lab, last note and attendance information. There should be a total of 5 data files. In each file the first column will contain student numbers. These numbers will have the form 2022abcd for all the people in the list where abcd is a random 4 digit integer. Note that in the number abcd the first digit should not be zero. For the attendance file, attendance information for each person should be created. We will assume that the class is taught three hours each week and semester is 14 weeks long. Attendance information is generated using random numbers between 0 and 1. The person is assumed to have entered the class if the random number is greater than equal to 0.8. The person would miss the class otherwise. For the note 1, note 2 and last note files the second and other columns in the will contain points received from questions by the students and then the note grade at the last column. The number of questions in each note can change between 3 and 6. You should specify the points for each question, which should be clearly mentioned in each file. Note that the total points of the questions should add up to 100. The points each person received from questions will be a random integer between 0 and the point specified for that question. Note that if a students attendance is less than 70% then that persons last note grade should be zero. For the labwork part there will be 12 lab assignments each of which will be 10 points worth. Labwork grade should be a random integer between 0 and 10.

I need to write such a program on Matlab

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

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students also viewed these Databases questions