section is dynamically allocated memory to a process during its run time
Guys, does anyone know the answer?
get section is dynamically allocated memory to a process during its run time from screen.
The ProcessNext: Process State Up: Process Concept Previous: Process Concept
A process is a program in execution. A process is more than the program code, which is sometimes known as the text section.
It also includes the current activity, as represented by the value of the program counter and the contents of the processor's registers.Figure 1: (a) Multiprogramming of four programs. (b) Conceptual model of four independent, sequential processes. (c) Only one program is active at once.
In Fig. 1a we see a computer multiprogramming four programs in memory.
In Fig. 1b we see four processes, each with its own flow of control (i.e., its own logical program counter), and each one running independently of the other ones. Of course, there is only one physical program counter, so when each process runs, its logical program counter is loaded into the real program counter. When it is finished for the time being, the physical program counter is saved in the process'logical program counter in memory.
In Fig. 1c we see that viewed over a long enough time interval, all the processes have made progress, but at any given instant only one process is actually running.
A process generally also includes
a data section, which contains global variables,
the process stack, which contains temporary data (such as function parameters, return addresses, and local variables),
a heap, which is memory that is dynamically allocated during process run time.
The structure of a process in memory is shown in Fig. 2.Figure 2: Process in memory.
A program becomes a process when an executable file is loaded into memory.
Although two processes may be associated with the same program, they are nevertheless considered two separate execution sequences.
For instance, several users may be running different copies of the mail program,
or the same user may invoke many copies of the web browser program.
Each of these is a separate process; and although the text sections are equivalent, the data, heap, and stack sections vary.Next: Process State Up: Process Concept Previous: Process Concept
Cem Ozdogan 2010-03-09
स्रोत : boron.physics.metu.edu.tr
Practice these processes management in operating system MCQ questions with answers and their explanation which will help you to prepare for competitive exams, placements, interviews etc.
Operating System MCQ - Processes Management
Processes Management MCQs : This section focuses on "Processes" in Operating System. These Multiple Choice Questions (MCQ) should be practiced to improve the Operating System skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.
1. Which of the following is true about Process?
A. A process is basically a program in execution
B. The execution of a process must progress in a sequential fashion.
C. A process is defined as an entity which represents the basic unit of work to be implemented in the system.
D. All of the above View Answer
2. This is dynamically allocated memory to a process during its run time.
A. Heap B. Stack C. Queue D. Data View Answer
3. This section contains the global and static variables.
A. Heap B. Stack C. Data D. Text View Answer
4. A part of a computer program that performs a well-defined task is known as ?
A. algorithm B. software C. program D. task View Answer
5. How many state are there in Process Life Cycle?
A. 4 B. 5 C. 6 D. 7 View Answer 6. PCB stands for?
A. Process Current Block
B. Parent Control Block
C. Parent Current Block
D. Process Control Block
7. A collection of computer programs, libraries and related data are referred to as?
A. algorithm B. software C. PCB D. Process View Answer
8. In which state, processor executes its instructions?
A. Ready B. Waiting C. Running D. Start View Answer
9. In PCB, This is required to allow/disallow access to system resources.
A. Process State
B. Process privileges
C. Program Counter
D. CPU Scheduling Information
10. In PCB, This includes the amount of CPU used for process execution, time limits, execution ID etc.
A. IO status information
B. CPU Scheduling Information
C. CPU registers
D. Accounting information
View Answer Discussion
In this section of Operating System Process Management.it contain Operating System Process Management - Processes MCQs (Multiple Choice Questions Answers).All the MCQs (Multiple Choice Question Answers) requires in detail reading of Operating System subject as the hardness level of MCQs have been kept to advanced level.
Operating System – Processes MCQs
In this section of Operating System Process Management.it contain Operating System Process Management – Processes MCQs (Multiple Choice Questions Answers).All the MCQs (Multiple Choice Question Answers) requires in detail reading of Operating System subject as the hardness level of MCQs have been kept to advanced level.It covers the below lists of topics
Process execution states MCQs
Process Memory MCQs
Process Heap,Program counter,Stack,Data section,Text Section MCQs
. When a program is loaded into the memory and it becomes a process, it can be divided into which of the sections?
stack heap text data 1 1,2 1,2,3 1,2,3,4 2
. Which of the following includes the current activity represented by the value of Program Counter and the contents of the processor's registers.
stack Text Data Heap 3
. A process is more than the program code, which is sometimes known as the __________
contents of the processor’s registers
stack data section 4
. ____ section is dynamically allocated memory to a process during its run time
stack Text Data Heap 5
. A process's Current Activity is represented by
contents of the processor’s registers
stack data section 1 1,2 1,2,3 1,2,3,4 6
. A process generally also includes the process ______, which contains temporary data (such as function parameters, return addresses, and local variables)
text section program counter stack data section 7
. A process generally also includes the process _____, which contains global variables.
heap program counter stack data section 8
. A process may also include a _____, which is memory that is dynamically allocated during process run time
heap program counter stack data section 9
. As a process executes, it changes state. The state of a process is defined in part by the current activity of that process. A process may be in one of the following states
New Running Waiting Ready Terminated 1,2 1.2.3 1,2,3,4,5 1,2,3,4 10
. Which state of a process defined "The process is being created"
New Running Ready Waiting 11
. Which state of a process defined "Instructions are being executed"
New Running Waiting Ready 12
. .Which state of a process defined "The process is waiting for some event to occur (such as an I/O completion or reception of a signal)"
Ready Running Waiting Terminated 13
. Which state of a process defined "The process is waiting to be assigned to a processor."
New Running Waiting Ready 14
. Which state of a process defined "The process has finished execution"
Running Running Ready Terminated
You may be interested in:
Operating System Online Tests
Operating System Short Questions Answers
Operating System Chapterwise Long Descriptive Questions Answers
Operating System Tutorials
TABLE OF CONTENTS
OS Basics MCQs
Operating Systems Set-1
Operating Systems Set-2
Operating Systems Set-3
Operating Systems Set-4
Operating Systems Set-5
Operating Systems Set-6
Operating Systems Set-7
Operating Systems Set-8
Operating Systems Set-9
Operating Systems Set-10
OS Process Management MCQs
Operating System – Processes
Operating System – Process Control Block
Operating System – Process Scheduling
Operating System – Process Creation
Operating System – Interprocess Communication
Operating System – Threads
OS Process Synchronization MCQs
Operating System – The Critical-Section Problem
Operating System – Peterson’s Solution
Operating System – Classic Problems of Synchronization
OS CPU scheduling MCQs
Operating System – CPU Scheduling
Operating System – CPU scheduling Criteria
Operating System – Scheduling Algorithms
OS Deadlocks MCQs
Operating System – Deadlocks
Operating System – Deadlock Prevention
Operating System – Deadlock Avoidance
Operating System – Deadlock Detection
Operating System – Recovery from Deadlock
OS Memory Management MCQs
Operating System – Main Memory – Memory Management
Operating System – Main Memory – Memory Allocation
Operating System – Memory Allocation to a process using Stacks
Operating System – Memory Allocation to a process using Heap
Operating System – Memory Fragmentation
Operating System – Contiguous-Noncontiguous Memory Allocation
Operating System – Memory Allocation Using Paging and Segmentation
Operating System – Virtual Memory – Virtual Memory Manager
Operating System – Virtual Memory – Demand Paging-1
Operating System – Virtual Memory – Demand Paging-2
Operating System – Virtual Memory – Page Replacement Algorithms
OS File System MCQs
Operating System – File Systems – File System Concepts
Guys, does anyone know the answer?