Which of the following is a data structure that is used to hold information about source code during compilation process?

Which of the following is a data structure that is used to hold information about source code during compilation process? Correct Answer Symbol table

The symbol table is a data structure that is used to hold information about source code during the compilation process.

Concept:-

Symbol Table:- In computer science, a symbol table is a data structure used by a language translator such as a compiler or interpreter, where each identifier, constant, procedures, and function in a program's source code are associated with information relating to its declaration.

Key Points

  • The symbol table is used to store the information about the occurrence of various entities such as objects, classes, variable name, interface, function name, etc.
  • The assembler creates the symbol table section for the object file. It makes an entry in the symbol table for each symbol that is defined or referenced in the input file and is needed during linking.

Additional InformationIntermediate code:- It is used to translate the source code into the machine code. Intermediate code lies between the high-level language and machine language.

Context-free grammar:- A context-free grammar (CFG) is a formal grammar that is used to generate all the possible patterns of strings in a given formal language.

Lexical analyzer:- The purpose of lex is to generate lexical analyzers. The lexical analyzer breaks these syntaxes into a series of tokens, by removing any whitespace or comments in the source code. 

Related Questions

In the question below, are given a statement followed by three courses of actions numbered I, II and III. On the basis of the information given, you have to assume everything in the statement to be true, and then decide which of the suggested course of action logically follow (s) for pursuing. Statement: The India Risk Survey 2017 report ranks 'Information & Cyber Insecurity' as the biggest risk facing Indian companies. Indian organizations, both public and private, had witnessed over 27,000 incidents of security threat, from January 2017 till June 2017 alone. Phishing, scanning/probing, website intrusions and defacements, virus/malicious code, ransomware, Denial of Service attacks, and data breaches are some ways in which hackers attack business websites, which can cause operational disruptions and potentially steal sensitive information. Small and medium businesses (SMBs), unfortunately, have been seeing rising incidences of cybercrime. In fact, 70 percent of cyberattacks occur at organizations with lesser than 100 employees  Courses of action: I. Mandate basic security practices and policies for all employees, such as 2-factor authentication, internet use guidelines and create and enforce rules on handling and protecting sensitive data. Conduct frequent training to sensitize employees about opening suspicious emails, encrypting their data, using strong passwords on their devices, installing security apps, and limiting activity over public Wi-Fi. Implement and enforce incident reporting to help ensure that even the smallest breach is report to management as well as the IT teams. II. Basics still matter and are some of the best defenses against viruses, malware, and other online threats. Assess the assets that are most at risk - data, servers, network - and ensure that the systems are updated with the latest security software, web browser, and operating system. Implement firewall security and run antivirus software after each update.  III. Ensure regular backup of all critical data - whether stored in-house or on the cloud. Run scheduled attack drills and stress tests to identify vulnerabilities and ensure that data restoration and business continuity are executed as planned.
The question given below consists of a statement, followed by three arguments numbered I, II and III. You have to decide which of the arguments is/are ‘strong’ arguments and which is/are ‘weak’ arguments and accordingly choose your answer from the alternatives given below each question. Statement: India’s telecom watchdog has suggested regulation of all entities dealing with consumer data—devices such as iPhones, operating systems such as Android, browsers like Google’s Chrome and apps such as Facebook, Paytm, Uber or Zomato— by bringing them under licence conditions that apply to telecom service providers until a general data protection law is put in place by the government. Which of the following argument weakens the above statement in the best possible manner? Arguments: I. The Telecom Regulatory Authority of India (Trai) said the framework for protection of personal information is ‘not sufficient’ and that the issue of data ownership, privacy, and security is complex and multi-dimensional. It suggested expanding the ambit of licence conditions governing telcos to all entities handling customer information and empowerment of customers to keep their data secure. II. The telecom watchdog further said that individual users owned their data, or personal information, and entities such as devices were ‘mere custodians’ and do not have primary rights over that information. III. Telcos and internet service providers (ISPs) though welcomed recommendations that sought to bring app makers under the same regulations. However, content providers have been opposed to being brought under more regulation. 
A passage is given with five questions following it. Read the passage carefully and select the best answer to each question out of the given fouralternatives. Just as space permeates everything in the universe, love permeates every part, every aspect of creation. If there is one answer to the question, “How and why doesthis world exist?” the answer, in one word, is Love. Rather, the answer is Pure Love, since the word love has lost its meaning. Your very existence is an expression of pure unconditional love of the Source (you may call it Consciousness, Creator, God, Divine Self). This is the truth of your being.True love transcends both love and hatred. It is unconditional, unquestioning, boundless, unchanging love. It is overflowing love of the Source for the Source throughall of creation. True love is way beyond the personalized love that two or more individuals assert on one another. Personalized love, though apparently selfless, is rooted in desiresand conditional satisfaction. We have been brought up in a society that judges love based on conditions. We have been made to believe that we can receive love only when we fit into peoplesexpectations. If we are not good enough, we will be deprived of love. These beliefs have influenced the collective psyche of families, groups, communities, and societies since generations to such an extent that love has been reduced tofear of denial. We need to shift from the paradigm of false conditional love to the essence of pure unconditional love . The experience of true love comes with surrender of the false I, in letting go of the feeling of separateness. Without this sacrifice, it is not possible to attain divinelove. When this separate I is discarded, you embrace everything in oneness and catch a glimpse of pure love. True love can be experienced only through giving, not by demanding. People who exist in your life are not here to love you. They are here to remind you that you arethe Source of Love. By knowing that you are the Source of love, you can love yourself, instead of waiting to receive love from the world. Ask yourself, “Why do I need an agent to love myself?” Waiting for the world to love you, is like hiring an agent to love yourself! It is time for you to honor yourself as the Source of love. You have undertaken this human journey to realize and express the boundless love that you truly are. What does source refers to in the last line of the second para of the passage?
A passage is given with five questions following it. Read the passage carefully and select the best answer to each question out of the given fouralternatives. Just as space permeates everything in the universe, love permeates every part, every aspect of creation. If there is one answer to the question, “How and why doesthis world exist?” the answer, in one word, is Love. Rather, the answer is Pure Love, since the word love has lost its meaning. Your very existence is an expression of pure unconditional love of the Source (you may call it Consciousness, Creator, God, Divine Self). This is the truth of your being.True love transcends both love and hatred. It is unconditional, unquestioning, boundless, unchanging love. It is overflowing love of the Source for the Source throughall of creation. True love is way beyond the personalized love that two or more individuals assert on one another. Personalized love, though apparently selfless, is rooted in desiresand conditional satisfaction. We have been brought up in a society that judges love based on conditions. We have been made to believe that we can receive love only when we fit into peoplesexpectations. If we are not good enough, we will be deprived of love. These beliefs have influenced the collective psyche of families, groups, communities, and societies since generations to such an extent that love has been reduced tofear of denial. We need to shift from the paradigm of false conditional love to the essence of pure unconditional love . The experience of true love comes with surrender of the false I, in letting go of the feeling of separateness. Without this sacrifice, it is not possible to attain divinelove. When this separate I is discarded, you embrace everything in oneness and catch a glimpse of pure love. True love can be experienced only through giving, not by demanding. People who exist in your life are not here to love you. They are here to remind you that you arethe Source of Love. By knowing that you are the Source of love, you can love yourself, instead of waiting to receive love from the world. Ask yourself, “Why do I need an agent to love myself?” Waiting for the world to love you, is like hiring an agent to love yourself! It is time for you to honor yourself as the Source of love. You have undertaken this human journey to realize and express the boundless love that you truly are. According to the passage, whom to honour as the source of love?
A passage is given with five questions following it. Read the passage carefully and select the best answer to each question out of the given fouralternatives. Just as space permeates everything in the universe, love permeates every part, every aspect of creation. If there is one answer to the question, “How and why doesthis world exist?” the answer, in one word, is Love. Rather, the answer is Pure Love, since the word love has lost its meaning. Your very existence is an expression of pure unconditional love of the Source (you may call it Consciousness, Creator, God, Divine Self). This is the truth of your being.True love transcends both love and hatred. It is unconditional, unquestioning, boundless, unchanging love. It is overflowing love of the Source for the Source throughall of creation. True love is way beyond the personalized love that two or more individuals assert on one another. Personalized love, though apparently selfless, is rooted in desiresand conditional satisfaction. We have been brought up in a society that judges love based on conditions. We have been made to believe that we can receive love only when we fit into peoplesexpectations. If we are not good enough, we will be deprived of love. These beliefs have influenced the collective psyche of families, groups, communities, and societies since generations to such an extent that love has been reduced tofear of denial. We need to shift from the paradigm of false conditional love to the essence of pure unconditional love . The experience of true love comes with surrender of the false I, in letting go of the feeling of separateness. Without this sacrifice, it is not possible to attain divinelove. When this separate I is discarded, you embrace everything in oneness and catch a glimpse of pure love. True love can be experienced only through giving, not by demanding. People who exist in your life are not here to love you. They are here to remind you that you arethe Source of Love. By knowing that you are the Source of love, you can love yourself, instead of waiting to receive love from the world. Ask yourself, “Why do I need an agent to love myself?” Waiting for the world to love you, is like hiring an agent to love yourself! It is time for you to honor yourself as the Source of love. You have undertaken this human journey to realize and express the boundless love that you truly are. According to the passage, which of the following statement is not TRUE?
A passage is given with five questions following it. Read the passage carefully and select the best answer to each question out of the given fouralternatives. Just as space permeates everything in the universe, love permeates every part, every aspect of creation. If there is one answer to the question, “How and why doesthis world exist?” the answer, in one word, is Love. Rather, the answer is Pure Love, since the word love has lost its meaning. Your very existence is an expression of pure unconditional love of the Source (you may call it Consciousness, Creator, God, Divine Self). This is the truth of your being.True love transcends both love and hatred. It is unconditional, unquestioning, boundless, unchanging love. It is overflowing love of the Source for the Source throughall of creation. True love is way beyond the personalized love that two or more individuals assert on one another. Personalized love, though apparently selfless, is rooted in desiresand conditional satisfaction. We have been brought up in a society that judges love based on conditions. We have been made to believe that we can receive love only when we fit into peoplesexpectations. If we are not good enough, we will be deprived of love. These beliefs have influenced the collective psyche of families, groups, communities, and societies since generations to such an extent that love has been reduced tofear of denial. We need to shift from the paradigm of false conditional love to the essence of pure unconditional love . The experience of true love comes with surrender of the false I, in letting go of the feeling of separateness. Without this sacrifice, it is not possible to attain divinelove. When this separate I is discarded, you embrace everything in oneness and catch a glimpse of pure love. True love can be experienced only through giving, not by demanding. People who exist in your life are not here to love you. They are here to remind you that you arethe Source of Love. By knowing that you are the Source of love, you can love yourself, instead of waiting to receive love from the world. Ask yourself, “Why do I need an agent to love myself?” Waiting for the world to love you, is like hiring an agent to love yourself! It is time for you to honor yourself as the Source of love. You have undertaken this human journey to realize and express the boundless love that you truly are. Which of the following statement(s) is/are TRUE about pure love?