ArticleslgStudy

computer science

Control block

Control block is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Control block rather than just read about it. In short: In computing, a control block is an area of memory or disk which contains a group of related data "used for identification and control purposes". Computer operating systems, subsystems, and applications use control blocks to consolidate information regarding system and resource status.

Key takeaways

  • Control block belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Control block to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Control block from memory before moving on to harder problems.

Reference excerpt

In computing, a control block is an area of memory or disk which contains a group of related data "used for identification and control purposes". Computer operating systems, subsystems, and applications use control blocks to consolidate information regarding system and resource status. An operating system will have a control block which tracks the status of running programs. Examples of this are the process control block, thread control block, Task Control Block, or Service Request Blocks. Control blocks, which may be called called Unit Control Blocks, hold the status of all devices known to the system. Opened files are identified by control blocks which may be called File Control Blocks or Data Control Blocks. Operating systems or applications may manage memory using control blocks. For example IBM OS/360 MVT maintains subpools of storage for different purposes, which are tracked by control blocks.

Storage Different control blocks have different storage characteristics. The location of some is determined by the computer architecture. An example of this is the z/OS Prefixed Save Area (PSA), which is the first 8 KB at real address 0; that address is fixed by the z/Architecture Principles of Operation. Some are statically allocated by the operating system, such as the OS/360 through z/OS Communication Vector Table (CVT). Others are dynamically created or initialized and removed by the operating system or application. Examples of this are Linux File Table entries, also called open file descriptions. These are created when a file is opened and removed when it is closed.

Mapping A control block will have a definition or mapping one or more languages. These are equivalents of C structs that define the fields and values that they may contain. A program accessing a control block will usually have to supply a pointer containing the address of the block.

Example Here is a sample C language mapping of a File Control Block from PC DOS:

Here is the definition of a Multics Page Table Word in PL/I.

References

Worked examples

Example 1 — a first encounter with Control block

Start with the simplest possible case. Write down what Control block claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Control block before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Control block ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Control block

In research
Control block appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Control block in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Control block is common in secondary-school and first-year university syllabi. It links to neighbouring topics Data structures, so understanding it makes those chapters shorter.
In everyday life
Look for Control block outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Control block” →

How to study Control block in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Control block means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Control block out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Control block in simple terms?

In computing, a control block is an area of memory or disk which contains a group of related data "used for identification and control purposes". Computer operating systems, subsystems, and applications use control blocks to consolidate information regarding system and resource status.

Why does Control block matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Control block?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Control block.

Tags

  • Data structures

Keep exploring