TCS Papers: Sample Questions 313 - 315 of 502

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

Question number: 313

» Basic CS » Data Structures

Short Answer Question▾

Write in Short

What are the major data structures used in the following areas: RDBMS, Network data model and Hierarchical data model.


  • RDBMS = Array (Array of structures)

  • Network data model = Graph

  • Hierarchical data model = Trees

Question number: 314

» Basic CS » Networks

Essay Question▾

Describe in Detail

What is a gateway or router?


  • A node connected to two or more networks is called a router or gateway.

  • It forwards message from one network to another.

  • A gateway in a computer network is a key stopping point for data on its way to or from other networks.

  • Gateway routes traffic from a workstation to the outside network that is serving up the web pages.

  • For example, for internet connection at home gateway is the Internet Service Provider.

Image shows the Gateway

Image Shows the Gateway

Given the image is define the Gateway or Router

Question number: 315

» Languages » Java

Essay Question▾

Describe in Detail

What is the role of the JIT compiler in. NET Framework?


  • The JIT compiler is an important element of CLR, which loads MSIL on target machines for execution.

  • MSIL is stored in. NET assemblies after the developer has compiled the code written in any. NET-compliant programming language, such as Visual Basic and C#.

  • JIT compiler translates the MSIL code to CPU architecture of the target machine to execute a. NET application.

  • It also stores the resulting native code so that it is accessible for subsequent calls.

  • If a code executing on a target machine calls a non-native method, the JIT compiler converts the MSIL of that method into native code.

  • JIT compiler also enforces type-safety in runtime environment of. NET Framework- checks values that are passed to parameters of any method. For example, JIT compiler detects if a user tries to assign a 32-bit value to a parameter that can only accept 8-bit value.

The JIT Compiler

The JIT Compiler

Given the image is define the JIT Compiler