Interview Questions

Q:

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

Answer

The JIT compiler is an important element of CLR, which loads MSIL on target machines for execution. The 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 of an assembly and uses the 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. It checks for the values that are passed to parameters of any method.

For example, the JIT compiler detects any event, if a user tries to assign a 32-bit value to a parameter that can only accept 8-bit value.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

8 16199
Q:

What is the difference between stack and array?

Answer

Stack:


 - Stack is a ordered collection of items


 - Stack is a dynamic object whose size is constantly changing as items are pushed and popped .


 - Stack may contain different data types


Array:


- Array is an ordered collection of items


- Array is a static object i.e. no of item is fixed and is assigned by the declaration of the array


- It contains same data types.

Report Error

View answer Workspace Report Error Discuss

Subject: C++ Exam Prep: GATE

24 16143
Q:

How would you choose the best media to promote your advertisement?

Answer

It depends on the following factors:



  •        Reach

  •        Geographical spread

  •        Nature of target audience/clusters

  •        Previous successful track records

  •        Low budget; high returns etc. 

Report Error

View answer Workspace Report Error Discuss

9 15959
Q:

Explain a.) Deceptive Ad b.) Unfair Ad

Answer

Deceptive Ad :


Deceptive advertising is also known as “False Advertising”. It is one form of advertising that will equip consumers with false and misleading information.


 


 


Unfair Ad :


Unfair advertising is very dangerous to consumers that involve legal binding. 


When there is an occurrence of public policy and consumer rights violation in an advertising message, then it is coined as “Unfair advertising”.  

Report Error

View answer Workspace Report Error Discuss

9 15950
Q:

What would you do if you run out of ideas for a new Ad?

Answer

I would do the following if I run out of ideas for a new ad:


       - Word of mouth marketing


       - Direct marketing


       - Public opinions survey


       - Trade show/exhibition promotion etc.  

Report Error

View answer Workspace Report Error Discuss

10 15926
Q:

What is advertising?

Answer

Advertising is defined as a paid form of communication that reaches the target audience through mass media to provide product/service and brand related information.  

Report Error

View answer Workspace Report Error Discuss

9 15825
Q:

Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables ?

A) Data Manipulation Language(DML) B) Data Definition Language(DDL)
C) Both A & B D) None
 
Answer & Explanation Answer: B) Data Definition Language(DDL)

Explanation:

The Data Definition Language (DDL) is used to manage table and index structure.

CREATE,

ALTER,

RENAME,

DROP and

TRUNCATE

statements are the names of few data definition elements.

Report Error

View Answer Report Error Discuss

Filed Under: SQL
Job Role: IT Trainer , Database Administration , Analyst

12 15753
Q:

How do you put a message in the browser's status bar ?

A) status("put your message here") B) window.status = "put your message here"
C) statusbar = "put your message here" D) window.status("put your message here")
 
Answer & Explanation Answer: B) window.status = "put your message here"

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

5 15748