Basic CS-Data Structures [TCS Placement]: Sample Questions 22 - 23 of 28

Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 22

Data Structures
Edit

Describe in Detail

Essay▾

What is Manifest?

Explanation

  • Assembly metadata is stored in Manifest. Manifest contains all the metadata needed to do:
    • Version of assembly
    • Security identify
    • Scope of the assembly
    • Resolve references to resources and classes
  • Assembly manifest can be stored in a PE file either (an . exe or . dll) with Microsoft intermediate language (MSIL code) or in a stand-alone PE file, containing only assembly manifest information.
  • Every assembly- both static and dynamic contains data to describe how elements in the assembly relate to each other.
  • The assembly manifest contains this assembly metadata.
  • Assembly manifest contains metadata to specify the assembly՚s version requirements and security identity, and metadata to define the scope of the assembly and resolve references to resources and classes.
Given the Image is Defining the Block Diagram Will Help You to Understand Manifest

Question 23

Data Structures
Edit

Describe in Detail

Essay▾

What are the notations used in evaluation of arithmetic expressions using prefix and postfix forms?

Explanation

  • Polish and Reverse Polish are the notations used in evaluation of arithmetic expressions using prefix and postfix forms.
  • Polish notation:
    • Polish notation also known as prefix notation is a form of notation for logic, arithmetic, and algebra, which places operators to the left of their operands.
    • Prefixing the operator to the number is thus called Polish notation.
    • For e. g. , Polish notation:+ 22
  • Reverse polish notation:
    • Reverse Polish notation (or RPN) is a mathematical notation in which every operator follows all of its operands (polish notation puts the operator in the prefix position) .
    • Thus, suffixing the operator to the number is called reverse Polish notation.
    • For e. g. , Reverse Polish notation: 22 +

Developed by: