What is an LFG?

This is a recommends products dialog
Top Suggestions
Starting at
View All >
Sign In / Create Account
language Selector,${0} is Selected
Register & Shop at Lenovo Pro
Register at Education Store
Pro Tier Benefits
• Save up to an extra 20% on Think everyday pricing.
• Spend $15K, advance for FREE to Plus Tier with increased benefits.
Plus Tier Benefits
• Save up to an extra 25% on Think everyday pricing.
• Spend $50K, advance for FREE to Elite Tier with increased benefits.
Elite Tier Benefits
• Save up to an extra 30% on Think everyday pricing.
Reseller Benefits
• Access to Lenovo's full product portfolio
• Configure and Purchase at prices better than Lenovo.com
View All Details >
more to reach
PRO Plus
PRO Elite
Congratulations, you have reached Elite Status!
Pro for Business
Delete icon Remove icon Add icon Reload icon
Temporary Unavailable
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
Sign in or Create an Account to Save Your Cart!
Sign in or Create an Account to Join Rewards
View Cart
Your cart is empty! Don’t miss out on the latest products and savings — find your next favorite laptop, PC, or accessory today.
item(s) in cart
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
Please review your cart as items have changed.
Contains Add-ons
Proceed to Checkout
Popular Searches
What are you looking for today ?
Quick Links
Recent Searches
Hamburger Menu
skip to main content

What is an LFG?

LFG stands for Logic Flow Graph, which is used to represent logic algorithms in computer hardware or software. It's a kind of graphical flowchart that contains symbols representing instructions and conditions, as well as arrows to show the flow. LFGs are said to help programmers quickly design systems that solve difficult problems.

Why should I use LFGs?

Using a Logic Flow Graph or LFG can make programming more efficient by helping developers create reliable, accurate code with less effort and fewer re-dos. When programs use LFG-style logic, debugging can be easier—since errors can be traced through the flowchart. The visual format also makes it easier for multiple people to collaborate on complex coding projects.

How do I create an LFG?

If you've got some programming experience, creating a Logic Flow Graph is relatively simple. First determine what operations you want your program to accomplish and define them in logical statements. Then use standard symbols (there are multiple versions) to map out each statement in the form of a graph, and link each operation together in the correct order.

Is an LFG different from other programming diagrams?

In contrast to tree diagrams or decision tables, which can be used for similar purposes, logic flow graphs are unique because they are two-dimensional and contain specific symbols that are visually linked together in a way that's easy to interpret. In addition, LFGs tend to have more lines than other diagrams when showing complex algorithms.

Are there drawbacks or sacrifices when using LFGs?

An important consideration when working with logic flow graphs is that they're complex and require significant programming experience. Mistakes often involve tracking down errors manually across multiple pages or sections of the LFG, which is difficult if you don't know how programs work. Plus, there are a lot of symbols to learn before you can create a good LFG.

Can a Logic Flow Graph help with debugging software?

A logic flow graph can be a useful tool for debugging in software development. By breaking down a program into logical steps and mapping the flow of data between them, it's much easier to identify where an error might be occurring. And because an LFG provides a high-level view of the program, it can help you identify potential problems before they occur.

What are some advanced tips for working with LFGs?

When working with logic flow graphs, a good tip is to remember to check the links between operations after making changes or updates. They need validation—else your program might encounter errors at runtime. Also, stay aware of external information sources such as databases, which may require additional testing after you've made updates.

Does working with LFGs require deep programming knowledge?

In general, yes, although with some practice, you can get relatively comfortable with LFGs in short order. But before starting, you should have a good understanding of the programming language you're using, and knowledge of the various symbols used to express the information flow within the LFG.

How are LFGs better than other programming techniques?

The main advantage of an LFG is its ability to represent complicated algorithms in a visually clear way that can be understood by developers—even if they didn't help you write the LFG. With standardized symbols for each operation, coding can move faster. And since the nodes and arrows clearly show the logic flow of the program, your LFG can also help with finding errors.

How do I get started creating Logic Flow Graphs?

Some “getting started” tips for LFGs include starting small—begin with an example graph to get familiar with the basics. Try to break down tasks into small, manageable pieces with their own nodes and operations. Review your logic at every step, so you'll spot errors before they cause more problems at a later point. And use meaningful labels for nodes, operations, and so on—it makes reading the graph easier for others, including the programmer who might be executing your design.

coming coming
Starting at
List Price
Web Price
Web Price:
List Price
Web Price
List Price is Lenovo’s estimate of product value based on the industry data, including the prices at which first and third-party retailers and etailers have offered or valued the same or comparable products. Third-party reseller data may not be based on actual sales.
Web Price is Lenovo’s estimate of product value based on industry data, including the prices at which Lenovo and/or third-party retailers and e-tailers have offered or valued the same or comparable products. Third-party data may not be based on actual sales.
Learn More
See More
See Less
View {0} Model
View {0} Models
Part Number:
See More
See Less
Great choice!
You may compare up to 4 products per product category (laptops, desktops, etc). Please de-select one to add another.
View Your Comparisons
Add To Cart
Add To Cart
We're sorry,
Products are temporarily unavailable.
Continue shopping
Learn More
Coming Soon
Featured Product
Best Deals of the Day
Oops! No results found. Visit the categories above to find your product.
open in new tab
© 2024 Lenovo. All rights reserved.
© {year} Lenovo. All rights reserved.
Compare  ()