Notes, summaries, assignments, exams, and problems for Primary education

Structural and Behavioral Design Patterns in Software Development

Computer science2.12 KB

Structural Design Patterns

Decorator - Adds additional functionality to a class

Adapter - 'adapts' one interface for a class into one that the client expects

Façade - creates a simplified interface from an existing one

Flyweight - A high quantity of objects share common properties to save space.

Bridge - decouples an abstraction from its implementation so that the two can vary independently.

Behavioral Design Patterns

Chain of Responsibility - Linked list of handlers

Command - Enables all the info for a request to be contained within a single object.

Interpreter - Developing domain specific languages

Iterator - Sequentially access elements of an aggregate object.

Mediator - Removes the need for classes to communicate with each other directly.

Observer...

Continue reading "Structural and Behavioral Design Patterns in Software Development" »

Energy and Cellular Processes: ATP, Enzymes, and Transport

Biology2.88 KB

Energy: Capacity for Change

Potential Energy: Stored energy.

Kinetic Energy: Energy from motion.

Conservation of Energy: Energy cannot be created or destroyed.

Heat: A usually random form of energy.

Entropy: A measure of disorder or randomness.

Chemical Energy: Energy stored in chemical bonds, such as food.

ATP Molecule

Draw a molecule of ATP: Adenosine-P-P-P

Metabolism

Metabolism: The total of all chemical reactions in an organism, requiring enzymes.

ATP and Cellular Work

ATP energy helps cells perform three types of work:

  1. Chemical: Assists chemical reactions.
  2. Transport: Performs transport work.
  3. Mechanical: Moves muscle fibers, for example.

Enzyme Assistance

How do enzymes assist in chemical reactions?

  1. Enzymes provide an active site specific to a substrate
...
Continue reading "Energy and Cellular Processes: ATP, Enzymes, and Transport" »

Modern British Prime Ministers: Thatcher to May

Social sciences3.02 KB

British Political History: Margaret Thatcher and Onwards

Margaret Thatcher

As the first female Prime Minister, Margaret Thatcher came to power in a country facing industrial and economic chaos. Despite having limited experience, she adopted a personal style of indomitable self-confidence and showed no weakness.

  • She created free-market policies that included trade liberalisation, deregulation, austerity, and sweeping privatisation.
  • She focused on breaking the power of unions and emphasized the individual and their enterprises.
  • She rejected the welfare state in an attempt to promote free markets and lower inflation, shifting the economic focus from Keynesianism to monetarism and adopting a style of bullying authoritarianism.
  • Thatcherism had profound
...
Continue reading "Modern British Prime Ministers: Thatcher to May" »

Comparative Advantage, Trade, and Protectionism: A Comprehensive Guide

Economics3.69 KB

Comparative Advantage and Trade

Absolute vs. Comparative Advantage

Absolute advantage occurs when a country can produce more of a good with the same resources or produce the same good with fewer resources (higher efficiency). Comparative advantage exists when a country can produce a good at a lower opportunity cost than another country.

Illustrative Example

  1. Before Specialization: Assume two countries, A and B, each allocating half their resources to produce wheat (W) and rice (R). Country A produces 50W and 40R, while Country B produces 100W and 50R.
  2. After Specialization: Based on opportunity costs, Country A specializes in rice (80R), while Country B specializes in wheat (200W).
  3. Trade: At a market price of 1W = 0.6R, Country B can export 100W and
...
Continue reading "Comparative Advantage, Trade, and Protectionism: A Comprehensive Guide" »

Roots: A Study Guide

Latin3.52 KB

True or False

T Kunta Kinte was born in Juffure.

F The Koro family was friendly with Kunta Kinte. They were enemies.

T Silla is Omoro's brother.

T John Waller owns a tobacco plantation.

T Kunta Kinte tries to escape John Waller's farm during the New Year party.

F Part 2 happens 20 years after part 1. Only 12 years pass.

T Kunta joins the army as an officer.

T Fiddler dies during Kizzy's naming ceremony.

T Noah dies in a big fire in the woods.

T Tom Lea lives in North Carolina.

F Mingo is Kunta Kinte's uncle. Mingo is a friend of Chicken George.

F In the duel, both men have the right to shoot their guns three times. They can only shoot twice.

T Marcellus offers $2,000 for Kizzy's freedom.

F Mingo dies because of sickness. He dies from a beating.

T George is...

Continue reading "Roots: A Study Guide" »

Sustainable Development: Key Concepts and Challenges

Economics3.82 KB

Consequences of Eliminating Export Tax on Cashew Nuts

