Chuletas y apuntes de Inglés de Universidad

Exercicis d'anglès: used to, conditionals, homònims i homòfons

Inglés6,17 KB

Exercicis de gramàtica i vocabulari en anglès

Mals hàbits de la meva família

My family bad habits

My dad mends his motorbike in the living room: My dad will mend his motorbike...

  1. My brother never puts the top...
  2. My sister is always borrowing my clothes...
  3. Uncle Tom will smoke cigars...
  4. My grandpa was always eating toast...
  5. My grandma would never turn...

Complete amb used to, be used to o get used to

  1. If you aren't used to Indian food, this dish might be too spicy for you.
  2. get used to
  3. I'm used to / get used to
  4. got used to
  5. used to
  6. didn't use to
  7. is used to
  8. get used to
  9. did ___ use to
  10. have ___ used to

Homònims

Homonyms:

  • Rose: The sun... brightly. / He's very romantic...
  • Wave: Look out of the windows / with each huge...
  • Point: Look, I've no idea... / He couldn't speak
...
Continuar leyendo "Exercicis d'anglès: used to, conditionals, homònims i homòfons" »

Protocolos de aplicación, transporte e Internet en el modelo TCP/IP

Inglés3,01 KB

Describe the most important application protocols that operate at the TCP/IP model.

Hypertext Transfer Protocol (HTTP) governs how files such as text, graphics, sound, and video are exchanged on the Internet or World Wide Web (WWW).

Telnet is an application that you can use to access, control, and troubleshoot remote computers and network devices.

File Transfer Protocol (FTP) is a set of rules governing how files are transferred. FTP allows multiple simultaneous connections to remote file systems.

Simple Mail Transport Protocol (SMTP) provides messaging services over TCP/IP and supports most Internet e-mail programs.

Domain Name System (DNS) translates domain names, such as www.cisco.com, to IP addresses.

Hypertext Markup Language (HTML) is a page...

Continuar leyendo "Protocolos de aplicación, transporte e Internet en el modelo TCP/IP" »

Segunda Enmienda: Control de Armas, Derecho a Portar Armas y Debate Constitucional en Estados Unidos

Inglés2,54 KB

The second amendment is one of the most controversial arguments in our society today. As the poems of Emily Dickinson, we have to analyze it in a meticulous and mindful way because it could be difficult to understand. With mass murders and terrorism being the norm lately, gun control has been a heated topic of discussion in relation to the second amendment between politicians and amongst regular civilians. Many claim guns kill people. Others argue against that claim and say people with guns kill people. Others may not hold a stance towards this matter; instead, they would rather not comment because of confusion or disinterest. We must reevaluate and consider each other's beliefs in this sensitive theme.

The Meaning of the "Free State"

The view...

Continuar leyendo "Segunda Enmienda: Control de Armas, Derecho a Portar Armas y Debate Constitucional en Estados Unidos" »

Servidor concurrent amb connexió: select() i fork() en xarxes TCP

Inglés3,25 KB

