Explanation of Question 1 from the 2025 FE Examination Section B Public Sample Problems

www.youtube.com In this video, we walk through Question 1 from the Reiwa 6 Fundamental Information Technology Engineer Examination (FE), Section B, in a clear and easy-to-understand way. The topic area is “Algorithms and Programming > Basic Elements of Programs.” It is one of the most basic and important Section B questions, testing how to design the correct conditional expression to determine the maximum of three integers. Key points in this video How the max-returning function works The function maximum is designed to return the largest value among three integers x, y, and z given as arguments. If the condition used in the if statement is incorrect, the function will return the wrong value, so understanding the underlying logical expression is crucial. Condition for deciding that x is the maximum For x to be the maximum value, both of the following must hold: x is greater than y (x > y) x is greater than z (x > z) These two conditions must be satisfied at the same time. Therefore, the correct conditional expression is: x > y and x > z This is the correct answer that should be placed in the blank of the if statement. Why the other choices are incorrect x > y alone does not check the value of z. z > y alone is not sufficient to determine the maximum value. Using OR means “it is enough if either condition is true,” which leads to incorrect judgments. In the video, we carefully examine these common incorrect patterns and logically explain why the correct answer must be the AND condition. Who this video is for Learners who want to reliably solve typical questions in the new-format Section B Those who want to strengthen their fundamentals in conditional expressions and logical operators Those who want to be able to explain program behavior logically Learners who want to deeply understand the latest questions from the Reiwa 6 exam On this channel, we also cover past Section B questions from Reiwa 7 and Reiwa 5, older-style FE exams (from Heisei 13 onward), exam overviews, and effective study methods. If you want to build a solid foundation for the Fundamental Information Technology Engineer Examination, make full use of this video in your study routine!