What is an LFG?

This is a recommends products dialog
Top Suggestions
Starting at
View All >
Language
French
English
ไทย
German
繁體中文
Hi
All
Register & Shop at Lenovo Pro
Register at Education Store
Delete icon Remove icon Add icon Reload icon
TEMPORARILY UNAVAILABLE
DISCONTINUED
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.
Remove
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.
of
Contains Add-ons
Subtotal
Proceed to Checkout
Yes
No
Popular Searches
Hamburger Menu
Outlet
skip to main content
All


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.

{"pageComponentDataId":"e857fdeft7e51-4b61-84dc-bccec6e68e00","pageComponentId":"e857fdeft7e51-4b61-84dc-bccec6e68e00","isAssociatedRelease":"true","pageComponentDataLangCode":"en_au","configData":{"jumpType":"currentTab","headlineColor":"black","displayNumber":"","styleMode":"vertical","miniCardHoMode":"2","headline":"","products":[{"number":{"t_id":"21kccto1wwau5","language":{"en_nz":"21kccto1wwau5","en_au":"21kccto1wwau5","en":""},"id":"Pageb33ce4b8-4839-4ba3-b993-7296d68a91b8"}},{"number":{"t_id":"21mccto1wwau3","language":{"en_nz":"21mccto1wwau3","en_au":"21mccto1wwau3","en":""},"id":"Page1fa61927-074c-4fe0-a8df-5c94362fb75c"}},{"number":{"t_id":"21lkcto1wwau3","language":{"en_nz":"21lkcto1wwau3","en_au":"21lkcto1wwau3","en":""},"id":"Pageca014688-410e-439a-a4c6-bba2ef6d4715"}},{"number":{"t_id":"21g2cto1wwau3","language":{"en_nz":"21g2cto1wwau3","en_au":"21g2cto1wwau3","en":""},"id":"Page79cd32c8-d467-4d68-b955-d273bb24eda7"}}]},"urlPrefix":"AAAAAAAH","title":"glossary-right-blue-boxes-fragment","pageId":"65b55929-de05-417a-a92a-ccb888d329b0","urlEdit":0,"uri":"/FragmentDirectory/glossary/glossary-right-blue-boxes-fragment.frag","pageComponentUuid":"e857fdeft7e51-4b61-84dc-bccec6e68e00"}
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:
Features
See More
See Less
compare
Added!
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
Top Deals of the Day
Oops! No results found. Visit the categories above to find your product.
Save
open in new tab
© 2024 Lenovo. All rights reserved.
© {year} Lenovo. All rights reserved.
Email address is required
Compare  ()
x