[試題] 99下 薛智文 即時系統開發 期中考

作者: rod24574575 (天然呆)   2015-05-09 21:51:27
課程名稱︰即時系統開發
課程性質︰選修
課程教師︰薛智文
開課學院:電資學院
開課系所︰資工所、網媒所
考試日期(年月日)︰2011.04.06 公布考題, 2011.04.13 中午前(11:59am)繳交
考試時限(分鐘):
試題 :
Real-Time System Development
Take-home Midterm
922 U3440, Spring 2011
Priority-Driven Real-Time Scheduler
薛智文
Due Time:
April 13th, before noon, hard deadline.
Problems:
1. For homework 1, provide a test case with 2 runs without displaying
schedule, one for RMS and one for EDF, the task set for the two runs can
be the same, where all input numbers are less than 1000, and your program
can finish each run in 30 seconds. We will compare your program with all
test cases from the class.
2. Since homework 1 is for a single-core machine, describe the problems and
how to modify your program for a multicore system to optimize the
utilization. Note that no coding is required.
Platform:
OS: Linux
Programming Language: C/C++, can be compiled by "make your_makefile".
Machine: Please test it first in like linux1.csie.ntu.edu.tw
Handing in:
Email me (the instructor) the following in a zipped file named by your ID
(.zip or .rar) by deadline.
1. What homework 1 required in a directory, i.e. your source code and
simple one page report show how you did it and how good it is, including
Makefile, *.c, *.h, ..., and executables. Make the source code
self-documented. And the test case for problem 1 as the input1.txt,
named input.txt.
2. An answer for problem 2 in a separate file.

Links booklink

Contact Us: admin [ a t ] ucptt.com