Notes, summaries, assignments, exams, and problems

Sort by
Subject
Level

Effective Diarrhea Relief: Medications and Management

Posted by Anonymous and classified in Medicine & Health

Written on in English with a size of 4.25 KB

Anti-Motility Medications (Pharmacy Only)

These medications work by relaxing the smooth muscles in the intestinal wall, reducing bowel movements.

Loperamide + Co-phenotrope (Dhamotil)

Loperamide

  • Indication: Symptomatic relief of acute or chronic diarrhea.
  • Dose: Maximum 16mg daily. Limit use to less than 48 hours.
  • Side Effects: Constipation, nausea, vomiting, bloating.
  • Special Precautions (SPC):
    • Stop taking once diarrhea resolves (constipation may occur).
    • Take with food.

Co-phenotrope

  • Indication: Acute diarrhea in adults.
  • Dose: Maximum 8 tablets daily.
  • Contraindications: Not for children under 12 years old.
  • Special Precautions (SPC): May cause dizziness and drowsiness; do not drive or operate machinery.

Adsorbent Medications (General Sales List)

Adsorbents... Continue reading "Effective Diarrhea Relief: Medications and Management" »

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" »

Essential English Vocabulary for News, Law, and Verb Structures

Classified in Spanish

Written on in English with a size of 7.81 KB

Crimes and Criminal Acts Vocabulary

  • blackmailcoercion by threat of revealing embarrassing information
  • briberyoffering money or gifts to influence someone
  • burglaryillegal entry into a building with intent to commit a crime
  • drug dealingselling or distributing illegal drugs
  • frauddeception for personal or financial gain
  • hackinggaining unauthorized access to computer systems
  • hijackingillegally seizing control of a vehicle, especially an aircraft
  • kidnappingabducting and holding someone captive
  • mugginga street robbery, often involving violence
  • murderthe unlawful premeditated killing of one human being by another
  • rapenon-consensual sexual penetration
  • robberytaking property from a person by force or threat
  • smuggling
... Continue reading "Essential English Vocabulary for News, Law, and Verb Structures" »

Aircraft Identification Features and Aerospace Composites

Classified in Technology

Written on in English with a size of 2.12 MB

0x2tV7+WJthvnHKBJxetd6bDt4HGFRMUjKVYAkcpjUtUWL9j3gNmYqJno4oRbrQGEYppr6f6HxU4t1t6PHAAAAAElFTkSuQmCC dJX3ra+dx9QAAAAASUVORK5CYII= gAAAAASUVORK5CYII= h83gsXK+4otxAAAAABJRU5ErkJggg==

Aircraft Identification Features

Learn to distinguish different aircraft models by their key visual characteristics:

  • A330 vs B777: The B777 doesn’t have winglets, has three wheels per main landing gear strut, and the end of the fuselage is distinct.
  • A320 vs B737: Standard Airbus/Boeing differences; B737s have a distinct engine shape (flattened bottom).
  • B737 Series: Differences between -200, -300, -400, -500, -600, -700, -800, -900ER are primarily by size.
  • B747: All have 4 engines. -200 and -300 do not have winglets, but the -300 has a larger upper deck hump. The -400 has winglets. The SP variant has no winglets and is shorter than others.
  • B757: The -300 is significantly larger than the -200.
  • B767: The -200 has no winglets. The -400 and -300 have
... Continue reading "Aircraft Identification Features and Aerospace Composites" »

C Implementation of Queues, Linked Lists, and Search Algorithms

Classified in Computers

Written on in English with a size of 17.79 KB

Circular Queue Implementation Using Linked Lists

This C program demonstrates the implementation of a circular queue using a linked list structure. The queue handles integer data.

Data Structure Definition

#include <stdio.h>
#include <stdlib.h>

typedef struct QueueType {
    int Data;
    struct QueueType *Next;
} QUEUE;

QUEUE *Front = NULL; // Pointer to the front of the queue
QUEUE *Rear = NULL;  // Pointer to the rear of the queue

// Function prototypes
void Enqueue(int Num);
int Dequeue();
void DisplayQueue();
int Menu();

Enqueue Operation

The Enqueue function inserts a number into the circular queue. It handles memory allocation and maintains the circular link by ensuring Rear->Next always points to Front.

void Enqueue(int Num)
... Continue reading "C Implementation of Queues, Linked Lists, and Search Algorithms" »

Object Instantiation and Code Examples

Classified in Technology

Written on in English with a size of 4.2 KB

Poodle Instantiation Example

B. The Poodle variable myDog is instantiated as a Poodle. The instance variable size is initialized to "toy". An implicit call to the no-argument Dog constructor is made, initializing the instance variable name to "NoName".

