Notes, summaries, assignments, exams, and problems for University

MIPS Architecture and Procedure Calls

Computer science3.74 KB

What is a Basic Block?

A basic block is a sequence of instructions with no embedded branches (except at the end) and no branch targets (except at the beginning). A compiler identifies basic blocks for optimization. An advanced processor can accelerate the execution of basic blocks.

Six Steps Involved in Procedure Calling

  1. Place parameters in registers.
  2. Transfer control to the procedure.
  3. Acquire storage resources.
  4. Perform the desired operation.
  5. Place the result in a register for the caller.
  6. Return to the point of origin.

Register Saving Responsibilities

Between the caller and callee, the responsibility for saving registers is as follows:

  • Temporary registers ($t*): Can be overwritten by the callee.
  • Saved temporary registers ($s*): Saved and restored by the
...
Continue reading "MIPS Architecture and Procedure Calls" »

A Brief History of England: From Henry VIII to the Virginia Company

History2.98 KB

Henry VIII (1491-1547)

England's Second Tudor Monarch

Henry VIII ruled England from 1509 and is best known for his six marriages and his efforts to annul his first marriage to Catherine of Aragon. When the Pope, the head of the Catholic Church, refused to allow the divorce, Henry challenged the Church's authority. He declared himself the Supreme Head of the Church of England through the Act of Supremacy (1534), solidifying his power and control over religious matters in England.

The Dissolution of the Monasteries

Henry VIII appointed Thomas Cromwell as his chief minister. Cromwell orchestrated the dissolution of Roman Catholic monasteries and convents between 1536 and 1540. During this period, Thomas More was beheaded for refusing to accept...

Continue reading "A Brief History of England: From Henry VIII to the Virginia Company" »

The Tudor Dynasty: Henry VIII and Elizabeth I Explained

History3 KB

The Tudor Dynasty (1485-1603)

Henry VIII (1491-1547)

King of England from 1509, Henry VIII was the second Tudor monarch. He is best known for his six marriages and his persistent efforts to annul his first marriage to Catherine of Aragon to marry Anne Boleyn.

The English Reformation

At the time, England was a Catholic country, and the Pope refused to grant a divorce, as the Church viewed marriage as a lifelong commitment. To bypass this, Henry VIII required all Church officials to swear that he was the leader of the Church. This process, known as the Reformation, was confirmed by the Act of Supremacy (1534), which declared Henry the Supreme Head of the Church of England.

Dissolution of the Monasteries

With the support of his chief minister, Thomas...

Continue reading "The Tudor Dynasty: Henry VIII and Elizabeth I Explained" »

Effective Language Learning Strategies and Examples

Teacher training3.48 KB

Describe two direct and another two indirect strategies you usually use for language learning. Write about the specific strategy and not about the strategy group. Explain them and give one example of how you use them for language learning.

1. Direct Strategy Grouping (Memory Strategy)

Involves classifying or reclassifying what is heard or read into meaningful groups, thus reducing the number of unrelated elements. It sometimes involves labeling the groups, as well.

In my case, when I am learning a foreign language, in this case, English I tend to use this Strategy. While I read a text I underline the words I did not understand such as, friendly, lively, lonely, much, little, several, as soon as, after, however, etc. Then I group them in three...

Continue reading "Effective Language Learning Strategies and Examples" »

Understanding Morphemes: Simplex and Complex Words

Physics1.11 KB

The morpheme is the smallest, indivisible unit of semantic content or grammatical function from which words are made. Words can be classified into monomorphemic or simplex words ('faith' or 'week') and polymorphemic or complex words ('faithfully' or 'weekly'). 'Faith' and 'week' are free morphemes, while 'faithfully' and 'weekly' are bound morphemes that need to be attached to others. Bound morphemes can be prefixes, suffixes, or infixes.

Free morphemes act as bases to which other morphemes are attached to form derivatives. 'Mother' and 'faith' are examples of simplex bases, while 'faithfulness' is an example of a complex base composed of multiple morphemes.

'Teeth' and 'tables' are examples of nouns in the plural form, with 'tables' showing...

Continue reading "Understanding Morphemes: Simplex and Complex Words" »

Understanding Adjectives and Adverbs: Definitions and Examples

