Which term describes prewritten routines provided by the programming language?

Prepare for the IGCSE Algorithms and Pseudocode Exam. Study with comprehensive questions covering key algorithms and pseudocode techniques. Access hints and explanations to gear up for your exam success!

Multiple Choice

Which term describes prewritten routines provided by the programming language?

Explanation:
Library routines are prewritten blocks of code that come with the programming language as part of its standard library. They let you perform common tasks—like math operations, string handling, or input/output—without writing the code from scratch. You call these routines to use their functionality, and they’re provided so you don’t have to reinvent the wheel every time. This distinguishes them from procedures or functions you write yourself; those are user-defined subroutines. Global variables are just data storage, not code you execute, so they aren’t the right fit here. The term library routines best describes these ready-made, reusable pieces of functionality packaged with the language.

Library routines are prewritten blocks of code that come with the programming language as part of its standard library. They let you perform common tasks—like math operations, string handling, or input/output—without writing the code from scratch. You call these routines to use their functionality, and they’re provided so you don’t have to reinvent the wheel every time. This distinguishes them from procedures or functions you write yourself; those are user-defined subroutines. Global variables are just data storage, not code you execute, so they aren’t the right fit here. The term library routines best describes these ready-made, reusable pieces of functionality packaged with the language.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy