In: Computer Science
A1: A problem is anything you're trying to solve computationally. it typically define an input plus the wanted output which, for greatest models of calculation, will both be finite. Any statement of the form, "Given X, compute/evaluate/find/determine/decide whether/..." is a problem.
A2:As we know in compiling prcess the converting the source code into object code.
Compilor using some teachniques pass code in some phase to compilor program and after compilation the problem will be solved
The compilor first cont lexims and remove comment and lib etc in pogram and also in 2nd chech syntx of the program by checking libarary. In next we check sementic analysis of program by check its parse tree
and then we convert code into three address code aandd optamize it after these 6 phase program will run and the problem will solved by compilor
3 How to solve the problem using the compiling techniques:
The compilor first cont lexims and remove comment and lib etc in pogram and also in 2nd chech syntx of the program by checking libarary. In next we check sementic analysis of program by check its parse tree
and then we convert code into three address code aandd optamize it after these 6 phase program will run and the problem will solved by compilor
Pleasue Thumbs up if you satisfy with Answer
Comment down if any Query