[공학]오퍼레이팅(operating system) 3장 연습문제 일부
- 최초 등록일
- 2006.04.06
- 최종 저작일
- 2006.04
- 4페이지/ 한컴오피스
- 가격 1,000원
소개글
오퍼레이팅(operating system) 3장 연습문제입니다.
(공룡책7th)
1,2,3,5번 풀이 입니다.
목차
없음
본문내용
3.1 Describe the differences among short-term, midium-term, and long-term scheduling.
*일괄처리 시스템에서는 즉시 실행될 수 있는 것보다 더 많은 프로세스들을 제출하게 된다.이들 프로세스들은 다음에 실행될 때까지..........
3.2 Describe the actions taken by a kernel to context-switch between processes.
-context-switch는 단순히 현행 레지스터 집합에 대한 포인터를 변경하는 것을 비롯하여 레지스터 집합에 대한 포인터를 변경하는 것을 포함한다. 레지스터 집합들보다도 더 활동적인 프로세스들이 있다면 시스템은 전처럼 레지스터 자료를 복사하기 위해 pahfl 사이를 자중 왕래하게된다.
-Context-switching between process typically requires saving the value of the CPU registers from the process..................
3.5 The Fibonacci sequence is the series of numbers 0, 1, 1, 2, 3, 5,8, ... Formally, it con be expressed as:#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
void fibonacci(int n);
int main()
{
pid_t pid;
unsigned int num;
참고 자료
없음