Notes, summaries, assignments, exams, and problems

Sort by
Subject
Level

C++ Concepts: Exception Handling to Friend Functions

Classified in Computers

Written on in English with a size of 3.16 KB

Exception Handling

#include <iostream>
#include <stdexcept>
using namespace std;
int main() {
    try {
        int numerator = 10;
        int denominator = 0;
        int res;
        if (denominator == 0) {
            throw runtime_error("Division by zero not allowed!");
        }
        res = numerator / denominator;
        cout << "Result after division: " << res << endl;
    }
    catch (const exception& e) {
        cout << "Exception " << e.what() << endl;
    }
    return 0;
}

Operator Overloading

#include <iostream>
using namespace std;
class Test {
private:
    int num;
public:
    Test(): num(8){}
    void operator ++() {
        num = num + 2;
    }
    void Print() {
... Continue reading "C++ Concepts: Exception Handling to Friend Functions" »

Early Middle English Linguistic Analysis

Classified in English

Written on in English with a size of 4.02 KB

Morphological Analysis

This section details the morphological characteristics observed in early Middle English texts.

Nouns

Examples include: boc (book), Englisca boc (English book), Latin (Latin), Albin (Albin), Austin (Austin), feire (fair), fulluht (baptism), Frenchis clerc (French clerk), quene (queen), kinges (king), leaf (leaves). Note that boc (book) uses the singular form, while leaf (leaves) is the plural form. The pluralization of leaf does not follow the modern -s or -es form, illustrating historical variation.

Verbs

Examples include: bi-won (obtained), nom (took), makede (made), broute (brought), leide (laid), wende (turned). bi-won (obtained) shows the prefix bi-, which is less common in Modern English. The past tense forms nom (took)... Continue reading "Early Middle English Linguistic Analysis" »

Mastering Indirect Speech: Tense & Adverb Transformations

Classified in English

Written on in English with a size of 6.58 KB

Mastering Reported Speech: Tense Transformations

When reporting what someone said, the tenses often shift. Here's a breakdown of common tense changes:

  • Present Simple (makes) → Past Simple (made)
  • Present Continuous (is making) → Past Continuous (was making)
  • Past Simple (made) → Past Perfect (had made)
  • Past Continuous (was making) → Past Perfect Continuous (had been making)
  • Present Perfect (has made) → Past Perfect (had made)
  • Present Perfect Continuous (has been making) → Past Perfect Continuous (had been making)
  • Past Perfect (had made) → Past Perfect (had made) (no change)
  • Past Perfect Continuous (had been making) → Past Perfect Continuous (had been making) (no change)
  • Future Simple (will make) → Conditional Simple (would make)
  • Future
... Continue reading "Mastering Indirect Speech: Tense & Adverb Transformations" »

Essential English Vocabulary and Grammar

Classified in Medicine & Health

Written on in English with a size of 5.75 KB

Vocabulary

  • Being admired by the people around you
  • Being part of a loving family
  • Doing really well in your studies or work
  • Having enough money to live well
  • Having friends
  • Having a lot of time to spend on the things I love doing
  • Living in a nice neighborhood

Achieve, Carry Out, and Devote

  • Achieve: *conseguir/lograr* (It helped her to achieve her aim of improving her family's happiness)
  • Carry out: *llevar a cabo* (Susan's concerns prompted her to carry out her own research)
  • Devote: *dedicar* (We know devoting more time...)

Stay, Spend, and Pass

  • Stay: *permanecer, estar tiempo* (I stayed 2 hours listening to the radio)
  • Spend: *pasar/gastar* (I have spent my life studying)
  • Pass: *pasar tiempo*

Make, Cause, and Have

  • Make: *hizo que* (The bad sound made the film difficult
... Continue reading "Essential English Vocabulary and Grammar" »

Metabolic Pathways and Liposome Drug Delivery

Classified in Biology

Written on in English with a size of 5.27 KB

Metabolic and Biochemical Processes

BMI Calculation: BMI = Kg/M2. Interpretation: <25 = Normal, 25-30 = Overweight, >30 = Obese. Ethanolamine (Ethan-NH3), Choline = N(CH3)3

Leptin and Adipose Tissue

Leptin is released from adipose tissue when mass is high. It travels through the blood to the arcuate nucleus, binds to neuronal cells, and activates the JAK-STAT pathway. This increases gene expression of POMC, which produces alpha-MSH (a neurotransmitter). Alpha-MSH reaches neurons connected to adipose tissue, releasing norepinephrine. Norepinephrine binds to beta-adrenergic receptors on adipose tissue, promoting an increase (via the G-protein coupled receptor pathway and activation of PKA). This leads to upregulation of UCP1 expression and... Continue reading "Metabolic Pathways and Liposome Drug Delivery" »

Blue Prism RPA Roles, Governance, and ROM Foundations Q&A

Classified in Computers

Written on in English with a size of 16.07 KB

RPA Governance and Demand Pipeline Management

Demand Pipeline Prioritization Steps

Which of the following does not describe the “Prioritization” step as part of managing the demand pipeline?

R: Helping a friend

Head of Robotic Automation Role and Responsibility

Which of the following statements are true when describing the role and responsibility of the Head of Robotic Automation?

R: All of the above

RPA Governance Board Objectives

Select from the below which statement best describes the Demand Generation objective within the RPA Governance Board?

R: Identify quality RPA automation opportunities

Select from the below which statement best describes the Demand Management objective within the RPA Governance Board?

R: Responsible for defining and prioritizing

... Continue reading "Blue Prism RPA Roles, Governance, and ROM Foundations Q&A" »

Chemical Principles: Equilibrium, Enthalpy, Kinetics & D-Block

Classified in Chemistry

Written on in English with a size of 15.65 KB

Chemical Equilibrium & Enthalpy Changes

Le Chatelier's Principle & Equilibrium Constant (Kc)

  • If a reaction is endothermic, an increase in temperature will shift the equilibrium to the right-hand side (products) to decrease the temperature.
  • Position of Equilibrium: Describes how far a reaction has proceeded and the proportion of products to reactants in the mixture.
  • Equilibrium Constant (Kc): The constant for an equilibrium system, expressed in terms of concentrations (mol dm-3) at a given temperature.
  • Kc Formula: Kc = [Products] / [Reactants]
    • Example (Haber Process): N2(g) + 3H2(g) ⇌ 2NH3(g)
    • Units for Haber Process Kc: (mol dm-3)-2 or mol-2 dm6
  • Temperature Effects on Kc/Kp:
    • For an exothermic reaction, an increase in temperature decreases Kc/
... Continue reading "Chemical Principles: Equilibrium, Enthalpy, Kinetics & D-Block" »

Key Historical Events and Figures: 19th and 20th Centuries

Classified in History

Written on in English with a size of 5.17 KB

Boxer Rebellion

The Boxer Rebellion was a violent anti-foreign and anti-Christian uprising led by Chinese nationalists. It was quickly crushed, humiliating China. This was one of the first major anti-foreign rebellions.

Bolshevik Revolution

The Bolshevik Revolution in Russia was led by Vladimir Lenin. It established a communist government in the nation and led to the eventual removal of Russia from World War I.

Bentley and Child Labor

A worker in Britain, Bentley testified before a parliamentary committee investigating conditions among child laborers in the British textile industry. He described the poor conditions and low pay. This led to the formation of unions.

The Birth of a Nation

The Birth of a Nation was a silent film released in 1915. It depicted... Continue reading "Key Historical Events and Figures: 19th and 20th Centuries" »

Tragic Story of Allegra Byron: Unveiling a Venetian Mystery

Classified in English

Written on in English with a size of 3.36 KB

Allegra Byron's Early Life in Venice

Allegra Byron lived with her father, Lord Byron, in a large house called the Palazzo Mocenigo. However, Lord Byron eventually realized that it was not a suitable home for a child. He entrusted Allegra to an English family in Venice. Allegra stayed in Venice for eight months with different families. When Allegra was four years old, Byron sent her to a convent school near Ravenna. Allegra was often cold and lonely there.

Grammar Notes

  • Prepositions:
    • In for months (e.g., in May)
    • On for days (e.g., on Monday)
    • At for weekends and specific times (e.g., at the weekend, at 7 o'clock)
  • Present Simple: After 'go', use the gerund form (-ing) (e.g., go swimming).
  • Do/Does: Use 'do' or 'does' + person + verb for questions (e.g.
... Continue reading "Tragic Story of Allegra Byron: Unveiling a Venetian Mystery" »

Simple Machines: Principles, Types, and Applications

Classified in Technology

Written on in English with a size of 3.42 KB

Common Characteristics of Machines

  • Involve a kind of motion.
  • Involve a kind of force.
  • Make a job easier to do.
  • Need some kind of input to make them work.
  • Produce some kind of output.

Basic Types of Motion

  • Rotary: Going round and round.
  • Oscillating: Swinging backwards and forwards.
  • Linear: In a straight line.
  • Reciprocating: Backwards and forwards in a straight line.

A machine is a device that helps make work easier to perform.

Mechanical Advantage Defined

Mechanical Advantage: When a machine takes a small input force and increases the magnitude of the output force, a mechanical advantage has been produced.

Conservation of Energy Principle

Conservation of Energy: No machine can produce more work than the amount of work that is put into the machine.

The Six Simple

... Continue reading "Simple Machines: Principles, Types, and Applications" »