Recent questions tagged runtime-environment

376
views
0 answers
0 votes
Data is never actually deleted from computer, even after freeing (say, a dynamically allocated variable) the variable still has that value which was given to it, ... of time (say, creation) to totally avoid the hassle of garbage values?
8.5k
views
1 answers
8 votes
Consider the following program:int main() { f1 (); f2(2); f3(); return (0); } int f1 () { return(1); } int f2 (int X) { f3(); ... (5); } Which one of the following options represents the activation tree corresponding to the main function?
267
views
0 answers
0 votes
Please list out the best free available video playlist for Runtime Environments from Compiler design as an answer here (only one playlist per answer). We'll then ... be selected as best.For the full list of selected videos please see here
6.9k
views
3 answers
9 votes
Consider the following statements.$S_1:$ The sequence of procedure calls corresponds to a preorder traversal of the activation tree.$S_2:$ The sequence of procedure returns ... true and $S_2$ is true$S_1$ is false and $S_2$ is false
4.7k
views
3 answers
4 votes
The identification of common sub-expression and replacement of run time computations by compile-time computations is:Local optimizationConstant foldingLoop OptimizationData flow analysis
3.0k
views
6 answers
0 votes
Which of the following statement(s) regarding a linker software is/are true ?A function of a linker is to combine several object modules into a single load ... to locations in other modules.Only IOnly IIBoth I and IINeither I nor II
15.1k
views
4 answers
27 votes
Consider the following statements.Symbol table is accessed only during lexical analysis and syntax analysis.Compilers for programming languages that support recursion necessarily need heap ... ?I onlyI and III onlyⅡ onlyNone of Ⅰ, Ⅱ and Ⅲ
708
views
2 answers
2 votes
Match the followingList 1Link timeload timecompile timeRun timeList 2 A. Resolving references B. Relocation C. Token Recognition D. Activation record
1.2k
views
0 answers
3 votes
The task of adjusting programs so that they may be placed in arbitrary core locations is called relocation. This task is often performed by the relocating loaders. Given below are the tasks performed ... 3 \: 1 \: 4 \: 2$2 \: 1 \: 4 \: 3$
1.8k
views
2 answers
1 votes
The two basic operations that are often performed with the symbol table are:1.Set and reset 2.Set and insert 3. Insert and lookup 4.Reset and lookup
2.2k
views
1 answers
1 votes
Does Heap Allocation support both recursion and dynamic memory allocation? Because,a stack can be implemented using dynamic memory allocation.Please correct me.Test Series answer shows only dynamic memory allocation
947
views
1 answers
1 votes
Which of the Following is True ?A. Symbol table Construction is during the analysis part of the Compiler.B. Type checking is Done during Syntax Analysis phaseC. ... evaluationD. Both A and CPlease Explain the C part only rest are easy :)
795
views
0 answers
1 votes
What is runtime enviornment (Is it do anything more than running the program?)?Where Stack Pointer generally needed?Why it is needed runtime and not compile time? Has it any link with interrupts?
1.8k
views
3 answers
0 votes
As actual parameters are stored in the Actual parameter field in case of Activation record then where does formal parameters will be stored?f(a,b){a(e,f) ... field,but where does formal parameters a,b will be stored for f activation record?
815
views
0 answers
0 votes
In a computing center there are four types of jobs according to theirarrival times (in seconds), their priorities and their run times (in seconds);see ... run) scheduling algorithm.[please use a quantum that provides short response time.]
803
views
2 answers
1 votes
can anyone tell broadly about "Arbitrary lifetime in case of heap allocation".
1.8k
views
4 answers
2 votes
Match the following with respect to activation record fields:A 1 → A, D; 2 → B, CB 1 → A, C; 2 → B, DC 1 → B, C; 2 → A, DD 1 → B, D; 2 → A, CDoubt:- Control link points to caller activation record.Can some one confirm?
3.2k
views
4 answers
2 votes
Consider the following statements:S1 : Static allocation can not support recursive function.S2 : Stack allocation can support pointers but can not deallocate storage at run-time.S3 : ... ?a S1 and S2b S2 and S3c S3 and S1d S1, S2 and S3
3.1k
views
1 answers
2 votes
Consider the following table : ... $a-r, b-s, c-p, d-q$
412
views
0 answers
0 votes
Self doubt--Hello i am preparing for gate on my own reading textbooks. There is a very detailed garbage collection part in runtime environments part in Aho ... read from there.. Any past gate rankers and fellow gate aspirants kindly reply.