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

Sort by
Subject
Level

The Complete HTTP Request Lifecycle Explained Step-by-Step

Posted by Anonymous and classified in Computers

Written on in English with a size of 4.45 KB

1. Client Initiation and DNS Lookup

  • The user enters a URL or clicks a link in the browser. The browser parses the URL and extracts the domain (e.g., www.example.com).

  • A **DNS lookup** translates this domain into an IP address—acting like a digital phonebook entry.


2. Establishing the TCP Connection

The browser’s operating system (OS) creates a socket and initiates the **TCP three-way handshake** with the server:

  1. SYN: Client sends a synchronization request to the server.
  2. SYN-ACK: Server acknowledges the request and sends its own synchronization.
  3. ACK: Client acknowledges the server's response.

Once this handshake is complete, a full-duplex TCP connection is open and ready for reliable data exchange.


3. Sending the HTTP Request Message

The client constructs... Continue reading "The Complete HTTP Request Lifecycle Explained Step-by-Step" »

Mastering JavaScript Regular Expressions

Posted by Anonymous and classified in Computers

Written on in English with a size of 5.38 KB

JavaScript Regular Expressions: An Introduction

This concise and clear introduction to Regular Expressions (RegExp) in JavaScript covers their usage, modifiers, patterns, methods, and string integration.

Regular Expressions are powerful patterns used to match, search, and manipulate strings. In JavaScript, regular expressions are objects used with string methods to perform pattern matching.


RegExp Syntax Fundamentals

You can define a regular expression using literal notation:

const pattern = /expression/modifiers;

Or by using the RegExp constructor:

const pattern = new RegExp("expression", "modifiers");

RegExp Modifiers (Flags) Explained

Modifiers change how a Regular Expression behaves:

