0% found this document useful (0 votes)
34 views6 pages

Understanding Programming Logic Basics

The document discusses the concept of programming logic. It defines programming logic as the base of programming itself, which is a group of coherent ideas and reasons. This science studies the structure, fundamentals, and use of human knowledge applied to computer programming. Computational logic involves many disciplines including mathematical logic, artificial intelligence, deduction systems, knowledge representation, and inference techniques.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views6 pages

Understanding Programming Logic Basics

The document discusses the concept of programming logic. It defines programming logic as the base of programming itself, which is a group of coherent ideas and reasons. This science studies the structure, fundamentals, and use of human knowledge applied to computer programming. Computational logic involves many disciplines including mathematical logic, artificial intelligence, deduction systems, knowledge representation, and inference techniques.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

The Concept of

Takeaway Programing Logic


E S P > Software Programming>
Level A1.1 Pre - Starter

Instructor: Date:

Learner: Regional Branch:

Program: Center:

CONTENT
• Let’s Start! • Let’s Explore! • Let’s Practice! • Extension Activity • Target Words • Learning Points

Let’s Start!

I don´t have a clue about programming logic

Learning Outcome: Can Do Statements:

Exchange information about logic, its • I can give a simple definition for
principles, and methods in simple programming logic.
spoken and written situations. • I can talk about the concept of
programming logic.
Ask your partner:
• I can list some components of
• Do you think formal logic is involved in computational logic.
programing? Why?
• What other areas do you think are part
of programming?

1
The Concept of
Takeaway Programing Logic
E S P > Software Programming>
Level A1.1 Pre - Starter

Let’s Explore!

Kim helps Lilly study for the test about programming logic.

Instructions: Read the text below.


Lilly: Hi Kim, can you help me with this?
Kim: Sure, What can I do for you?
Lilly: Well, I know the final exam is coming, and I´m very confused by the entire
section of programming logic. Can you help me study for this?
Kim: Okay. Let's go to the library!
Lilly: Thank you! That is so nice of you.
Kim: Tell me. What do you know about programming logic?
Lilly: I don´t understand a thing! Can we start from the very beginning?
Kim: All right, let's start from the origin. Programming logic is the base of
programming itself. It is a group of coherent ideas and reasons. This science
studies the structure, the fundamentals, and use of the human knowledge applied
to computer programming.
Lilly: Oh, I see, now I remember that the teacher said something about logical
operations that work according to logical principles and quantifiable results. I
guess these ones have to do with the advancement of computer science. She also
says that hard data or concrete evidence construct all.
Kim: Well, it seems you know more than you think!
Lilly: I get confused with the entire logic thing.
Kim: I know. Computational logic is not easy because it involves many disciplines, I
mean, there are logic processes that not only involve the computer science,
therefore, this subject needs the help of more areas to be developed. For
instance, we always need to rely on mathematical logic when we are
programming.
Lilly: Oh, now I see. That is why the teacher also mentions the artificial intelligence
and deduction systems.
Kim: That's right! Those areas are in computational logic. This subject studies the
implementation of programs to discover or check formal statements. It also
explains relations based on order logic. The initial programming language is
Prolog.
Lilly: Thank you very much!
Kim: You're welcome.

2
The Concept of
Takeaway
Takeaway Programing Logic
E S P > Software Programming>
Level A1.1 Pre - Starter

Let’s Practice!

Computational logic is very hard to understand!


Instructions: Select the correct option to correctly complete each sentence.

1. Let´s start from the origin, (programming logic / Deduction systems / inference
techniques) is the base of programming itself.

2. We always need to rely on (mathematical logic / Inference techniques / deduction


systems) when we are programing.

3. The teacher would also talk about artificial intelligence and (deduction systems /
knowledge representation / mathematical logic).

Let’s Practice!

Checking the True Behind Programming Logic Concept


Instructions: Read the following sentences based on the text. In front of each sentence
write True or False.

1. Programming logic studies the structure, fundamentals and use of the human
knowledge applied to computer programming.

2. Logical operations work according to quantifiable results.

3. This subject involves just one discipline more.

3
The Concept of
Takeaway
Takeaway Programing Logic
E S P > Software Programming>
Level A1.1 Pre - Starter

Extension Activity

Searching deeply programming logic features.


Instructions: Complete the following steps. Fill in the Self-Assessment.

a) Look for information about Self-Assessment Yes No


programming logic.

b) Make notes about it and create a 1. I search information


poster to explain the main features. about programming
logic.
c) Use simple present tense and
demonstratives in your sentences. 2. I explain deeply its
main features.
d) Share with your partners and 3. I create graphic tools to
summarize the importance of it. show information

Target Words

• programming logic (noun): the way • quantifiable (adjective): something


all human logic knowledge can be that can be measured exactly
applied to computer programming e.g. Logical operations work according
e.g. Programming logic is the base of to logical principles and quantifiable
programming itself. It is a group of results.
coherent ideas and reasons.
• hard data (noun): Information that
• coherent (adjective): something that can be demonstrated, it can be
is logical and constant numbers or facts
e.g. Programming logic is the base of e.g. She also says that hard data or
programming itself. It is a group of concrete evidence construct all.
coherent ideas and reasons.
• Artificial Intelligence (AI) (noun):
• structure (noun): a system composed the capacity of a computer to make
of parts that are put together for a decisions and learn similar to humans
purpose e.g. That is why the teacher also
e.g. This science studies the structure, mentions the artificial intelligence and
the fundamentals, and use of the deduction systems.
human knowledge

