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

Sort by
Subject
Level

Ec lab

Posted by Anonymous and classified in Computers

Written on in English with a size of 3.19 KB

Postfix evaluation 

#include<stdio.H>
int stack[20];
int top = -1;

void push(int x)
{
    stack[++top] = x;
}

int pop()
{
    return stack[top--];
}

int main()
{
    char exp[20];
    char *e;
    int n1,n2,n3,num;
    printf("Enter the expression :: ");
    scanf("%s",exp);
    e = exp;
    while(*e != '\0')
    {
        if(isdigit(*e))
        {
            num = *e - 48;
            push(num);
        }
        else
        {
            n1 = pop();
            n2 = pop();
            switch(*e)
            {
            case '+':
            {
                n3 = n1 + n2;
                break;
            }
            case '-':
            {
 ... Continue reading "Ec lab" »

Python Fundamentals: Strings, Lists, Math, and Plotting Examples

Posted by Anonymous and classified in Computers

Written on in English with a size of 6.74 KB

P1: Python String Manipulation Techniques

Demonstrating String Operations

s = "hello"
print(s.capitalize())
print(s.upper())
print(s.rjust(100))
print(s.center(100))
print(s.replace('l','(M)'))
print(s)
print("don't")

Indexing

a = 'symbiosis2024'
print(a[2])

Negative Indexing

print(a[-1])
print(a[-6])

Slicing

print(a[9:12])
print(a[9:])
print(a[9:-1])
print(a[:8])
print(a[-12:-1])

Stride [start index:end index:step size]

print(a[0:13:2])
print(a[0::2])

Concatenation

b = 'hello'
c = 'world'
d = b + c
print(d)
e = b + " " + c
print(e)

Repetition

f = a * 3
print(f)
g = "2024"
print(g * 2)
print(a + '2')

Reversing a String

print(a[::-1])

Split

h = "sspu"
print(h.split()) # Returns a list
i = "05/08/2024"
print(i.split("/"))
j = "14:20:25"
print(j.split("
... Continue reading "Python Fundamentals: Strings, Lists, Math, and Plotting Examples" »

Core Concepts in Neurophysiology, Sensory Systems, and Muscle Biology

Classified in Biology

Written on in English with a size of 7.27 KB

Synaptic Transmission Fundamentals

  • Synapse: The gap between neurons (synaptic cleft).
  • Synaptic Knob: The terminal structure containing vesicles.
  • Neurotransmitters: Chemicals that transmit signals.
    • Acetylcholine: Activates muscles.
    • Monoamines: Involved in cognitive processes (emotion, arousal, memory).
    • Amino Acids, Peptides, and Estrogen.
  • Vesicles: Store neurotransmitters.
  • Axon Hillock: Essential for initiating the firing of a neuron (action potential generation).

Postsynaptic Potentials (EPSP and IPSP)

  • EPSP (Excitatory Postsynaptic Potential): Moves the membrane potential toward the threshold.
  • IPSP (Inhibitory Postsynaptic Potential): Moves the membrane potential away from the threshold.

Vision and Refractive Errors

  • Nearsightedness (Myopia):
    • The eyeball
... Continue reading "Core Concepts in Neurophysiology, Sensory Systems, and Muscle Biology" »

Medical Terms, Instruments, and Hospital Equipment

Classified in Medicine & Health

Written on in English with a size of 6.72 KB

Common Medical Abbreviations

  • RSI: Repetitive Stress Injury
  • SAD: Seasonal Affective Disorder
  • SIDS: Sudden Infant Death Syndrome
  • GP: General Practitioner
  • HAV: Hepatitis A Virus
  • MD: Medical Doctor

Medications and Treatments

  • Decongestant: Decreases nasal stuffiness and relieves a runny nose.
  • Anticoagulant: Prevents or delays blood clotting.
  • Sedative: Relieves symptoms of stress, irritability, or excitement.
  • Laxative: Relieves constipation.
  • Digitalis: Strengthens the failing heart.
  • Diuretic: Removes excess fluid from the body.
  • Antibiotic: Treats infections caused by bacteria and other microorganisms.
  • Insulin: Regulates the level of sugar in the blood, used to treat diabetes.

Common Symptoms and Their Causes

  • Fainting, dizziness: Anemia
  • Headache: Sinus infection
  • Fever:
... Continue reading "Medical Terms, Instruments, and Hospital Equipment" »

File System Journaling: Mechanisms, ext3, and NTFS Recovery

Posted by Anonymous and classified in Computers

Written on in English with a size of 3.75 KB

Journaling Motivation and Necessity

File System Check (FSck) ensures metadata consistency after crashes but is slow and requires deep file system knowledge. Recovery time should ideally depend on the number of recent writes.

File System Transactions and ACID Properties

Transactions provide ACID guarantees:

  • Atomicity
  • Consistency
  • Isolation
  • Durability

These are used to treat file system operations (like file creation) as transactions. Recovery ensures committed transactions are applied and uncommitted ones are discarded.

ext3 Journaling File System

ext3 is a journaling file system using physical redo logging, adding journaling to existing ext2 structures.

Redo Logging Mechanism in ext3

The process involves writing updates to a journal first, then committing... Continue reading "File System Journaling: Mechanisms, ext3, and NTFS Recovery" »

Advantages and disadvantages of electrometallurgy

Classified in Chemistry

Written on in English with a size of 4.32 KB

5. Describe what is electrodeposition, describe the different Experimental methods. Give examples. Advantages and disadvantages. It is the process of production a coating, usually Metallic, on a surface by the action of an electric current._Experimental Methods::-Electroplating: It is a plating process in which metal ions in a Solution are moved by an electric field to coat an electrode. Metallic cations From a solution are reduced on a conductive object (to form a thin layer).-Electrophoretic Deposition:Colloidal particles suspended in a liquid migrate under the Influence of an electric field (electrophoresis) and are deposited onto an Electrode._Advantages: uniform coating thicknen,easy control,high speed of Coating and high pucity._Disadvantages:

... Continue reading "Advantages and disadvantages of electrometallurgy" »

Common Neonatal Respiratory Disorders: RDS and TTN

Classified in Biology

Written on in English with a size of 2.89 KB

Neonatal and Pediatric Respiratory Disorders

An analysis of common respiratory conditions affecting newborns, including Respiratory Distress Syndrome (RDS), Transient Tachypnea of the Newborn (TTN), Meconium Aspiration Syndrome (MAS), Bronchopulmonary Dysplasia (BPD), Apnea of Prematurity, Congenital Diaphragmatic Hernia, and Congenital Heart Disease.

Respiratory Distress Syndrome (RDS)

RDS, also called hyaline membrane disease, is related to prematurity. The incidence increases with decreasing gestational age in the infant.

Major Factors in Pathophysiology

  • Qualitative surfactant deficiency
  • Decreased alveolar surface area
  • Increased small airway compliance
  • Presence of the ductus arteriosus

Clinical Manifestations

  • Tachypnea
  • Worsening retractions
  • Paradoxical
... Continue reading "Common Neonatal Respiratory Disorders: RDS and TTN" »

Electrical Safety Rules and Lockout Procedures

Classified in Electronics

Written on in English with a size of 3.38 KB

Safety Rules When Working With Electricity

Works in electrical facilities must be carried out by suitably qualified individuals and, as a rule, without electrical power. Works in locations where voltage is present can only be carried out by workers suitably qualified for such situations, who have received specific training and who use tools properly approved for working with electrical power.

Security during the carrying out of work is ensured by switching the electrical power off and by electrical lockout of the parts of the plant where the works are being carried out, and maintaining this lockout while the work is underway.

IntensidadEfectos en el cuerpo humano
< 0.5 mANo se percibe.
1 - 3 mAPercepción: pequeño hormigueo.
3 - 10 mAElectrización:
... Continue reading "Electrical Safety Rules and Lockout Procedures" »

Step-by-Step Installation of OmniOS with Napp-IT

Classified in Computers

Written on in English with a size of 3.94 KB

Manual Installation:
Current State (Tests are Conducted in ESXi5):


1. Download OmniOS (Bloody or Stable)
2a. Option: Run on ESXi, create a new VM (Solaris 10-64) with e1000 or install on hardware (15 GB disk minimum)

2b. Run on Hardware:
You can install Omni + Napp-IT onto SATA or fast USB sticks >=16 GB (absolute minimum=8 GB when needed).
If you use USB, the best are external USB3 enclosures with a SATA SSD >=16 GB inside.
(Prefer USB3; they are mostly even faster on USB2)

3. Install with defaults from CD or USB install media, login as root (no password)

4. Setup Network. Network is set to (by default): network/physical:default,
so login as root (no password)

4.1 Create Interface
- List available interfaces and use link name, e.g., e1000g0:
dladm... Continue reading "Step-by-Step Installation of OmniOS with Napp-IT" »

Dental Crown and Restoration Types: Benefits and Limitations

Classified in Biology

Written on in English with a size of 4.53 KB

Full Crown Veneer

Indications:

  • Extensive destruction from caries or trauma
  • Endodontically treated teeth
  • Existing restorations
  • Correction for occlusal plane

Contraindications:

  • Less than maximum retention
  • Esthetics

Advantages:

  • Strong
  • High retentive quality
  • Easy to obtain
  • Adequate resistance form

Disadvantages:

  • Removal of large amount of tooth structure
  • Adverse effect on tissues
  • Vitality testing not readily feasible
  • Display of metal

Porcelain-Fused-to-Metal (PFM) Crown

Indications:

  • Esthetics if all-ceramic is contraindicated
  • Gingival involvement

Contraindications:

  • Large pulp chamber
  • Intact buccal wall

Advantages:

  • Superior esthetics compared to complete cast crown

Disadvantages:

  • Removal of substantial tooth structure
  • Subject to fracture
  • Difficult to obtain accurate occlusion
  • Shade
... Continue reading "Dental Crown and Restoration Types: Benefits and Limitations" »