ModifierDescription
gGlobal match (find all matches, not just the
... Continue reading "Mastering JavaScript Regular Expressions" »

Political Economy: Government Decisions & Public Policy

Classified in Economy

Written on in English with a size of 3 KB

Understanding Political Economy

Political economy applies economic principles to the analysis of political decision-making.

Public Goods & Direct Democracy

Economists have studied several methods for choosing levels of public goods in a direct democracy.

Lindahl Pricing & Preference Revelation

Lindahl pricing results in a unanimous decision to provide an efficient quantity of public goods, but relies on honest revelation of preferences.

Majority Voting Challenges

Majority voting may lead to inconsistent decisions regarding public goods if some people's preferences are not single-peaked.

Logrolling: Trading Votes

Logrolling allows voters to express the intensity of their preferences by trading votes. However, minority gains may come at the expense... Continue reading "Political Economy: Government Decisions & Public Policy" »

Human Immunity, Inflammation, and Cancer Biology Essentials

Posted by Anonymous and classified in Biology

Written on in English with a size of 65.27 KB

Body's Defense Systems: An Introduction

  1. Know that innate (inborn) defenses are the first line of defense:
    • Present at birth.
    • Include the surface barriers, skin, and mucous membranes.
  2. Inflammation is the second line of defense:
    • Activated with injury or infectious disease.
  3. Adaptive (acquired) immunity is the third line of defense:
    • Is specific to particular antigens.
    • Has memory.

Innate Immunity Mechanisms

  1. Neonates often have transiently depressed inflammatory function, particularly neutrophil chemotaxis and alternative complement pathway activity.
  2. Elderly persons are at risk for impaired wound healing, usually because of chronic illnesses.
  3. There are three layers of human defense:
    • Physiologic barriers.
    • The inflammatory response.
    • Adaptive (acquired) immunity.
... Continue reading "Human Immunity, Inflammation, and Cancer Biology Essentials" »

Macronutrient Breakdown: Carbohydrates, Sugars, and Fats

Posted by Anonymous and classified in Medicine & Health

Written on in English with a size of 659.13 KB

Understanding Macronutrients and DRIs

Macronutrients

Macronutrients, which include protein, carbohydrates, and fat, are required by the body in relatively large amounts (hence "macro"). All three provide energy. Fiber is a type of carbohydrate.

Dietary Reference Intakes (DRIs)

The Acceptable Macronutrient Distribution Ranges (AMDRs) are part of the DRIs. They recommend a balance of macronutrients, expressed as a percentage of total dietary energy, that is associated with:

  • Maintenance of a healthy weight
  • The lowest risk for chronic disease
  • The lowest risk for nutrient deficiencies

Consuming macronutrients below or above these ranges increases the risk of chronic disease. Notably, the age group with the highest AMDR for fat is children aged 1-3 years.... Continue reading "Macronutrient Breakdown: Carbohydrates, Sugars, and Fats" »

OWASP & Cybersecurity Essentials: Threats, Tools, and Defenses

Posted by Anonymous and classified in Computers

Written on in English with a size of 15.3 KB

The Open Web Application Security Project (OWASP)

The Open Web Application Security Project (OWASP) is a non-profit foundation providing guidance on developing, purchasing, and maintaining trustworthy and secure software applications. It's an online community that produces free articles, methodologies, documentation, tools, and technologies in IoT, system software, and web application security.

Key Aspects of OWASP

  • Origin: Started by Mark Curphey on September 9, 2001.
  • Leadership: Jeff Williams was the volunteer Chair from late 2003 to September 2011. As of 2015, Matt Konda chaired the Board. Bill Corry was an OWASP Foundation Global Board of Directors officer in February 2023.
  • Goal: To provide tools, resources, and guidelines to developers, businesses,
... Continue reading "OWASP & Cybersecurity Essentials: Threats, Tools, and Defenses" »

Aerospace Propulsion and Orbital Mechanics Fundamentals

Classified in Chemistry

Written on in English with a size of 86.95 KB

Engine Performance Parameters

AeXGvjqsmj5UAAAAAElFTkSuQmCC

Where: $m_{\dot{a}}$ = air mass flow, $m_{\dot{f}}$ = fuel mass flow, $V_{EG}$ = exhaust gas velocity, $V_{Air}$ = aircraft speed, $P_e$ = exhaust pressure, $P_0$ = ambient pressure, $A_e$ = nozzle exit area.

Propulsive Power

ubWwIbevI3N6tl6swSKCvfLJESei4rv4SUbWa1rHyzREro+X+qQatYmzxVSAAAAABJRU5ErkJggg==

Propulsive Power: (Thrust times aircraft velocity). Note: zero at start of takeoff.

B8qZWFFdqwSiAAAAAElFTkSuQmCC

Fuel consumed per unit thrust.

Efficiency Metrics

Thermal Efficiency: Ratio of output power to input heat energy.

Propulsive Efficiency: Depends on the ratio of aircraft speed to exhaust jet speed.

9AP+ZsgOalGjbHcgiVQ4PRG7kh4he58vB3fYFm4YBcEQAAEQAAEQAAEQAAEQAAEQGBxEcjLmZcoIh8O8TqGfTT8a7mMWhW98Cov1fScZQbfWeblO3+GhidX0AsvN0xZqjcW8tHwP6+g2merZjlVRAcCIAACIAACIAACIAACIAACIAACxUMgb2e+eLICSUAABEAABEAABEAABEAABEAABEDg8SBgX5ru8cgzcgkCIAACIAACIAACIAACIAACIAACC5oAnPkFXXwQHgRAAARAAARAAARAAARAAARA4HEkAGf+cSx15BkEQAAEQAAEQAAEQAAEQAAEQGBBE4Azv6CLD8KDAAiAAAiAAAiAAAiAAAiAAAg8jgTgzD+OpY48gwAIgAAIgAAIgAAIgAAIgAAILGgCcOYXdPFBeBAAARAAARAAARAAARAAARAAgceRwP8HQn7GYNMBQZ4AAAAASUVORK5CYII=

Engine Components and Cycles

Subsonic Diffuser: Reduces air velocity, recovers pressure before the compressor.

Supersonic Diffuser: Slows supersonic flow to subsonic using shock waves.

Compressors:
  • Radial (Centrifugal): High
... Continue reading "Aerospace Propulsion and Orbital Mechanics Fundamentals" »

EU Single Market: Rules on Tariffs, Taxes, and Non-Tariff Barriers

Classified in Law & Jurisprudence

Written on in English with a size of 4.47 KB

The aim is to create a single market in the EU where products can move as if there were no borders. This means NO:

  • Customs duties between countries
  • Hidden charges (CHEEs)
  • National rules that make trade harder (MEEs)
  • Taxes that discriminate against foreign products

Exceptions are only allowed when they are justified (e.g., health, safety, morality, etc.) and pass the proportionality test.

Prohibition of Tariffs and Charges (Art. 30 TFEU)

Prohibited between Member States:

  • Customs duties (aranceles): A monetary charge for crossing a border. Always prohibited, even if small or non-protectionist.
  • CHEEs (Charges Having Equivalent Effect): An impuesto disfrazado de otra cosa (tax disguised as something else). A unilateral charge on imports/exports not linked
... Continue reading "EU Single Market: Rules on Tariffs, Taxes, and Non-Tariff Barriers" »

Recombinant DNA, Chemiosmosis, and Electron Transport Chain

Posted by Anonymous and classified in Biology

Written on in English with a size of 6.38 KB

Constructing Recombinant DNA

The following steps are involved in the construction of recombinant DNA:

  1. Preparation of the Gene: Gene cloning in bacteria is achieved by cleaving DNA with enzymes called restriction endonucleases, which create small fragments. Each fragment often has a "sticky end." Since eukaryotic genes contain introns that are not processed in bacteria, the DNA for cloning is usually obtained from relevant mRNA through the process of reverse transcription. In cases where nucleotide or amino acid sequences are known, synthetic DNA may also be produced.
  2. Insertion into a Vector: The vector is a vehicle, such as a plasmid or bacteriophage, used to transfer DNA into a host cell. The vector is cut with the same restriction endonuclease
... Continue reading "Recombinant DNA, Chemiosmosis, and Electron Transport Chain" »

Optimizing English Language Instruction: Methods & Management

Classified in Electronics

Written on in English with a size of 391.23 KB

English Language Levels and Learning Activities

When planning activities, we must consider the students' English level, with the help of the course materials and their textbooks.

First and Second Year Students

  • Encourage the use of adjectives, nouns, and general vocabulary in phrases and longer sentences.
  • Writing is very limited at this stage.
  • Activities: Circle, draw, match, associate.

Third and Fourth Grade Students

  • Encourage greater independence.
  • Activities: Complete sentences, fill in the blanks, answer questions, short writing tasks.

Fifth and Sixth Grade Students

  • Expect them to develop critical thinking and use a variety of adjectives, nouns, and verbs.
  • Activities: Write paragraphs, descriptive writing, opinion pieces, compare and contrast, summarize
... Continue reading "Optimizing English Language Instruction: Methods & Management" »