CSEN5322 Quiz-3.

Slides:



Advertisements
Similar presentations
3.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Process An operating system executes a variety of programs: Batch system.
Advertisements

Processes Management.
Parameter passing mechanism: pass-by-reference. The Pass-by-reference mechanism - the agreement Recall: Parameter passing mechanism = agreement between.
Calling sequence ESP.
Chapter 3 Process Description and Control
The University of Adelaide, School of Computer Science
10/6: Lecture Topics Procedure call Calling conventions The stack
CSEN5322 Quiz-5.
Functions Functions and Parameters. History A function call needs to save the registers in use The called function will use the registers The registers.
Chap 4 Multithreaded Programming. Thread A thread is a basic unit of CPU utilization It comprises a thread ID, a program counter, a register set and a.
Chapter 4: Threads. Overview Multithreading Models Threading Issues Pthreads Windows XP Threads.
Processes CSCI 444/544 Operating Systems Fall 2008.
Figure 2.8 Compiler phases Compiling. Figure 2.9 Object module Linking.
1 CS318 Project #3 Preemptive Kernel. 2 Continuing from Project 2 Project 2 involved: Context Switch Stack Manipulation Saving State Moving between threads,
Operating Systems Processes (Ch 3.1). Processes “A program in execution” Modern computers allow several at once –“pseudoparallelism” A B C Program Counter.
Improving IPC by Kernel Design Jochen Liedtke Presented by Ahmed Badran.
Introduction to Kernel
Threads CSCI 444/544 Operating Systems Fall 2008.
28/06/2015CMPUT Functions (2)  Function calling convention  Various conventions available  One is specified by CMPUT229  Recursive functions.
Digression: the “Stack” 1 CS502 Spring 2006 Digression: the “Stack” Imagine the following program:– int factorial(int n){ if (n
CSEN5322 Quiz-3.
CSEN5322 Quiz-5.
Process Description and Control A process is sometimes called a task, it is a program in execution.
BINA RAMAMURTHY UNIVERSITY AT BUFFALO System Structure and Process Model 5/30/2013 Amrita-UB-MSES
1 Lecture 4: Threads Operating System Fall Contents Overview: Processes & Threads Benefits of Threads Thread State and Operations User Thread.
Process Management. Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication.
Chapter 3: Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication in Client-Server.
Introduction to Processes CS Intoduction to Operating Systems.
Computer Architecture and Operating Systems CS 3230: Operating System Section Lecture OS-1 Process Concepts Department of Computer Science and Software.
Process by Dr. Amin Danial Asham. References Operating System Concepts ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, and GREG GAGNE.
ITEC 502 컴퓨터 시스템 및 실습 Chapter 2-1: Process Mi-Jung Choi DPNM Lab. Dept. of CSE, POSTECH.
Threads G.Anuradha (Reference : William Stallings)
11/13/20151 Processes ICS 240: Operating Systems –William Albritton Information and Computer Sciences Department at Leeward Community College –Original.
V 1.01 Arrays and Pointers in C A pointer variable is a variable that contains the address of another variable. An array is a collection of like elements,
Operating Systems (CS 340 D) Dr. Abeer Mahmoud Princess Nora University Faculty of Computer & Information Systems Computer science Department.
ViralFlux and Logo Start New Game Load Save Game Start Multiplayer Game Change Settings Exit Game ViralFlux Flavor Text.
Chapter 3: Processes. 3.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 3: Processes Process Concept Process Scheduling Operations.
Chapter three.  An operating system executes a variety of programs:  A batch system executes jobs.  A time-shared systems has user programs or tasks.
1 Module 3: Processes Reading: Chapter Next Module: –Inter-process Communication –Process Scheduling –Reading: Chapter 4.5, 6.1 – 6.3.
WORKING OF SCHEDULER IN OS
Section 5: Procedures & Stacks
Introduction to Kernel
Processes and threads.
Chapter 3: Process Concept
Operating Systems (CS 340 D)
Process Management Presented By Aditya Gupta Assistant Professor
Intro to Processes CSSE 332 Operating Systems
Operating Systems (CS 340 D)
System Structure and Process Model
System Structure and Process Model
Lecture 2: Processes Part 1
System Structure B. Ramamurthy.
ICS 143 Principles of Operating Systems
More examples How many processes does this piece of code create?
System Structure and Process Model
Threads Chapter 4.
Process Description and Control
MIPS Functions.
Program Structure INITIALIZE_EL_PARQUERO.WBT EL_PARQUERO.WBT MAIN.WBT
Process Control B.Ramamurthy 2/22/2019 B.Ramamurthy.
Find the slope between the following points. Use (y2 – y1)/(x2 – x1)
Lecture 6: Multiprogramming and Context Switching
Chapter 3: Processes.
Unix Process Control B.Ramamurthy 4/11/2019 B.Ramamurthy.
Processes in Unix, Linux, and Windows
Find the slope between the following points. Use (y2 – y1)/(x2 – x1)
Outline Chapter 2 (cont) Chapter 3: Processes Virtual machines
Chapter 3: Process Concept
Structure of Processes
Operating Systems Processes (Ch 2.1).
Presentation transcript:

CSEN5322 Quiz-3

4. The exec() system call creates a new process. Multiple Choices 1. The ____ of a process contains temporary data such as function parameters, return addresses, and local variables. A) text section C) program counter B) data section D) stack 2. A _________________ saves the state of the currently running process and restores the state of the next process to run. A) save-and-restore C) context switch B) state switch D) none of the above 3. A process may transition to the Ready state by which of the following actions? A) Completion of an I/O event C) Newly-admitted process B) Awaiting its turn on the CPU D) All of the above T/F 4. The exec() system call creates a new process. 5. In Windows XP, using a section object to pass messages over a connection port avoids data copying.

4. The exec() system call creates a new process. F Multiple Choices 1. The ____ of a process contains temporary data such as function parameters, return addresses, and local variables. A) text section C) program counter B) data section D) stack 2. A _________________ saves the state of the currently running process and restores the state of the next process to run. A) save-and-restore C) context switch B) state switch D) none of the above 3. A process may transition to the Ready state by which of the following actions? A) Completion of an I/O event C) Newly-admitted process B) Awaiting its turn on the CPU D) All of the above T/F 4. The exec() system call creates a new process. F 5. In Windows XP, using a section object to pass messages over a connection port avoids data copying. T