lunes, 23 de septiembre de 2019
sábado, 21 de septiembre de 2019
Digital integrated circuits 74 series
On the link you will find a bible of digital intergrated circuits.
https://en.wikichip.org/wiki/7400_series
https://en.wikichip.org/wiki/7400_series
obtener los enlaces de la página donde estamos
Navegando en Chrome, nos puede interesar obtener todos los enlaces de una pàgina Web.
allí pegamos:
urls=$$('a');for (url in urls) console.log (urls[url].href);
en EXCEL nos quedamos sólo con los enlaces.
y luego, para crear links concatenamos celdas de forma que nos quedarà algo como:
si añadimos al código html br
hará un salto de línea
- botón derecho del mouse o Ctrl+Mayúscula+I
- Inspecciona
- Console
allí pegamos:
urls=$$('a');for (url in urls) console.log (urls[url].href);
en EXCEL nos quedamos sólo con los enlaces.
y luego, para crear links concatenamos celdas de forma que nos quedarà algo como:
si añadimos al código html br
hará un salto de línea
martes, 10 de septiembre de 2019
Check Your Computer's Performance
Check Your Computer's Performance
Test the processor (speed) through a C++ program
#include
#include
using namespace std;
int main()
{
clock_t start, end;
start = clock();
for (int i=2; i<100 b="" i="" nbsp="">100>
{
bool prime=true;
for (int j=2; j*j<=i; j++)
{
if (i % j == 0)
{
prime=false;
break;
}
}
if(prime) cout << i << " ";
}
end = clock();
cout << "\n\nTime required for execution: "
<< (double)(end-start)/CLOCKS_PER_SEC
<< " seconds." << "\n\n";
return 0;
}
In case that your computer doesn't have installed C++ compiler, you can proceed through a online compiler (be awared results will be submitted to network speed, anyway you will be able to compare the results between).
Get time values for 100, 2000, 4000, 8000, 16000 prime numbers and write them on the Form.
Copy to clipboard
Copy to NOTEPAD (you can execute the same as CMD)
Save the file with you FirstSurname_Name
Send the file to your Drive. Attach the link to the file into the Form
in order to get the computer's performance, we will proceed through the cmd (command prompt on the OS/2 and Windows NT families )
Press the windows key
and then write cmd. Press INTRO (on next steps I will miss INTRO as you know it is the way to Execute the command)
Then write the command systeminfo
You will see the screen in black as old-computer-fashion (MS-DOS).
On Wiki you will find what's MAC address:
A media access control address (MAC address) of a device is a unique identifier assigned to a network interface controller (NIC). For communications within a network segment, it is used as a network address for most IEEE 802 network technologies, including Ethernet, Wi-Fi, and Bluetooth. Within the Open Systems Interconnection (OSI) model, MAC addresses are used in the medium access control protocol sublayer of the data link layer. As typically represented, MAC addresses are recognizable as six groups of two hexadecimal digits, separated by hyphens, colons, or no separator (see Notational conventions below).
In cmd you will get the MAC nr through command getmac
Check the data and fulfill the spread-sheet.
Test the processor (speed) through a C++ program
the program attached below shows the 100 prime numbers. This calculation could be a mean for checking the processor speed to operate:
Write the next program (source) and run it on c++ compiler installed in your computer:
#include
#include
using namespace std;
int main()
{
clock_t start, end;
start = clock();
for (int i=2; i<100 b="" i="" nbsp="">100>
{
bool prime=true;
for (int j=2; j*j<=i; j++)
{
if (i % j == 0)
{
prime=false;
break;
}
}
if(prime) cout << i << " ";
}
end = clock();
cout << "\n\nTime required for execution: "
<< (double)(end-start)/CLOCKS_PER_SEC
<< " seconds." << "\n\n";
return 0;
}
In case that your computer doesn't have installed C++ compiler, you can proceed through a online compiler (be awared results will be submitted to network speed, anyway you will be able to compare the results between).
Get time values for 100, 2000, 4000, 8000, 16000 prime numbers and write them on the Form.
Copy to clipboard
Save the file with you FirstSurname_Name
Send the file to your Drive. Attach the link to the file into the Form
Suscribirse a:
Entradas (Atom)