EN | RU    
Scientific & Technical Literature Publishing House
Search:

Home»

Contact Us»

Journals»

News»

Preparation of Papers»

Advertising»

Feedback»

Books»

About Us»



advertisement



Instruments and Systems: Monitoring, Control, and Diagnostics

Annotation
<< Back
Theoretical Foundations of the Organization of Banches and Repetitions in Programs in the Logical Programming Language Prolog
D.V. ZDOR

A program for any computer system is designed to process data. At the same time, dynamic data structures are used to process large amounts of data. The most commonly used dynamic data structures are lists. The need to use lists, on the one hand, and the absence of special operators for list processing in Prolog programs, on the other hand, actualizes the problem of finding the theoretical foundations for solving list processing problems. The use of recursion is a tool for solving list processing problems in Prolog. The purpose of the work is to analyze the execution of recursive rules for processing lists. Analysis of special literature on the topic of research, generalization and systematization of knowledge, testing of the program, analysis
of the progress of the program. The construction of solving problems for processing lists in a program in the Prolog language is considered. A detailed analysis of the execution of recursive predicates in list processing tasks is carried out. The design features of the recursive rule and the conditions for terminating the recursion depend on the type of the list processing problem being solved. Using the example of the problem of checking whether an element belongs to a list, the article describes in detail the mechanism of using recursive rules at the level of matching predicates and instantiating variables in the context of solving problems of processing lists. The given example can serve as a technological basis for solving other problems of processing lists. The results obtained can be used in the further development of the issues of using recursive predicates in problems of list processing, as well as used in the educational process when studying the theoretical foundations of computer science and logical programming in the Prolog language.
Keywords: dynamic data structure, list, recursive rule, recursion termination condition.


DOI: 10.25791/pribor.5.2021.1258

Pp. 17-21.

 Sections

«About journal

«Archive

«Thematic focus of the journal

«Formatting rules

«Stages of the review and publication

«Review process

«Editorial and Professional Ethics

«Detecting plagiarism

«Editors and Editorial Board

«News journal


 Journals
...................................
Instruments and Systems: Monitoring, Control, and Diagnostics
...................................
Instrument-Making and Automation Means. Encyclopedic Textbook
...................................
Industrial Automatic Control Systems and Controllers
...................................
Ecological Systems and Devices
...................................
Aerospace Instrument-Making
...................................
Engineering Physics
...................................
History of Science and Engineering
...................................
Music and Time
...................................
Note Album
...................................
Musicology
...................................
Universal History
...................................
Directory of engineer
...................................
Applied Physics and Mathematics
...................................
News Academy of Engineering Sciences A.M. Prokhorov
...................................

Last news:

Выставки по автоматизации и электронике «ПТА-Урал 2018» и «Электроника-Урал 2018» состоятся в Екатеринбурге

Открыта электронная регистрация на выставку Дефектоскопия / NDT St. Petersburg

Открыта регистрация на 9-ю Международную научно-практическую конференцию «Строительство и ремонт скважин — 2018»

ExpoElectronica и ElectronTechExpo 2018: рост площади экспозиции на 19% и новые формы контент-программы

Тематика и состав экспозиции РЭП на выставке "ChipEXPO - 2018"

   Rambler's Top100 Rambler's Top100         


    Management system developed by: ananskikh.ru
© Publishing House "NAUCHTEKHLITIZDAT", 2005-2024