Chuyển đến phần nội dung
Luyện Nghe Tiếng Anh Chất
Tiếng Anh Chuyên Ngành
Listening Quiz: Hướng dẫn giải pháp trong buổi phỏng vấn coding trực tiếp – Easy Level
Th2 11, 2025
—
bởi
Anna Phạm
trong
Tiếng Anh dành cho Kỹ sư phần mềm (English for Software Engineer)
‹
1
2
3
4
5
›
1.
What is the main purpose of Paul’s code?
To remove every number from the input
To sort numbers from smallest to largest
To calculate the average of the input numbers
To store numbers in their original order and keep only valid ones
Explanation:
Paul says he creates a list to store numbers, wants to keep the order of input, checks whether each number is greater than zero, ignores invalid numbers, and returns the list of valid numbers.
2.
Why does Paul use a list in his code?
To save time by skipping validation
To keep the order of input
To reverse the input numbers
To make the numbers larger
Explanation:
Paul explains that he uses a list because he wants to keep the order of input.
3.
How does Paul decide whether a number is valid?
He checks if the number is less than ten
He checks if the number is even
He checks if the number is greater than zero
He checks if the number appears first in the list
Explanation:
Paul says he checks if the number is greater than zero to determine whether it is valid.
4.
What does Paul do with invalid numbers?
He ignores them and continues with the loop
He returns them at the end
He changes them to zero
He stores them in a separate list
Explanation:
Paul states that he ignores invalid numbers and continues with the loop.
5.
What does Paul return at the end?
The list of valid numbers
A single total of all numbers
The original input numbers in reverse order
Only the invalid numbers
Explanation:
Paul says he returns the list of valid numbers at the end.
Previous
Check
Next
Finish
Reset
Luyện tập thêm về bài học này:
Listening Lesson
Vocabulary Flashcards and Quiz
←
Trước đó:
Listening Quiz: Cải thiện một trang web có tỷ lệ chuyển đổi thấp – Advanced Level
Tiếp theo:
Listening Quiz: Quy Trình Test Bảo Quản Giặt Cho Xử Lý Vải Mới – Easy Level
→