0% found this document useful (0 votes)
6 views10 pages

Midterm E-Journal - Computer Programming

Uploaded by

cranbrryshiss
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views10 pages

Midterm E-Journal - Computer Programming

Uploaded by

cranbrryshiss
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

MIDTER

E-JOURNAL
M
ES084-U2: COMPUTER PROGRAMMING 1
0 0 0 0
2 4
CHALLENGES NEXT

1 3
KEY PERSONAL
LEARNINGS AND QUESTIONS INSIGHTS STEPS

What did you What was What stood out What will you
learn? difficult? to you? focus on next
week?
WEEK 6
TOPICS

SELECTION RELATIONAL BOOLEAN


STRUCTURE OPERATORS OPERATORS
0 KEY LEARNINGS If statements:
0 These allow you to execute a block of code only
1 1 if a specific condition is true.

SELECTION 0
If...else statements:
These allow you to execute one block of code if
STRUCTURES IN 2 a condition is true, and a different block if it's
false
PROGRAMMING 0
If...else if...else statements:
These allow you to check multiple conditions in
These are fundamental 3 sequence.
concepts in programming
that allow your code to Switch statements:
0 These provide a way to execute different code
make decisions and
4 blocks based on the value of a variable.
execute different blocks
of code based on certain Nested Decision Making:
0 This involves placing one decision structure
conditions. The main
types covered are:
5 inside another, allowing for more complex logic
0 KEY LEARNINGS

1 ==
(equal
!=
(not equal to)
to)

RELATIONAL > <


(greater (less than)
OPERATORS than)

These are used to


compare values.
In C, they include:
>= <=
(greater than (less than or
or equal to) equal to)
0 KEY LEARNINGS

1 BOOLEAN
These are used to combine or
OPERATORS
manipulate boolean (true/false)
values:

AND (&&) NOT (!)


true if both conditions inverts the boolean
are true value
OR (||)
true if at least one
condition is true
CHALLENGES

• Crafting flowcharts for if...else if...else


statements

0 • Understanding and implementing nested


decision programs, particularly with bracket
placement

2
CHALLENGES
AND
QUESTIONS

• What are some strategies for simplifying


QUESTIONS complex nested if-else statements?

• How can I improve my ability to translate


between flowcharts and actual code, especially
for more complex conditional structures?
The versatility of conditional statements in
solving real-world problems stood out to
me.

In my opinion, the switch statement seems


particularly useful for menu-driven
programs or when dealing with multiple

0 discrete cases

The importance of properly evaluating


Boolean expressions became clearer,

3
PERSONAL
INSIGHTS especially in more complex conditional
scenarios

Flowcharting conditional logic helps visualize


the program flow, but it's challenging to
represent very complex conditions
0 NEXT STEP

4 GOAL
Continue practicing making flowcharts with decision making and looping
structures

ACTION PLAN

Review and Create flowcharts Practice Seek out additional


practice nested if- for increasingly refactoring resources or tutorials
else statements, complex complex if-else on advanced
focusing on proper conditional chains into switch conditional logic and
indentation and scenarios, statements where control flow in C
bracket placement including nested appropriate
conditions
Thank
you!

You might also like