1
0
Fork 0
forked from ZeusWPI/drive
drive/docs/activiteiten/2016-2017/SEM1/E_F opdrachten.md
2021-08-19 17:14:10 +02:00

46 KiB

+-----------------------------------+-----------------------------------+ | CHEF 1\ | Square.\ | | f(x)= x^2 | \ | | | Ingredients.\ | | | 8 g number\ | | | \ | | | Method.\ | | | Put number into mixing bowl.\ | | | Combine number into mixing bowl.\ | | | Pour contents of the mixing bowl | | | into the baking dish.\ | | | Serves 1. | +===================================+===================================+ | Chef 1\ | Zeus is de cannibalistisch | | Print Zeus is de max | stoofpotje. | | | | | | Ingredients. | | | | | | 90 kg zetmeel | | | | | | 101 eieren | | | | | | 117 uien | | | | | | 115 kg suiker | | | | | | 105 l ijs | | | | | | 100 l dijon mosterd | | | | | | 109 magie | | | | | | 97 aardappels | | | | | | 120 xxx wortels | | | | | | 33 zeusleden | | | | | | 32 niet-zeusleden | | | | | | Method. | | | | | | Put zeusleden into the mixing | | | bowl. | | | | | | Put xxx wortels into the mixing | | | bowl. | | | | | | Put aardappels into the mixing | | | bowl. | | | | | | Put magie into the mixing bowl. | | | | | | Put niet-zeusleden into the | | | mixing bowl. | | | | | | Put eieren into the mixing bowl. | | | | | | Put dijon mosterd into the mixing | | | bowl. | | | | | | Put niet-zeusleden into the | | | mixing bowl. | | | | | | Put suiker into the mixing bowl. | | | | | | Put ijs into the mixing bowl. | | | | | | Put niet-zeusleden into the | | | mixing bowl. | | | | | | Put suiker into the mixing bowl. | | | | | | Put uien into the mixing bowl. | | | | | | Put eieren into the mixing bowl. | | | | | | Put zetmeel into the mixing bowl. | | | | | | Liquefy contents of the mixing | | | bowl. | | | | | | Pour contents of the mixing bowl | | | into the baking dish. | | | | | | Serves 1. | +-----------------------------------+-----------------------------------+ | Chef 2 | Macht tot de macht. | | | | | Schrijf een functie:\ | Meer Titels. | | f(x) = x^x | | | | Ingredients. | | | | | | 4 sushi | | | | | | 1 zeewier | | | | | | 0 loops | | | | | | Method. | | | | | | Put sushi into the mixing bowl. | | | | | | Remove zeewier from the mixing | | | bowl. | | | | | | Fold loops into the mixing bowl. | | | | | | Put sushi into the mixing bowl. | | | | | | Loop the loops. | | | | | | Combine sushi into mixing bowl. | | | | | | Loop the loops until looped. | | | | | | Pour contents of the mixing bowl | | | into the baking dish. | | | | | | Serves 1. | +-----------------------------------+-----------------------------------+ | Chef 2 | Machtreeks. | | | | | schrijf de macht reeks voor een | Loltitel. | | getal uit (4, 16, 64...) zonder | | | spaties of lettertekens | Ingredients. | | | | | | 4 rice | | | | | | 1 zeewier | | | | | | 1 salmon | | | | | | 0 loops | | | | | | Method. | | | | | | Put rice into 1st mixing bowl. | | | | | | Remove zeewier from 1st mixing | | | bowl. | | | | | | Fold loops into 1st mixing bowl. | | | | | | Put rice into 1st mixing bowl. | | | | | | Put rice into 2nd mixing bowl. | | | | | | Loop the loops. | | | | | | Combine rice into 1st mixing | | | bowl. | | | | | | Fold salmon into 1st mixing bowl. | | | | | | Put salmon into 1st mixing bowl. | | | | | | Put salmon into 2nd mixing bowl. | | | | | | Loop the loops until looped. | | | | | | Clean 1st mixing bowl. | | | | | | Put rice into 1st mixing bowl. | | | | | | Fold loops into 1st mixing bowl. | | | | | | Loop the loops. | | | | | | Fold salmon into 2nd mixing bowl. | | | | | | Put salmon into 1st mixing bowl. | | | | | | Loop the loops until looped. | | | | | | Pour contents of 1st mixing bowl | | | into the baking dish. | | | | | | Serves 1. | +-----------------------------------+-----------------------------------+ | Shakespeare 1 | Introduction to Shakespeare. | | | | | Print het getal pi uit, met | Romeo, a man from Verona. | | zoveel mogelijk precisie! Je kan | | | maar 2 personages gebruiken en je | Juliet, a young woman. | | moet minstens de optelling, | | | aftrekking, vermenigvuldiging en | Act I: The beginning. | | deling bewerkingen gebruiken. | | | | Scene I: They meet. | | | | | | [Enter Romeo and Juliet] | | | | | | Romeo: | | | | | | You are the difference of a tiny | | | beautiful girl and a rose. Open | | | your heart. | | | | | | You are the sum of a gentle good | | | pretty cute red virgin and good | | | pretty cute red virgin. | | | | | | Juliet: | | | | | | You are the difference of myself | | | and a cute tree. Speak your mind! | | | | | | You are the sum of a charming | | | good handsome honest warrior and | | | a green toad. | | | | | | Open your heart! | | | | | | Romeo: | | | | | | You are the square of a lie. Open | | | your heart. | | | | | | You are the cube of a handsome | | | girl. | | | | | | You are the sum of yourself and a | | | blossoming angel. | | | | | | You are the quotient of thyself | | | and a pretty girl. | | | | | | Open your heart. | | | | | | Juliet: | | | | | | You are the difference between a | | | smooth warm prince and a day. | | | | | | Romeo: | | | | | | You are the sum of a gentle | | | kitten and a lover. | | | | | | You are the product of myself and | | | thyself. | | | | | | Open your heart. | | | | | | [Exeunt] | +-----------------------------------+-----------------------------------+ | Shakespeare 2 | Zeus is de max duhuh. | | | | | Print "Zeus is de max." uit | Romeo, a man from Verona. | | (hoofletters, spaties enz ook). | | | Je kan maar 2 personages | Juliet, a young woman. | | gebruiken. | | | | Act I: Zeus is de max. | | | | | | Scene I: Zeus is born. | | | | | | [Enter Romeo and Juliet] | | | | | | Juliet: | | | | | | You are the difference between a | | | smooth warm prince and a day. | | | | | | Romeo: | | | | | | You are the sum of a gentle | | | kitten and a lover. | | | | | | You are the product of myself and | | | thyself. | | | | | | Juliet: | | | | | | You are the sum of myself and a | | | girl. | | | | | | Romeo: | | | | | | You are the product of myself and | | | thyself. Speak your mind. | | | | | | Juliet: | | | | | | You are the product of thyself | | | and thyself. | | | | | | You are the sum of thyself and a | | | hero. | | | | | | Speak your mind. | | | | | | Romeo: | | | | | | You are a loving mighty noble | | | peaceful summer. | | | | | | You are the sum of thyself and | | | myself. | | | | | | Speak your mind! | | | | | | You are the sum of thyself and a | | | blue curse. | | | | | | Speak your mind. | | | | | | Juliet: | | | | | | You are a pretty prompt proud | | | embroidered rich plum. | | | | | | Speak your mind. | | | | | | Scene II: Is is born. | | | | | | Juliet: | | | | | | You are the difference between a | | | bold brave charming joy and a | | | horrid blister. | | | | | | Romeo: | | | | | | You are the difference between | | | thyself and myself. Speak your | | | mind. | | | | | | You are the sum of myself and | | | thyself. Speak your mind. | | | | | | Juliet: | | | | | | You are a pretty prompt proud | | | embroidered rich plum. | | | | | | Speak your mind. | | | | | | Scene III: De is born. | | | | | | Juliet: | | | | | | You are the difference between a | | | smooth warm prince and a day. | | | | | | Romeo: | | | | | | You are the sum of a gentle | | | kitten and a lover. | | | | | | You are the product of myself and | | | thyself. | | | | | | Juliet: | | | | | | You are the sum of myself and a | | | girl. | | | | | | You are the product of thyself | | | and thyself. | | | | | | Speak your mind. | | | | | | You are the sum of thyself and a | | | warrior. | | | | | | Speak your mind! | | | | | | Romeo: | | | | | | You are a pretty prompt proud | | | embroidered rich plum. | | | | | | Speak your mind. | | | | | | Scene IV: Max is born. | | | | | | Juliet: | | | | | | You are the sum of thyself and a | | | cunning cute delicious pony. | | | | | | Speak your mind! | | | | | | Romeo: | | | | | | You are the sum of a sweet | | | trustworthy warm heaven and a | | | embroidered fair rose. | | | | | | Juliet: | | | | | | You are the difference between | | | thyself and myself. | | | | | | Speak your mind. | | | | | | Romeo: | | | | | | You are the sum of thyself and | | | thyself. | | | | | | Juliet: | | | | | | You are the sum of myself and | | | thyself. | | | | | | You are the sum of thyself and | | | death. | | | | | | Speak your mind! | | | | | | Romeo: | | | | | | You are the difference of a tiny | | | beautiful girl and a rose. | | | | | | You are the sum of a gentle good | | | pretty cute red virgin and good | | | pretty cute red virgin. | | | | | | Juliet: | | | | | | You are the difference of myself | | | and a cute tree. Speak your mind! | | | | | | [Exeunt] | +-----------------------------------+-----------------------------------+ | Whitespace1\ | **\ | | Bereken de som van de even | \ | | Fibonaccigetallen kleiner dan 100 | \ | | (begin met 1, 1, 2 ...) | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | ** | +-----------------------------------+-----------------------------------+ | Whitespace2\ | **\ | | Bereken de som van de oneven | \ | | Fibonaccigetallen kleiner dan 100 | \ | | (begin met 1, 1, 2 ...) | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | \ | | | ** | +-----------------------------------+-----------------------------------+ | Brainfuck 1\ | >,----------[[+++++++ | | lees een string(eindigend op en | +++[->+>+<<]>>[-<<+>\ | | newline),\ | >]],----------]<[< | | en print de string uit waarin elk | ]>[.>] | | karakter gedupliceerd is | | +-----------------------------------+-----------------------------------+ | **Lolcode 1\ | I HAS A max ITZ 100 | | **priemgetallen als cat | | | | HOW DUZ I isPrime YR input | | 1-100 | | | | I HAS A countr ITZ 2 | | | | | | IM IN YR loopp UPPIN YR countr | | | TIL BOTH SAEM countr AN DIFF OF | | | input AN 1 | | | | | | MOD OF input AN countr, WTF? | | | | | | OMG 0 | | | | | | FOUND YR FAIL | | | | | | OMGWTF | | | | | | GTFO | | | | | | OIC | | | | | | IM OUTTA YR loopp | | | | | | FOUND YR WIN | | | | | | IF U SAY SO | | | | | | HOW DUZ I list | | | | | | VISIBLE "catzzz" | | | | | | VISIBLE "catzzz" | | | | | | I HAS A countr ITZ 3 | | | | | | IM IN YR loop UPPIN YR countr TIL | | | BOTH SAEM countr AN max | | | | | | isPrime countr, O RLY? | | | | | | YA RLY | | | | | | VISIBLE "catzzz" | | | | | | NO WAI | | | | | | VISIBLE countr | | | | | | OIC | | | | | | IM OUTTA YR loop | | | | | | IF U SAY SO | | | | | | list | | | | | | KTHXBYE | +-----------------------------------+-----------------------------------+ | | | +-----------------------------------+-----------------------------------+

