Results 1 to 7 of 7

Thread: what is the difference between a computer task and an input output task?

  1. #1
    Join Date
    Apr 2024
    Beans
    4

    what is the difference between a computer task and an input output task?

    hey quick question,


    what is the difference between a computer task and an input output task?


    https://en.wikipedia.org/wiki/Task_(computing)


    is there any difference at all?


    thank you

  2. #2
    Join Date
    May 2010
    Beans
    3,269

    Re: what is the difference between a computer task and an input output task?

    Sounds like homework to me

  3. #3
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: what is the difference between a computer task and an input output task?

    I've never heard of an "input output task". I wouldn't use those terms together. Sounds like something a non-native English speaker might use, so I'd have to ask for more specifics, should I wish to help.


    Wikipedia seems clear to me.

    "Task" isn't exact enough a term to know what is meant. I use "task" when speaking with non-computer people.

    I use "process" or "LWP" with computer nerds when threading isn't involved. MSFT doesn't support LWP due to all the overhead involved in spawning a process. But Unix-like OSes are very much lighter and a small process doesn't have much overhead.

    I use "thread" specifically when I'm doing multi-threaded processing or programming. There are complexities involved in writing multi-threaded programs that are easily missed leading to buggy programs.

    For a long time, creating multi-threaded programs on Unix wasn't necessary because we could use multiple processes instead of adding the complexity of MT programming. Semaphores and judicious file locking could get around having multiple processes trying to use/modify the same resources. It was simple and works with little chances for total locked situations that can be caused using MT programming. Or worse, having the wrong input data used by the wrong thread, which doesn't have homogeneity with all the other input data on a thread. Using mixed data from different threads is problematic. Race conditions and bad outputs are much more likely leading to all sorts of unexpected data situations.

  4. #4
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: what is the difference between a computer task and an input output task?

    A couple of years ago I had and wanted to write about, what I think you are asking about, and in a nutshell it read like this:

    A computer works by combining input, storage, processing, and output. All the main parts of a computer system are involved in one of these four processes.

    Breif sumary:
    • Input: Your keyboard and mouse, for example, are just input units—ways of getting information into your computer that it can process. If you use a microphone and voice recognition software, that's another form of input.
    • Memory/storage: Your computer probably stores all your documents and files on a hard drive: a huge magnetic memory. But smaller, computer-based devices like digital cameras and cellphones use other kinds of storage such as flash memory cards.
    • Processing: Your computer's processor (sometimes known as the central processing unit) is a microchip buried deep inside. It works amazingly hard and gets incredibly hot in the process. That's why your computer has a little fan blowing away—to stop its brain from overheating! LOL
    • Output: Your computer probably has an LCD screen capable of displaying high-resolution (very detailed) graphics, and probably also stereo loudspeakers. You may have an inkjet printer on your desk too to make a more permanent form of output.

    More of the same found here: https://www.computerhope.com/issues/ch001355.htm

    Also I agree "The term Task is ambiguous"
    Last edited by 1fallen; 4 Weeks Ago at 08:53 PM. Reason: fix list tag
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  5. #5
    Join Date
    Apr 2024
    Beans
    4

    Re: what is the difference between a computer task and an input output task?

    i asked chatgpt and it just gives me it's usual word salad

    In the context of computing or programming, a "task" typically refers to a unit of work that needs to be completed by a computer program or system. This could encompass a wide range of activities, such as processing data, performing calculations, handling user interactions, or executing specific instructions.

    On the other hand, an "input-output task" specifically refers to tasks that involve taking input from some source (such as a user, a file, or another system), processing that input in some way, and then producing output. Input-output tasks are fundamental in many areas of computing, especially in applications where interaction with users or external systems is involved.

    So, while all input-output tasks are tasks, not all tasks necessarily involve input and output operations. The distinction lies in the focus on input and output specifically in input-output tasks.

    I/O (Input/Output) refers to the interaction of a computer or computer program with the system's disk and network. Examples of I/O activities include reading/writing data from/to disk, performing HTTP requests, and interacting with databases. These activities are slower compared to accessing RAM or performing computations on the CPU.

    what is an example of a task that isn't an i/o task?
    ChatGPT
    Certainly! Here's an example of a task that isn't an I/O task:

    Computational Task: Suppose you have a program that calculates the factorial of a given number. When a user inputs a number, the program performs a series of mathematical operations (multiplications) to compute the factorial. This process involves pure computation without any input/output operations. The task here is purely computational, as it involves performing mathematical operations on data in memory without interacting with external sources such as files or networks.

    what is an example of an i/o task?
    ChatGPT
    An example of an I/O task is reading data from a file. Here's how it might work:


    Suppose you have a program that needs to read a list of names from a text file. The I/O task involves opening the file, reading its contents, and then storing the data in memory for further processing.
    Last edited by ajgreeny; 4 Weeks Ago at 08:43 PM. Reason: Pointless white space removed.

  6. #6
    Join Date
    Apr 2024
    Beans
    41

    Re: what is the difference between a computer task and an input output task?

    They didn't move this thread even though it's not a help request for using ubuntu, because they are just liars...

    *Shrug*

    That's the nature of Ubuntu's administrators currently!

  7. #7
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: what is the difference between a computer task and an input output task?

    Thank you for pointing out the oversight. Given your many misplaced threads, it happens.

    Moved to ULOSC.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •