<?php session_start (); ?> <form method="POST" action="./form20240520.php"> <input type="text" name="form20240520a"></input> <input type="submit"> </form> <?php echo session_id () . "<br>n"; setcookie ("form20240520b", "Ich bin das Cookie 1", time () + 3600); echo htmlentities (\$_POST ["form20240520a"]) . "<br>n"; echo htmlentities (\$_COOKIE ["form20240520b"]) . "<br>n"; echo htmlentities (\$_COOKIE ["form20240520c"]) . "<br>n"; session_destroy (); ?>
POST http://localhost/mysql20240217/20240520/form20240520.php HTTP/1.1 host: localhost Cookie: form20240520c=Ich bin das zweite Cookie Content-Length: 30 Content-Type: application/x-www-form-urlencoded form20240520a=Ich bin das Date
Trying ::1... Connected to localhost. Escape character is '\^]'. HTTP/1.1 200 OK Date: Mon, 20 May 2024 06:57:46 GMT Server: Apache/2.4.57 (Debian) Set-Cookie: PHPSESSID=8grhrd8u421jtdpun7ebj609s0; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache Set-Cookie: form20240520b=Ich%20bin%20das%20Cookie%201; expires=Mon, 20 May 2024 07:57:46 GMT; Max-Age=3600 Vary: Accept-Encoding Content-Length: 217 Content-Type: text/html; charset=UTF-8 <form method="POST" action="./form20240520.php"> <input type="text" name="form20240520a"></input> <input type="submit"> </form> 8grhrd8u421jtdpun7ebj609s0<br> Ich bin das Date<br> <br> Ich bin das zweite Cookie<br>
<?php session_start (); include ("/home/david/mysqldata.php"); \$db = new PDO ("mysql: host=localhost", \$MYSQL_USER, \$MYSQL_PASSWORD); \$sql = "CREATE DATABASE mysql20240520" . session_id () . "; "; \$db->query (\$sql); \$sql = "USE mysql20240520" . session_id () . "; "; \$db->query (\$sql); \$sql = "CREATE TABLE a (x1 INTEGER, x2 INTEGER); CREATE TABLE b (y1 INTEGER, y2 INTEGER); "; \$db->query (\$sql); \$sql = "INSERT INTO a (x1, x2) VALUES (0, 0); "; \$sql .= "INSERT INTO a (x1, x2) VALUES (0, 1); "; \$sql .= "INSERT INTO a (x1, x2) VALUES (1, 0); "; \$sql .= "INSERT INTO a (x1, x2) VALUES (1, 1); "; \$sql .= "INSERT INTO a (x1, x2) VALUES (2, 7); "; \$sql .= "INSERT INTO b (y1, y2) VALUES (0, 1); "; \$sql .= "INSERT INTO b (y1, y2) VALUES (1, 0); "; \$sql .= "INSERT INTO b (y1, y2) VALUES (2, 7); "; \$db->query (\$sql); \$sql = "SELECT x1, x2 FROM a; "; \$stmt = \$db->query (\$sql); while (\$row = \$stmt -> fetch ()) echo \$row [0] . ", " . \$row [1] . "; "; echo "<br>n"; \$sql = "SELECT y1, y2 FROM b; "; \$stmt = \$db->query (\$sql); while (\$row = \$stmt -> fetch ()) echo \$row [0] . ", " . \$row [1] . "; "; echo "<br>n"; \$sql = "SELECT x1, x2, y1, y2 FROM a INNER JOIN b ON a.x1 = b.y1; "; \$stmt = \$db->query (\$sql); while (\$row = \$stmt -> fetch ()) echo \$row [0] . ", " . \$row [1] . ", " . \$row [2] . ", " . \$row [3] . "; "; echo "<br>n"; \$sql = "DROP DATABASE mysql20240520" . session_id () . "; "; \$db->query (\$sql); session_destroy (); ?>
0, 0; 0, 1; 1, 0; 1, 1; 2, 7; <br> 0, 1; 1, 0; 2, 7; <br> 0, 0, 0, 1; 0, 1, 0, 1; 1, 0, 1, 0; 1, 1, 1, 0; 2, 7, 2, 7; <br>
<?php session_start (); include ("/home/david/mysqldata.php"); \$db = new PDO ("mysql: host=localhost", \$MYSQL_USER, \$MYSQL_PASSWORD); \$sql = "CREATE DATABASE q20240520" . session_id () . "; "; \$db->query (\$sql); \$sql = "USE q20240520" . 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 () % 32 . "); "; \$sql .= "INSERT INTO b (x) VALUES (" . rand () % 64 . "); "; \$sql .= "INSERT INTO c (x) VALUES (" . rand () % 128 . "); "; \$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 ORDER BY 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 ORDER BY 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 ORDER BY 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 b INTERSECT SELECT x FROM c) x ) x ORDER BY 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 ORDER BY 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 a) x ) x ORDER BY x; "; \$stmt = \$db->query (\$sql); while (\$row = \$stmt -> fetch ()) echo \$row [0] . ", "; echo "<br>n"; \$sql = "DROP DATABASE q20240520" . session_id () . "; "; \$db->query (\$sql); session_destroy (); ?>
22, 24, 7, 8, 30, 12, 28, 19, 27, 17, 29, 21, 15, 11, 1, 9, 43, 60, 46, 53, 18, 13, 37, 45, 0, 16, 49, 33, 47, 39, 55, 14, 52, <br> 22, 24, 7, 8, 30, 12, 28, 19, 27, 17, 29, 21, 15, 11, 1, 9, 108, 65, 36, 51, 112, 57, 62, 46, 37, 124, 80, 52, 40, 45, 25, 10, 42, 47, 61, 103, 87, <br> 43, 60, 46, 53, 18, 13, 37, 22, 45, 7, 0, 29, 16, 49, 33, 47, 39, 1, 55, 14, 52, 108, 65, 36, 51, 27, 112, 57, 62, 124, 80, 12, 40, 25, 10, 42, 61, 103, 87, <br> 22, 7, 29, 1, <br> 12, 27, <br> 46, 37, 45, 47, 52, <br> 12, 27, 37, 45, 46, 47, 52, <br> 12, 27, 37, 45, 46, 47, 52, <br> 1, 7, 22, 29, 37, 45, 46, 47, 52, <br> 1, 7, 22, 29, 37, 45, 46, 47, 52, <br> 1, 7, 12, 22, 27, 29, <br> 1, 7, 12, 22, 27, 29, <br>
#!/bin/bash if [[ "\$1" == "David" \&\& "\$2" == "Vajda" ]] then echo "Hallo, das bin ich" elif [[ "\$1" == "David Vajda" \&\& -z "\$2" ]] then echo "Hallo, das bin ich" elif [[ "\$1" == "David" \&\& -z "\$2" ]] then echo "Das koennte ich sein" elif [[ "\$1" == "Vajda" \&\& -z "\$2" ]] then echo "Das koennte ich sein" elif [[ -n "\$1" ]] then echo "Das bin ich nicht" else echo "Hallo Welt" i=0 while [ \$i -lt 10 ] do echo "Hallo zum \$((\$i+1))." i=\$((\$i+1)) done a=(Hallo, das bin ich David) a+=(Ich sage das hier) i=0 while [ \$i -lt 9 ] 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
#!/bin/bash /bin/bash bash20240520.sh "David" "Vajda" /bin/bash bash20240520.sh "David Vajda" /bin/bash bash20240520.sh "David" /bin/bash bash20240520.sh "Vajda" /bin/bash bash20240520.sh "Max Mustermann" /bin/bash bash20240520.sh
Hallo, das bin ich Hallo, das bin ich Das koennte ich sein Das koennte ich sein Das bin ich nicht 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. Hallo, das bin ich David Ich sage das hier Hallo, das bin ich David Ich sage das hier addressdecodertestbench.c akjs alllinks.sh a.out asm15 asm16 automat15 automat15.c bash20240520all.sh bash20240520.out bash20240520.sh Bilder binary2 binary2.c binomial20240414a.c crypto_from_scratch.txt deepsearch1.c deepsearch2 deepsearch2.c doc Dokumente dos-inst Downloads float.c fsmprogs generategraphs10.c generategraphs11.c generategraphs2.c generategraphs3.c generategraphs4.c generategraphs5.c generategraphs6.c generategraphs7.c generategraphs8.c generategraphs9.c generategraphs.c generatetestbench2 generatetestbench3 generatetestbench4 generatetestbench5 gnu-hello ieee754aufgabe ieee754aufgabe2.c ieee754aufgabe.c ieee754aufgabe.o inst mail Mars matlab mips32singlecycle2.vhdl mips32singlecycle.vhdl missfont.log Musik mydaemontestd mydata.txt myfind.sh mysqldata.php OEffentlich out2.txt out.txt password password20240326.txt quine replace.sh robertsedgewickgraph01.c Schreibtisch schulschriften.aux schulschriften.log Screenshot_20240520_085520.png state3 svg tagebuch.txt texput.log tosed01.txt tosed0201.txt tosed0202.txt Videos VirtualBox VMs Vorlagen wave.ghw work-obj93.cf
0 0 0 0 0 0 1 0 0 0 1 0 2 0 0 1 0 1 3 0 0 1 1 1 4 0 1 0 0 1 5 0 1 0 1 0 6 0 1 1 0 0 7 0 1 1 1 1 8 1 0 0 0 1 9 1 0 0 1 1 10 1 0 1 0 0 11 1 0 1 1 0 12 1 1 0 0 1 13 1 1 0 1 1 14 1 1 1 0 1 15 1 1 1 1 0 2 0 0 1 0 1 3 0 0 1 1 1 4 0 1 0 0 1 7 0 1 1 1 1 8 1 0 0 0 1 9 1 0 0 1 1 12 1 1 0 0 1 13 1 1 0 1 1 14 1 1 1 0 1 Gruppe 1: 2 0 0 1 0 1 4 0 1 0 0 1 8 1 0 0 0 1 Gruppe 2: 3 0 0 1 1 1 9 1 0 0 1 1 12 1 1 0 0 1 Gruppe 3: 7 0 1 1 1 1 13 1 1 0 1 1 14 1 1 1 0 1 2:3 0 0 1 - 4:12 - 1 0 0 8:9 1 0 0 - 8:12 1 - 0 0 3:7 0 - 1 1 9:13 1 - 0 1 12:14 1 1 - 0 2:3 0 0 1 - 8:9 1 0 0 - 12:14 1 1 - 0 8:12 1 - 0 0 3:7 0 - 1 1 9:13 1 - 0 1 4:12 - 1 0 0 Gruppe 1: 2:3 0 0 1 - 8:9 1 0 0 - Gruppe 2: 12:14 1 1 - 0 Gruppe 1: 8:12 1 - 0 0 Gruppe 2: 9:13 1 - 0 1 3:7 0 - 1 1 Gruppe 1: 4:12 - 1 0 0 Gruppe 1: 2:3 0 0 1 - 8:9 1 0 0 - Gruppe 2: 12:14 1 1 - 0 Gruppe 1: 8:12 1 - 0 0 Gruppe 2: 9:13 1 - 0 1 3:7 0 - 1 1 8:12:9:13 1 - 0 - Gruppe 1: 4:12 - 1 0 0 2:3 0 0 1 - 8:9 1 0 0 - 12:14 1 1 - 0 3:7 0 - 1 1 8:12:9:13 1 - 0 - 4:12 - 1 0 0 2 3 4 7 8 9 12 13 14 2:3 * * 8:9 * * 12:14 * * 3:7 * * 8:12:9:13 * * * * 4:12 * * 2 3 4 7 8 9 12 13 14 2:3 * * p 8:9 * * 12:14 * * p 3:7 * * p 8:12:9:13 * * * * p 4:12 * * p 2 3 4 7 8 9 12 13 14 2:3 * * p 12:14 * * p 3:7 * * p 8:12:9:13 * * * * p 4:12 * * p 2:3 0 0 1 - 12:14 1 1 - 0 3:7 0 - 1 1 8:12:9:13 1 - 0 - 4:12 - 1 0 0 y <= (not x3 and not x2 and x1) or (x3 and x2 and not x0) or (not x3 and x1 and x0) or (x3 and not x1) or (x2 and not x1 and not x0); library ieee; use ieee.std_logic_1164.all; entity quine20240520 is port ( x3, x2, x1, x0: in std_logic; y: std_logic ); end; architecture behaviour of quine20240520 is begin y <= (not x3 and not x2 and x1) or (x3 and x2 and not x0) or (not x3 and x1 and x0) or (x3 and not x1) or (x2 and not x1 and not x0); end; library ieee; use ieee.std_logic_1164.all; entity quine20240520testbench is port ( y: out std_logic ); end; architecture behaviour of quine20240520testbench is component quine20240520 port ( x3, x2, x1, x0: in std_logic; y: out std_logic ); end component; signal x3, x2, x1, x0: std_logic; begin q: quine20240520 PORT MAP (x3=>x3, x2=>x2, x1=>x1, x0=>x0, y=>y);
library ieee; use ieee.std_logic_1164.all; entity quine20240520 is port ( x3, x2, x1, x0: in std_logic; y: out std_logic ); end; architecture behaviour of quine20240520 is begin y <= (not x3 and not x2 and x1) or (x3 and x2 and not x0) or (not x3 and x1 and x0) or (x3 and not x1) or (x2 and not x1 and not x0); end; library ieee; use ieee.std_logic_1164.all; entity quine20240520testbench is port ( y: out std_logic ); end; architecture behaviour of quine20240520testbench is component quine20240520 port ( x3, x2, x1, x0: in std_logic; y: out std_logic ); end component; signal x3, x2, x1, x0: std_logic; begin q: quine20240520 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;
https://drive.google.com/file/d/1E8EkwYgJvLA5tNEu8D-NdHTvfGJ4Va30/view?usp=drive_link">
Zustand,Eingabe,Ausgabe,Folgezustand 1,0,1,3 1,1,1,1 2,0,1,2 2,1,0,4 3,0,0,1 3,1,1,2 4,0,0,4 4,1,1,3
https://drive.google.com/file/d/1peCXzl61h0e9gLJuTNtZB9JgTr7wqo4K/view?usp=drive_link">
https://drive.google.com/file/d/1AB-oNH-r4dh3rvxI4azNRjYTnZ7mF5C0/view?usp=drive_link">
https://drive.google.com/file/d/1E9HIIExrp37PkHREAbCj5VkkkgzRyYCf/view?usp=drive_link">
Zustand,Eingabe,Ausgabe,Folgezustand 1,0,1,3 1,1,1,1 2,0,1,2 2,1,0,4 3,0,0,1 3,1,1,2 4,0,0,4 4,1,1,3 z1+ := (z1 and x) or (z3 and not x) z2+ := (z2 and not x) or (z3 and x) z3+ := (z1 and not x) or (z4 and x) z4+ := (z2 and x) or (z4 and not x) y := (z1) or (z2 and not x) or (z3 and x) or (z4 and x)
1.) Rechne die Zahl in binaer Darstellung in eine Dezimale Darstellung um 1000000010000000b 32896d 2.) Rechne die Zahl in dezimal darstellung in eine Binaerdarstellung um 25710 0110010001101110 3.) Addiere die drei Zahlen schriftlich 37821 + 7528 + 27313 ----------------- 72662 4.) Subtrahiere die letzten drei Zahlen schriftlich von der ersten schriftlich 25589 - 13824 - 519 - 11492 ----------------- -246 5.) Rechne die Zahl ins zweier komplement um, mit 8 Bit - und subtrahiere diese zahl von der ersten und rechne das Ergebnis nach dezimal -31 -20 = -51 11100001 11101100 = 11001101 6.) Multipliziere die zwei Zahlen schriftlich 27167*55344 = 1503530448 7.) Dividiere die zwei Zahlen schriftlich 3320/63279 = 0 8.) Errechne x Logarithmisch mit dem Taschenrechner 2179\^x = 993977012 Rechne die Zahl in IEEE-754 um 13970.033203
1.) Rechne die Zahl in binaer Darstellung in eine Dezimale Darstellung um 1000000010000000b 32896d 2.) Rechne die Zahl in dezimal darstellung in eine Binaerdarstellung um 25710 0110010001101110 3.) Addiere die drei Zahlen schriftlich 37821 + 7528 + 27313 ----------------- 72662 4.) Subtrahiere die letzten drei Zahlen schriftlich von der ersten schriftlich 25589 - 13824 - 519 - 11492 ----------------- -246 5.) Rechne die Zahl ins zweier komplement um, mit 8 Bit - und subtrahiere diese zahl von der ersten und rechne das Ergebnis nach dezimal -31 -20 = -51 11100001 11101100 = 11001101 6.) Multipliziere die zwei Zahlen schriftlich 27167*55344 = 1503530448 7.) Dividiere die zwei Zahlen schriftlich 3320/63279 = 0 8.) Errechne x Logarithmisch mit dem Taschenrechner 2179\^x = 993977012 Rechne die Zahl in IEEE-754 um 13970.033203
,a,b,c,d,e,f,g a,1,1,0,1,1,1,0 b,1,1,1,0,1,1,1 c,0,1,0,1,1,0,0 d,1,0,1,1,1,0,0 e,1,1,1,1,1,1,1 f,1,1,0,0,1,1,1 g,0,1,0,0,1,1,0