TCS Papers: Sample Questions 411 - 413 of 502

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

Question number: 411

» Basic CS » Networks

Essay Question▾

Describe in Detail

What is semantic gap?

Explanation

  • “Semantic gap” is difference between high-level programming sets, and the computing instructions in machine language.

  • This calls for ways of mediating between high-level language and basic machine language.

  • Another way to look at it is as the gap between what applications expects and what the underlying technology can provide.

Image shows the semantic gap

Image Shows the Semantic Gap

Given the image is define the semantic gap

Question number: 412

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

What is hashing?

Explanation

  • Hashing algorithm converts data into random-looking integer.

  • Hashing is the process of generating a number or a unique string for a (large) message.

  • Ideal hashing aims to produce unique output from unique inputs and there should be no way to reproduce original message from hash value.

  • Hashing can be used on data with no inherent ordering (such as images) or on data which is expensive to compare (such as images).

The image is define the hash function

The Image is Define the Hash Function

Given the image is define the hash function

Question number: 413

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

What is an IL?

Explanation

  • Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language) to which all. NET source code is compiled to.

  • IL is converted to machine code when software is installed, or at run-time by a Just-In-Time (JIT) compiler.

  • Intermediate language (IL) is object-oriented programming language used by compilers for the. NET Framework for static or dynamic compilation to machine code.

  • IL is the machine-independent code- output of compilation of the source code written in any. NET programming language.

  • IL is a stack-based assembly language that gets converted to byte code during execution of a virtual machine.

  • It is defined by the common language infrastructure (CLI) specification.

  • As IL is used for automatic generation of compiled code, there is no need to learn its syntax.

The Intermediate Language (IL)

The Intermediate Language (IL)

Given the image is define the Intermediate Language (IL)