
DCS1101 - Week 4 (Conditions)
Presentation
•
Computers
•
University
•
Practice Problem
•
Easy
Yasmin Basiran
Used 6+ times
FREE Resource
31 Slides • 13 Questions
1
Week 4 - Conditions
Making decisions and program flow
2
3
Draw
Last week, we used flowcharts. Which symbol represents a process?
4
Poll
When you make a decision, do you always have all the information you need?
Yes
No
5
Poll
Can a good decision still lead to a bad outcome?
Yes
No
6
Open Ended
How do you usually decide what to do when you are unsure?
7
8
Multiple Choice
According to the video, what defines a good decision?
The result is always successful
The decision uses available information logically
The decision avoids risk completely
The decision avoids risk completely
9
Multiple Choice
Why is long-term thinking important in programming?
Code never changes
One mistake ends a program
Programs run only once
Learning improves through repeated decisions and fixes
10
Open Ended
How is decision-making in poker similar to decision-making in a program?
11
Open Ended
What happens if a program is missing important information?
12
13
14
15
Multiple Choice
In a problem analysis chart, where do decisions usually belong — input, process, or output?
16
17
18
Multiple Choice
What is the result of this expression?
10 < 5
19
20
21
22
23
Open Ended
If marks = 45, what will be printed?
if (marks >= 50)
cout << "Pass";
else
cout << "Fail";
24
25
26
Open Ended
Why might one condition not be enough in real-life problems?
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Open Ended
What decision can your program make today that it could not make yesterday?
44
Week 4 - Conditions
Making decisions and program flow
Show answer
Auto Play
Slide 1 / 44
SLIDE
Similar Resources on Wayground
41 questions
Image Formation
Presentation
•
University
41 questions
Pola Pikir Karya Ilmiah
Presentation
•
University
38 questions
Lecture 2-DSTR
Presentation
•
University
38 questions
Business English - Workplace Materials
Presentation
•
University
39 questions
EFR - Aula 02
Presentation
•
University
39 questions
2022-09-15 Software Testing
Presentation
•
University
40 questions
T5 - Análisis de Complejidad
Presentation
•
University
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
Afterschool Activities & Sports
Quiz
•
6th - 8th Grade
19 questions
ROAR Week 2026
Quiz
•
9th - 12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
15 questions
Cool Tool:Chromebook
Quiz
•
6th - 8th Grade
22 questions
would you rather
Quiz
•
3rd - 11th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
Discover more resources for Computers
12 questions
Academic Integrity
Presentation
•
University
20 questions
IR Writing 201
Quiz
•
University
20 questions
Disney Trivia
Quiz
•
University
40 questions
Famous Logos
Quiz
•
7th Grade - University
4 questions
Benefits of Saving
Quiz
•
5th Grade - University
25 questions
USCB Policies and Procedures
Quiz
•
University
18 questions
Parent Functions
Quiz
•
9th Grade - University
20 questions
Empirical Rule Homwwork
Quiz
•
10th Grade - University