This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JQuerie Aufgabe</title> | |
<link rel="stylesheet" href="style.css" /> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script> | |
$(document).ready(function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
// TODO: Falscheingaben korrigieren; | |
namespace bsp27 | |
{ | |
/* 27. (5P) Implementiere folgende Variante des Spieles Nim: | |
• Nim ist ein Spiel für zwei Spieler. | |
• Zu Beginn gibt es drei Haufen mit Streichhölzern: | |
am ersten Haufen befinden sich z.B. drei Streichhölzer, am zweiten fünf, am dritten sieben | |
(andere Startkonfigurationen sollen möglich sein). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
namespace bsp30 | |
{ | |
/* 30. (2P)Schreibe 5 Funktionen, welche von einem eindimensionalen Fließkommazahlen-Array (Parameter der Funktion) beliebiger Größe | |
* Durchschnitt | |
* Summe | |
* Standardabweichung |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
namespace bsp31 | |
{ | |
class MainClass | |
{ | |
static double[] data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 1310601027, fhs36118 | |
* Daniel Raudschus | |
* ue09 bsp51 | |
* */ | |
using System; | |
using System.Diagnostics; | |
// Klasse Mensch implementieren | |
class Mensch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
interface IPrintAll | |
{ | |
void print(); | |
} | |
interface IChangeData | |
{ | |
void daten(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
class MainClass | |
{ | |
const int CODE_OF_A = 65; // ASCII code for A | |
const int CODE_OF_a = 97; // ASCII code for a | |
static int[] uppercase = new int[26]; | |
static int[] lowercase = new int[26]; // Arrays for upper and lowercase alphabet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1310601035, fhs36126 | |
// Franz Rest; slight adaptions, comments/notes made by G.Mitterlechner. | |
// ue09 bsp56 | |
using System; | |
class Article | |
{ | |
private int Artikelnummer; | |
private string Name; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 1310601027, fhs36118 | |
* Daniel Raudschus | |
* ue02 bsp01 | |
* */ | |
using System; | |
using System.Collections; | |
class Article | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 1310601027, fhs36118 | |
* Daniel Raudschus | |
* ue02 bsp08 | |
* */ | |
//8. MyIntArray (2P): | |
//Programmiere eine eigene, auf integer-Werte reduzierte Version einer ArrayList namens MyIntArray. | |
//Dieses Array kapselt ein Standard-Integer-Array (int[] numbers), und darf NICHT eineArrayListverwenden. | |
//Es muss das dynamische Wachsen des Arrays unterstützen. |