Add multilingual language and systems learning tracks

This commit is contained in:
Admin committed 2026-11-01 15:46:21 +08:00
1 parent 07338189fc
commit d8d1c40118
844 files changed
+6061

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# CPU Architecture ug Portability · 1
[Agila University track](https://edu.agilaos.com/track.php?track=22&lang=ceb)
Mga 15 minutos matag leksyon. Tag-ana, padagana, usba, ipasabot, ug tubaga ang pagsusi sa University.
- [Lesson 1: Source, machine code, ug ISA](lesson-1/lesson.html)
- [Lesson 2: Bit, byte, ug gilapdon sa integer](lesson-2/lesson.html)
- [Lesson 3: Lagda sa byte order ang endianness](lesson-3/lesson.html)
+3
View File
@@ -0,0 +1,3 @@
<!doctype html><html lang="ceb"><meta charset="utf-8"><title>Source, machine code, ug ISA</title><h1>Source, machine code, ug ISA</h1><p>15-minutong sesyon: pagbasa sulod sa 3 minutos, pag-trace sa 3, pag-eksperimento sa 7, ug pagtubag sa check sa 2. Paggahin og dugang oras kon gikinahanglan.</p><p>Ang CPU mo-execute og instruction gikan sa iyang ISA. Ang source nagkinahanglan og compiler o interpreter. Mahimong modagan ang samang Python source sa x86-64 ug Arm64 kon adunay compatible interpreter; lahi nga artifact ang compiled x86-64 executable. I-print ang architecture sa lab ug paghimo og table sa source language, ISA, OS, ug runtime. Lahi ang emulator ug recompilation.</p><pre><code class="language-python">import platform
print(platform.machine())
</code></pre><h3>Praktis ug ebidensiya</h3><p>Isulat ang tagna, aktuwal nga resulta, ug hinungdan sa pagkapareho o kalainan. Ang completion check mosukod sa pagsabot; ang practice task mopauswag sa kahanas.</p><p><a href="https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html">Reperensiya sa pinulongan: www.intel.com</a></p><p><a href="https://developer.arm.com/Architectures/Learn%20the%20Architecture">Reperensiya sa pinulongan: developer.arm.com</a></p><p><a href="https://docs.riscv.org/">Reperensiya sa pinulongan: docs.riscv.org</a></p></html>
+2
View File
@@ -0,0 +1,2 @@
import platform
print(platform.machine())
+5
View File
@@ -0,0 +1,5 @@
<!doctype html><html lang="ceb"><meta charset="utf-8"><title>Bit, byte, ug gilapdon sa integer</title><h1>Bit, byte, ug gilapdon sa integer</h1><p>15-minutong sesyon: pagbasa sulod sa 3 minutos, pag-trace sa 3, pag-eksperimento sa 7, ug pagtubag sa check sa 2. Paggahin og dugang oras kon gikinahanglan.</p><p>Adunay 256 pattern ang walo ka bit. Gikan sa 0 ngadto sa 255 ang unsigned 8-bit value. Ang modelo naggamit og modulo aron mahimong zero ang 256; dili ingon niini ang natural nga Python integer. Itandi ang signed ug unsigned nga interpretasyon sa 255. Tag-ana ang range sa 16 bits. Ayaw ibase ang pointer o integer size sa ngalan lamang sa CPU.</p><pre><code class="language-python">bits=8
print(2**bits)
print((255+1) % (2**bits))
</code></pre><p><strong>Gipaabot nga resulta:</strong> <code>256
0</code></p><h3>Praktis ug ebidensiya</h3><p>Isulat ang tagna, aktuwal nga resulta, ug hinungdan sa pagkapareho o kalainan. Ang completion check mosukod sa pagsabot; ang practice task mopauswag sa kahanas.</p><p><a href="https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html">Reperensiya sa pinulongan: www.intel.com</a></p><p><a href="https://developer.arm.com/Architectures/Learn%20the%20Architecture">Reperensiya sa pinulongan: developer.arm.com</a></p><p><a href="https://docs.riscv.org/">Reperensiya sa pinulongan: docs.riscv.org</a></p></html>
+3
View File
@@ -0,0 +1,3 @@
bits=8
print(2**bits)
print((255+1) % (2**bits))
+5
View File
@@ -0,0 +1,5 @@
<!doctype html><html lang="ceb"><meta charset="utf-8"><title>Lagda sa byte order ang endianness</title><h1>Lagda sa byte order ang endianness</h1><p>15-minutong sesyon: pagbasa sulod sa 3 minutos, pag-trace sa 3, pag-eksperimento sa 7, ug pagtubag sa check sa 2. Paggahin og dugang oras kon gikinahanglan.</p><p>Mahimong tipigan ang 0x1234 isip 34 12 sa little-endian o 12 34 sa big-endian. Pareho ang numero; representasyon ang nausab. Padagana ang conversion ug i-decode balik. Ang file o network protocol kinahanglan mosulti sa byte order imbes mokopya lang og host struct. Lahi nga butang ang padding ug alignment.</p><pre><code class="language-python">value=0x1234
print(value.to_bytes(2,&quot;little&quot;).hex())
print(value.to_bytes(2,&quot;big&quot;).hex())
</code></pre><p><strong>Gipaabot nga resulta:</strong> <code>3412
1234</code></p><h3>Praktis ug ebidensiya</h3><p>Isulat ang tagna, aktuwal nga resulta, ug hinungdan sa pagkapareho o kalainan. Ang completion check mosukod sa pagsabot; ang practice task mopauswag sa kahanas.</p><p><a href="https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html">Reperensiya sa pinulongan: www.intel.com</a></p><p><a href="https://developer.arm.com/Architectures/Learn%20the%20Architecture">Reperensiya sa pinulongan: developer.arm.com</a></p><p><a href="https://docs.riscv.org/">Reperensiya sa pinulongan: docs.riscv.org</a></p></html>
+3
View File
@@ -0,0 +1,3 @@
value=0x1234
print(value.to_bytes(2,"little").hex())
print(value.to_bytes(2,"big").hex())