Re: Die üblichen Übungen

Image Screenshot_20240228_162932

<?php
session_start ();
?>

<form method="POST" action="./form20240228.php">
<input type="text" name="form2024022801"></input>
<input type="button"></input>
</form>

<?php
echo session_id () . "<br>n";
setcookie ("form2024022802", "Hallo ich bin Cookie 1", time () + 3600);
echo htmlentities (\$_POST ["form2024022801"]) . "<br>n";
echo htmlentities (\$_COOKIE ["form2024022802"]) . "<br>n";
echo htmlentities (\$_COOKIE ["form2024022803"]) . "<br>n";

session_destroy ();
?>

POST http://localhost/mysql20240217/20240228/form20240228.php HTTP/1.1
host: localhost
Cookie: form2024022803=Hallo, ich bin Cookie 2
Content-Type: application/x-www-form-urlencoded
Content-Length: 41

form2024022801=Hallo, ich bin Variable 1

Trying ::1...
Connected to localhost.
Escape character is '\^]'.
HTTP/1.1 200 OK
Date: Wed, 28 Feb 2024 15:33:55 GMT
Server: Apache/2.4.57 (Debian)
Set-Cookie: PHPSESSID=t1l0k6kf1006bob3c7l91iabsp; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: form2024022802=Hallo%20ich%20bin%20Cookie%201; expires=Wed, 28 Feb 2024 16:33:55 GMT; Max-Age=3600
Vary: Accept-Encoding
Content-Length: 234
Content-Type: text/html; charset=UTF-8


<form method="POST" action="./form20240228.php">
<input type="text" name="form2024022801"></input>
<input type="button"></input>
</form>

t1l0k6kf1006bob3c7l91iabsp<br>
Hallo, ich bin Variable 1
<br>
<br>
Hallo, ich bin Cookie 2<br>

<?php
session_start ();

include ("/home/david/mysqldata.php");

\$db = new PDO ("mysql: host=localhost", \$MYSQL_USER, \$MYSQL_PASSWORD);

\$sql = "CREATE DATABASE mysql20240228" . session_id ();
\$db->query (\$sql);

\$sql = "USE mysql20240228" . session_id ();
\$db->query (\$sql);

\$sql = "CREATE TABLE a (x1 INTEGER, x2 INTEGER);";
\$db->query (\$sql);

\$sql = "CREATE TABLE b (y1 INTEGER, y2 INTEGER);";
\$db->query (\$sql);

\$sql = "INSERT INTO a (x1, x2) VALUES (3, 3);";
\$db->query (\$sql);

\$sql = "INSERT INTO a (x1, x2) VALUES (7, 3);";
\$db->query (\$sql);

\$sql = "INSERT INTO a (x1, x2) VALUES (4, 8);";
\$db->query (\$sql);

\$sql = "INSERT INTO a (x1, x2) VALUES (101, 1);";
\$db->query (\$sql);

\$sql = "INSERT INTO a (x1, x2) VALUES (0, 1);";
\$db->query (\$sql);

\$sql = "INSERT INTO a (x1, x2) VALUES (1, 0);";
\$db->query (\$sql);

\$sql = "INSERT INTO b (y1, y2) VALUES (4, 4);";
\$db->query (\$sql);

\$sql = "INSERT INTO b (y1, y2) VALUES (7, 3); INSERT INTO b (y1, y2) VALUES (4, 8); INSERT INTO b (y1, y2) VALUES (101, 1);";
\$db->query (\$sql);

\$sql = "SELECT x1, x2 FROM a;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", " . \$row [1] . "<br>n";
echo "<br>n";

\$sql = "SELECT y1, y2 FROM b;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", " . \$row [1] . "<br>n";
echo "<br>n";

\$sql = "SELECT x1, x2, y1, y2 FROM a INNER JOIN b;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", " . \$row [1] . ", " . \$row [2] . ", " . \$row [3] . "<br>n";
echo "<br>n";

\$sql = "DROP DATABASE mysql20240228" . session_id ();
\$db->query (\$sql);

session_destroy ();
?>

3, 3<br>
7, 3<br>
4, 8<br>
101, 1<br>
0, 1<br>
1, 0<br>
<br>
4, 4<br>
7, 3<br>
4, 8<br>
101, 1<br>
<br>
3, 3, 4, 4<br>
3, 3, 7, 3<br>
3, 3, 4, 8<br>
3, 3, 101, 1<br>
7, 3, 4, 4<br>
7, 3, 7, 3<br>
7, 3, 4, 8<br>
7, 3, 101, 1<br>
4, 8, 4, 4<br>
4, 8, 7, 3<br>
4, 8, 4, 8<br>
4, 8, 101, 1<br>
101, 1, 4, 4<br>
101, 1, 7, 3<br>
101, 1, 4, 8<br>
101, 1, 101, 1<br>
0, 1, 4, 4<br>
0, 1, 7, 3<br>
0, 1, 4, 8<br>
0, 1, 101, 1<br>
1, 0, 4, 4<br>
1, 0, 7, 3<br>
1, 0, 4, 8<br>
1, 0, 101, 1<br>
<br>

<?php
session_start ();

include ("/home/david/mysqldata.php");

\$db = new PDO ("mysql: host=localhost", \$MYSQL_USER, \$MYSQL_PASSWORD);

\$sql = "CREATE DATABASE q20240228" . session_id ();
\$db->query (\$sql);

\$sql = "USE q20240228" . session_id ();
\$db->query (\$sql);

\$sql = "CREATE TABLE a (x INTEGER); CREATE TABLE b (x INTEGER); CREATE TABLE c (x INTEGER);";
\$db->query (\$sql);

for (\$i = 0;  \$i < 24;  \$i++) {
    \$sql = "INSERT INTO a (x) VALUES ("" . rand () % 28 .  "");";
    \$sql .= "INSERT INTO b (x) VALUES ("" . rand () % 32 . "");";
    \$sql .= "INSERT INTO c (x) VALUES ("" . rand () % 64 . "");";
    \$db->query (\$sql);
}

\$sql = "SELECT x FROM (SELECT x FROM a UNION SELECT x FROM b) x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";
\$sql = "SELECT x FROM (SELECT x FROM a UNION SELECT x FROM c) x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (SELECT x FROM b UNION SELECT x FROM c) x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (SELECT x FROM a INTERSECT SELECT x FROM b) x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (SELECT x FROM a INTERSECT SELECT x FROM c) x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (SELECT x FROM b INTERSECT SELECT x FROM c) x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM a UNION SELECT x FROM b) x
                INTERSECT
            SELECT x FROM c
        )x ;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM a INTERSECT SELECT x FROM c) x
                UNION
            SELECT x FROM (SELECT x FROM b INTERSECT SELECT x FROM c) x
    ) x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM a UNION SELECT x FROM c) x
                INTERSECT
            SELECT x FROM b
    ) x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM a INTERSECT SELECT x FROM b) x
                UNION
            SELECT x FROM (SELECT x FROM c INTERSECT SELECT x FROM b) x
    ) x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM b UNION SELECT x FROM c) x
                INTERSECT
            SELECT x FROM a
    ) x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";

\$sql = "SELECT x FROM (
            SELECT x FROM (SELECT x FROM b INTERSECT SELECT x FROM a) x
                UNION
            SELECT x FROM (SELECT x FROM c INTERSECT SELECT x FROM a) x
    ) x;";
\$stmt = \$db->query (\$sql);
while (\$row = \$stmt->fetch ())
    echo \$row [0] . ", ";
echo "<br>n";


\$sql = "DROP DATABASE q20240228" . session_id ();
\$db->query (\$sql);


session_destroy ();
?>

11, 7, 4, 12, 19, 3, 20, 21, 22, 26, 14, 25, 18, 10, 16, 5, 15, 27, 9, 6, 30, 2, 0, 29, 31, <br>
11, 7, 4, 12, 19, 3, 20, 21, 22, 26, 14, 25, 18, 10, 16, 5, 15, 27, 59, 29, 28, 40, 42, 57, 0, 23, 13, 51, 41, 61, 44, 45, 36, <br>
20, 11, 19, 10, 9, 6, 18, 5, 15, 30, 27, 2, 0, 4, 29, 31, 59, 28, 40, 42, 57, 22, 25, 21, 23, 13, 51, 41, 61, 44, 45, 36, <br>
11, 4, 19, 20, 18, 10, 5, 15, 27, <br>
11, 21, 22, 25, 10, 15, 27, <br>
11, 10, 15, 27, 0, 29, <br>
11, 21, 22, 25, 10, 15, 27, 0, 29, <br>
11, 21, 22, 25, 10, 15, 27, 0, 29, <br>
11, 4, 19, 20, 18, 10, 5, 15, 27, 29, 0, <br>
11, 4, 19, 20, 18, 10, 5, 15, 27, 29, 0, <br>
20, 11, 19, 10, 18, 5, 15, 27, 4, 22, 25, 21, <br>
20, 11, 19, 10, 18, 5, 15, 27, 4, 22, 25, 21, <br>

#!/bin/bash

echo "Hallo"

i=0
while [ \$i -lt 10 ]
do
    echo "Hallo zum \$((\$i+1))."
    i=\$((\$i+1))
done

