Clasified in Notes of Computers of Secondary.
Written at June 03, 2010 on
English with a size of 5,717 bytes.
Multimedia: Proceso de comunicación compuesto por: texto, sonido, imagenes fijas, en mov. y intereactividad con el receptor.
Video DIGITAL: Informacion sobre el contenido expresado en forma binaria(0 y 1). Cuando veiamos una película VHS o una recepción analógica stams viendo una composición de lineas: - 625 Pra un tv PAL(formato europeo) -525 pa un tv NTSC(Aamericano y japones). Cuando vemos un DVD o una recepcion de tv digital vemos una composición de
Clasified in Notes of Computers of Training.
Written at May 24, 2010 on
English with a size of 1,208 bytes.
Tema 14: Present Continus. I-am You/We/They-are He/She/It-is (working1) Am I Sitting2? I am not coming3 1: Most verbs add -ing, 2: Verbos with one vocal and one consonant se duplica la consonante. 3:verbos acabados en -e, se quita la -e i se pone -ing.
Tema 16: Going to + verb: I-am You/We/They-are He/She-is-----Going to study tonight. We use going to + verb to talk about plans or intentions.
Tema 17: Present perfect. I/You/We/They-Have He/She/It-Has worked1 Were have i verb? or have he finished. 1: Regular past participe are the same as the past from and end in -ed: opened, stopped.
Tema 18: Will. I/You/We/They/He/She/It will or won't work.(positive or negative), When will you start? or Will you be okay? (interrogative) We use will/won't + infinitive to make predictions about future events.
... (Continue)Clasified in Notes of Computers of Training.
Written at April 30, 2010 on
English with a size of 1,242 bytes.
... (Continue)Extra: solomillo y cinta de lomo
Primera: jamon, chuletas, de riñonada y lomo
segunda:paletilla y chuletas de aguja
varios: manos, pata, codillo, cabeza,costillar
carré:se retira la parte del hueso del espinazo,nervios,grasa,hay 3 piezas:solomillo:es la carne interna del carre, forma alarada terminada en punta,carne tierna, plancha,parrilao rocheta.Cinta de lomo: lomo deshuesado, dos parte, aguja central
FRITOS: tiene k ser con la gras superior a 170, es un metodo rapido,, lso alimentos se enhariinan,empanan, las mejor grasa es el aceite de oliva.Empanados: sazonarpasar por harinay huevo batidoy pan rayao,freir en abundante aceitey depues papel absorbente,Vilarroy: sazonary mojar en bechameldejar n frio hast aque se endurezca empanar y freir
Clasified in Notes of Computers of University.
Written at May 09, 2010 on
English with a size of 1,316 bytes.
Program Test_case
Implicit none
integer::temp
print*,"digite a temperatura d hj:"
read(*,*)temp
select case(temp)
case( :-1)
print*, "esta congelando"
case(0)
print*, "esta zero graus"
case (1:20)
print*,"esta frio"
case(21:25)
print*,"esta normal"
case default
print*,"esta quente"
end select
end program
program fatorial
implicit none
integer::i,fat,n
write(*,*) "valor d n="
read(*,*)n
i=1
fat=1
do while(i<=n)
fat=fat*i
i=i+1
end do
print*, "o fatorial de", n,"eh", fat,
end program
Program test_do
implicit none
integer::i
do i=50,2,-2
if(mod(i,10)==0) cycle
print*,i
end do
end program
escrever um programa capaz de calcular e mostrar a media d 10 valores digitados
... (Continue)Clasified in Notes of Computers of University.
Written at May 09, 2010 on
English with a size of 2,541 bytes.
programa capaz d mostrar o semestre d entrada, o ano, o codigo do cusro, o sequencial da matrícula, a partir da informação da matrícula de um aluno, quantas vezes o operador desejar
program matricula
implicit none
integer::mat, sem, ano, curso, seq
character::resp
do
print*,"digite matrícula"
read(*,*) mat
sem=mat/10**7
mat= mod(mat,10**7)
ano=mat/10**5 +2000
mat=mod(mat,10**5)
curso=mat/10**3
seq=mod(mat,10**3)
print*, "semestre:",sem
print*,"ano:",ano
print*,"curso",curso
print*,"sequencial",seq
print*,"nova matrcula? S/N"
read(*,*) resp
if(resp/="S" .and. resp/="s")exit
end do
end program
digite n° binario d até 8bits e calcule seu equivalente decimal
program Bindec
implicit none
interger::nbim,ndec,i
character::resp
do
print*,"digite numero binario:"
... (Continue)Clasified in Notes of Computers of Training.
Written at May 12, 2010 on
English with a size of 1,057 bytes.
TYPES OF COMMUNICATION : fiber optic cable, microwave transmission, telephone wire, earth satellite transmission, satellite earth transmission. VOICEMAIL : The caller dictates a message, the message is converted from analogue to digital signals, the digital message stored in voice mailboxes on box, when the recipient dials the mailbox, the message is converted to analogue signals and delivered in audio form. GIVIND ADVICE : You should make your letters big. You should simple shapes. You should use simply black printing. You should to connect lines. You should close loop. You shouldn't link characters. ASKING QUESTIONS : What does OCR mean ? What does NASA mean ? // How many (quants ) energies ? How much ( quant ) memory ? // What is scanner used for ? // PRESENT PASSIVE : a police officer requests records of a suspect = Records of a suspect are requested.
... (Continue)Clasified in Notes of Computers of University.
Written at May 20, 2010 on
English with a size of 676 bytes.
Static Linking
Static linkers such as the Unix ld program take as input a collection of relocatable object files and command
line arguments and generate as output a fully linked executable object file that can be loaded and run. The
input relocatable object files consist of various code and data sections. Instructions are in one section,
initialized global variables are in another section, and uninitialized variables are in yet another section.
To build the executable, the linker must perform two main tasks:
Clasified in Notes of Computers of Bachelor.
Written at June 14, 2010 on
English with a size of 1,143 bytes.
STRING
Obtenção de substrings
Podem ser utilizados os métodos assign ou substr:
string s1 = "Mackenzie", s2, s3;
s2.assign(s1); // Copia s1 para s2 (mesmo que s2 = s1;)
cout << s2 << endl; // Exibe Mackenzie
s3.assign(s1,0,4); // Copia 4 car. de s1 para s3 começando em 0
cout << s3 << endl; // Exibe Mack
cout << s1.substr(0,4) << endl; // Exibe Mack
Em Linguagem C++ (usando método da classe):
string s = "Sergio";
cout << s.length() << endl; // Exibe 6
string s1 = "abcdef";
s1.erase(2,3);
cout << s1 << endl; // Exibe abf
s1.insert(2,"cde");
cout << s1 << endl; // Exibe abcdef
string frase = "Universidade Faculdade Escola";
int p;
p = frase.find("dade",0);
cout << p << endl; // Exibe 8
p = frase.find("dade",13);
Clasified in Notes of Computers of Training.
Written at June 09, 2010 on
English with a size of 1,993 bytes.
Ejercicio de descuentos:
#!/bin/bash
read -p "¿Desea el billete también de vuelta? (s/n): " idavuelta
until [ $idavuelta=="s" ] || [ $idavuelta=="n" ]; do
read -p "¿Desea el billete también de vuelta? (s/n): " idavuelta
done
read -p "¿Tiene carnet joven? (s/n): " carnetjoven
until [ $carnetjoven="s" ] || [ $carnetjoven="n" ]; do
read -p "¿Tiene carnet joven? (s/n): " carnetjoven
done
descuento=0 billete=20
if [ $idavuelta="s" ]; then
descuento=20
billete=" expr $billete \* 2'
fi
if [ $carnetjoven="s" ]j then
descuento=30
fi
costefinal=`expr $billete \* \( 100 - $descuento \) / 100`
echo "El precio final del billete es $costefinal"
Ejercicio de medias:
#!/bin/bash
acu=0
cont=0
read -p "Introduce un numero: " num
while [ $num -ne 0 ]; do
... (Continue)Clasified in Notes of Computers of Bachelor.
Written at June 14, 2010 on
English with a size of 1,172 bytes.
ENCAPSULAMENTO
#include <iostream>
#include <cmath>
using namespace std;
class Ponto
{
private:
double x;
double y;
public:
void setRet(double x, double y);
void getRet(double &x, double &y);
void setPol(double a, double r);
void getPol(double &a, double &r);
};
void Ponto::setRet(double x, double y)
{
this->x = x;
this->y = y;
}
void Ponto::getRet(double &x, double &y)
{
x = this->x;
y = this->y;
}
void Ponto::setPol(double a, double r)
{
x = r * cos(a);
y = r * sin(a);
}
void Ponto::getPol(double &a, double &r)
{
a = atan(y/x);
r = sqrt(x*x+y*y);
}
int main(int argc, char *argv[])
{
Ponto p1, p2;
double x, y, a, r;
p1.setRet(2,2);
p1.getPol(a,r);
cout << "a = " << a << " e r = " << r << endl;