Peer-reviewed articles 17,970 +



Title: TEACHING STUDENTS TO PROGRAM IN C++ ON EXAMPLES IN THE FIELD OF GENERAL GEODESY AND CARTOGRAPHY

TEACHING STUDENTS TO PROGRAM IN C++ ON EXAMPLES IN THE FIELD OF GENERAL GEODESY AND CARTOGRAPHY
V. Zablotskii
1314-2704
English
18
2.1
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.
conference
18th International Multidisciplinary Scientific GeoConference SGEM 2018
18th International Multidisciplinary Scientific GeoConference SGEM 2018, 02-08 July, 2018
Proceedings Paper
STEF92 Technology
International Multidisciplinary Scientific GeoConference-SGEM
Bulgarian Acad Sci; Acad Sci Czech Republ; Latvian Acad Sci; Polish Acad Sci; Russian Acad Sci; Serbian Acad Sci & Arts; Slovak Acad Sci; Natl Acad Sci Ukraine; Natl Acad Sci Armenia; Sci Council Japan; World Acad Sci; European Acad Sci, Arts & Letters; Ac
743-748
02-08 July, 2018
website
cdrom
588
C++ programming language; geodesic problems; rhumb