Physics3.71 KB

Adjectives

The simplest definition of an adjective is that it is a word that describes or clarifies a noun. Adjectives describe nouns by giving some information about an object’s size, shape, age, color, origin, or material.

It’s a big table. (size)

It’s a round table. (shape)

It’s an old table. (age)

Possessive adjectives - my, your, his, her, its, our, your, their -

Modify the noun following it to show possession.

Examples:

I'll get my bag.

Is this your luggage?

Comparative adjectives

Used to compare differences between two objects they modify (larger, smaller, faster, higher).

My house is larger than hers.

This box is smaller than the one I lost.

Your dog runs faster than Jim's dog.

Superlative adjectives

Used to describe an object at the upper...

Continue reading "Understanding Adjectives and Adverbs: Definitions and Examples" »

Citizen Kane: A Narrative Film Analysis

Language and literature3.32 KB

Citizen Kane


1) Charles Foster Kane, played by Orson Welles, is based on the American newspaper mogul William Randolph Hearst. Hearst tried to use his influence and resources to prevent the film from being released. He ultimately succeeded in pressuring theater changes to limit showings of Citizen Kane.
2) Kane’s mother acquires stock in a gold mine, which made him amazingly wealthy.
3) Citizen Kane is a technically innovative film primarily due to its use of deep focus.
4) When Mr. Thatcher tells him he is losing $1 million a year on the Inquirer, his reaction was: “He doesn't care”
5) When Charles Foster Kane dies at the beginning of the film, his last word was:

Rosebud

6) Kane gives up his marriage, his political career, and his friendship
...
Continue reading "Citizen Kane: A Narrative Film Analysis" »

The Bourbon Dynasty and 18th Century Spanish Reforms

History4.54 KB

The War of the Spanish Succession (1701–1714)

The War of the Spanish Succession was fought between a coalition led by the Holy Roman Empire, Great Britain, the Dutch Republic, Portugal, and the Duchy of Savoy, against the Kingdoms of France and Spain and the Electorate of Bavaria.

The conflict arose after the last Spanish Habsburg King, Charles II of Spain, died without issue, leading to a dispute over the succession between the Bourbon candidate, Philip V, and the Austrian Habsburg Archduke Charles.

The war was concluded by the treaties of Utrecht (1713) and Rastatt (1714). As a result, Bourbon Philip V was recognized as King of Spain, but he was forced to renounce any claim to the French throne and to cede much of the European Spanish Crown'...

Continue reading "The Bourbon Dynasty and 18th Century Spanish Reforms" »

Simple past grammar

English4.05 KB

unit 9A

second conditional

if+simple past+would or wouldn't

ej if I saw a ghost, Iwould scream

I Would scream if saw a ghost

Unit 9B

for (periodo de) since (fecha)

I've worked here for a year

I've worked here since 2016

Algo que ocurrio en el pasado, pero sigue ocurriendo

Unit 9C

present perfect v/s Simple past

have + V(pp)              verb (past)

has                      

Siggie marley has won a grammy        Bob Marley die of cancer

Unit 10A

*passive

Tolkien wrote the LOTR

(ACTIVA)

Pasiva= The LOTR was written by toklen

act= Chile exorts copper...

Pass= Cooper is exported by Chile

*Used to

(+) I used to study a lot

(-) I didn't use to study

(?) Did you use to study?




unit 9A

second conditional

if+simple past+would or wouldn't

ej if I saw a ghost,

...
Continue reading "Simple past grammar" »

From Academic Struggles to Global Connections: A Personal Journey

English3.56 KB

The Journey Begins

When I was young, at 16, I started receiving low marks. This disappointed my family, although I initially thought it was normal for that age. However, my friends weren't experiencing the same academic struggles. The core issue was a **lack of motivation**. This is where my journey truly began.

High School Challenges

As a result of those marks, I had to repeat grades, which changed everything. Despite my lack of motivation, I completed the last two years of high school (bachillerato) primarily due to the immense pressure I felt to succeed.

University Decisions

While preparing for the university entrance exam, I was very nervous about failing. Fortunately, it went well, and I decided to study Business Administration and Management...

Continue reading "From Academic Struggles to Global Connections: A Personal Journey" »