TCS Papers: Sample Questions 287 - 289 of 502

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 287

» Basic CS » Data Structures

Essay Question▾

Describe in Detail

List out the areas in which data structures are applied extensively?


Areas include

  • Compiler Design

  • Operating System

  • Database Management System

  • Statistical analysis package

  • Numerical Analysis

  • Graphics

  • Artificial Intelligence

  • Simulation

Question number: 288

» Languages » C & C Plus Plus



Which of the following approach is adapted by c++?


Choice (4) Response












  • C++ follows bottom up approach- gathering small components that do basic actions joined to make full program work.

  • Components are joined by custom code to come up to main method.

  • In bottom up approach we can define main anywhere in our program.

  1. {
  2.     Initialization;
  3.     Fun()
  4.     {
  5.     }
  6. }
  7. Main()
  8. {
  9.     ……..
  10. }

Question number: 289

» Basic CS » Operating System

Short Answer Question▾

Write in Short

In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking.


Table of Difference Between Load-time and Run-time Dynamic Linking

Table of Difference Between Load-time and Run-time Dynamic Linking

load-time dynamic linking

run-time dynamic linking

load-time linking is when symbols in the library, referenced by the executable (or another library) are handled when the executable/library is loaded into memory, by the operating system.

Run-time linking is when you use an API provided by the OS or through a library to load a DLL or DSO when you need it, and perform the symbol resolution then.

For load-time dynamic linking Load module to be loaded is read into memory.

With run-time dynamic loading: Some of the linking is postponed until actual reference during execution.

Any reference to a target external module causes that module to be loaded and the references are updated to a relative address from the start base address of the application module.

Then the correct module is loaded and linked.

Executables have “blank spaces” in their symbol tables that need filling by some library. These blank-spaces are usually filled in at load-time, or compile time.

You can negate the need for “blank spaces” in the symbol table by using runtime linking.

Load time dynamic linking is usually accomplished by statically linking your application to a. lib file contains the code for automatically establishing runtime links to symbols to be found in. dll or. so files at program startup.

Runtime linking is used for more dynamic functionality such as plugin loading.