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

524 questions

992 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.

Demo Teacher
added 2 years ago
960 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.

Demo Teacher
added 2 years ago
2355 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.

Demo Teacher
added 2 years ago
1061 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.

Demo Teacher
added 2 years ago