

bab3.2 struktur kod arahan
Presentation
•
Computers
•
7th Grade
•
Practice Problem
•
Hard
MUHAMAD KPM-Guru
FREE Resource
94 Slides • 26 Questions
1
2
3
Multiple Choice
What is the purpose of control structures in problem-solving?
To manage data storage
To control the flow of execution
To enhance graphics
To optimize memory usage
4
5
Multiple Choice
What is the main characteristic of a sequential control structure in programming?
It executes commands in a random order
It executes commands line by line in a specific order
It allows for branching and looping
It is the most complex structure
6
7
Multiple Choice
What is the purpose of the structured sequence in problem-solving?
To complicate the process
To provide a clear solution
To confuse the solver
To eliminate steps
8
9
Multiple Choice
What is the output of the code when the marks for the two exams are 80 and 90?
85
90
80
75
10
11
Multiple Choice
What is the average mark calculated from the two exam scores?
65.5
66.5
67.5
68.5
12
13
Multiple Choice
What are the steps Jessica needs to follow to calculate the area of the triangle?
Identify the required input
Determine the output needed
Understand the process and structure involved
All of the above
14
15
Multiple Choice
What is the formula to calculate the area mentioned in the algorithm?
Area = base × height
Area = 1/2 × base × height
Area = base + height
Area = base - height
16
17
Multiple Choice
What is the formula to calculate the area based on the inputs provided in the flowchart?
Area = base * height
Area = 1/2 * base * height
Area = base + height
Area = base - height
18
19
Multiple Choice
What is the purpose of the code when the green flag is clicked?
To calculate area
To change the background
To stop the program
To display a message
20
21
Multiple Choice
What is the formula used to calculate the area of a triangle in the given Python code?
Area = base * height
Area = 0.5 * base * height
Area = base + height
Area = base / height
22
23
Multiple Choice
What is the area of the triangle as shown in the Scratch application output?
15
30
225
45
24
25
Multiple Choice
What is the output of the Python program when the base is 15 cm and the height is 30 cm?
225.0
417.45
30.0
15.0
26
27
Multiple Choice
How would you modify line 3 so that the loop stops when both dice are equal to 3?
when (die1 <= 3 && die2 <= 3) {
when (die1 == 3 || die2 == 3) {
when (die1 == 3 && die2 == 3) {
when ((die1 + die2) == 3) {
28
29
Fill in the Blanks
Type answer...
30
31
Multiple Choice
32
33
Multiple Choice
What is the purpose of a control structure in problem-solving?
To determine conditions for decision-making
To execute code without conditions
To create loops in programming
To store data temporarily
34
35
Multiple Choice
What are the three types of control structures mentioned in the image?
Tunggal
Dwi pilihan
Pelbagai pilihan
Kenyataan
36
37
Multiple Choice
What is the recommended daily calorie intake for males aged 16-18 years?
2690 kcal
2840 kcal
2440 kcal
2010 kcal
38
39
Multiple Choice
What are the three steps mentioned in the problem statement process?
Identify the required input
Determine the output needed
Analyze the process and structure
All of the above
40
41
Multiple Choice
What is the calorie value for a user aged 60 or older?
2010
2460
2440
1780
42
43
Multiple Choice
What is the first step in the flowchart for determining the calorie value based on gender and age?
Enter gender
Enter age
Display calorie value
End process
44
45
Multiple Choice
What is the purpose of the Scratch 2.0 application as shown in the image?
To calculate calories based on gender and age
To create animations
To play games
To teach programming basics
46
47
Multiple Choice
What is the output for a male aged 35 based on the given Python code?
2010 calories
2460 calories
2440 calories
2690 calories
48
49
Multiple Choice
What is the output for a person aged 25 according to the code?
Nilai kalori yang dibenarkan ialah 1780
Nilai kalori yang dibenarkan ialah 2180
Nilai kalori yang dibenarkan ialah 2000
Nilai kalori yang dibenarkan ialah 2050
50
51
Multiple Choice
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
Poll
How confident do you feel about this topic now?
Show answer
Auto Play
Slide 1 / 120
SLIDE
Similar Resources on Wayground
114 questions
energy and states of matter
Presentation
•
7th Grade
117 questions
G7- Final Review Chapter 2 [Term1]
Presentation
•
7th Grade
116 questions
Copy of Classroom Slides for Collision Course, Lesson 1
Presentation
•
6th - 7th Grade
115 questions
Order of Operations and Evaluating Expressions
Presentation
•
6th - 8th Grade
121 questions
NMMS 2021 WRITING CAMP - The Conventions Pyramid!
Presentation
•
8th Grade
119 questions
GEO Unit 1: Wind, Storms, and Cyclones
Presentation
•
6th - 8th Grade
112 questions
contries all
Presentation
•
8th Grade
119 questions
Composite Shaded Area
Presentation
•
6th - 8th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Assessment 2
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
12 questions
2026 TAP Technology in the Classroom
Presentation
•
Professional Development
15 questions
HCS SCI 05 Summer School Assessment 2 Review
Quiz
•
5th Grade
15 questions
HCS SCI 04 Summer School Review 2
Quiz
•
4th Grade
59 questions
Geometry Unit 3 Review
Quiz
•
9th - 12th Grade
14 questions
FAST ELA READING SMAPLE TEST MATERIALS
Passage
•
3rd Grade