Notes, summaries, assignments, exams, and problems

Sort by
Subject
Level

Indian Summer, Eruptions, and Heckling: True Stories

Classified in Medicine & Health

Written on in English with a size of 3.26 KB

Indian Summer: Ambulance

Key Points:

  1. C A A C A
  2. T: One day, as often happened, his ambulance was called to a hospital in order to transfer a patient elsewhere (line 4).

    F: Mario lay on his stretcher in the sun… (line 9).

    F: The foundation continues its work today thanks to the large number of volunteers… (line 18).

    1. Feel joyful and emotional, as he shed tears of happiness.
    2. On the organization’s Twitter account and then gained wider attention online and in newspapers.
    1. The receiving hospital wasn’t ready to take the patient yet, so Kees offered to take the sailor to a place he wanted to visit.
    2. Foopen was accompanying a patient to fulfill his wish of visiting the Rijksmuseum.
  3. Joy / on the spur of the moment / establish / stretcher / tremendous.

Eruption

Key

... Continue reading "Indian Summer, Eruptions, and Heckling: True Stories" »

C++ & C Programming Solutions: Algorithms & Patterns

Classified in Computers

Written on in English with a size of 5.13 KB

1. Anagram Detection: C++ String Comparison

This C++ program determines if two input strings are anagrams of each other. It achieves this by converting both strings to lowercase, sorting their characters alphabetically, and then comparing the sorted strings. If they are identical, the original strings are considered anagrams.


#include<bits/stdc++.h>
using namespace std;

int main(){
    string s2,s1;
    cin>>s1>>s2;
    transform(s1.begin(),s1.end(),s1.begin(),::tolower);
    transform(s2.begin(),s2.end(),s2.begin(),::tolower);
    sort(s1.begin(),s1.end());
    sort(s2.begin(),s2.end());
    cout<< (s2==s1);
}

2. Array Subarray: C++ Sliding Window Minimum

This C++ program attempts to find the maximum of minimums within... Continue reading "C++ & C Programming Solutions: Algorithms & Patterns" »

Essential Linux Commands & System Administration Toolkit

Classified in Computers

Written on in English with a size of 7.26 KB

File Operations

  • ls — List files and directories (-a for hidden, -l for detailed)
  • cd [directory] — Change directory
  • mkdir [directory] — Create directory
  • cp [source] [destination] — Copy files/directories (-r for recursive)
  • mv [source] [destination] — Move or rename files/directories
  • rm [file] — Remove files (-r for recursive)
  • chmod [permissions] [file] — Change file permissions
  • chown [user]:[group] [file] — Change file ownership

System Monitoring

  • top / htop — Monitor system processes
  • ps — List running processes
  • df -h — Display disk space usage
  • free -m — Show memory usage

Networking Commands

  • ifconfig / ip a — Display network interfaces
  • ping [host] — Test network connectivity
  • netstat -tuln — List network connections
  • nmap [IP] — Scan
... Continue reading "Essential Linux Commands & System Administration Toolkit" »

Plant Callus Culture: Definition, Types, and Procedure

Classified in Biology

Written on in English with a size of 387.32 KB

Define Callus and Describe Procedure For Callus Culture

A callus culture is a mass of irregular undifferentiated parenchymatous and totipotent cells. These cells have the ability to divide and differentiate to form an entire organism. It is formed in culture media due to active mitotic division of the cells of the explant. Callus culturing is used in the production of secondary metabolites for plant regeneration.

Types of Callus Culture

  • Compact Callus
  • Friable Callus

1) Compact Callus

It shows densely aggregated cells.

2) Friable Callus

It shows loosely associated cells, and the callus becomes soft and breaks easily.

Stages of Callus Culture

There are three stages of callus culture:

1) Induction

Cells in the explant dedifferentiate and begin to divide.

2)

... Continue reading "Plant Callus Culture: Definition, Types, and Procedure" »

Tensors and Variables in PyTorch and TensorFlow

Classified in Computers

Written on in English with a size of 2.4 KB

Tensors and Variables in PyTorch and TensorFlow

Here's a brief explanation of tensors and variables in the context of deep learning frameworks like PyTorch and TensorFlow:

Tensors

  • Definition: A tensor is a multi-dimensional array used to represent data (such as scalars, vectors, matrices, or higher-dimensional data).
  • Common Operations: Tensors can be manipulated with mathematical operations (addition, multiplication, etc.), reshaped, sliced, etc.

In PyTorch, tensors are the core data structure:

import torch
# Create a tensor
a = torch.tensor([[1, 2], [3, 4]])
# Basic operations
b = a + 2         # Adds 2 to each element
c = a * a         # Element-wise multiplication
d = a @ a         # Matrix multiplication

Output:

Tensor `b`: [[3, 4], [5, 6]]
Tensor
... Continue reading "Tensors and Variables in PyTorch and TensorFlow" »

English Past Tense, 'Used To,' and Present Continuous

Classified in English

Written on in English with a size of 5.41 KB

Complete the sentences with the verbs below in Past Simple:

