Notes, summaries, assignments, exams, and problems

Sort by
Subject
Level

Mastering English Grammar: Passive Voice, Causative, and More

Classified in Medicine & Health

Written on in English with a size of 3.13 KB

Passive Voice

  • Active: The secretary types the letter.
  • Passive: The letters are typed by the secretary.
  • Future Simple: Will type / Will be typed
  • Past Simple: Typed / Were typed
  • Modal: Can type / Can be typed
  • Present Continuous: Am/is/are being + past participle
  • Present Perfect Simple: Have / has been + past participle

Impersonal Voice

  1. It is thought/said/believed + that...
  2. Subject + is considered/thought/said + to be...

The Causative (get/have + object + verb 3rd form)

Often associated with professions. Changes depending on the verbal tenses.

Ex: The painters painted my house / I had my house painted by the painters.

Wish Clauses

  1. Wish + subject + past simple (about the future): Not reality, but you want it to happen. Ej: I wish I were a rich man.
  2. Wish + could
... Continue reading "Mastering English Grammar: Passive Voice, Causative, and More" »

Mastering Stacks, Deques, Trees, and Graph Data Structures

Classified in Computers

Written on in English with a size of 21.54 KB

A stack is a fundamental data structure in computer science that follows the Last In, First Out (LIFO) principle. This means that the last element added to the stack is the first one to be removed. You can think of it like a stack of plates: you can only add or remove the top plate.

### Key Concepts of a Stack:

1. Basic Operations:
   - Push: This operation adds an element to the top of the stack.
   - Pop: This operation removes the element from the top of the stack and returns it.
   - Peek (or Top): This operation returns the top element of the stack without removing it.
   - IsEmpty: This operation checks whether the stack is empty.

2. Implementation:
   Stacks can be implemented using arrays or linked lists. Here are the details for... Continue reading "Mastering Stacks, Deques, Trees, and Graph Data Structures" »

Mastering Deterministic Finite Automata: Construction & Core Concepts

Classified in Philosophy and ethics

Written on in English with a size of 1.48 MB

DFA for Strings with Odd 'a's and Even 'b's

44CWt0zipZCAAAAAElFTkSuQmCC

This section details the construction of a Deterministic Finite Automaton (DFA) to accept strings composed of 'a's and 'b's, specifically those with an odd number of 'a's and an even number of 'b's.

Language Characteristics:

  • Odd number of 'a's: At least one 'a', and the total count must be odd.
  • Even number of 'b's: At least zero 'b's, and the total count must be even.

Examples of String Acceptance:

Let L be the language of accepted strings.

  • abbaabbaabbReject (Odd 'a's, Odd 'b's)
  • aabaabaabReject (Even 'a's, Odd 'b's)
  • abababReject (Even 'a's, Odd 'b's)
  • bababaReject (Even 'a's, Odd 'b's)
  • bbaaabbaaabbaaaAccept (Odd 'a's, Even 'b's)
  • aaabbaaabbaaabbAccept (Odd 'a's, Even 'b's)

DFA for Decimal

... Continue reading "Mastering Deterministic Finite Automata: Construction & Core Concepts" »

Taxation of Income from Other Sources in India: Key Q&A

Classified in Economy

Written on in English with a size of 11.99 KB

Income from Other Sources: Key Questions and Answers

Q1. What is the name of the fifth head of income?

Ans: Income from other sources.

Q2. What are the essential conditions for chargeability of income under the head 'Income from Other Sources'?

Ans: The following conditions must be satisfied:

  • (i) There must be an income that is not exempted from tax.
  • (ii) The income must not be chargeable under any of the first four heads (i.e., other than the head 'Income from Other Sources').

Q3. Write two examples of income that are chargeable under the head 'Income from Other Sources'.

Ans:

  • (i) Winning from lotteries
  • (ii) Winning from crossword puzzles

Q4. Under which head is the salary of MP/MLA charged?

Ans: Income from other sources.

Q5. Define the term 'security'

... Continue reading "Taxation of Income from Other Sources in India: Key Q&A" »

Essential Linux Commands: A Practical Reference

Classified in Computers

Written on in English with a size of 3.95 KB

Essential Linux Commands

File and Directory Management

  • mkdir: Create a new directory.
  • ls: List contents of a directory.
  • rm: Remove files or directories (-r for recursive).
  • cp: Copy files or directories.
  • mv: Move or rename files or directories.
  • cat: Display file contents or create files.
  • less: View file contents one page at a time.
  • head: Display the first 10 lines of a file.
  • tail: Display the last 10 lines of a file.

System Information

  • uname: Show system information (kernel, version, etc.).
  • top: Display running processes and resource usage.
  • df: Show disk space usage.
  • df -h: Show disk usage in human-readable format.
  • free: Display memory usage (RAM and swap).

File Creation and Editing

  • touch: Create an empty file or update its timestamp.
  • echo: Write text to a file
... Continue reading "Essential Linux Commands: A Practical Reference" »

Essential Chemistry Definitions and Concepts

Classified in Chemistry

Written on in English with a size of 4.5 KB

Essential Chemistry Definitions