Servidor concurrent amb connexió
Amb algorisme d'un sol procés:
1. Crea un socket (msock) i vincula'l a una adreça/port
2. Obre el socket en mode passiu
3. Configura el msock a la llista de control
4. Repeteix {
5. Select
6. Si hi ha activitat a msock, crea un nou socket ssock i
afegeix-lo a la llista.
7. Per a cada socket de ssock
8. Si hi ha activitat a ssock {llegeix i escriu}
9. Finalitza i elimina els ssocks de la llista si cal
10. Vés a 4.


Crides al sistema utilitzades:
msock=socket(...); bind(...); listen(...);
FD_ZERO(list);
FD_SET(msock, list);
do {ret = select(..., list, ...)
if FD_ISSET(msock, list) {
ssock = accept(msock);
FD_SET(ssock, list) }
for i in list {
if FD_ISSET(i, list) {
read(ssock);
write(ssock)
...
Continuar leyendo "Servidor concurrent amb connexió: select() i fork() en xarxes TCP" »

Verbos irregulares en inglés: lista completa con traducción al español

Inglés7,05 KB

Tabla de verbos irregulares en inglés

A continuación encontrarás una lista de verbos irregulares en inglés con sus formas básicas: infinitivo, pasado simple y participio pasado, junto con su traducción al español.

Verbos irregulares A–B

Infinitivo

Pasado simple

Participio pasado

Traducción

Alight

alighted

alighted

bajar

Arise

arose

arisen

levantarse

Awake

awoke

awoken

despertar

Be

was / were

been

estar / ser

Bear

bore

borne

sostener

Beat

beat

beaten

derrotar

Become

became

become

convertirse

Beget

begot

begotten

engendrar

Begin

began

begun

iniciar

Bend

bent

bent

doblar

Bereave

bereaved

bereaved

despojar

Beseech

besought

besought

suplicar

Bet

betted

betted

apostar

Bid

bade

bidden

mandar

Bide

bade

bided

esperar momento

Bind

bound

bound

atar

Bite

bit

bitten

morder

Bleed

bled

bled

sangrar

Bless

blessed

blessed

bendecir

Blow

blew

blown

soplar

Break

broke

broken

romper

Breed

bred

bred

criar

Bring

brought

brought

traer

Broadcast

broadcast

broadcast

emitir

Build

built

built

construir

Burn

burnt

burnt

quemar

Burst

burst

burst

estallar

Bust

busted

busted

descomponer

Buy

bought

bought

comprar

Verbos

...
Continuar leyendo "Verbos irregulares en inglés: lista completa con traducción al español" »

Vocabulario de Deportes Extremos en Inglés: Términos, Significados y Expresiones Clave

Inglés4,37 KB

Vocabulario de deportes extremos y expresiones en inglés

Deportes y actividades al aire libre

Skydiving: paracaidismo

Hiking: senderismo

Go karting: karting

Paragliding: parapente

Rafting: rafting

Mountain climbing: escalada de montaña

Skiing: esquiar

Bungee jumping: puenting

BMX biking: montar en BMX

Ice skating: patinaje sobre hielo

Spinning: spinning

Wheelie: caballo (hacer un caballito con la bicicleta)

Movimientos y posiciones

Backwards: hacia atrás

Upside down: al revés

Palabras y expresiones relacionadas con el riesgo y el desafío

Face danger: aceptar desafío

Top priority: máxima prioridad

Injury: herida

Under pressure: bajo presión

Stunts: escena peligrosa

Over confident: autosuficiente

Excitement: entusiasmo

Dull: aburrido

Win respect: ganar respeto

Earn:

...
Continuar leyendo "Vocabulario de Deportes Extremos en Inglés: Términos, Significados y Expresiones Clave" »

Guia d'anglès per a viatges: anuncis de seguretat, diàlegs i estructures gramaticals

Inglés5,05 KB

Connectors seqüencials

Sequence linkers: first of all, firstly, to begin with, the first stage is, the first step is, the first thing. Next, then, once, now, soon, after this/that, later on, as soon as, prior to, at the same time, finally, eventually, and so on.

Anunci de seguretat

Safety announcement: This is a safety announcement, so please pay attention. Please make sure that your seat is in an upright position, your seat belt is fastened and your tray table is folded away. Your hand baggage must not obstruct the aisle. It should be placed under the seat in front of you or in the overhead locker. Electronic devices must be switched off.

There are six emergency exits, three at the back and three at the front. They are clearly marked and they...

Continuar leyendo "Guia d'anglès per a viatges: anuncis de seguretat, diàlegs i estructures gramaticals" »

Edat per conduir: 18 anys o més? Pros i contres

Inglés1,09 KB

Actualment, l'edat en què una persona està capacitada per conduir un automòbil és un tema que ha generat molt debat, ja que no tothom comparteix l'opinió que una persona de 18 anys estigui preparada per conduir un cotxe. Molts consideren que el govern hauria d'augmentar aquesta edat fins als 20 anys.

Arguments a favor de mantenir els 18 anys

Per començar, en altres països l'edat mínima per conduir és de 16 anys, cosa que ens podria fer pensar que els 18 anys que tenim establerts al nostre país són una edat adequada. A més, podem observar que molts joves, malgrat la seva curta edat, ja es comporten com a adults i estan prou preparats per conduir.

Arguments en contra: augmentar l'edat

Tanmateix, també podríem pensar que l'edat per conduir...

Continuar leyendo "Edat per conduir: 18 anys o més? Pros i contres" »

Comparatius, Descripcions i Futur: Guia d'Anglès per a Principiants

Inglés2,31 KB

Comparatius amb more, fewer i less

E-mail is quicker than regular mail. It's easier, too. It's nicer to get a real card than an e-card.

Letters are more personal than e-mail.

Video conferences are less expensive than trips.

Webcams are better than regular phone calls.

Spam is worse than regular junk mail.

Comptables i no comptables

Comptables: more > fewer

No comptables: more / less

Comparar quantitats

I get more calls than you do.
I spend more time on the phone.

You get fewer calls than I do.
You spend less time on the phone.

She talks more than he does.

He talks less than she does.

Descripcions i preguntes

Aparença física

What does Hayley look like? / Who does she look like? / Do Hayley and Heather look alike?

She's tall and thin. / She looks like her...

Continuar leyendo "Comparatius, Descripcions i Futur: Guia d'Anglès per a Principiants" »

Validació de CPF i CNPJ en C#: Codi Comentat i Explicat

Inglés6,22 KB

Validació de CPF i CNPJ en C#

A continuació es mostra el codi per validar el CPF i el CNPJ, documents d'identificació utilitzats al Brasil, implementats en C# amb Windows Forms.

Validació del CPF

public bool ValidaCpf(string cpf)
{

int[] multiplicador1 = new int[9] {10,9,8,7,6,5,4,3,2};

int[] multiplicador2 = new int[10] {11,10,9,8,7,6,5,4,3,2};

int soma;

int resto;

string digito;

string tempCpf;

// Elimina els espais de la cadena
cpf = cpf.Trim();

// Replace: elimina els caràcters '.', '-' i '/' substituint-los per ''
cpf = cpf.Replace(".", "").Replace("-", "").Replace("/", "");

if (cpf.Length != 11)
return false;

tempCpf = cpf.Substring(0, 9);

soma = 0;

for (int i = 0; i < 9; i++)
// += el valor actual + el valor rebut
soma += int.Parse(tempCpf[i].ToString(...

Continuar leyendo "Validació de CPF i CNPJ en C#: Codi Comentat i Explicat" »