The Q&A Community for Students

MindStudy, question and answer site designed to help students, to help each other:
To ask, to learn, to share, to grow.

Ask Questions

Get the right answers. Fast

Answer Questions

Submit answers for community.

Be Somebody's Hero

Pat yourself on the back. You deserve it.

All Questions

525 questions

1047 views

What are the difference between linear and non-linear data structure?

Main difference between linear and non-linear data structures lie in the way they organize data elements.

Super Admin
added 2 years ago
1012 views

Explain left factoring with suitable example.

Left factoring is removing the common left factor that appears in two productions of the same non-terminal.

Super Admin
added 2 years ago
2609 views

Compare quadruples, triples and indirect triples.

x= (a + b) * - c / d

Represent this expression in quadruples, triples and indirect triples forms. Generate the machine code for the following instruction:

V=a+(b*c)-d.

The three address code can be using following methods: Quadruple: the quadruple is a structure with at most 4 fields such as OP, arg1, arg2, and result.

Super Admin
added 2 years ago
1109 views

Explain different stages of compiler with a suitable example. What is token, Patterns and Lexeme?

Compiler operates in phases. • Each phase transforms the source program from one representation to another.

Super Admin
added 2 years ago