Skip to main content

Compiler vs Interpreter

Difference Between Compiler and Interpreter in Hindi

Compiler vs Interpreter
(Image by - Sharma Guides | Subham232330)

कंपाइलर  (Compiler) और इंटरप्रेटर (Interpreter) के बीच अंतर :



कंपाइलर

1) कंपाइलर पूरे प्रोग्राम को एक साथ कंपाइल करता है।
2) सभी त्रुटियां एक साथ प्रदर्शित होती हैं।
3) डिबगिंग और परीक्षण के लिए धीमी गति है।
4) एक बार कंपाइल हो जाने के बाद दोबारा कंपाइल करने की जरूरत नहीं है।
5) कंपाइलर द्वारा परिवर्तित प्रोग्राम को एक पूर्ण यांत्रिक प्रोग्राम में परिवर्तित किया जाता है। इस प्रोग्राम को ऑब्जेक्ट प्रोग्राम कहा जाता है।
6) कंपाइलर का उपयोग अक्सर बड़े कंप्यूटरों पर किया जाता है।



इंटरप्रेटर

1) इंटरप्रेटर हर एक लाइन पढ़ता और अनुवाद करता है।
2) प्रत्येक पंक्ति में त्रुटियां प्रदर्शित करके अनुवाद प्रक्रिया को रोकता है।
3) डिबगिंग और परीक्षण के लिए तेज़ है।
4) इंटरप्रेटर में परिवर्तित कार्यक्रमों को पुनर्संकलन की आवश्यकता होती है।
5) एक इंटरप्रेटर के माध्यम से परिवर्तित एक कार्यक्रम एक पूर्ण यांत्रिक कार्यक्रम में परिवर्तित नहीं होता है।
6) इसका उपयोग ज्यादातर माइक्रो कंप्यूटर और पॉकेट कंप्यूटर में किया जाता है।



Comments

Popular posts from this blog

Networking Interview Questions and Answers

Networking Interview Questions and Answers 1) What is a Network? Answer: The network is defined as a set of devices connected to each other through a physical transmission medium. For example, a computer network is a group of computers connected to each other to communicate and share information and resources such as hardware, data, and software. In a network, nodes are used to connect two or more networks. 2) What is a Node? Answer: Two or more computers are directly connected by fiber optics or any other cable. A node is a point where a connection is established. It is a network component used to send, receive, and forward electronic information. A device connected to a network is also called a Node. Let us consider that in a network there are 2 computers, 2 printers, and a server connected, then we can say that there are five nodes in the network. 3) What is Network Topology? Answer:  Network topology is a physical layout of the computer network and defines how computers,...

Computer Fundamentals in Hindi

Computer Fundamentals in Hindi - कंप्यूटर फंडामेंटल्स हिंदी में - कंप्यूटर का परिचय कंप्यूटर शब्द अंग्रेजी के "Compute" शब्द से बना है, जिसका अर्थ है "गणना", करना होता है इसीलिए इसे गणक या संगणक भी कहा जाता है, इसका अबिस्कर Calculation करने के लिए हुआ था, पुराने समय में Computer का use केवल Calculation करने के लिए किया जाता था किन्तु आजकल इसका use डाक्‍यूमेन्‍ट बनाने, E-Mail, Listening And Viewing Audio And Video, Play Games, Database Preparation के साथ-साथ और कई कामों में किया जा रहा है, जैसे बैकों में, शैक्षणिक संस्‍थानों में, कार्यालयों में, घरों में, दुकानों में, Computer का उपयोग बहुतायत रूप से किया जा रहा है। Computer केवल वह करता है जो हम उसे करने का कहते हैं यानि केवल वह उन Command को फॉलो करता है जो पहले से Computer के अंदर डाले गए होते है, उसके अंदर सोचने समझने की क्षमता नहीं होती है, Computer को जो व्यक्ति चलता है उसे यूजर कहते है, और जो व्यक्ति Computer के लिए Program बनता है उसे Programmer  कहा जाता है। कंप्यूटर को ठीक प्रकार से कार्य करने के लिए सॉफ्टव...

creating object invoking various methods

Define a class named College as described below:  Data Members: 1) collegeName 2) principalName 3) place Methods : 1) constructor. 2) display() to display the collegeName, principalName, and the place. Test this class by creating an object and then invoking the various methods. class collegeName{  public String collegeName;  public String PrincipalName;  public String place;  public collegeName(){  }  public void display(){  System.out.println("College name is "+this.collegeName);  System.out.println("Principal name is "+this.PrincipalName);  System.out.println("Place is "+this.place);  }  }  class displayName{  public static void main(String[] args) {  collegeName c = new collegeName();  c.collegeName="Siliguri Institute of Technology";  c.PrincipalName="Dr. Mithun Chakraborty";  c.place="Siliguri";  c.display();  }  } OUTPUT: College name is Siliguri Institute of Technology Princip...