By eliminating the export tax on raw cashew nuts, it was believed that removing trade barriers would alleviate poverty by increasing the price farmers would receive. Several industrialists who purchased factories opposed the elimination of the export taxes on cashew nuts. The advice failed because the World Bank did not completely analyze the consequences of lifting the export tax barrier. They applied economic theory without considering if the theory would be pertinent in light of the development history of Mozambique. Some consequences were that workers and farmers lost their jobs.

Capital According to De Soto

  1. Describe the definition of capital according to De Soto. Why in the non-Western
...
Continue reading "Sustainable Development: Key Concepts and Challenges" »

Redox Reactions: Ion-Electron Method and Stoichiometry Problems

Employment training and career guidance6.1 KB

100 mL of an aqueous solution of iron(II) chloride are reacted, in acidic medium, with a 0.35 M solution of K2Cr2O7, requiring 64.4 mL of the latter to complete the oxidation. In the reaction, iron(II) is oxidized to iron(III) and the Cr2O72- ion is reduced to chromium(III).

Balance the ionic equation of the reaction using the ion-electron method.

Calculate the molarity of the iron(II) chloride solution.

Oxidation half-reaction: (Fe2+ → Fe3+ + 1e-) × 6
Reduction half-reaction: (Cr2O72- + 14H+ + 6e- → 2Cr3+ + 7H2O) × 1
Ionic equation: 6Fe2+ + Cr2O72- + 14H+ → 6Fe3+ + 2Cr3+ + 7H2O
Once the reaction is balanced and taking its stoichiometry into account: 0.0644 L × 0.35 mol Cr2O7/1 L × 6 mol Fe/1 mol Cr2O7 = 0.135 mol FeCl2 → M = 0.135/0.
...
Continue reading "Redox Reactions: Ion-Electron Method and Stoichiometry Problems" »

Plyometric Training: Enhancing Explosive Power in Athletes

Sport and physical education4.8 KB

Defining Plyometrics

Plyometrics is a training method focused on developing explosive power. It utilizes the stretch-shortening cycle, which consists of three phases:

  • Eccentric: Stretching of the agonist muscle, storing elastic energy in the series elastic component.
  • Amortization: The brief pause between the eccentric and concentric phases.
  • Concentric: Shortening of the agonist muscle, releasing the stored elastic energy from the series elastic component.

Key Factors for a Plyometric Training Program

A successful plyometric training program considers the following factors:

  • Progressive Overload: Gradually increasing the training stimulus over time.
  • Specificity: Training movements should be specific to the demands of the sport.
  • Sport-Specific Patterns:
...
Continue reading "Plyometric Training: Enhancing Explosive Power in Athletes" »

Bacterial Identification: Selective and Differential Media

Biology2.81 KB

Bacterial Identification Using Culture Media

  1. Define:

    1. Selective Medium

      A selective medium favors the growth of specific microorganisms while inhibiting others. Examples include:

      • MAC agar (MacConkey agar)
      • Mannitol salt agar
      • Eosin methylene blue agar (EMB)
    1. Differential Medium

      A differential medium distinguishes between microorganisms based on their biochemical reactions. Examples include:

      • MAC agar
      • Blood agar
      • Mannitol salt agar
      • Eosin methylene blue agar

MacConkey (MAC) Agar

  • MacConkey agar selects for which group of bacteria? Explain.
    • Gram-negative bacteria.
  • MacConkey agar media differentiates between enteric bacteria based on what biochemical reaction? Explain.
    • Lactose fermentation (presence or absence of lactase enzyme).
  • If the organism is E. coli, what would you
...
Continue reading "Bacterial Identification: Selective and Differential Media" »

Vocabulary Building: Mastering Advanced English Words

Language and literature3.95 KB

Mastering Advanced English Vocabulary

Acquisitive - greedy / Acquit - find not guilty / Adduce - bring as proof / Allegiance - loyalty / Allot - assign / Altercation - heated fight / Anathema - something loathed / Anterior - situated in front / Annex - to add / Apparition - ghostly object / Appellation - a name / Apprise - inform / Armistice - truce / Arraign - to accuse / Arrant - bad (arrant fool) / Arrears - state of being in debt / Articulate - pronounce clearly / Ascribe - determine with certainty / Aspersion - slandering remark / Assail - attack vigorously / Astringent - severe / Atone - make amends / Augur - to be an omen / Auspices - support / Aversion - dislike / Barrage - concentrated attack / Bauble - inexpensive ornament / Behest...

Continue reading "Vocabulary Building: Mastering Advanced English Words" »