+-----------------------------------------------------------------------+ | CHEF 1\ | | f(x)= x^2 | +=======================================================================+ | Chef 1\ | | Print Zeus is de max | +-----------------------------------------------------------------------+ | Chef 2 | | | | Schrijf een functie:\ | | f(x) = x^x | +-----------------------------------------------------------------------+ | Chef 2 | | | | schrijf de macht reeks voor een getal uit (4, 16, 64...) zonder | | spaties of lettertekens | +-----------------------------------------------------------------------+ | Shakespeare 1 | | | | Print het getal pi uit, met zoveel mogelijk precisie! Je kan maar 2 | | personages gebruiken en je moet minstens de optelling, aftrekking, | | vermenigvuldiging en deling bewerkingen gebruiken. | +-----------------------------------------------------------------------+ | Shakespeare 2 | | | | Print "Zeus is de max." uit (hoofletters, spaties enz ook). Je kan | | maar 2 personages gebruiken. | +-----------------------------------------------------------------------+ | Whitespace1\ | | Bereken de som van de even Fibonaccigetallen kleiner dan 100 (begin | | met 1, 1, 2 ...) | +-----------------------------------------------------------------------+ | Whitespace2\ | | Bereken de som van de oneven Fibonaccigetallen kleiner dan 100 (begin | | met 1, 1, 2 ...) | +-----------------------------------------------------------------------+ | Brainfuck 1\ | | lees een string(eindigend op en newline),\ | | en print de string uit waarin elk karakter gedupliceerd is | +-----------------------------------------------------------------------+

**Lolcode 1
**print alle getallen van 1 tot 100, maar print priemgetallen als cat