1.) Rechne die Zahl in binaer Darstellung in eine Dezimale Darstellung um
0111110111111000b 32248d
2.) Rechne die Zahl in dezimal darstellung in eine Binaerdarstellung um
44452 1010110110100100
3.) Addiere die drei Zahlen schriftlich
47016
+ 35342
+ 47699
-----------------
130057
4.) Subtrahiere die letzten drei Zahlen schriftlich von der ersten schriftlich
41215
- 8233
- 7725
- 12658
-----------------
12599
5.) Rechne die Zahl ins zweier komplement um, mit 8 Bit - und subtrahiere diese zahl von der ersten und rechne das Ergebnis nach dezimal
-20 -114 = -134
11101100 10001110 = 01111010
6.) Multipliziere die zwei Zahlen schriftlich
29139*47446 = 1382528994
7.) Dividiere die zwei Zahlen schriftlich
30330/14756 = 2
8.) Errechne x Logarithmisch mit dem Taschenrechner
14562\^x = 703120135
print(5+4+2)
print(5*4+2)
x = 5 + 4 + 2
y = 5 * 4 * 2
z = 2 + 2 + 2
q = 2 * 2 + 2
print (x)
print (y)
print (z)
print (q)
if x < y:
print ("x ist kleiner y")
t = x
x = y
y = t
else:
print ("x ist groesser gleich y")
if x < y:
print ("y ist kleiner x")
else:
print ("y ist groesser gleich x")
i = 0
while i < 10:
print (i+1)
i = i + 1
a = [1,4]
i = 0
while i < 8:
a.append ((i+2)**2)
i = i + 1
i = 0
while i < 8:
print (a[i])
i = i + 1
11 22 11 40 6 6 x ist kleiner y y ist groesser gleich x 1 2 3 4 5 6 7 8 9 10 1 4 4 9 16 25 36 49
#!/bin/bash
if [[ "\$1" == "David" \&\& "\$2" == "Vajda" ]]
then
echo "Das bin ich"
elif [[ "\$1" == "David" \&\& -z "\$2" ]]
then
echo "Das koennte ich sein"
else
echo "Hallo Welt"
i=0
while [ \$i -lt 10 ]
do
echo "Hallo zum \$((\$i+1))."
i=\$((\$i+1))
done
a=(a b c d)
a+=(e f g h)
i=0
while [ \$i -lt 8 ]
do
echo "\${a[\$i]}"
i=\$((\$i+1))
done
for s in "\${a[@]}"
do
echo "\$s"
done
l=\$(ls)
for s in \$l
do
echo "\$s"
done
fi
Hallo Welt Hallo zum 1. Hallo zum 2. Hallo zum 3. Hallo zum 4. Hallo zum 5. Hallo zum 6. Hallo zum 7. Hallo zum 8. Hallo zum 9. Hallo zum 10. a b c d e f g h a b c d e f g h abakus20240716.py addressdecodertestbench.c alllinks.sh a.out asm15 asm16 automat15 automat15.c bash20240714.sh bash20240717.out bash20240717.sh Bilder bin20240707.txt Bin20240707v2-1.jpg Bin20240707v2.pdf Bin20240707v3-1.jpg Bin20240707v3.pdf bin20240717.txt binary2 binary2.c DeutschlandEuler-1.jpg DeutschlandEuler.pdf doc Dokumente dos-inst Downloads Euler20240711-1.jpg Euler20240711.pdf Euler20240711v2-1.jpg Euler20240711v2.pdf Euler20240715-1.jpg Euler20240715.pdf Euler20240715v2-1.jpg Euler20240715v2.pdf Euler20240715v3-1.jpg Euler20240715v3.pdf float.c fsmprogs ftp generatetestbench2 generatetestbench3 generatetestbench4 generatetestbench5 gnu-hello graph2.tex graph3.aux graph3.log graph3.pdf graph3.tex graph.tex HausNikolaus20240707v2-1.jpg HausNikolaus20240707v2.pdf HausNikolaus20240711-1.jpg HausNikolaus20240711.pdf ieee754aufgabe ieee754aufgabe2.c ieee754aufgabe.c ieee754aufgabe.o index.html? Klee20240708v1-1.jpg Klee20240708v1.pdf Klee20240708v2-1.jpg Klee20240708v2.pdf Klee20240708v3-1.jpg Klee20240708v3.pdf Klee20240708v4-1.jpg Klee20240708v4.pdf lerne.txt lnkz3127_1280x1280.webp mail Mars mips32singlecycle2.vhdl mips32singlecycle.vhdl Musik mydaemontestd myfind.sh mysqldata.php OEffentlich Ohne Titel 11.pdf password py20240707.out py20240707.py py20240714.out py20240714.py quine regeln.txt replace.sh robertsedgewickgraph01.c Schreibtisch Screenshot_20240707_200734.png Screenshot_20240707_200743.png Screenshot_20240707_205611.png Screenshot_20240717_191900.png Screenshot_20240717_191939.png state3 svg tosed1.txt tosed2.txt tosed3.txt tosedimagephpbb3googledrive.sh Transfer Videos VirtualBox VMs Vorlagen Das bin ich Das koennte ich sein