Book Instantiation Example

C. Object myBook is created using the one-argument Book constructor, which uses super to set myBook's title attribute to "Adventure Story". Object yourBook is created using super to call the Publication no-argument constructor to set yourBook's title attribute to "Generic".

Tree Instantiation Example

B. Object tree1 is created using the DeciduousTree constructor, which uses super to set tree1's treeVariety attribute to "Oak". Object tree2 is created using the EvergreenTree... Continue reading "Object Instantiation and Code Examples" »

Java Code Examples: User Name Generation and Repair Scheduling

Classified in Computers

Written on in English with a size of 6.34 KB

This document presents Java code snippets demonstrating two distinct functionalities: user name generation and management, and a car repair scheduling system. Each section includes method implementations with explanations of their purpose and logic.

User Name Management System

The UserName class is designed to generate and manage potential user names based on a user's first and last names. It also provides functionality to filter out names that are already in use.

UserName Class Constructor

This constructor initializes a UserName object, populating a list of possible user names. It assumes that firstName and lastName are valid strings containing only letters and have a length greater than zero.

import java.util.ArrayList;

public class UserName {

... Continue reading "Java Code Examples: User Name Generation and Repair Scheduling" »

Nmap, Netcat, and Metasploit Commands Cheat Sheet

Classified in Computers

Written on in English with a size of 7.67 KB

Nmap Options

-PE: Quickly check if host is up.

-sn: Disable port scanning (host discovery).

-n: Disables DNS resolution (checks IP online without looking up hostnames).

-O: OS detection.

-A: OS detection, Version detection, Script scanning, traceroute.

-sV: Service detection (banner info, version).

-vV: Provides verbose output.

-sC: Scan with default scripts for additional info gathering.

--min-rate=5000: Ensures scan sends at least 5k packets per second.

nmap --script smb-enum-shares.nse -p 445 (ip): List shares and their properties.


To see scripts starting with X: ls /path/X

To execute script with script tracing: sudo nmap -script=smb-os-discovery -script-trace target_ip

To enumerate the SMB share files: sudo nmap -script=smb-enum-shares target_ip

Vulnerability... Continue reading "Nmap, Netcat, and Metasploit Commands Cheat Sheet" »

Spanish Civil War: Causes, Consequences & Basque Impact

Classified in History

Written on in English with a size of 14.36 KB

1. Ariketa

1.1. Dendak Irekitzea

18:26an ireki dituzte hainbat denda.

18:26an - hainbat denda

1.2. Anai-Arreben Jaiotza

1991ko maiatzaren 26an jaio ziren zure anai-arrebak.

Maiatzaren 26an - anai-arreba

1.3. Hizkuntza Eskola

Datorren ikasturtean hizkuntza-eskolan emango dute izena hainbat neskek.

Hizkuntza-eskolan - dute - hainbat neskak

1.4. Goizeko Irteera

Urtarriletik maiatzera, ostegunetan, goizeko 07:30etan aterako gara etxetik.

Urtarriletik maiatzera - 07:30ean

1.5. Ekonomi Bileraren Amaiera

Ekonomi-arloko bilera gaueko zortzi eta erdietan amaitu zen; proposamenaren inguruko bozketan, sei eta lau egin zuten.

Ekonomia-arloko - zortzi eta erdietan - sei eta lau egin zuten

1.6. Hezkuntza Proiektua

Ez zaitu inork ere ezagutu, hezkuntza proiektuan aritu ginenetik... Continue reading "Spanish Civil War: Causes, Consequences & Basque Impact" »

Dental Development Stages and Orthodontic Occlusion Criteria

Classified in Biology

Written on in English with a size of 5.59 KB

First Stage: Gum Pad (Birth to 2 Years)

This stage lasts from birth until the completion of the deciduous maxillary gum pad.

  • Maxillary Gum Pad: Horseshoe shape.
  • Mandibular Gum Pad: U shape.
  • Transverse Division: Elevated ridges are divided into segments for future deciduous teeth.
  • Lateral Sulcus: Located distal to the canine area.

Gum Pad Occlusion

Gum Pad at Rest: The pads are not in contact, and the tongue is projecting.

Occlusal relationships are described in three dimensions:

  1. Anteroposteriorly (Overjet): Anterior overjet; the mandibular lateral sulcus is posterior to the maxillary.
  2. Vertically: Anterior open bite; posterior segments (Segment D) touch.
  3. Transversely: The maxillary gum pad is wider than the mandibular (resulting in overjet).

Second Stage:

... Continue reading "Dental Development Stages and Orthodontic Occlusion Criteria" »