Notes, abstracts, papers, exams and problems of University

Sort by
Subject
Level

School Memories: From Basketball to Gymnastics

Classified in English

Written at on English with a size of 3.32 KB.

School Break Time Memories

During school breaks, my friends and I used to play basketball. We formed teams, and the losing team would buy Lay's for the winning team. I used to play basketball, but I stopped when I broke my finger. Afterward, the school bought a thick and long rope, and I started playing jump rope with my friends. We all got together, and one by one, we started jumping. It was a lot of fun, but actually, I think I'm afraid of it now. I also used to play hide-and-seek with my friends, but I didn't like it much because I felt like time was passing, and the break was ending very quickly. When I entered high school, I stopped playing during breaks and only ate breakfast with my friends. We would sit on a bench and just talk.

A Lost

... Continue reading "School Memories: From Basketball to Gymnastics" »

Software Design Principles and Patterns

Classified in Computers

Written at on English with a size of 4.98 MB.

Lecture 2: Dynamic Dispatch and Interfaces

  • Dynamic Dispatch: The process of selecting which implementation of a polymorphic operation to call at runtime.
  • Interface: Calling a method that is not in the interface will cause a compilation error.

Lecture 3: N/A

Lecture 4: Method Contracts, Exceptions, and Unit Testing

  • Method Contract: Should define pre/post conditions and exceptional behavior. The client is to blame if the precondition is not met, and the service is to blame if the postcondition is not met. Exceptional behavior specifies what the code will do if a precondition is violated.
  • Exception: Runtime exception (unchecked) and IO exception (checked). The IO exception must be caught; otherwise, the code won't compile.
  • Unit Test: Test boundary
... Continue reading "Software Design Principles and Patterns" »

Language vs Dialect: Power Dynamics and Societal Influence

Classified in Social sciences

Written at on English with a size of 2.3 KB.

Regarding the difference between a language and a dialect can be confusing. A language is a mental phenomenon, the language lives in the mind because it is a cognitive ability. However, a dialect is a certain type of linguistic variety. It is the way of speaking of a community which is a bit different from the standard one. One problem is dialectal continuum:

The distinction is very broad. If we ask how many languages there are, we will not have an exact answer because there are over 4000 and 6000 languages. It is difficult to say which is a language or which is not. The word 'language' is a concept more political than scientific, the decision in the end is political. For example, the Swedes, Danish, and Norwegians speak highly similar linguistic... Continue reading "Language vs Dialect: Power Dynamics and Societal Influence" »

Mesopotamian Civilization: Society, Economy, Religion

Classified in History

Written at on English with a size of 2.95 KB.

The Rise of Mesopotamian Civilization

On the banks of the Tigris and Euphrates rivers, the main urban settlements that were to play a leading role in the three millennia of Mesopotamian history emerged. The periodic overflowing of their banks irrigated and enriched the surrounding land, allowing intensive agricultural exploitation. This favored the appearance of stable settlements and their development. Cities such as Uruk, Ur, Lagash, Assur, Mari, and Babylon, among many others, arose, governed independently from a temple-palace.

Mesopotamian Society and Governance

The temple-palace organized the economy and held the political and military monopoly, as it was where the production and surplus from their economic activities were stored. Society... Continue reading "Mesopotamian Civilization: Society, Economy, Religion" »

C Programming Examples: Code Snippets and Explanations

Classified in Computers

Written at on English with a size of 3.41 KB.

C Programming Examples

Here are several C programming examples:

Vector Operations

#include <stdio.h>

void leVetor (int v [] , int tam );
int prodEscalar (int v1 [] , int v2 [] , int tam );

int main (void) {
    int v1 [ DIM ], int v2 [ DIM ];
    int i;
    int prod ;

    leVetor (v1 , DIM );
    leVetor (v2 , DIM );
    prod = prodEscalar (v1 , v2 , DIM );
    printf ("%d\n", prod );
    return 0;
}

void leVetor (int v [] , int tam ) {
    /* Completar */
}

int prodEscalar (int v1 [] , int v2 [] , int tam ) {
    /* Completar */
}

Random Number Generation

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

#define VEZES 10

