Notes, abstracts, papers, exams and problems

Sort by
Subject
Level

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

Mastering Irregular Verbs: A Comprehensive English-Spanish List

Classified in English

Written at on English with a size of 4.53 KB.

Mastering Irregular Verbs in English and Spanish

This list provides common irregular verbs in English, along with their past simple and past participle forms, and their Spanish translations.

  • beat/beat/beaten: ganar
  • eat/ate/eaten: comer
  • drive/drove/driven: conducir
  • dream/dreamed/dreamed: soñar
  • draw/drew/drawn: dibujar
  • do/did/done: hacer
  • cost/cost/cost: costar
  • come/came/come: venir
  • choose/chose/chosen: elegir
  • catch/caught/caught: coger
  • buy/bought/bought: comprar
  • build/built/built: construir
  • bring/brought/brought: llevar
  • break/broke/broken: romper
  • blow/blew/blown: soplar
  • bite/bit/bitten: morder
  • bend/bent/bent: doblar
  • begin/began/begun: empezar
  • understand/understood/understood: entender
  • sleep/slept/slept: dormir
  • mean/meant/meant: significar
  • lose/lost/lost: perder
  • make/
... Continue reading "Mastering Irregular Verbs: A Comprehensive English-Spanish List" »

Key International Organizations: Roles and Functions

Classified in Social sciences

Written at on English with a size of 1.79 KB.

United Nations (UN)

The UN facilitates international cooperation in law, security, development, human rights, and peace.

UNESCO

United Nations Educational, Scientific and Cultural Organization: Focuses on education, science, and culture.

FAO

Food and Agriculture Organization: Leads efforts to combat hunger and improve nutrition.

ILO

International Labour Organization: Addresses labor issues and work relations.

UNICEF

United Nations International Children's Fund: Provides aid to children globally.

WHO

World Health Organization: Coordinates international public health initiatives.

IAEA

International Atomic Energy Agency: Promotes peaceful use of nuclear energy.

NATO

North Atlantic Treaty Organization: A military alliance for collective defense.

OPEC

Organization

... Continue reading "Key International Organizations: Roles and Functions" »

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

Mastering Conditional Sentences, Passive Voice, and Reported Speech in English

Classified in English

Written at on English with a size of 3.55 KB.

Conditional Sentences

First Conditional

Structure: If + Present Simple -> Future Simple or may/might + Imperative

Examples:

  • If you are left-handed, you will face many disadvantages.
  • You will meet a lot of people if you travel abroad.
  • If she is free tomorrow, she may/might attend the concert too.

Second Conditional

Structure: If + Past Simple -> would + Base Form or could/might

Examples:

  • If we had enough money, we would buy a new car.
  • You could/might learn more this year if you studied harder.

Third Conditional

Structure: If + Past Perfect -> would have + Past Participle or could/might have

Examples:

  • If I had phoned my parents, they wouldn't have been worried.
  • He could/might have visited her if he had known she was ill.

Passive Voice

Present Simple

  • Active:
... Continue reading "Mastering Conditional Sentences, Passive Voice, and Reported Speech in English" »

Bécquer's Late Romantic Period: Poetry, Prose, and Theater

Classified in Latin

Written at on English with a size of 2.81 KB.

Bécquer's Late Romantic Works

Poetry

Rimas

Bécquer's most famous work, Rimas, is a collection of 79 short poems characterized by their intimate tone, simple vocabulary, and assonant rhyme. These poems explore themes of love, inspiration, disillusionment, and loneliness. They are grouped into four series that trace the arc of a love story:

  1. The Mystery of Poetry (1-11)
  2. Hopeful and Joyous Love (12-29)
  3. Love's Disillusionment (30-51)
  4. Loneliness and Emptiness (52-79)

Bécquer's style avoids the loudness and effects of earlier Romantic poetry, favoring a soft rhythm and evocative language.

Characteristics

  • Influence of popular poetry: Short, direct verses with assonance and repetition.
  • Influence of Symbolism: Exploration of interior experiences and the ineffable
... Continue reading "Bécquer's Late Romantic Period: Poetry, Prose, and Theater" »

Dddddddddd

Classified in Other subjects

Written at on English with a size of 1.32 KB.

why did adrian burn the telephone bill at the bonfire party?

because he didn´t want his father to see how big it was.

why did adrian´s mother leave mr. lucas?

because mr. lucas treated her like a sex object and she is very fond of his father.

why did they have christmas lunch four hours late?

because the turkey was not desfroot.

why did adrian believe bert and queenie´s wedding was a waste of time?

because he was 90 and 80 years old.

why did pandora refuse to nake love with adrian?

because pandora doesn´t wont to become an single parent.

why didn´t pandora send adrian a birthaday card?

she was angry because adrian liked barbara.

what happened to adrian when he sniffed the glue on the model plane?

his nose stuck to the plane and ge hat to go to... Continue reading "Dddddddddd" »

3

Classified in Language

Written at on English with a size of 5.68 KB.

have made would habe been made. Infinitive presente tomake to be madeParticipio perfecto having made having been made. Reported speech: cuando el vervo intrductor del estilo indirecto esta en presente , preterito perfecto o futuro, los tiempos verbales no cambian. Direct speech -presente simple- indirect speech past simple.presente continuo-past continuos. Presente perfecto-past perfect. Presente perfecto continuo- past perfect continuous. Past simple- past perfect. Past continuos-past perfec continuos. Future will conditional would. Can-could. May-might. Will-would. Must-had to. Have to-had to. Shall-should. significado Dizzy mareado feverish fiebre queasysentirse mal rasherpucion cutanea runnyagua en la nari seedy enfermo soreinflamado... Continue reading "3" »

The cell, the respiratory system, the organelles, gases, diffusion, active transport ...

Classified in Biology

Written at on English with a size of 26.93 KB.

The cell is the basic unit of which they are made all living things. It is the smallest unit capable of performing all the functions that characterize a living being.

Depending on whether a body is formed by one or more cells can be:

Unicellular organisms. They consist of a single cell that performs all the functions necessary for survival. Sometimes, several single-celled organisms living together colonies. (like amoeba)

Multicellular organisms. Consist of multiple cells that lose the ability to survive alone. Each cell performs a specific task, and all work together to survive the body (such as plants and animals). Our body is composed of a large number of cells. People are multicellular beings.

The cells in our body can have different shape... Continue reading "The cell, the respiratory system, the organelles, gases, diffusion, active transport ..." »

Dd

Classified in Biology

Written at on English with a size of 1.22 KB.

FIRST CONDITIONAL If/unless + present simple, will+infinitive. Possible accio futura
SECOND CONDITIONAL If + past simple, would + infinitive imaginarias o improbables futures o presents accions
THIRD CONDITIONAL If+had past participle, wold have+ past participle. Accions dubtoses en el passat en el pasat.(hagues+hauria)
wish:wish+past sinple=present situation that the speaker is unhappy about.he wishes his friends were here now
wish+past perfect= se arrepiente de una accion pasada.i wish he had called me.
wish+could/would+base form=desire to something to happen in the future.i wish i could go to university