Computer Programming Articles

Page 4 of 18

Difference Between Array and Structure

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 20-Feb-2023 19K+ Views

Arrays and Structures are two different types of container datatype. The most basic difference between an array and a structure is that an Array can contain the elements of same datatype, while a Structure is a collection that can contain the elements of dissimilar datatypes. Read this article to learn more about Arrays and Structures and how they are different from each other. What is an Array? An array refers to a collection that consists of homogenous elements, i.e. of same data type. Arrays are declared using '[]'. It uses subscripts/ '[ ]' (square brackets) to access the elements. An ...

Read More

Difference Between Array and Linked List

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 20-Feb-2023 18K+ Views

The basic difference between an array and a linked list is in their structure. An array relies on the index-based data structure, whereas a liked list is based on the references. Read this article to find out more about Arrays and Linked Lists and how they are different from each other. What is an Array? An array is a consistent set of fixed number of data items. Array stores elements in contiguous memory locations. This means the specific elements can be accessed using easily calculable addresses. Hence, an array provides fast access to find element at a specific index. Another ...

Read More

Difference Between Verification and Validation

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 14-Dec-2022 6K+ Views

Verification is the process of verifying something to ensure its correctness, while Validation is the process of validating something in which the user tests the system with some inputs and verifies whether the output is as per the expectation or not. In software testing, both Validation and Verification are the parts of the V-model in which the development and testing activities are started based on the requirement of document specification. In other words, we can say that Verification is the process to ensure whether the product that is developed is right or not. It verifies whether the developed product fulfils ...

Read More

Fuzzy Logic and Probability: The Confusing Terms

AmitDiwan
AmitDiwan
Updated on 14-Oct-2022 2K+ Views

In this article, you will understand the difference between fuzzy logic and probability. Fuzzy logic It is a many-valued logic where the truth value of variables may be a real number between 0 and 1, including 0 and 1. Everything is associated with a degree. It is based on natural language processing. It can be integrated with programming. It is best suited for approximation. It is generally used by quantitative analysts. It helps understand the concept of vagueness. It captures the meaning of partial truth. The degree of membership is in a set. It is used in air conditioners, ...

Read More

Difference between Von Neumann and Harvard Architecture

Pradeep Kumar
Pradeep Kumar
Updated on 29-Jul-2022 18K+ Views

There are two distinct varieties of digital computer architectures, each of which provides a description of the functioning and execution of computer systemsThe first is known as the Von Neumann Architecture, which was designed by the well-known physicist and mathematician John Von Neumann in the late 1940s.The second is known as the Harvard Architecture, which was based on the original Harvard Mark relay-based computer and used separate memory systems to store data and instructions. Both of these computer architectures were developed in the 1950s.In the original Harvard architecture, data and instructions were both stored in electro-mechanical counters, while the instructions ...

Read More

Difference Between DDA and Bresenham Line Drawing algorithm

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 28-Jul-2022 16K+ Views

The realm of computer graphics is an expansive one that is always undergoing development. It involves a variety of concepts and ideas, of which "drawing a line" is the most fundamental tasks involved in working with graphical media.There are two algorithmic rules that are followed while drawing a line on the screen. They are DDA (Digital Differential Analyser) algorithmic rule and Bresenham line algorithm.Both the DDA and Bresenham's algorithm are examples of computational procedures that can be utilised for the goal of approximating the length of a line segment.What is DDA?The primary purpose of a DDA in computer graphics is ...

Read More

Difference between Cold Booting and Warm Booting

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 28-Jul-2022 11K+ Views

When a user presses the power button on their computer, it initiates the process known as "booting, " which loads and starts the operating system. Booting can also be thought of as a series of actions where the ROM of the computer is accessed in order to load the startup instructions. After that, the operating system is loaded from the disc that is now being used to boot the computer.A primary option for the boot disc is frequently the local hard drive. The process of booting the computer is finished when the operating system is loaded; at this point, the ...

Read More

Can I learn Java without any coding background?

Prasanna Kotamraju
Prasanna Kotamraju
Updated on 27-Apr-2022 2K+ Views

After you’ve learned the basics of computer science, you’ll be ready to learn a programming language. Java is a high-level object-oriented programming language which is platform independent and can be run on any mobile, web or desktop applications.Theoretically, it is true that with hard work, effort and right direction one can become an expert in Java programming. But practically it would help if you know one or two core programming languages to understand the jargon easily. Learning the basics of computer science will not be enough. If you have prior knowledge of C language and the concepts, learning Java becomes easier.Java ...

Read More

Top 10 Tools for Team Communication

Sharon Christine
Sharon Christine
Updated on 22-Apr-2022 409 Views

In every walk of life, communication has become indispensable. Needless to say, team communications has become an integral part of each and every enterprise. E-mails are still being used by many enterprises for the sake of team communication. It is quite common these days for both employees and employers to see their respective email accounts flooded with newsletters, spam messages, unnecessary attachments etc. Despite the fact that top email service providers such as Google and Yahoo provide excellent filtering options, having a dedicated tool or software for seamless team communication will undoubtedly enhance the productivity of both employees and employers.In ...

Read More

Convert the following LEX program into Lexical Analyzer.\\nAUXILIARY DEFINITIONS\\n −\\n −\\n −\\nTRANSLATION RULES\\n a{ }\\n abb{ }\\n a*b+

Ginni
Ginni
Updated on 08-Nov-2021 2K+ Views

SolutionConvert the pattern into NFA’sMake a Combined NFAConvert NFA to DFAA = ε − closure (0) = {0, 1, 3, 7}The transition on symbols a, b from state AFor State Aε − closure (Ta)                              ε − closure (Tb)= ε − closure ({2, 4, 7})                  = ε − closure ({8})= {2, 4, 7} = B                                = {8} = CFor State Bε − closure (7) ...

Read More
Showing 31–40 of 177 articles
« Prev 1 2 3 4 5 6 18 Next »
Advertisements