분류 전체보기

Problem DefinitionThere are N jobs, J_1, J_2, ..., J_nEach J_i = (D_i, P_i), D_i = Deadline, P_i = ProfitThere are 1-Hour Time slots where you can schedule jobsEach job takes 1 hour to finishExample = {(2,2), (1,3), (1,1)} AssumptionsAll deadlines are Jobs are given in non-increasing order of profit (if aren't given that order, you could sort jobs that order) Intuition/AlgorithmSchedule higher p..
Some more Arithmetic Operations 2024.09.28 - [학교 수업/시스템 프로그래밍] - [시스템 프로그래밍] Race Condition [시스템 프로그래밍] Race ConditionAssembly Programmer's View Programmer-Visible StatePC: Program CounterAddress of next instruction: 다음 명령의 주소값을 갖습니다.Called "RIP" (instruction pointer register in x86-64)Register File: 데이터가 있는 곳을 그냥 File이라hw-hk.tistory.com에서 봤었던 Assembly operations 이외의 명령어들은 다음과 같습니다.  Address Com..
Simple Shell Example New problems with Simple shell Example 2024.09.28 - [학교 수업/시스템 프로그래밍] - [시스템 프로그래밍] Race Condition [시스템 프로그래밍] Race ConditionAssembly Programmer's View Programmer-Visible StatePC: Program CounterAddress of next instruction: 다음 명령의 주소값을 갖습니다.Called "RIP" (instruction pointer register in x86-64)Register File: 데이터가 있는 곳을 그냥 File이라hw-hk.tistory.com2024.09.24 - [학교 수업/시스템 프로그래밍] ..
XP in Practice The XP method itself is not widely used now, since extreme programming has a technical focus and is not easy to integrate with management practice in most organizations.XP방법론은 그것 자체로는 현재 많이 쓰이지 않습니다. XP는 기술적인 집중도를 갖고있으며, 대부분의 기업에서 이를 관리하며 통합하는 것이 쉽지 않기 때문입니다. However, XP practices are widely used in other development methods.User stories for spectificationRefactoringTest-first dev..
Agile Software Development Rapid Software Development(↔Plan-driven development) Rapid Software Development and delivery is now often the most important requirement for software systems.빠른 소프트웨어 개발과 배포는 최근 소프트웨어 시스템에서 가장 중요한 요구사항이 된다. Software must evolve quickly to reflect changing business needs. Plan-driven development, However, does not meet these business needs.소프트웨어는 빠르게 변화하는 사업 환경에 맞춰 진화해야..
Assembly Programmer's View Programmer-Visible StatePC: Program CounterAddress of next instruction: 다음 명령의 주소값을 갖습니다.Called "RIP" (instruction pointer register in x86-64)Register File: 데이터가 있는 곳을 그냥 File이라고 부릅니다. 그냥 Register공간입니다.Heavily used program data: 자주 사용하는 프로그램의 데이터가 있는 공간입니다.Condition Codes: CPU안에 있는 또 다른 메모리공간Store status information about most recent arithmetic operationUsed for condit..
Software Testing  Component (Unit) Testing: 컴포넌트 혹은 유닛 테스트Unit testing / Module testingindividual components are tested independently: 각각의 컴포넌트들이 독립적으로 테스트됩니다.Components may be functions of objects or coherent groupings of these entities: 컴포넌트들은 이런 요소들의 결합으로 이해되고 작동합니다.System Testing: 시스템 테스트+ Integration Testing: 결합 테스트Testing of the system as a whole: 시스템 전체로서 수행되는 테스트입니다.Testing of emergent p..
kill() System Call Sends a signal "sig" to a process "pid"pid에 해당하는 프로세스에 sig에 해당하는 signal을 보내는 시스템 콜 메소드입니다.int kill(pid_t pid, int sig)만약 성공했다면 0을, 실패하거나 오류가 발생했다면 -1을 return합니다. + 이때, sig값에는 signal ID를 넣어주어도 되지만, kill()을 담고있는 header file에 #define을 통해 signal NAME마다 signal ID가 맵핑되어있기 때문에, signal NAME을 넣어주어도 됩니다. 아래는 kill()의 예시입니다:void fork12(){ pid_t pid[N]; int i, child_status; for (i=0;..
건대다니는 컴공생
'분류 전체보기' 카테고리의 글 목록 (14 Page)