Recent content by freshcoast

  1. F

    Why Does the runFile Child Process Receive the Termination Signal Later?

    newStatus value is 0 every run like it's suppose to, when the signal is sent the other 2 processes terminate but this process lingers for exactly 12 runs until eventually the newStatus becomes 1 which means it received the signal then it terminates itself. As for how stuff being taken out of...
  2. F

    Why Does the runFile Child Process Receive the Termination Signal Later?

    If I were to describe what data structure I pipe is I would say it would be an array in which the contents of a certain index points to either where stdout and stdin is or used to be? The number of extra runs seem to be consistent in the amount, and I also did notice it changes when I change...
  3. F

    Why Does the runFile Child Process Receive the Termination Signal Later?

    Hello, 1. Homework Statement I am to implement a program where the parent process creates three child processes each running their own specific code, child 1 will be running a wallclock, child 2 will be a file manager and child 3 will be the countdown timer and is also the signaler. Child 1...
  4. F

    What could be causing my child processes to not exit properly?

    I have another question, and since it is related to this program I'll just ask it here. My problem now is with implementing the 3rd child to run an execl command continuously until it reads the signal to terminate from the pipe. From what I understand is when it runs an execl command, it runs...
  5. F

    What could be causing my child processes to not exit properly?

    Thanks for your reply, but it did not solve the solution. However, I did find a solution on google but I am not understanding why it is working all of a sudden, maybe you can explain. So I think the problem was with how I was waiting for the children, I guess it seemed like the child processes...
  6. F

    What could be causing my child processes to not exit properly?

    Hey everybody, I am having trouble with working with child processes. I am to implement a parent process creating 2 child processes to each run different code. e.g child 1 is a wallclock and child 2 is a countdown program. I also have to implement a pipe for when child 2, the countdown program...
  7. F

    Is asking questions in computer science bad?

    Hi PF, I have been currently pursuing a degree in Computer Science to hopefully end up having a career as a software engineer, as I am taking classes I am finding that the assignments are getting more and more difficult to a point where I find myself lost and in need of guidance. Which got me...
  8. F

    Is the correlation coefficient significant in this data set?

    Noted! Sorry about that, got too excited.. But I do have one last question regarding the 1st problem I asked about... I got Noted! Sorry about that, got too excited. But I do have one last question regarding the first problem I posted. I was to find the correlation coefficient and tell if it...
  9. F

    Is the correlation coefficient significant in this data set?

    Ahh, my bad. Ok, so after fixing that, I got a new standard deviation of 1.65.
  10. F

    Is the correlation coefficient significant in this data set?

    Yes, I took out that outlier and got a new regression line of y hat = 43.19 + 11.59x
  11. F

    Is the correlation coefficient significant in this data set?

    I accidentally squared all the y hat variables instead.. Oops. Now I have s = 3.1
  12. F

    Is the correlation coefficient significant in this data set?

    Ok, so after calculating all of that I got: s = 15.7 Correct?
  13. F

    Is the correlation coefficient significant in this data set?

    Actually, I think I'm supposed to use the formula: SEE = √s/(n-p)
  14. F

    Is the correlation coefficient significant in this data set?

    Ok, great! It was driving me crazy-- what a relief. :biggrin: Moving on... I had another question for a different problem. By hand, calculate the standard deviation of the residuals. For the least square line I got: y = 284.5/114x - 1.1 I know the residuals equation is e = y - y hat... but I'm...
Back
Top