subroutine

[US]/'sʌbruːtiːn/
[UK]/'sʌbrutin/
Frequency: Very High

Translation

n. phần độc lập của một chương trình.
Word Forms
số nhiềusubroutines

Phrases & Collocations

nested subroutine

nguyên tắc con lồng nhau

call subroutine

gọi nguyên tắc con

Example Sentences

The programmer wrote a subroutine to handle error checking.

Nhà lập trình viên đã viết một đoạn mã con để xử lý kiểm tra lỗi.

The subroutine is designed to perform a specific task within a larger program.

Đoạn mã con được thiết kế để thực hiện một nhiệm vụ cụ thể trong một chương trình lớn hơn.

It is important to properly document each subroutine for future reference.

Điều quan trọng là phải lập tài liệu đầy đủ cho mỗi đoạn mã con để tham khảo trong tương lai.

The subroutine can be called multiple times from different parts of the program.

Đoạn mã con có thể được gọi nhiều lần từ các phần khác nhau của chương trình.

Debugging a subroutine can be challenging when there are multiple nested calls.

Gỡ lỗi một đoạn mã con có thể là một thách thức khi có nhiều lệnh gọi lồng nhau.

The subroutine returns a value that is used by the main program for further processing.

Đoạn mã con trả về một giá trị mà chương trình chính sử dụng để xử lý thêm.

Efficient subroutines can greatly improve the overall performance of a software application.

Các đoạn mã con hiệu quả có thể cải thiện đáng kể hiệu suất tổng thể của một ứng dụng phần mềm.

The subroutine is responsible for handling user input and validating it before proceeding with the main logic.

Đoạn mã con chịu trách nhiệm xử lý đầu vào của người dùng và xác thực nó trước khi tiếp tục với logic chính.

Creating modular code with reusable subroutines can make the development process more efficient.

Việc tạo mã mô-đun với các đoạn mã con có thể tái sử dụng có thể giúp quy trình phát triển hiệu quả hơn.

It is common practice to break down complex tasks into smaller subroutines for easier management.

Việc chia các tác vụ phức tạp thành các đoạn mã con nhỏ hơn để dễ quản lý là một thông lệ phổ biến.

Popular Words

Explore frequently searched vocabulary

Download App to Unlock Full Content

Want to learn vocabulary more efficiently? Download the DictoGo app and enjoy more vocabulary memorization and review features!

Download DictoGo Now