Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged runtime-environment
0
votes
0
answers
1
Memory Allocation, Garbage Value
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 can not access that memory, until that memory is allocated again somewhere else and ... of the system with a 0 at some point of time (say, creation) to totally avoid the hassle of garbage values?
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 ...
Mrityudoot
344
views
Mrityudoot
asked
May 4, 2023
Compiler Design
memory-management
runtime-environment
+
–
8
votes
1
answer
2
GATE CSE 2023 | Question: 26
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 (X - 1)); } int f3 () { return (5); } Which one of the following options represents the activation tree corresponding to the main function?
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...
admin
7.9k
views
admin
asked
Feb 15, 2023
Compiler Design
gatecse-2023
compiler-design
runtime-environment
2-marks
+
–
0
votes
0
answers
3
Best Open Video Playlist for Runtime Environments Topic | Compiler Design
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 the best playlist and add to GO classroom video ... ones are more likely to be selected as best. For the full list of selected videos please see here
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...
makhdoom ghaya
241
views
makhdoom ghaya
asked
Aug 18, 2022
Study Resources
go-classroom
video-links
missing-videos
free-videos
runtime-environment
+
–
2
votes
1
answer
4
GATE Overflow Test Series | Mock GATE | Test 6 | Question: 59
Consider the following program. int x = 10; int main() { x = 1; f(); g(); } void f() { int x = 3; h(); } void g() { x = 2; h(); } void h() { printf("%d\n",x); } If $\alpha$ and $\beta$ are the sum of all the values printed by the above code assuming static and dynamic scoping respectively, then $2\alpha + 3\beta = $ ______
Consider the following program.int x = 10; int main() { x = 1; f(); g(); } void f() { int x = 3; h(); } void g() { x = 2; h(); } void h() { printf("%d\n",x); }If $\alpha$...
Arjun
190
views
Arjun
asked
Jan 30, 2022
Compiler Design
go2025-mockgate-6
numerical-answers
compiler-design
runtime-environment
static-dynamic-scoping
2-marks
+
–
9
votes
3
answers
5
GATE CSE 2021 Set 1 | Question: 4
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 corresponds to a postorder traversal of the activation tree. Which one of the following options is ... and $S_2$ is true $S_1$ is true and $S_2$ is true $S_1$ is false and $S_2$ is false
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...
Arjun
6.6k
views
Arjun
asked
Feb 18, 2021
Compiler Design
gatecse-2021-set1
runtime-environment
normal
1-mark
+
–
4
votes
1
answer
6
GATE Overflow Test Series | Compiler Design | Test 1 | Question: 24
Consider the following program. int x; int main() { x = 10; f(); g(); } void f() { int x = 20; h(); } void g() { int x = 2; h(); } void h() { printf("%d\n",x); } If $\alpha$ and $\beta$ are the sum of all the values printed by the above code assuming static and dynamic scoping respectively, then $\alpha + \beta =$ _______
Consider the following program.int x; int main() { x = 10; f(); g(); } void f() { int x = 20; h(); } void g() { int x = 2; h(); } void h() { printf("%d\n",x); }If $\alpha...
gatecse
223
views
gatecse
asked
Dec 14, 2020
Compiler Design
go2025-cd-1
numerical-answers
runtime-environment
static-dynamic-scoping
+
–
2
votes
2
answers
7
GATE Overflow Test Series | Operating Systems | Test 2 | Question: 9
Which of the following is/are correct? (Mark all the appropriate choices) Dynamic loading is useful in systems with less main memory Dynamic linking reduces the symbol resolution time Dynamic linking does not ... of static linking is that an application can get benefit from updated libraries without needing a recompilation
Which of the following is/are correct? (Mark all the appropriate choices)Dynamic loading is useful in systems with less main memoryDynamic linking reduces the symbol reso...
gatecse
376
views
gatecse
asked
Dec 7, 2020
Operating System
go2025-os-2
memory-management
runtime-environment
multiple-selects
+
–
4
votes
3
answers
8
NIELIT 2016 DEC Scientist B (CS) - Section B: 14
The identification of common sub-expression and replacement of run time computations by compile-time computations is: Local optimization Constant folding Loop Optimization Data flow analysis
The identification of common sub-expression and replacement of run time computations by compile-time computations is:Local optimizationConstant foldingLoop OptimizationDa...
admin
4.2k
views
admin
asked
Mar 31, 2020
Compiler Design
nielit2016dec-scientistb-cs
compiler-design
runtime-environment
+
–
0
votes
6
answers
9
UGC NET CSE | January 2017 | Part 2 | Question: 35
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 function of a linker is to replace absolute references in an object module by symbolic references to locations in other modules. Only I Only II Both I and II Neither I nor II
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...
go_editor
2.8k
views
go_editor
asked
Mar 24, 2020
Compiler Design
ugcnetjan2017ii
runtime-environment
compiler-design
+
–
26
votes
4
answers
10
GATE CSE 2020 | Question: 9
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 storage for memory allocation in the run-time environment. Errors violating the condition any ... the above statements is/are TRUE? I only I and III only Ⅱ only None of Ⅰ, Ⅱ and Ⅲ
Consider the following statements.Symbol table is accessed only during lexical analysis and syntax analysis.Compilers for programming languages that support recursion nec...
Arjun
14.5k
views
Arjun
asked
Feb 12, 2020
Compiler Design
gatecse-2020
compiler-design
compilation-phases
runtime-environment
1-mark
+
–
1
votes
2
answers
11
ME TEST1
Match the following List 1 Link time load time compile time Run time List 2 A. Resolving references B. Relocation C. Token Recognition D. Activation record
Match the followingList 1Link timeload timecompile timeRun timeList 2 A. Resolving references B. Relocation C. Token Recognition D. Activation record
himgta
676
views
himgta
asked
Mar 10, 2019
Compiler Design
compiler-design
runtime-environment
match-the-following
made-easy-test-series
+
–
3
votes
0
answers
12
GATE Overflow | Mock GATE | Test 1 | Question: 15
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 by the relocating loaders. Identify the correct sequence in which the tasks need to be performed ... $3 \: 1 \: 4 \: 2$ $2 \: 1 \: 4 \: 3$
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 ...
Ruturaj Mohanty
1.2k
views
Ruturaj Mohanty
asked
Dec 27, 2018
Compiler Design
go-mockgate-1
compiler-design
runtime-environment
+
–
1
votes
2
answers
13
Zeal Test Series 2018: Compiler Design - Runtime Environments
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
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
Prince Sindhiya
1.6k
views
Prince Sindhiya
asked
Dec 27, 2018
Compiler Design
compiler-design
runtime-environment
zeal
zeal2018
+
–
0
votes
0
answers
14
Zeal Test Series 2019: CO & Architecture - Runtime Environment
Shukrayani
379
views
Shukrayani
asked
Dec 12, 2018
Operating System
zeal
co-and-architecture
runtime-environment
+
–
0
votes
1
answer
15
made easy test series
sim1234
535
views
sim1234
asked
Dec 10, 2018
Compiler Design
compiler-design
runtime-environment
descriptive
made-easy-test-series
+
–
0
votes
1
answer
16
#zealtest #compiler #1
Deepesh Pai
402
views
Deepesh Pai
asked
Nov 30, 2018
Compiler Design
compiler-design
runtime-environment
activation-record
numerical-answers
zeal-test-series
+
–
1
votes
1
answer
17
Runtime Environment Heap Allocation
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
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...
sripo
2.1k
views
sripo
asked
Nov 3, 2018
Compiler Design
compiler-design
runtime-environment
activation-record
descriptive
+
–
1
votes
1
answer
18
Testbook Test Series: Compiler Design - Runtime Environments
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 phase C. SDD with only synthesized attribute have an order of evaluation D. Both A and C Please Explain the C part only rest are easy :)
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 ...
Na462
870
views
Na462
asked
Oct 8, 2018
Compiler Design
compiler-design
runtime-environment
testbook-test-series
+
–
1
votes
0
answers
19
Runtime Environment
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?
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 ...
srestha
758
views
srestha
asked
Sep 10, 2018
Compiler Design
compiler-design
runtime-environment
+
–
0
votes
3
answers
20
Compiler Design Activation Record
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 actual parameters that will be stored in actual parameter field,but where does formal parameters a,b will be stored for f activation record?
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...
rahul sharma 5
1.6k
views
rahul sharma 5
asked
May 11, 2018
Compiler Design
compiler-design
runtime-environment
activation-record
+
–
0
votes
0
answers
21
compile design question from runtime environment
Ronish Jariwala 1
537
views
Ronish Jariwala 1
asked
Apr 15, 2018
Compiler Design
runtime-environment
compiler-design
hashing
tree
+
–
0
votes
0
answers
22
Compile Design Question From run time environment
Ronish Jariwala 1
747
views
Ronish Jariwala 1
asked
Apr 15, 2018
Compiler Design
compiler-design
effective-memory-access
stack
symbol-table
runtime-environment
+
–
0
votes
0
answers
23
Computing the average turnaround time using the multilevel queues
In a computing center there are four types of jobs according to their arrival times (in seconds), their priorities and their run times (in seconds); see the table below: -----------------Type 1------ ... - the higher the priority, the sooner they run) scheduling algorithm. [please use a quantum that provides short response time.]
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: ...
ytr567
795
views
ytr567
asked
Apr 11, 2018
Operating System
runtime-environment
round-robin-scheduling
computer
+
–
1
votes
2
answers
24
compiler design (run time environments)
can anyone tell broadly about "Arbitrary lifetime in case of heap allocation".
can anyone tell broadly about "Arbitrary lifetime in case of heap allocation".
The Technical Guy
777
views
The Technical Guy
asked
Mar 11, 2018
Compiler Design
compiler-design
runtime-environment
+
–
2
votes
4
answers
25
MadeEasy Test Series 2018: Compiler Design - Runtime Environments
Match the following with respect to activation record fields: A 1 → A, D; 2 → B, C B 1 → A, C; 2 → B, D C 1 → B, C; 2 → A, D D 1 → B, D; 2 → A, C Doubt:- Control link points to caller activation record.Can some one confirm?
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:- Contr...
rahul sharma 5
1.7k
views
rahul sharma 5
asked
Jan 24, 2018
Compiler Design
compiler-design
runtime-environment
made-easy-test-series
+
–
2
votes
4
answers
26
MadeEasy Test Series 2018: Compiler Design - Runtime Environments
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 : Heap allocation can support pointers and it can allocate or deallocate ... statements are true? a S1 and S2 b S2 and S3 c S3 and S1 d S1, S2 and S3
Consider the following statements:S1 : Static allocation can not support recursive function.S2 : Stack allocation can support pointers but can not deallocate storage at r...
rahul sharma 5
3.0k
views
rahul sharma 5
asked
Jan 24, 2018
Compiler Design
compiler-design
runtime-environment
made-easy-test-series
+
–
2
votes
0
answers
27
Ace Test Series: Compilers - Run Time Environment
ashish pal
459
views
ashish pal
asked
Jan 20, 2018
Compiler Design
ace-test-series
compiler-design
runtime-environment
+
–
2
votes
1
answer
28
ISRO-DEC2017-68
Consider the following table : ... $a-q, b-r, c-s, d-p$ $a-r, b-s, c-q, d-p$ $a-r, b-s, c-p, d-q$
Consider the following table :$\begin{array}{|l|l|l|} \hline \textbf{A.} & \text{Activation record} & \textbf{p.} & \text{Linking loader} \\\hline \textbf{B.} & \text{Loc...
gatecse
3.0k
views
gatecse
asked
Dec 17, 2017
Operating System
isrodec2017
runtime-environment
compiler-design
+
–
0
votes
0
answers
29
How much to read from garbarge collection in runtime environment? ( from aho ullman book)
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 ullman.. How much to read from there.. Any past gate rankers and fellow gate aspirants kindly reply.
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 ullman.. How mu...
Tridhara Chakrabarti
390
views
Tridhara Chakrabarti
asked
Dec 14, 2017
Compiler Design
compiler-design
runtime-environment
syllabus
self-doubt
+
–
Page:
1
2
3
4
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register