4
The Concept of
Takeaway
Takeaway Programing Logic
E S P > Software Programming>
Level A1.1 Pre - Starter

Learning Points

Demonstrative Pronouns

You use a demonstrative pronoun to point out something specific in a context.

You use a demonstrative pronoun to point out something specific in a context.


The demonstrative pronouns can also indicate an object in space or time, and they
can be singular or plural.

When an object is near the speaker, we can use “this” as a singular noun
and “these” for plural nouns.

Example.
· I want this t-shirt.
· I love these gloves in my hands.

When there is a distance between the speaker and the object, we can use “that” for a
singular noun or “those” for plural nouns.

Example:
· I like to buy that computer over there!
· She needs to buy those books about programming.

There are simple rules to use demonstratives correctly:

1. They always identify situations or nouns.

Example:
· I can't believe this! I have a new computer!

2. We use the demonstratives to describe animals, places or things.

Example:
· These computers are very old! We need to change them.

Examples

• That is why the teacher also mentions the artificial intelligence and deduction
systems.
• Thank you, that’s so nice of you.

5
The Concept of
Takeaway
Takeaway Programing Logic
E S P > Software Programming>
Level A1.1 Pre - Starter

Learning Points

Components of Computational Logic

Computational logic refers to the interdisciplinary practice that constructs the


fundamentals on computer science.
Computational logic is very wide. As most of the sciences, it has theoretical and
practical elements that are based on mathematics, artificial intelligence, logic and
certainly a computational science.

Some of the areas that are included in computational logic are:

·Programming Logic

·Deduction systems

·Knowledge representation

·Inference techniques

·Mathematical logic

Computational logic is actually the logic of the object that is common in all areas
involved. There is a use of logic in all areas that have an application on computational
logic.

Examples

• Programming logic is the base of programming itself.


• Computational logic can be confusing because it involves many disciplines.

Common questions

Powered by AI

Computational logic is considered multidisciplinary because it synthesizes theories and practices from various fields to form a cohesive system that underpins computer science. Fields like mathematics provide the formal logical frameworks, while artificial intelligence contributes dynamic learning models. Other areas such as knowledge representation and inference techniques facilitate the translation of human reasoning patterns into computational rules. The integration of these fields ensures computational logic can adequately address complex, cross-disciplinary challenges in programming and AI .

Mathematical logic contributes to programming and computational logic by providing the formal structures and rules needed to develop algorithms and solve problems systematically. It helps in defining the relationships between different elements of a program through logical operations and equations, thereby ensuring accuracy and efficiency in computational processes. Without mathematical logic, the foundation of logical reasoning necessary for programming and the development of computational models would be unsound .

Programming logic serves as the foundation for computer programming by providing a coherent set of ideas and reasons that organize human knowledge into applicable formats for programming. It integrates disciplines such as mathematics and logic within its scope, relying heavily on mathematical logic to support computational processes. Moreover, it encompasses areas like artificial intelligence and deduction systems which further extend its interdisciplinary nature .

Programming logic is essential for comprehending advanced computational concepts like AI because it forms the groundwork upon which logical reasoning and decision-making processes are built. It provides the frameworks and mechanisms necessary for developing algorithms that can learn, infer, and adapt like humans. By understanding programming logic, programmers and AI developers can create more effective models that accurately simulate human cognition and learning patterns .

Inference techniques apply within computational logic by allowing the system to draw conclusions from existing data or premises, akin to human reasoning. These techniques are crucial in areas like AI and machine learning, where the ability to infer and predict outcomes based on input data is necessary for the development of intelligent systems. They enable machines to go beyond merely following instructions to anticipating needs or changes, thus expanding their functionality and adaptability in various applications .

While 'programming logic' primarily focuses on applying logical, coherent principles to create and understand computer programs, 'computational logic' encompasses a broader scope. It includes the interdisciplinary approaches and theoretical foundations that underpin the entirety of computer sciences, integrating elements from various fields like AI, deduction systems, and mathematics. Thus, programming logic can be seen as a subset within the larger framework of computational logic, focusing more specifically on practical implementation and development within programming tasks .

'Hard data' refers to concrete, verifiable information such as numbers or empirical evidence, forming the backbone of programming logic. This data ensures that decisions and processes within programming are based on reliable, measurable evidence rather than assumptions or subjective judgment. This foundation allows programmers to create algorithms that are predictable and successful, ensuring the integrity and functionality of the computer programs they construct .

Logical operations are structured according to logical principles which ensure that their results are quantifiable, meaning they can be precisely measured and predicted. This quantifiability is crucial in programming as it establishes reliable and repeatable outcomes. Programming, at its core, requires hard data and concrete evidence to support consistent functionality and these quantifiable results provide the evidence needed to develop and test software reliably .

Deduction systems are a component of computational logic that focus on deriving conclusions from a set of premises using formal logic. These systems are fundamental in artificial intelligence as they enable the development of algorithms that can make logical inferences and decisions based on input data. In computational logic, deduction systems contribute to understanding and constructing the logical processes needed for AI to simulate human decision-making and learning .

Demonstrative pronouns help provide clarity and precision in communication by specifying particular nouns or situations. In programming documentation, they can be used to unambiguously refer to code elements or sections, adopting 'this,' 'these,' 'that,' or 'those' to point to specific items or descriptions. This makes it easier for programmers to understand which components are being referenced, thereby facilitating more effective and error-free communication .

You might also like