RRB Staff Nurse Delhi-2015
Computer and Nursing Information
Easy

A computer program which translates one program instruction at a time into machine language is called ___.

Appeared in: RRB Staff Nurse Delhi-2015

Explanation

  • An interpreter is a type of language translator that processes source code one instruction or line at a time.
  • It translates the line into machine code and executes it immediately before moving to the next line.
  • This line-by-line approach is the key characteristic that distinguishes it from a compiler.
  • This method allows for more interactive debugging as the program halts exactly where an error is found.

Why Other Options Were Wrong

  • Option A: The CPU (Central Processing Unit) is the hardware component, or the 'brain' of the computer, that executes instructions. It does not translate code from a high-level language to machine language; it only runs the machine language code.
  • Option B: A compiler translates the entire program's source code into machine code all at once, creating a standalone executable file. This is in contrast to the 'one instruction at a time' method described in the question.
  • Option C: A simulator is a program that mimics the behavior of another system. Its purpose is to create a virtual model for training, testing, or research, not to translate programming language.

Related Visual

Visual explanation — Related Visual
  • Visual 1: Flowchart. A diagram comparing the workflow of an interpreter (Read line -> Translate -> Execute -> Repeat) versus a compiler (Read all code -> Translate all -> Create executable -> Execute).
Clinical Relevance
  • Nursing practice connection: This is primarily an exam-oriented knowledge point with limited direct bedside application, so retain Computer Language Translators as background academic context rather than a clinical decision trigger.
  • General Knowledge Relevance: While not a direct clinical topic, basic computer literacy is essential for modern nursing practice. Questions like this test general awareness, which is part of many nursing entrance and recruitment exams.
  • Technology in Healthcare: Nurses interact daily with software on medical devices, Electronic Health Records (EHRs), and telehealth platforms. Understanding fundamental IT concepts helps in troubleshooting minor issues and communicating effectively with IT support.
  • What if?: If the question had asked about a program that translates the entire code at once, the answer would be 'Compiler'. Understanding this difference is key to grasping how different software applications are built and why they perform differently.
How to Approach the Question
  • This is a factual recall question from the subject of Computer Awareness.
  • Identify the core requirement in the question stem: 'translates one program instruction at a time'.
  • Evaluate each option against this requirement.
  • Recall the definition of an Interpreter: a program that translates and executes code line-by-line.
  • Recall the definition of a Compiler: a program that translates the entire code at once.
  • Eliminate CPU as it is hardware and Simulator as it serves a different purpose. The key phrase 'one... at a time' directly points to Interpreter.
Concept Tested & Keywords
  • Concept Tested: Computer Language Translators
  • Stem keywords: computer program, translates, one program instruction at a time, machine language
  • Lead-in keywords: is called
  • Negative lead-in flag: false

Question ID

QaUUewmvBLXnqQXC3MHhZB

Practise the full RRB Staff Nurse Delhi-2015

Attempt every question from this paper in a timed mock, then review the full solution for each one.

A computer program which translates one program instruction at a time into machine language is called \ \ \ . - RRB Staff Nurse Delhi-2015 | NPrep