Approaches to educational activities and construction of an informatics curriculum