int main (void) {
    int i , j , k;
    double r;

    srand ( time ( NULL )); /* inicializa
... Continue reading "C Programming Examples: Code Snippets and Explanations" »

Indifference Curves, Budget Lines, and Consumer Equilibrium

Classified in Economy

Written at on English with a size of 562.89 KB.

Theory of Indifference Curves

Developed by Prof. Thomas S. Alvarez

ECONOMICS AND INDUSTRIAL ORGANIZATION I

Indifference Curves

The table below shows points in four different indifference curves for a consumer.
(a) Draw the indifference curves I, II, III, and IV on the same set of axes.
(b) What are indifference curves?

I II III IV
Qx Qy Qx Qy Qx Qy Qx Qy
2 13 3 12 5 12 7 12
3 6 4 8 5.5 9 8 9
4 4.5 5 6.3 6.3 8.3 9 7
5 3.5 6 5 7 7 10 6.3
6 3 7 4.4 8 6 11 5.7
7 2.7 8 4 9 5.4 12 5.3

(a)

Image

(b) Indifference curves graphically display the tastes and preferences of consumers (in the analysis of utility, the total utility curve introduced consumer tastes). The consumer is indifferent to all the various combinations of X and Y on the same indifference curve... Continue reading "Indifference Curves, Budget Lines, and Consumer Equilibrium" »

Key Legal Concepts: Torts, Dismissal & Offenses

Classified in Law & Jurisprudence

Written at on English with a size of 4.89 KB.

Legal Comparisons

Negligence vs. Intentional Tort

Negligence and intentional torts differ primarily in the mindset of the individual causing harm. Negligence occurs when someone fails to exercise reasonable care, often resulting in unintentional harm. In contrast, intentional torts, like assault or battery, involve deliberate actions intended to harm another person.

Strict Liability vs. Negligence

Strict liability and negligence share the goal of holding individuals accountable for harm caused, but their requirements for proving fault differ. Negligence requires proving that the defendant failed to exercise reasonable care, while strict liability does not require any proof of fault.

Defamation vs. Nuisance

Defamation and nuisance are distinct torts... Continue reading "Key Legal Concepts: Torts, Dismissal & Offenses" »

19th-20th Century Urban Transformations in Madrid

Classified in Geography

Written at on 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" »

Essential Linux Commands & File System Structure

Classified in Computers

Written at on English with a size of 7.16 KB.

Linux File System Structure: An archive of Linux is associated with 3 parts: superblock, inode table, and data blocks.

Network Ports: To see the ports assigned to services.

Display Active TCP/IP Connections: netstat -a

User Management:

  • Create password: passwd (user)
  • Add user to group: usermod -g group_name
  • Disable: 60001
  • Enable: 60002

Practical Commands:

Add User: adduser

  1. Change folder privileges: chmod
  2. Check privileges: ls -de (see if you changed privileges)
  1. Create a user: useradd newuser
    passwd newuser
  2. Create a directory: The command mkdir is used to create directories:
    mkdir mydirectory
  3. Create a report: ps -aux >> reporte.txt
  4. Directories associated with the user: -d dirname
  5. Changing permission: chmod 744 file.txt /file.txt
  6. Change owner: chown
    Entering
... Continue reading "Essential Linux Commands & File System Structure" »

Power control.

Classified in Electronics

Written at on English with a size of 40.96 KB.

To control by PWM requires 2 factors:

1-crossing detection signal by 0.

2-? determine the time, every time you walk by 0.

to detect the zero crossing can be performed
through an operational amplifier connected
comparator.

gYQAAAAASUVORK5CYII =

TCA = 785
Pin Symbol Function
1 GND Earth
2 Q2 *Output 2 Inverted
3 Output U QU
4 Q1 * Output 1 Inverted
5 5Synchronizing voltage Vsync (to detect
zero crossing)
6 Inhibitor
7 QZ Z Output
8 8 Vref voltage stabilized (continuous signal for the
integrator)
9 9 ramp resistor R9 (for the integrator)
10 C10 ramp Capacitance (for the integrator)
11 11 V11 Control Voltage (for comparator)
12 12 C12 pulse Extension
13 LLong pulse
14 Q1 Output 1
15 Q2 Output 2
16 l sSupply voltage.
2Q ==