SWS Academic Research eLibraryEarth & Planetary Sciences

Scholarly record

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

V. R. Zablotskii

First published: 2018-06-20https://doi.org/10.5593/sgem2018/2.1/s07.094View metrics

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

PlumX
  • Captures
  • Mendeley - Readers: 3

Publication details

Title
TEACHING STUDENTS TO PROGRAM IN C++ ON EXAMPLES IN THE FIELD OF GENERAL GEODESY AND CARTOGRAPHY
Authors
V. R. Zablotskii
Proceedings
SGEM International Multidisciplinary Scientific GeoConference EXPO Proceedings; 18th International Multidisciplinary Scientific GeoConference SGEM2018, Informatics, Geoinformatics and Remote Sensing
Publisher
STEF92 Technology
Year
2018
Pages
743-748
SWS Citekey
Zablotskii20187743748
ISSN
1314-2704
ISBN
978-619-7408-39-3
Language
en
Publication type
Conference Paper
Proceedings contents
Open official contents
Keywords
References0
0references registered for this publication

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
Full paper accessChoose SWS login, librarian support, or instant article download.

SWS access login

Login as SWS Scientific Committee

Authors 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

48-hour online accessComing soon
Online-only accessComing soon
Download the full article in PDF formatEUR 35
  • Article can be downloaded after successful payment.
  • Article may be used according to SWS library access terms.
  • Article cannot be redistributed.
Get full paper

Back to publication list