logo

CuriousTab

CuriousTab

Discussion


Home Computer Science Operating Systems Concepts Comments

  • Question
  • Which of the following is a phase of a compilation process


  • Options
  • A. Lexical analysis
  • B. Code generation
  • C. Both of the above
  • D. Static analysis
  • E. None of the above

  • Correct Answer
  • Both of the above 


  • Operating Systems Concepts problems


    Search Results


    • 1. File record length

    • Options
    • A. should always be fixed
    • B. Should always be variable
    • C. depends upon the size of the file
    • D. should be chosen to match the data characteristics
    • E. None of the above
    • Discuss
    • 2. The total time to prepare a disk drive mechanism for a block of data to be read from it is

    • Options
    • A. latency
    • B. latency plus transmission time
    • C. latency plus seek time
    • D. latency plus seek time plus transmission time
    • E. None of the above
    • Discuss
    • 3. An incremental backup

    • Options
    • A. should be done each month
    • B. uses more tapes
    • C. saves all files
    • D. saves only files that have recently changed
    • E. None of the above
    • Discuss
    • 4. Block or buffer caches are used

    • Options
    • A. to improve disk performance
    • B. to handle interrupts
    • C. to increase the capacity of main memory
    • D. to speed up main memory read operation
    • E. None of the above
    • Discuss
    • 5. Assembler is

    • Options
    • A. a program that places programs into memory and prepares them for execution.
    • B. a program that automate the translation of assembly language into machine language.
    • C. a program that accepts a program written in a high level language and produces an object program.
    • D. is a program that appears to execute a source program as if it were machine language.
    • E. None of the above
    • Discuss
    • 6. The practice of "bundling" refers to

    • Options
    • A. selling computers alone
    • B. selling peripheral devices with computer
    • C. selling software to run on computers
    • D. giving away software with a computer purchase
    • E. None of the above
    • Discuss
    • 7. Indicate which is a pre-emptive scheduling algorithm

    • Options
    • A. Round-robin
    • B. Shortest-job-next
    • C. Priority-based
    • D. All of the above
    • E. None of the above
    • Discuss
    • 8. Access time is the highest in the case of

    • Options
    • A. floppy disk
    • B. cache
    • C. swapping devices
    • D. magnetic disk
    • E. None of the above
    • Discuss
    • 9. In which addressing mode, the address of the location of the operand is given explicitly as a part of the instruction.

    • Options
    • A. absolute mode
    • B. immediate mode
    • C. index mode
    • D. modulus mode
    • E. None of the above
    • Discuss
    • 10. A base register table

    • Options
    • A. allows the programmer to write base registers and displacements explicitly in the source program.
    • B. is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain.
    • C. allows multiple programs to reside in separate areas of core at the same time.
    • D. is a term that refers to the control programs of an operating system.
    • E. None of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment