Skip to main content
eick-at moodle
  • Home
  • Calendar
  • More
You are currently using guest access
Log in
eick-at moodle
Home Calendar
Expand all Collapse all
  1. Programming AD with Python
  2. Active Directory
  3. Tasks: Improvements of class PyAD

Tasks: Improvements of class PyAD

Completion requirements
Opened: Monday, 7 October 2019, 12:00 AM
Due: Monday, 14 October 2019, 12:00 AM

You are aware that until now

  1. Deleting of a student will fail if it has already been deleted.
  2. The creation of a school class will fail if it has already been created.
  3. Only existing and empty school classes can be deleted.
  4. The creation of students with the same username is not possible. In addition, the following attributes of the Student are not yet initialized in the AD: password, surname ("sn"), firstname ("givenName") and date of birth.
The corresponding methods of the class PyAD have to be improved. Choose with your group one of the following work orders:
(UML 1.x activity diagrams help to illustrate the problems.)

Improve method PyAD.deleteStudent()

A student should only be deleted if it really exists. (Level of difficulty: easy)

UML activity diagram: Deleting a student

UML 1.x activity diagram: Deleting a student


Improve method PyAD.createSchoolClass()

A school class should only be created if it did not already exist before.

(Level of difficulty: easy)

UML activity diagram: Creating a school class
UML 1.x activity diagram: Creating a school class


Improve method PyAD.deleteSchoolClass()

A school class should only be deleted if it exists. If necessary, all students must first be deleted by the method.

(Level of difficulty: moderate)

UML activity diagram: Deleting a school class

UML 1.x activity diagram: Deleting a school class


Improve method PyAD.createStudent()

In AD, a student's user name (common name - cn) must be unique. Therefore, if necessary, add letters of the first name to the user name until the user name no longer has a duplication.
In addition, the following attributes of the student must also be initialized in the AD: Password, last name ("sn"), first name ("givenName") and date of birth.
(Level of difficulty: tough)

UML activity diagram: Creating a student

UML 1.x activity diagram: Creating a student




You are currently using guest access (Log in)
Data retention summary
Get the mobile app
Powered by Moodle