a=(Hallo das ist ein Array)
a+=(was verl"angert wurde)

i=0

while [ \$i -lt 8 ]
do
    echo "\${a[\$i]}"
    i=\$((\$i+1))
done

for s in "\${a[@]}"
do
    echo "\$s"
done

ls=\$(ls)
for s in \$l
do
    echo "\$s"
done

if [[ "\$1" == "David" \&amp;\&amp; "\$2" == "Vajda" ]]
then
    echo "Das bin ich"
elif [[ "\$1" == "David Vajda" \&amp;\&amp; -z "\$2" ]]
then
    echo "Das bin ich"
elif [[ "\$1" == "David" \&amp;\&amp; -z "\$2" ]]
then
    echo "Das bin vielleicht ich"
elif [[ "\$1" == "Vajda" \&amp;\&amp; -z "\$2" ]]
then
    echo "Das bin vielleicht ich"
else
    echo "Das bin sicher nicht ich"
fi

#!/bin/bash

/bin/bash all.sh "David" "Vajda"
/bin/bash all.sh "David Vajda"
/bin/bash all.sh "David"
/bin/bash all.sh "Vajda"
/bin/bash all.sh "David" "Mustermann"
/bin/bash all.sh "Vajda" "Mustermann"
/bin/bash all.sh "Max Mustermann"

Hallo
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.
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Das bin ich
Hallo
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.
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Das bin ich
Hallo
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.
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Das bin vielleicht ich
Hallo
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.
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Das bin vielleicht ich
Hallo
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.
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Das bin sicher nicht ich
Hallo
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.
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Das bin sicher nicht ich
Hallo
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.
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Hallo
das
ist
ein
Array
was
verl"angert
wurde
Das bin sicher nicht ich

 12.78125

 12/2 = 6       Rest 0
 6/2 = 3        Rest 0
 3/2 = 1        Rest 1
 1/2 = 0        Rest 1

 0.78125 * 2 = 1.56250      1
 0.56250 * 2 = 1.12500      1
 0.125 * 2 = 0.25           0
 0.25 * 2 = 0.5             0
 0.5 * 1 = 1.0              1

 0.78125
 0.78125
 -------
 1.56250

 0.56250
 0.56250
 -------
 1.12500


 1100,11001

 1100,11001 = 1,10011001 * 2\^3

 Normalisiert: 10011001

 127 + 3 = 130

 130 / 2 = 65       Rest 0
 65 / 2 = 32        Rest 1
 32 / 2 = 16        Rest 0
 16 / 2 = 8         Rest 0
 8 / 2 = 4          Rest 0
 4 / 2 = 2          Rest 0
 2 / 2 = 1          Rest 0
 1 / 2 = 0          Rest 1

[0][10000010][10011001]

0100.0001.0100.1100.1000.0000.0000

0x414C800

Image Screenshot_20240228_180257

 0 0 0 0 0    1
 1 0 0 0 1    0
 2 0 0 1 0    1
 3 0 0 1 1    0
 4 0 1 0 0    1
 5 0 1 0 1    0
 6 0 1 1 0    1
 7 0 1 1 1    0
 8 1 0 0 0    1
 9 1 0 0 1    1
10 1 0 1 0    1
11 1 0 1 1    0
12 1 1 0 0    1
13 1 1 0 1    0
14 1 1 1 0    0
15 1 1 1 1    0


 0 0 0 0 0    1
 2 0 0 1 0    1
 4 0 1 0 0    1
 6 0 1 1 0    1
 8 1 0 0 0    1
 9 1 0 0 1    1
10 1 0 1 0    1
12 1 1 0 0    1


Gruppe 0:
 0 0 0 0 0    1
Gruppe 1:
 2 0 0 1 0    1
 4 0 1 0 0    1
 8 1 0 0 0    1
Gruppe 2:
 6 0 1 1 0    1
 9 1 0 0 1    1
10 1 0 1 0    1
12 1 1 0 0    1

0:2         0 0 - 0
0:4         0 - 0 0
0:8         - 0 0 0
2:6         0 - 1 0
2:10        - 0 1 0
4:6         0 1 - 0
4:12        - 1 0 0
8:9         1 0 0 -
8:10        1 0 - 0
8:12        1 - 0 0


8:9         1 0 0 -
0:2         0 0 - 0
4:6         0 1 - 0
8:10        1 0 - 0
0:4         0 - 0 0
8:12        1 - 0 0
2:6         0 - 1 0
0:8         - 0 0 0
2:10        - 0 1 0
4:12        - 1 0 0




8:9                     1 0 0 -
Gruppe 0:
0:2         0 0 - 0
Gruppe 1:
4:6         0 1 - 0
8:10        1 0 - 0

0:2:4:6                 0 - - 0
0:2:8:10                - 0 - 0

Gruppe 0:
0:4         0 - 0 0
Gruppe 1:
8:12        1 - 0 0
2:6         0 - 1 0

0:4:8:12                - - 0 0
0:4:2:6                 0 - - 0

Gruppe 0:
0:8         - 0 0 0
Gruppe 1:
2:10        - 0 1 0
4:12        - 1 0 0

0:8:2:10                - 0 - 0
0:8:4:12                - - 0 0


8:9                     1 0 0 -
0:2:4:6                 0 - - 0
0:2:8:10                - 0 - 0
0:4:8:12                - - 0 0
0:4:2:6                 0 - - 0
0:8:2:10                - 0 - 0
0:8:4:12                - - 0 0




8:9                     1 0 0 -
0:2:4:6                 0 - - 0
0:4:2:6                 0 - - 0
0:2:8:10                - 0 - 0
0:8:2:10                - 0 - 0
0:4:8:12                - - 0 0
0:8:4:12                - - 0 0



8:9                     1 0 0 -
0:4:2:6                 0 - - 0
0:8:2:10                - 0 - 0
0:8:4:12                - - 0 0

                0   2   4   6   8   9   10  12
8:9                             *   *
0:4:2:6         *   *   *   *
0:8:2:10        *   *           *       *
0:8:4:12        *       *       *           *


8:9                     1 0 0 -
0:4:2:6                 0 - - 0
0:8:2:10                - 0 - 0
0:8:4:12                - - 0 0

    y <= (x3 and not x2 and not x1) or
            (not x3 and not x0) or
            (not x2 and not x0) or
            (not x1 and not x0);

    y <= not ((not x3 or x2 or x1) and
            (x3 or x0) and
            (x2 or x0) and
            (x1 or x0));

library ieee;
use ieee.std_logic_1164.all;

entity quine20240228 is
port (
    x3, x2, x1, x0: in std_logic;
    y: out std_logic
);
end;

architecture behaviour of quine20240228 is
begin
    y <= (x3 and not x2 and not x1) or
            (not x3 and not x0) or
            (not x2 and not x0) or
            (not x1 and not x0);
end;

library ieee;
use ieee.std_logic_1164.all;

entity quine20240228testbench is
port (
    y: out std_logic
);
end;

architecture behaviour of quine20240228testbench is
    component quine20240228
    port (
        x3, x2, x1, x0: in std_logic;
        y: out std_logic
    );
    end component;
    signal x3, x2, x1, x0: std_logic;
begin
    q: quine20240228 PORT MAP (x3=>x3, x2=>x2, x1=>x1, x0=>x0, y=>y);

library ieee;
use ieee.std_logic_1164.all;

entity quine20240228 is
port (
    x3, x2, x1, x0: in std_logic;
    y: out std_logic
);
end;

architecture behaviour of quine20240228 is
begin
    y <= (x3 and not x2 and not x1) or
            (not x3 and not x0) or
            (not x2 and not x0) or
            (not x1 and not x0);
end;

library ieee;
use ieee.std_logic_1164.all;

entity quine20240228testbench is
port (
    y: out std_logic
);
end;

architecture behaviour of quine20240228testbench is
    component quine20240228
    port (
        x3, x2, x1, x0: in std_logic;
        y: out std_logic
    );
    end component;
    signal x3, x2, x1, x0: std_logic;
begin
    q: quine20240228 PORT MAP (x3=>x3, x2=>x2, x1=>x1, x0=>x0, y=>y);
    x0 <= '0' after 0 ns, '1' after 10 ns, '0' after 20 ns, '1' after 30 ns, '0' after 40 ns, '1' after 50 ns, '0' after 60 ns, '1' after 70 ns, '0' after 80 ns, '1' after 90 ns, '0' after 100 ns, '1' after 110 ns, '0' after 120 ns, '1' after 130 ns, '0' after 140 ns, '1' after 150 ns;

    x1 <= '0' after 0 ns, '0' after 10 ns, '1' after 20 ns, '1' after 30 ns, '0' after 40 ns, '0' after 50 ns, '1' after 60 ns, '1' after 70 ns, '0' after 80 ns, '0' after 90 ns, '1' after 100 ns, '1' after 110 ns, '0' after 120 ns, '0' after 130 ns, '1' after 140 ns, '1' after 150 ns;

    x2 <= '0' after 0 ns, '0' after 10 ns, '0' after 20 ns, '0' after 30 ns, '1' after 40 ns, '1' after 50 ns, '1' after 60 ns, '1' after 70 ns, '0' after 80 ns, '0' after 90 ns, '0' after 100 ns, '0' after 110 ns, '1' after 120 ns, '1' after 130 ns, '1' after 140 ns, '1' after 150 ns;

    x3 <= '0' after 0 ns, '0' after 10 ns, '0' after 20 ns, '0' after 30 ns, '0' after 40 ns, '0' after 50 ns, '0' after 60 ns, '0' after 70 ns, '1' after 80 ns, '1' after 90 ns, '1' after 100 ns, '1' after 110 ns, '1' after 120 ns, '1' after 130 ns, '1' after 140 ns, '1' after 150 ns;
end;

Zustand		Folge-Zustand fuer	Ausgang
			x=0	x=1
1			4	2				1
2			5	4				0
3			3	3				1
4			2	5				0
5			4	2				0
6			3	4				0
7			1	4				1
8			4	1				1


Zustand		Folge-Zustand fuer	Ausgang
			x=0	x=1
1			4	2				1
3			3	3				1
7			1	4				1
8			4	1				1


Zustand		Folge-Zustand fuer	Ausgang
			x=0	x=1
2			5	4				0
4			2	5				0
5			4	2				0
6			3	4				0


Zustand		Folge-Zustand fuer	Ausgang
			x=0	x=1
1			4	2				1
3			3	3				1
7			1	4				1
8			4	1				1

(1,3)		(4,3)		(2,3)
(1,7)		(4,1)		(2,4)
(1,8)		(4,4)		(2,1)
(3,7)		(3,1)		(3,4)
(3,8)		(3,4)		(3,1)
(7,8)		(1,4)		(4,1)


Zustand		Folge-Zustand fuer	Ausgang
			x=0	x=1
2			5	4				0
4			2	5				0
5			4	2				0
6			3	4				0

(2,4)		(5,2)		(4,5)
(2,5)		(5,4)		(4,2)
(2,6)		(5,3)		(4,4)
(4,5)		(2,4)		(5,2)
(4,6)		(2,3)		(5,4)
(5,6)		(4,3)		(2,4)


(1,3)		(4,3)		(2,3)
(1,7)		(4,1)		(2,4)
(1,8)		(4,4)		(2,1)
(3,7)		(3,1)		(3,4)
(3,8)		(3,4)		(3,1)
(7,8)		(1,4)		(4,1)
(2,4)		(5,2)		(4,5)
(2,5)		(5,4)		(4,2)
(2,6)		(5,3)		(4,4)
(4,5)		(2,4)		(5,2)
(4,6)		(2,3)		(5,4)
(5,6)		(4,3)		(2,4)


(1,3)		(3,4)		(2,3)
(1,7)		(1,4)		(2,4)
(1,8)		(1,2)
(2,4)		(2,5)		(4,5)
(2,5)		(4,5)		(2,4)
(2,6)		(3,5)
(3,7)		(1,3)		(3,4)
(3,8)		(3,4)		(1,3)
(4,5)		(2,4)		(2,5)
(4,6)		(2,3)		(4,5)
(5,6)		(3,4)		(2,4)
(7,8)		(1,4)		(1,4)



--(1,3)		--(3,4)		(2,3)
--(1,7)		--(1,4)		(2,4)
--(1,8)		--(1,2)
(2,4)		(2,5)		(4,5)
(2,5)		(4,5)		(2,4)
--(2,6)		--(3,5)
--(3,7)		--(1,3)		(3,4)
--(3,8)		--(3,4)		(1,3)
(4,5)		(2,4)		(2,5)
--(4,6)		--(2,3)		(4,5)
--(5,6)		--(3,4)		(2,4)
--(7,8)		--(1,4)		(1,4)


(2,4)		(2,5)		(4,5)
(2,5)		(4,5)		(2,4)
(4,5)		(2,4)		(2,5)

>
1.) Rechne die Zahl in binaer Darstellung  in eine Dezimale Darstellung um
1101000001011011b 53339d
2.) Rechne die Zahl in dezimal darstellung in eine Binaerdarstellung um
35161 1000100101011001
3.) Addiere die drei Zahlen schriftlich
            19621
+           27861
+           59880
-----------------
           107362
4.) Subtrahiere die letzten drei Zahlen schriftlich von der ersten schriftlich
            47183
-           10212
-            5530
-           15138
-----------------
            16303
5.) Rechne die Zahl ins zweier komplement um, mit 8 Bit - und subtrahiere diese zahl von der ersten und rechne das Ergebnis nach dezimal
123 -48 = 75
01111011 11010000 = 01001011
6.) Multipliziere die zwei Zahlen schriftlich
36351*645 = 23446395
7.) Dividiere die zwei Zahlen schriftlich
9789/48150 = 0
8.) Errechne x Logarithmisch mit dem Taschenrechner
9829\^x = 1991654061

Image 20240228_191556

Image 20240228_193427

Image 20240228_195057