Scholarly record
TEACHING STUDENTS TO PROGRAM IN C++ ON EXAMPLES IN THE FIELD OF GENERAL GEODESY AND CARTOGRAPHY
Abstract
Characteristics of educational technology used at the Moscow State University of Geodesy and Cartography focused on C++ programming language teaching students of geodetic specialties are presented. The new C++ programming course for geodesy and cartography students has been developed. This course is geared towards the needs of geodesy and cartography department of higher school. The current task is to elaborate a wide geodetic collection of tasks for C++ programming exercises. The need to develop a specialized C++ programming textbook for students of geodetic specialties is stressed. Examples of programming training tasks, which could be used as templates while composing common tasks, are given. The working code is presented and the analysis of a C++ program for calculation of rhumb (quadrantal bearing) is performed. The program suits both for lectures and practical lessons. The sequence of if-statements is used for writing a multi-way decision. The code contains only 60 lines. The program calculates the rhumb of a given direction from known grid azimuth. The value of a grid azimuth of the direction as degrees and minutes separately is entered via the keyboard. The program can easily be modified to solve a case when a grid azimuth is of degrees, minutes and seconds separately. The program demonstrates application of a branch control command consisting of nested if-statements. This program emphasizes some characteristics of using of the nested if-statements on the basis of functional programming. ABSTRACT Characteristics of educational technology used at the Moscow State University of Geodesy and Cartography focused on C++ programming language teaching students of geodetic specialties are presented. The new C++ programming course for geodesy and cartography students has been developed. This course is geared towards the needs of geodesy and cartography department of higher school. The current task is to elaborate a wide geodetic collection of tasks for C++ programming exercises. The need to develop a specialized C++ programming textbook for students of geodetic specialties is stressed. Examples of programming training tasks, which could be used as templates while composing common tasks, are given. The working code is presented and the analysis of a C++ program for calculation of rhumb (quadrantal bearing) is performed. The program suits both for lectures and practical lessons. The sequence of if-statements is used for writing a multi-way decision. The code contains only 60 lines. The program calculates the rhumb of a given direction from known grid azimuth. The value of a grid azimuth of the direction as degrees and minutes separately is entered via the keyboard. The program can easily be modified to solve a case when a grid azimuth is of degrees, minutes and seconds separately. The program demonstrates application of a branch control command consisting of nested if-statements. This program emphasizes some characteristics of using of the nested if-statements on the basis of functional programming.
Publication Impact Profile
Publication details
References0
Structured references will appear here after the reference import pass. The count is preserved now so the scholarly record is not incomplete.
View or Download full articleAccess options
SWS access login
Login as SWS Scientific CommitteeLogin as SWS Scientific PartnerLogin as SWS AuthorAuthors and approved SWS contributors will read and export their own linked papers after identity matching by SWS profile, email and SGEM GlobalID.
For librarian assistance: [email protected]
Purchase Instant Access
- Article can be downloaded after successful payment.
- Article may be used according to SWS library access terms.
- Article cannot be redistributed.