walk, enjoy, like, watch, travel, finish, listen

  1. Lucy liked her birthday presents.
  2. Last weekend I walked in the mountains for 2 hours.
  3. We enjoyed the party very much.
  4. Ken listened to his favorite CD yesterday.
  5. My sister studied Maths for an exam.
  6. They traveled to the USA in 2003.
  7. Dad washed his car last weekend.
  8. The film finished at 11:30.

Write the sentences in negative:

  1. Lucy didn't like her birthday presents.
  2. Last weekend I didn't walk in the mountains for 2 hours.
  3. We didn't enjoy the party very much.
  4. Ken didn't listen to his favorite CD yesterday.
  5. My sister didn't study months for German.
  6. They didn't travel to the USA in 2003.
  7. Dad didn't wash his car last weekend.
  8. The film didn't finish at 11:30.
... Continue reading "English Past Tense, 'Used To,' and Present Continuous" »

Electrolyte Imbalances: Sodium, Potassium, Calcium, Magnesium

Classified in Medicine & Health

Written on in English with a size of 3.93 KB

Sodium Imbalance

Sodium: primary cation in ECF

  • Transport through cells by sodium-potassium pump
  • Secreted into mucous and other secretions

Hyponatremia

Plasma sodium below 135 mEq/L

Causes
  • Losses from excessive sweating, vomiting, diarrhea
  • Certain diuretic drugs with low salt diet
  • Hormonal imbalances (low aldosterone, high ADH)
  • Excessive water intake
Effects
  • Low sodium
  • Decreases osmotic pressure in ECF

Hypernatremia

Plasma sodium above 145 mEq/L

Causes
  • Insufficient ADH
  • Loss of thirst mechanism
  • Watery diarrhea
  • Prolonged periods of rapid respiration
  • Ingesting large amounts of sodium without water balance
Effects
  • Weakness, headache
  • Dry, rough mucous membranes
  • Increased thirst
  • Difficulty swallowing
  • Cerebral edema: leads to seizures

Potassium Imbalance

Potassium: primary cation

... Continue reading "Electrolyte Imbalances: Sodium, Potassium, Calcium, Magnesium" »

A320 Cockpit Components & Flight Operations

Classified in Language

Written on in English with a size of 3.91 KB

Autoflight - Automatic Flight

Captain Seat - Captain's Seat

Glareshield - Autopilot Panel

Center Pedestal - Central Panel

Circuit Breaker - Automatic Circuit

Display - Screen

COMPOUND WORDS

Flight Deck - Flight Cabin

FWD Section - Forward Section

Lever - Control Lever

Overhead Panel - Upper Panel

Pitch Wheel - Nose Wheel

Push Button - Pressure Button

Sidestick - Control Lever

Windshield - Aircraft Windshield

VOCABULARY: APPROACH DELAYS

Headwind - Opposing Wind

A wind that is blowing in the opposite direction to your direction of travel.
Strong headwinds can cause delays for approaching aircraft.

Runway Excursion - Aircraft Veering Off Runway

When an aircraft veers off the active runway surface.
The nose gear steering failed and the aircraft veered off the runway,
... Continue reading "A320 Cockpit Components & Flight Operations" »

Plasmids pBR322 and pUC18/19: Cloning Vectors

Classified in Biology

Written on in English with a size of 1.61 KB

Plasmids pBR322 and pUC18/19

pBR322

pBR322, developed in 1977, is a foundational plasmid in molecular biology. Key features include:

  • Size: ~4,361 base pairs (bp)
  • Origin of Replication: Allows independent replication within bacteria.
  • Selection Markers:
    • ampR: Confers ampicillin resistance.
    • tetR: Confers tetracycline resistance.
  • Cloning Sites: Multiple sites for inserting foreign DNA.
  • Applications: Gene cloning, expression, and manipulation.

pUC18/19

pUC18/19, derived from pBR322 in the early 1980s, simplifies cloning. Key features include:

  • Size: ~2,686 bp
  • Origin of Replication: High-copy-number pMB1 ori for increased yield.
  • Selection Marker:
    • lacZ: Beta-galactosidase gene; enables blue/white screening for insert identification.
  • Cloning Sites: Multiple cloning
... Continue reading "Plasmids pBR322 and pUC18/19: Cloning Vectors" »

Understanding Agricultural Income and Related Tax Cases

Classified in Economy

Written on in English with a size of 3.19 KB

Agricultural Income 2(1A)

Bacha F. Guzdar V. CIT - Dividend income from agricultural company
Sakarlal Naranlal V. CIT - Galka and Loofah
CIT Poona V. HG Date - Jaggery sold since no sugar mill
CIT V. Raja Benoy Kumar Sahas Roy - Spontaneous growth in forest 1. Primary and secondary
Premier Construction Co. Ltd. v. C.I.T. - Part income 10% from an agricultural company not agricultural income.
C.I.T. v. Maddi Venkatasubbayya - Income derived from selling processed agricultural products (tobacco) not agricultural income.

Application and Diversion

CIT V. Sital Dass Tirathdas - Consent decree - alimony
CIT V. Sunil J. Kinariwala - Trust
Raja Bejoy Singh Dudhuria V. CIT - Step mother

Income from House Property

C.I.T., West Bengal v. Biman Behari Shaw, Shebait... Continue reading "Understanding Agricultural Income and Related Tax Cases" »