ArticleslgStudy

computer science

Barrotes

Barrotes 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 Barrotes rather than just read about it. In short: Barrotes is a computer virus, considered as the first of Spanish origin, which appeared in December 1992, and was programmed in assembly language for DOS-based systems. Initially, although to a lesser extent, it was also called Toledo by the press, due to the location in the homonymous city of its first discovery, and registered as Virus:DOS/Barrotes by Microsoft.

Barrotes — main illustration
Barrotes — illustration

Key takeaways

  • Barrotes 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 Barrotes to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Barrotes from memory before moving on to harder problems.

Reference excerpt

Barrotes is a computer virus, considered as the first of Spanish origin, which appeared in December 1992, and was programmed in assembly language for DOS-based systems. Initially, although to a lesser extent, it was also called Toledo by the press, due to the location in the homonymous city of its first discovery, and registered as Virus:DOS/Barrotes by Microsoft. Like many viruses of the time, it remains dormant in the affected machine, waiting for a specific date to execute its malicious code, also called payload, with the date chosen by its developer being 5 January, a very important date in Spain, as it is the night of the Biblical Magi, displaying the message «Virus BARROTES por OSoft» and the on-screen graphics of the characteristic bars that give it its name and make it look like the system is in a prison cell.

Features The virus occupies a total of 1310 bytes in size and infects COM and EXE executable files. When an infected file is executed on the system, the malicious code of the virus is the first thing to execute, checking if it is already resident in memory, detecting if it has already been executed before, and bypassing the infection process of the executed file. Otherwise, it proceeds to install itself in memory by registering the interrupt vector corresponding to DOS services (int 21) in the virus header, thanks to which the virus will infect files on the system as the user executes them. It will then check if the date is 5 January to display the author's message and the bars. Otherwise, it runs the system normally, going unnoticed.

Propagation method Barrotes has no automatic method of propagation beyond infecting local files on the machine affected by the virus. Its main method of dissemination, given the context of its time of action —the 90s— was the exchange of infected files via physical storage media, such as floppy disks.

Variants Subsequently, new versions and variants of the virus appeared with more pronounced malicious effects, such as the Barrotes 1303 variant in 1996, which destroyed the boot sector of the hard disk, preventing the system from booting and accessing the information stored on it, changing the activation date to 23 September. Many computer systems were exposed to these effects.

See also Brain (computer virus) Stoned (computer virus) Michelangelo (computer virus)

References

Bibliography Pc Mania, number 28, 1995 HOBBY PRESS, S.A., Internet Archive OK PC number 17, 1993, New Publisher Press, S.A., Internet Archive Virus Bulletin, 1994, Network Security Management, UK, ISSN 0956-9979, Internet Archive

External links Virus.DOS.Barrotes (YouTube)

Illustrations

Barrotes illustration

Worked examples

Example 1 — a first encounter with Barrotes

Start with the simplest possible case. Write down what Barrotes 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 Barrotes 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 Barrotes 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 Barrotes

In research
Barrotes 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 Barrotes 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
Barrotes is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1990s in hacking, 1992 in computing, DOS file viruses, so understanding it makes those chapters shorter.
In everyday life
Look for Barrotes 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 “Barrotes” →

How to study Barrotes in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Barrotes 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 Barrotes out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Barrotes in simple terms?

Barrotes is a computer virus, considered as the first of Spanish origin, which appeared in December 1992, and was programmed in assembly language for DOS-based systems. Initially, although to a lesser extent, it was also called Toledo by the press, due to the location in the homonymous city of its…

Why does Barrotes 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 Barrotes?

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 Barrotes.

Tags

  • 1990s in hacking
  • 1992 in computing
  • DOS file viruses
  • Software programmed in assembly language

Keep exploring