Fundamental Concepts

  • Physical Property: Characteristics observed without changing the substance (color, melting point, density, boiling point).
  • Chemical Property: Characteristics observed when a substance changes into another (reactivity with air, acid, base, water, other chemicals).
  • Law of Conservation of Matter: Matter is neither created nor destroyed.
  • Atomic Theory: Theory of the nature of atoms.
  • Isotope: Atoms of the same element with different numbers of neutrons.
  • Ion: Atom or molecule with a net electric charge.
  • Cation: Positively charged ion.
  • Anion: Negatively charged ion.
  • Atomic Mass Unit (amu): Unit of mass for expressing atomic & molecular weights.
  • Mole: Unit for amount of substance (6.022 x 10^23 particles)
... Continue reading "Essential Chemistry Definitions and Concepts" »

Probability and Set Theory: Key Concepts and Formulas

Classified in Mathematics

Written on in English with a size of 621.25 KB

De Morgan's Law

De Morgan's Law: (Flip if the union is true)

g8dOSouHHJeLgAAAABJRU5ErkJggg==

tEHF2bHGd7QAAAABJRU5ErkJggg==

, image of set: [min, max]; one-to-one: horizontal line test; Onto: Image must equal domain; Bijective: one-to-one and Onto


jwZqnYInIm4AAAAASUVORK5CYII=

|| EV

FbMmWWz8fkWEKgiAIwgUQ9zAFQRAE4QKIgCkIgiAIF0AETEEQBEH4UfAD9AVFr05q6ZYAAAAASUVORK5CYII=

||


Possible Outcomes and Probability Calculations

  • Repetition formula: nk
    • Example: 5 awards (k) and 30 students (n), with no limit to awards per student.
  • Permutation formula: P(n, k) = n! / (n - k)!
    • Example: Each student gets 1 award, so the number of students decreases by one each award.
  • No overlap probability: P(n, k) / repetition formula
  • Arrangements: a = slots → a! can be multiplied by arrangements within slots
  • Die sum probability:
    • List combinations that lead to the sum for each die.
    • If a die is rolled multiple times, each combination has (rolls)! permutations.
    • Add
... Continue reading "Probability and Set Theory: Key Concepts and Formulas" »

Human Body Systems: Excretion, Digestion, and Immunity

Classified in Biology

Written on in English with a size of 3.52 KB

Human Body Systems and Excretion

Tissues/Organs/Organ System

Function in Excretion

Digestive System

Removal of faeces

Respiratory System

Removal of CO2 (alveoli)

Skin (sweat glands)

Removal of sweat and toxins

Urinary System

Blood filtration (Urine)

Absorption vs. Assimilation

Compare and contrast

Absorption and Assimilation

  • Similarity: Both involve nutrients—absorption transfers them into the bloodstream, and assimilation uses them in cells.

  • Difference: Absorption happens in the digestive system; assimilation occurs in tissues.

Digestion vs. Nutrition

Digestion and Nutrition

  • Similarity: Both are essential for energy and growth—digestion breaks down food, and nutrition provides the substances needed for this process.

  • Difference: Digestion is the physical

... Continue reading "Human Body Systems: Excretion, Digestion, and Immunity" »

The Outsiders: Themes, Characters, and Plot Analysis

Classified in Psychology and Sociology

Written on in English with a size of 3.56 KB

Themes in The Outsiders

Class Conflict: The rivalry between the Greasers and Socs emphasizes the socioeconomic divide and its impact on identity and relationships.

Identity and Belonging: Characters grapple with their place in society and within their groups, highlighting the search for self amidst stereotypes.

Violence and Its Consequences: The physical and emotional toll of gang rivalry demonstrates the destructiveness of unchecked aggression.

Loyalty and Brotherhood: The Greasers' strong bonds showcase the importance of chosen family in adversity.

Loss of Innocence: Ponyboy and Johnny, especially, confront moral dilemmas and death, leading to a poignant coming-of-age journey.

Conflicts in The Outsiders

  • Man vs. Society: Both groups face judgment
... Continue reading "The Outsiders: Themes, Characters, and Plot Analysis" »

Biomarkers and Therapies for Diabetes Insipidus and Kidney Stones

Classified in Medicine & Health

Written on in English with a size of 2.95 KB

Understanding Diabetes Insipidus and Renal Calculi

1. What is a Clinical Biomarker? Name Biomarkers Used to Diagnose DI & Renal Calculi.

A clinical biomarker is a measurable indicator of a biological state or condition.

For Diabetes Insipidus (DI):

  • Serum sodium
  • Osmolality
  • ADH levels
  • Urine osmolality

For Renal Calculi (Kidney Stones):

  • Serum calcium
  • Uric acid
  • Oxalate levels
  • Urine pH

2. What Does a Low Level of ADH Indicate?

A low level of Antidiuretic Hormone (ADH) indicates Diabetes Insipidus (DI) or pituitary gland dysfunction.

3. Explain the Role of Vasopressin in DI.

Vasopressin regulates water reabsorption in the kidneys. In DI, either vasopressin is deficient (central DI) or the kidneys do not respond to it (nephrogenic DI).

4. Explain the Role of Vasopressin

... Continue reading "Biomarkers and Therapies for Diabetes Insipidus and Kidney Stones" »