Recent questions tagged runtime-environment

15 15 votes
2 2 answers
1.8k
1.8k views
In C runtime environment, which one of the following is stored in heap?A static variable declared inside a functionAn array of integers declared inside a functionA dynami...
0 0 votes
0 0 answers
646
646 views
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, we just ...
18 18 votes
2 2 answers
16.0k
16.0k views
Consider the following program:int main() { f1 (); f2(2); f3(); return (0); } int f1 () { return(1); } int f2 (int X) { f3(); if (X==1) return f1 (); else return (X * f2 ...
0 0 votes
0 0 answers
538
538 views
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 select t...
0 0 votes
1 1 answer
732
732 views
Java Virtual Machine $\text{(JVM)}$ is used to execute architectural neutral byte code. Which of the following is needed by the $\text{JVM}$ for execution of Java Code?C...
26 26 votes
3 answers 3 answers
13.7k
13.7k views
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 retur...
4 4 votes
3 3 answers
6.1k
6.1k views
The identification of common sub-expression and replacement of run time computations by compile-time computations is:Local optimizationConstant foldingLoop OptimizationDa...
0 0 votes
6 6 answers
4.8k
4.8k views
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 module.A funct...
52 52 votes
5 answers 5 answers
28.0k
28.0k views
Consider the following statements.Symbol table is accessed only during lexical analysis and syntax analysis.Compilers for programming languages that support recursion nec...
2 2 votes
2 2 answers
1.0k
1.0k views
Match the followingList 1Link timeload timecompile timeRun timeList 2 A. Resolving references B. Relocation C. Token Recognition D. Activation record
3 3 votes
0 0 answers
1.6k
1.6k views
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 ...
1 1 vote
2 answers 2 answers
2.4k
2.4k views
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
0 0 votes
1 answers 1 answer
1.2k
1.2k views
1 1 vote
1 answers 1 answer
3.4k
3.4k views
Does Heap Allocation support both recursion and dynamic memory allocation? Because,a stack can be implemented using dynamic memory allocation.Please correct me.Test Serie...
1 1 vote
1 1 answer
1.5k
1.5k views
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. SDD with ...
1 1 vote
0 0 answers
1.2k
1.2k views
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 ...
0 0 votes
3 3 answers
2.4k
2.4k views
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)}Here e,f are act...
0 0 votes
0 0 answers
1.1k
1.1k views
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 the table below: ...