GRUPPE 1 Frage 1 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
int a;
cout << a * 2;
a = 20 - 2 * 6;
return 0;
}
#include <iostream>
using namespace std;
int main() {
int w = 20 – 7 * 2;
cout << w * 2;
return 0;
}
4:00 3:50 3:40 3:30 3:20 3:10 3:00 2:50 2:40 2:30 2:20 2:10 2:00 1:50 1:40 1:30 1:20 1:10 1:00 0:50 0:40 0:30 0:20 0:10 0:00
GRUPPE 1 Frage 2 4:00 3:50 3:40 3:30 3:20 3:10 3:00 2:50 2:40 2:30 2:20 2:10 2:00 1:50 1:40 1:30 1:20 1:10 1:00 0:50 0:40 0:30 0:20 0:10 0:00 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
int a = 20 - 2 * 6;
cout << a * 2;
return 0;
}
#include <iostream>
using namespace std;
int main() {
int w;
cout << w * 2;
w = 20 – 7 * 2;
return 0;
}
GRUPPE 1 Frage 3 4:00 3:50 3:40 3:30 3:20 3:10 3:00 2:50 2:40 2:30 2:20 2:10 2:00 1:50 1:40 1:30 1:20 1:10 1:00 0:50 0:40 0:30 0:20 0:10 0:00 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double k = 4;
double p = 2 * k;
k = 7384;
cout << p;
return 0;
}
#include <iostream>
using namespace std;
int main() {
double k = 7;
double p = k - 5;
k = 4526;
cout << k;
return 0;
}
GRUPPE 1 Frage 4 4:00 3:50 3:40 3:30 3:20 3:10 3:00 2:50 2:40 2:30 2:20 2:10 2:00 1:50 1:40 1:30 1:20 1:10 1:00 0:50 0:40 0:30 0:20 0:10 0:00 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double k = 4;
double p = 2 * k;
k = 7384;
cout << k;
return 0;
}
#include <iostream>
using namespace std;
int main() {
double k = 7;
double p = k - 5;
k = 4526;
cout << p;
return 0;
}
GRUPPE 1 Frage 5 4:00 3:50 3:40 3:30 3:20 3:10 3:00 2:50 2:40 2:30 2:20 2:10 2:00 1:50 1:40 1:30 1:20 1:10 1:00 0:50 0:40 0:30 0:20 0:10 0:00 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double k = 4;
double p = 2 * k;
k = 7384;
cout << k << p;
return 0;
}
#include <iostream>
using namespace std;
int main() {
double k = 7;
double p = k - 5;
k = 4526;
cout << p << k;
return 0;
}
GRUPPE 1 Frage 6 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double pi = 3.14;
double x = pi - 1;
cout << x;
return 0;
}
#include <iostream>
using namespace std;
int main() {
double e = 2.71;
double x = e + 1;
cout << x;
return 0;
}
4:00 3:50 3:40 3:30 3:20 3:10 3:00 2:50 2:40 2:30 2:20 2:10 2:00 1:50 1:40 1:30 1:20 1:10 1:00 0:50 0:40 0:30 0:20 0:10 0:00
GRUPPE 1 Frage 7 4:00 3:50 3:40 3:30 3:20 3:10 3:00 2:50 2:40 2:30 2:20 2:10 2:00 1:50 1:40 1:30 1:20 1:10 1:00 0:50 0:40 0:30 0:20 0:10 0:00 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double k = 4;
cout << k << "war" ; k = k + 2 * k;
cout << "oder=" << k;
cout << "?";
return 0;
}
#include <iostream>
using namespace std;
int main() {
double x = 2;
cout << x << "war";
x = 2 + x * x;
cout << "=" << x;
cout << "oder?";
return 0;
}
GRUPPE 1 Frage 8 4:00 3:50 3:40 3:30 3:20 3:10 3:00 2:50 2:40 2:30 2:20 2:10 2:00 1:50 1:40 1:30 1:20 1:10 1:00 0:50 0:40 0:30 0:20 0:10 0:00 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double x;
???
x = x * 2;
cout << x;
return 0;
}
Welches Statement wird an der Stelle ??? benötigt, damit ein Wert für die Variable x eingelesen wird?
#include <iostream>
using namespace std;
int main() {
double a;
cin >> a;
a = a * 2;
???
return 0;
}
Welches Statement wird an der Stelle ??? benötigt, damit der aktuelle Wert der Variablen a ausgegeben wird?
GRUPPE 1 Frage 9 4:00 3:50 3:40 3:30 3:20 3:10 3:00 2:50 2:40 2:30 2:20 2:10 2:00 1:50 1:40 1:30 1:20 1:10 1:00 0:50 0:40 0:30 0:20 0:10 0:00 Zeit GRUPPE 2
Welche Schritte sind nötig, um aus einer C++ Sourcedatei ein
ausführbares Programm zu erzeugen?
A Die Datei muss in a.out umbenannt werden
B Die Datei muss ventiliert werden C Die Datei muss in Maschinencode
übersetzt werden
D Die Datei muss gelöscht werden
E Die Datei muss mit g++ auf die Webseite hochgeladen werden
F Der Dateiname muss mit der Endung .exe versehen werden
Welche Schritte sind nötig, um aus einer C++ Sourcedatei ein
ausführbares Programm zu erzeugen?
A Der Dateiname muss mit der Endung .exe versehen werden
B Die Datei muss kompostiert werden C Die Datei muss kompiliert werden
D Die Datei muss in das Verzeichnis a.out kopiert werden
E Die Datei muss als PDF-Datei abgelegt werden
F Die Datei muss mit einem Virenchecker geprüft werden
GRUPPE 1 Frage 10 4:00 3:50 3:40 3:30 3:20 3:10 3:00 2:50 2:40 2:30 2:20 2:10 2:00 1:50 1:40 1:30 1:20 1:10 1:00 0:50 0:40 0:30 0:20 0:10 0:00 Zeit GRUPPE 2
Welche Funktion wird beim Start eines C++ Programms aufgerufen?
A Die erste im Programmtext B Die Funktion, mit den meisten
Parametern
C Die Funktion namens main
D Die Funktion mit den wenigsten Nullstellen
E Die Funktion namens autostart F Die Funktion namens donaukanal
Welche Funktion wird beim Start eines C++ Programms aufgerufen?
A Die letzte im Programmtext
B Die Funktion mit den wenigsten Parametern
C Die Funktion namens autoexec D Die Funktion mit den meisten
Sprungstellen
E Die Funktion namens main F Die Funktion namens rhein
Geben Sie Ihr Testformular unverzüglich ab, indem Sie es JETZT SOFORT (IN DIESEM MOMENT)
zum rechten Rand Ihrer Sitzreihe weitergeben.
Test - Ende
Bitte nach RECHTS zum Rand weitergeben
GRUPPE 1 Frage 1 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
int a;
cout << a * 2;
a = 20 - 2 * 6;
return 0;
}
???
#include <iostream>
using namespace std;
int main() {
int w = 20 – 7 * 2;
cout << w * 2;
return 0;
}
12
GRUPPE 1 Frage 2 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
int a = 20 - 2 * 6;
cout << a * 2;
return 0;
}
16
#include <iostream>
using namespace std;
int main() {
int w;
cout << w * 2;
w = 20 – 7 * 2;
return 0;
}
???
GRUPPE 1 Frage 3 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double k = 4;
double p = 2 * k;
k = 7384;
cout << p;
return 0;
}
8
#include <iostream>
using namespace std;
int main() {
double k = 7;
double p = k - 5;
k = 4526;
cout << k;
return 0;
}
4526
GRUPPE 1 Frage 4 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double k = 4;
double p = 2 * k;
k = 7384;
cout << k;
return 0;
}
7384
#include <iostream>
using namespace std;
int main() {
double k = 7;
double p = k - 5;
k = 4526;
cout << p;
return 0;
}
2
GRUPPE 1 Frage 5 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double k = 4;
double p = 2 * k;
k = 7384;
cout << k << p;
return 0;
}
73848
#include <iostream>
using namespace std;
int main() {
double k = 7;
double p = k - 5;
k = 4526;
cout << p << k;
return 0;
}
24526
GRUPPE 1 Frage 6 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double pi = 3.14;
double x = pi - 1;
cout << x;
return 0;
}
2.14
#include <iostream>
using namespace std;
int main() {
double e = 2.71;
double x = e + 1;
cout << x;
return 0;
}
3.71
GRUPPE 1 Frage 7 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double k = 4;
cout << k << "war" ; k = k + 2 * k;
cout << "oder=" << k;
cout << "?";
return 0;
}
4waroder=12?
#include <iostream>
using namespace std;
int main() {
double x = 2;
cout << x << "war";
x = 2 + x * x;
cout << "=" << x;
cout << "oder?";
return 0;
}
2war=6oder?
GRUPPE 1 Frage 8 Zeit GRUPPE 2
#include <iostream>
using namespace std;
int main() {
double x;
???
x = x * 2;
cout << x;
return 0;
}
Welches Statement wird an der Stelle ??? benötigt, damit ein Wert für die Variable x eingelesen wird?
cin >> x; //oder äquivalent
#include <iostream>
using namespace std;
int main() {
double a;
cin >> a;
a = a * 2;
???
return 0;
}
Welches Statement wird an der Stelle ??? benötigt, damit der aktuelle Wert der Variablen a ausgegeben wird?
cout << a; //oder äquivalent
GRUPPE 1 Frage 9 Zeit GRUPPE 2
Welche Schritte sind nötig, um aus einer C++ Sourcedatei ein
ausführbares Programm zu erzeugen?
A Die Datei muss in a.out umbenannt werden
B Die Datei muss ventiliert werden C Die Datei muss in Maschinencode
übersetzt werden
D Die Datei muss gelöscht werden
E Die Datei muss mit g++ auf die Webseite hochgeladen werden
F Der Dateiname muss mit der Endung .exe versehen werden
Welche Schritte sind nötig, um aus einer C++ Sourcedatei ein
ausführbares Programm zu erzeugen?
A Der Dateiname muss mit der Endung .exe versehen werden
B Die Datei muss kompostiert werden C Die Datei muss kompiliert werden
D Die Datei muss in das Verzeichnis a.out kopiert werden
E Die Datei muss als PDF-Datei abgelegt werden
F Die Datei muss mit einem Virenchecker geprüft werden
GRUPPE 1 Frage 10 Zeit GRUPPE 2
Welche Funktion wird beim Start eines C++ Programms aufgerufen?
A Die erste im Programmtext B Die Funktion, mit den meisten
Parametern
C Die Funktion namens main
D Die Funktion mit den wenigsten Nullstellen
E Die Funktion namens autostart F Die Funktion namens donaukanal
Welche Funktion wird beim Start eines C++ Programms aufgerufen?
A Die letzte im Programmtext
B Die Funktion mit den wenigsten Parametern
C Die Funktion namens autoexec D Die Funktion mit den meisten
Sprungstellen
E Die Funktion namens main F Die Funktion namens rhein