Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Modeling techniques in programming and algorithms
Modeling techniques in programming and algorithms
Modeling techniques in programming and algorithms
Ebook182 pages1 hour

Modeling techniques in programming and algorithms

Rating: 0 out of 5 stars

()

Read preview

About this ebook

The methodology that we follow allows us, given a well-defined problem, to find a solution that can be taken to the computer. The first three steps (Modeling, specification and solution plan) allow us to find the solution to the given problem. Now we must "pass" that solution to the computer. The primary objective of this chapter is to introduce the student to the interesting world of computer programs. The concepts related to basic computer programming will be presented here, using Language C as a programming language. The advantages of this language will be shown, as well as the first instructions that will allow us to create simple programs in Language C.
LanguageEnglish
PublisherLulu.com
Release dateSep 30, 2021
ISBN9781365971167
Modeling techniques in programming and algorithms

Read more from Dougglas Hurtado Carmona

Related to Modeling techniques in programming and algorithms

Related ebooks

Programming For You

View More

Related articles

Reviews for Modeling techniques in programming and algorithms

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Modeling techniques in programming and algorithms - Dougglas Hurtado Carmona

    Modeling techniques in programming and algorithms

    Dougglas Hurtado Carmona

    Luis Cobo Campo

    Jorge Vengoechea Orozco

    Modeling techniques in programming and algorithms

    Authors

    Dougglas Hurtado Carmona

    Doctor in Innovation Management. Master in Computer and Systems Engineering, Systems Engineer, Universidad del Norte. Research professor and writer. He was Dean of the Faculty of Systems Engineering.

    Luis Armando Cobo Campo

    PhD. in Computer Engineering from the University of Montreal, Canada, Doctor in Engineering from the Universidad de los Andes. Master in Computer and Systems Engineering, Computer and Systems Engineer, Universidad de los Andes. He was Dean of the Faculty of Systems Engineering. With more than 15 years of experience in teaching and research in the areas of computer programming, embedded systems, new programming paradigms, artificial intelligence and computer networks. He was Dean of the Faculty of Systems Engineering.

    Jorge Luis Vengoechea Orozco

    Doctor in Innovation Management. Master in Business Administration University of Louisville, Systems Engineer, Cisco Networking Academy Program Instructor, Research Professor at the Metropolitan University of Barranquilla. Academic Advisor. He was Dean of the Faculty of Economic and Administrative Sciences.

    CONTENT

    Introduction to modeling in programming

    Programming languages

    Structure of a program in Language C

    Documentation

    Language libraries

    Declaration of constants

    The main function

    Declaration of Local Variables

    Program body

    The return directive

    Comments

    Assignment instruction

    Transformation of mathematical formulas

    Departure instructions

    Control codes

    Displaying the value of variables

    Input instructions

    Sample programs for modeling

    Modeling

    Specialization

    Solution plan

    Language C Program

    Proposed exercises

    Conditional statement modeling

    Fundamentals of Conditions

    Initial problem situation

    Modeling

    Specification

    The screen as output data

    Problem statement Approve subject

    Modeling of the problem Approve subject

    Specification of the problem Approve subject

    The if / else selection structure

    Plan to solve the problem Approve subject

    Program in Language C of the problem Approve subject

    Statement of the problem greater between two integers

    Modeling the problem greater between two integers

    Specification of the problem greater between two integers

    Solution plan for the problem greater between two integers

    Program in Language C of the problem greater between two integers

    Multiple Exclusionary Conditions

    Statement of the problem Income tax

    Modeling of the problem Income tax

    Specification of the problem Income tax

    Solution plan for the problem Income tax

    Program in Language C of the problem Income Tax

    The switch selection structure

    Statement of the problem the fruit bowl

    Modeling the fruit bowl problem

    Specification of the problem la frutera

    Plan for the solution of the problem la frutera

    Program in Language C of the problem la frutera

    Proposed exercises

    Iterative instruction modeling

    Assignment operators

    Increment and decrement operators

    Repetitive cycles

    The for structure

    Examples using the for structure

    Succession-based problems

    Simple Sequence Modeling

    Statement of the problem sequence +2

    Modeling of the problem succession +2

    Specification of the problem succession +2

    Solution plan for the problem succession +2

    Program in Language C of the problem succession +2

    Statement of the problem sequence -3

    Modeling of the problem sequence -3

    Specification of the problem succession -3

    Solution plan for the problem succession -3

    Program in Language C of the problem sequence -3

    Statement of the problem sequence * 2

    Modeling of the problem sequence * 2

    Specification of the problem sequence * 2

    Solution plan for the problem sequence * 2

    Program in Language C of the problem sequence * 2

    Modeling of Succession with Dependent Fractions

    Modeling of the problem No. 1

    Specification of the problem No. 1

    Solution plan for the problem No. 1

    Program in Language C of the problem No. 1

    Statement of the problem No. 2

    Modeling of the problem No. 2

    Specification of the problem No. 2

    Solution plan for the problem No. 2

    Program in Language C of the problem No. 2

    Succession modeling with independent fractions

    Modeling of the problem

    Specification of the problem

    Solution plan for the problem

    Program in Language C of the the problem

    Successions with memory

    Statement of the problem

    Modeling of the problem

    Specification of the problem

    Solution plan of the problem

    Program in Language C of the the problem

    Series

    Statement of the problem with series

    Modeling of the problem with series

    Specification of the problem with series

    Solution plan of the problem with series

    Program in Language C of the problem with series

    Statement of the problem with series No.2

    Modeling of the problem with series No.2

    Specification of the problem with series No.2

    Solution plan of the problem with series No.2

    C Language Program of the problem with series No.2

    Statement of the problem with series No.3

    Modeling: of the problem with series No.3

    Specification of the problem with series No.3

    Solution Plan of the problem with series No.3

    C Language Program of the problem with series No.3

    Proposed exercises

    Modeling methodology proposal

    Requirements phase

    Analysis phase

    Design phase

    Proposed programming modeling projects

    Project Candidates for the presidency

    Project Ministry of work

    Project Child life cycle

    Project Computer Company

    Project The farm

    Project The FUC

    Project Calls

    Project Successions

    Bibliography

    Introduction to modeling in programming

    The methodology that we follow allows us, given a well-defined problem, to find a solution that can be taken to the computer. The first three steps (Modeling, specification and solution plan) allow us to find the solution to the given problem. Now we must pass that solution to the computer.

    The primary objective of this chapter

    Enjoying the preview?
    Page 1 of 1