Tuesday 30 November 2021

(5) Explain followings i) Just in Time ii) Events:-

Dec-2019(5) Explain followings

i) Just in Time

Short answer 

The JIT complier converts MSIL into native code on a demand basis as each part of the program is needed.

JIT Compiler प्रोग्राम पार्टस की डिमांड के हिसाब से एमएसआईएल कोड को मशीन कोड में परिवर्तित करता है।

 

Long answer

Just-In-Time compiler(JIT) is a part of Common Language Runtime (CLR) in .NET which is responsible for managing the execution of .NET programs regardless of any .NET programming language.

JIT Compiler CLR का ही हिस्‍सा है। जो किसी भी .NET प्रोग्रामिंग भाषा की परवाह किए बिना .NET प्रोग्राम को चलाने/Execustion के प्रबंधन के लिए जिम्मेदार है।

  

 

The JIT compiler converts the Microsoft Intermediate Language(MSIL) or Common Intermediate Language(CIL) into the machine code.


the JIT compiler compiles the MSIL or CIL as required rather than the whole of it.

JIT Compiler एमएसआईएल कोड या सीआईएल को मशीन कोड में परिवर्तित करता है। JIT संपूर्ण कोड को एक साथ परिवर्तित नहीं करता है, आवश्‍यकतानुसार परिवर्तित करता है।

ii) Events:- 


Event: An event can be thought of as an occurrence of some user-generated action applied on an object. For example, click event is triggered when an object is clicked using a mouse.

 किसी ऑब्‍जेक्‍ट पर यूजर जब कोई एक्‍शन/एक्‍टिविटी करता है तो उसे इवेन्‍ट/घटना का घटित होना कहा जाता है और उस एक्‍शन को इवेन्‍ट/घटना के नाम से जानते है। जैसे जब यूजर द्वारा माउस का बटन दबाया जाता है तो उसे माउस क्लिक एक इवेन्‍ट है तथा माउस दबने के बाद इवेन्‍ट के साथ लिखे गया कोड स्‍वत: रन हो जाता है।


Common Events are:

DoubleClick: This event is triggered whenever a user double clicks on that control.

जब भी कोई उपयोगकर्ता माउस पर डबल क्लिक करता है तो घटना शुरू हो जाती है।

MouseMove: When a user passes the mouse over a control this event is triggered.

जब कोई उपयोगकर्ता माउस को चलाता है तो यह घटना चालू हो जाती है।

GetFocus: This event is triggered when you first give focus to a control either by clicking on it or by tabbing to it.

यह घटना तब शुरू होती है जब कर्सर टैब अथवा माउस द्वारा किसी आब्‍जेक्‍ट पर जाता है।

 

LostFocus: This event is triggered when you have had focus on a control and then attempt tomove focus from that control.

यह घटना तब शुरू होती है जब कर्सर किसी आब्‍जेक्‍ट को छोडकर दूसरे ऑब्‍जेट पर जाता है।

Load: This event is only in the form control and it is initiated when the form is first loaded.

फार्म के लोड होने पर यह घटना शुरू होती है ।

Mouse Events 

Click

DblClick

MouseDown

MouseUp

MouseMove


Keyboard Events

KeyDown

KeyUp

KeyPress

Change

Focus

GotFocus

LostFocus


Learn it also important


Event-oriented language :- is a computer programming paradigm in which the flow of the program is determined by user actions (mouse clicks, key presses) or messages from other programs.Example:- Visual basic

एक प्रकार की कंप्यूटर प्रोग्रामिंग है जिसमें प्रोग्राम का प्रवाह उपयोगकर्ता क्रियाओं (माउस क्लिक, की प्रेस) या अन्य प्रोग्रामों के संदेशों द्वारा निर्धारित किया जाता है। उदाहरण:- विजुअल बेसिक

Procedural languages:-  are based upon the concept of the procedure call.

प्रक्रिया कॉल की अवधारणा पर आधारित हैं।

 

No comments:

Post a Comment