Subject

    Computer Science

    Topic

    Computer Hardware

    What is a 'thread' in the context of a process?

    a)
    A separate program running independently.
    b)
    The smallest sequence of programmed instructions that can be managed independently by a scheduler.
    c)
    A hardware connection between two processes.
    d)
    A security token for a process.

    Explanation

    A process can contain one or more threads, which share the process's resources like memory space but can be executed in parallel or concurrently. This 'multi-threading' allows a program to perform multiple tasks at once, such as updating the UI on one thread while performing a complex calculation on another.

    Find Tutors

    View all Tutors