Notes, summaries, assignments, exams, and problems

Sort by
Subject
Level

Rajput Dynasty: Origins, Governance, and Kingdoms

Classified in Social sciences

Written on in English with a size of 2.46 KB

Rajputs: Origins, Governance, and Legacy

Theories of Rajput Origin

  1. Foreign Origin Theory: This theory suggests that the Rajputs were of foreign origin, specifically from Central Asia or Scythia.
  2. Indigenous Origin Theory: This theory proposes that the Rajputs were of indigenous origin, emerging from the local population of India.
  3. Mixed Origin Theory: This theory suggests that the Rajputs were of mixed origin, with both foreign and indigenous elements.

Rajput Administration System

  1. Monarchical System: The Rajputs followed a monarchical system, with the king holding supreme power.
  2. Feudal System: The Rajputs also followed a feudal system, with the king granting land and titles to his nobles and vassals.
  3. Council of Ministers: The king was advised by a council
... Continue reading "Rajput Dynasty: Origins, Governance, and Kingdoms" »

Canada Trip & Family Vacation: Travel Stories & Johnny Depp Bio

Classified in English

Written on in English with a size of 2.77 KB

Letter to a Friend About a Trip

From: [Your Name]

To: [Friend’s Name]

Subject: My Trip to Canada

Hi [Friend’s Name],

How are you? I have amazing news! I’m going to Canada for three weeks to study English!

I’ll be arriving on January 15th and staying at a student residence close to the school. My course has 20 lessons a week, and I’ll take morning classes. In the afternoons, I plan to join some activities, like city tours and maybe trying fun things like ice skating. I also want to explore and enjoy Canadian food. It’s going to be so exciting!

I hope you’re doing well. Do you think I should pack anything special for the trip? Let me know!

Take care,

[Your Name]

Family Vacation in La Serena, Chile

I went on vacation in February with my family... Continue reading "Canada Trip & Family Vacation: Travel Stories & Johnny Depp Bio" »

Essential Algorithms and Data Structures: A Quick Reference

Classified in Computers

Written on in English with a size of 580.94 KB

fUlQAAAABJRU5ErkJggg==

AOUNZyjQwEJMAAAAAElFTkSuQmCC


Essential Algorithms and Data Structures

Longest Increasing Subsequence (LIS):

  • Subproblem: dp[i] = length of LIS ending at index i
  • Recursion: dp[i] = max(dp[j] + 1 for j < i and arr[j] < arr[i])
  • Base case: dp[i] = 1 (every element is a subsequence of length 1)
  • Time Complexity: O(n^2), O(n log n) with binary search optimization.

Longest Alternating Subsequence (LAS):

  • Subproblem: dp[i][0] (increasing), dp[i][1] (decreasing)
  • Recursion: dp[i][0] = max(dp[j][1] + 1 for j < i and arr[j] < arr[i]), dp[i][1] = max(dp[j][0] + 1 for j < i and arr[j] > arr[i])
  • Base case: dp[0][0] = 1, dp[0][1] = 1
  • Time Complexity: O(n^2)

0/1 Knapsack Problem:

  • Subproblem: dp[i][w] = maximum value for the first i items and weight limit w
  • Recursion: dp[i][w] = max(
... Continue reading "Essential Algorithms and Data Structures: A Quick Reference" »

Dijkstra's Algorithm in C: Code & Explanation

Classified in Computers

Written on in English with a size of 3.5 KB

Dijkstra's Algorithm in C

This code implements Dijkstra's algorithm to find the shortest path from a source vertex to all other vertices in a graph represented as an adjacency matrix. The program reads graph data from an input.txt file and writes the results to an output.txt file.

Code Implementation


#include <stdio.h>
#include <limits.h>
#include <stdbool.h>

#define MAX_VERTICES 100

// Function to find the vertex with minimum distance
int minDistance(int dist[], bool visited[], int vertices) {
    int min = INT_MAX, min_index;

    for (int v = 0; v < vertices; v++)
        if (!visited[v] && dist[v] <= min) {
            min = dist[v];
            min_index = v;
        }

    return min_index;
}

// Dijkstra'
... Continue reading "Dijkstra's Algorithm in C: Code & Explanation" »

Islamic Principles: Zakat, Riba, Hajj, and Social Conduct

Classified in History

Written on in English with a size of 3.5 KB

Riba's Contribution to Poverty

Riba (usury) exacerbates poverty by exploiting people's wealth. It is a significant factor in rising prices and economic recession. Furthermore, it diminishes charitable acts and cooperation within society. From a moral standpoint, it strips human actions of their blessings. Borrowers often struggle to repay loans, ultimately leading to increased interest and indebtedness.

Risks of Accusing Chaste Women of Adultery

Accusing a chaste woman of adultery is an extremely serious offense and constitutes slander. Such accusations jeopardize her reputation and honor, leading to defamation within the community. They can also severely damage families, promote immorality, and foster animosity among people.

Benefits of Zakat

... Continue reading "Islamic Principles: Zakat, Riba, Hajj, and Social Conduct" »

Key Business and Accounting Concepts

Classified in Economy

Written on in English with a size of 4.03 KB

Business Entity Fundamentals

  • Entities:
    • Natural person (1 owner)
    • Moral person (+2 owners)
  • Source of Capital:
    • Private (individuals)
    • Public (state)
    • Mixed (individuals and state)
    • Domestic (Mexicans/national)
    • Foreign
  • Act Developed:
    • Trade
    • Manufacturer
    • Service
  • Countries Operate:
    • National
    • Multinational
  • Purpose:
    • For-profit
    • Non-profit

Financial Reporting Standards (IFRS)

All entities keep accounting records as measured following Financial Reporting Standards (IFRS).

Accounting Definition

Accounting: Methodical and systematic record of the daily operations of an economic entity.

IFRS Ethics Principles

  • Integrity: Honest
  • Objectivity: No conflict of interests
  • Competition: Update knowledge
  • Confidentiality
  • Professionalism: Comply with laws

Accounting Information Systems

System: Set of elements... Continue reading "Key Business and Accounting Concepts" »

19th-20th Century Urban Transformations in Madrid

Classified in Geography

Written on in English with a size of 3.28 KB

Disentailment (First Half 19th Century)

Historical Context

Beginning in 1836, the disentailment was driven by Juan Álvarez Mendizábal, Minister of Finance in the liberal government. This reform aimed to modernize the Spanish economy and reduce the power of the Church.

Objectives

  • Debt Reduction: Obtain revenue to reduce the massive public debt.
  • Agrarian Modernization: Modernize agriculture by transferring lands from dead hands to private owners for exploitation.
  • Weakening Church Power: Reduce the economic and social power of the Catholic Church, which owned vast tracts of land.

Consequences

  • Economic: Public debt was reduced and state resources increased, but land distribution favored the wealthy, worsening inequalities.
  • Social: Many peasants and small
... Continue reading "19th-20th Century Urban Transformations in Madrid" »

Cloud Computing Essentials: DFS, HDFS, Security, and Virtualization

Classified in Technology

Written on in English with a size of 319.79 KB

Cloud Computing Essentials

What is a Distributed File System (DFS)?

A distributed file system (DFS) in cloud computing manages data across multiple servers for scalability, fault tolerance, and efficient access. It replicates data for high availability, balances loads, ensures data consistency, and can be cost-effective.

Examples include Hadoop Distributed File System (HDFS), Google File System (GFS), Amazon Elastic File System (EFS), and Azure Blob Storage. DFS is essential for handling large-scale data storage and processing in cloud environments.

HDFS Architecture

HDFS: Hadoop Distributed File System. Google published its paper GFS and on the basis of that HDFS was developed.

It states that the files will be broken into blocks and stored in nodes... Continue reading "Cloud Computing Essentials: DFS, HDFS, Security, and Virtualization" »

Thermodynamics and Simple Harmonic Motion

Classified in Physics

Written on in English with a size of 3.38 KB

Thermodynamics

First Law of Thermodynamics (Law of Energy Conservation)

Energy cannot be created or destroyed; it can only change forms.

Formula: ΔU=Q−W

Where: ΔU is the change in internal energy of the system, Q is the heat added to the system, W is the work done by the system.

Explanation: The total energy in a closed system remains constant. Energy can be transformed from one form to another (e.g., heat energy to mechanical energy).

Second Law of Thermodynamics

Key Concept: The total entropy (disorder) of an isolated system always increases or remains constant.

Formulas:

Entropy Change for Reversible Process: ΔS=Qrev /T

Where: ΔS is the change in entropy. Qrev is the heat added in a reversible process. T is the absolute temperature. Qirr is... Continue reading "Thermodynamics and Simple Harmonic Motion" »

Language Acquisition & Child Development

Classified in Electronics

Written on in English with a size of 4.88 KB

Key Concepts in Language Acquisition and Child Development

Questions & Answers

  1. According to Chomsky, language is... A (We possess an innate capacity for language.)
  2. Which of the following statements is true? C (Learners need a supportive environment.)
  3. Behaviorism relies on... A (Skinner's theory of operant conditioning.)
  4. According to Krashen... C (Comprehensible input is important.)
  5. According to constructivism... A (Children of a similar age think similarly.)
  6. The term "concentration span" refers to... A (The time and capacity for focused attention.)
  7. Comprehensible input means... B (The teacher uses facial expressions and gestures.)
  8. Language acquisition does not require... D (All of the above.)
  9. What is the zone of proximal development? A (The zone
... Continue reading "Language Acquisition & Child Development" »