Basic CS-Data Structures [Honeywell Placement]: Sample Questions 1 - 2 of 2

Get top class preparation for competitive exams right from your home: get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 1

Data Structures
Edit

Write in Short

Short Answer▾

Why paging is used?

Explanation

  • Paging is a memory management technique in which the memory is divided into fixed size pages. Paging is used for faster access to data. When a program needs a page, it is available in the main memory as the OS copies a certain number of pages from your storage device to main memory. Paging allows the physical address space of a process to be non-contiguous.
  • OS performs an operation for storing and retrieving data from secondary storage devices for use in main memory. Paging is one of such memory management scheme. Data is retrieved from storage media by OS, in the same sized blocks called as pages. Paging allows the physical address space of the process to be non-contiguous.

Question 2

Data Structures
Edit

Write in Short

Short Answer▾

Which are the different computer architectures?

Explanation

  • There are basically two types of digital computer architectures. The first one is called Von Neumann architecture and later Harvard architecture was adopted for designing digital computers.

Von Neumann Architecture:

  • The computer has single storage system (memory) for storing data as well as program to be executed.
  • Processor needs two clock cycles to complete an instruction. Pipelining the instructions is not possible with this architecture.

Harvard Architecture:

  • The computer has two separate memories for storing data and program.
  • Processor can complete an instruction in one cycle if appropriate pipelining strategies are implemented.

Most of the modern computing architectures are based on Harvard architecture. But the number of stages in the pipeline varies from system to system.

Developed by: