Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Variable scoping
Recent questions tagged variable-binding
8.4k
views
3
answers
4
votes
ISRO-2013-7
Consider the following psuedocode:x: integer := 1 y: integer := 2 procedure add x:= x + y procedure second (P: Procedure) x: integer := 2 p() procedure ... $3$4$5$
makhdoom ghaya
8.4k
views
makhdoom ghaya
asked
Apr 25, 2016
Compiler Design
isro2013
runtime-environment
variable-binding
+
–
8.2k
views
3
answers
7
votes
What is the difference between static scoping and dynamic scoping?
sampad
8.2k
views
sampad
asked
Oct 11, 2015
Programming in C
programming
variable-binding
+
–
5.3k
views
1
answers
7
votes
GATE IT 2007 | Question: 35
Early binding refers to a binding performed at compile time and late binding refers to a binding performed at execution time. Consider the following ... , increase, decreaseLate, early, decrease, increaseEarly, late, increase, decrease
Ishrat Jahan
5.3k
views
Ishrat Jahan
asked
Oct 29, 2014
Programming in C
gateit-2007
programming
variable-binding
normal
out-of-syllabus-now
+
–
7.8k
views
3
answers
15
votes
GATE IT 2007 | Question: 34, UGCNET-Dec2012-III: 52
Consider the program below in a hypothetical programming language which allows global variables and a choice of static or dynamic scoping.int i; program main() { i = 10; call f(); } procedure ... x=10, y=20$x=20, y=10$x=10, y=10$x=20, y=20$
Ishrat Jahan
7.8k
views
Ishrat Jahan
asked
Oct 29, 2014
Programming in C
gateit-2007
programming
variable-binding
easy
ugcnetcse-dec2012-paper3
+
–
1.9k
views
1
answers
1
votes
GATE CSE 1994 | Question: 22
Consider the program below:Program main: var r:integer; procedure two: begin write (r); end procedure one: var r:integer; begin r:=5; two; end ... for all variables;Dynamic scoping is assumed for all variables.Give reasons for your answer.
Kathleen
1.9k
views
Kathleen
asked
Oct 5, 2014
Programming in C
gate1994
programming
variable-binding
normal
out-of-gate-syllabus
+
–
5.9k
views
2
answers
6
votes
GATE CSE 1999 | Question: 2.13
Consider the following program in a language that has dynamic scooping:var x: real; procedure show: begin print(x);end; procedure small; var x: real; begin x: = 0.125; ... output of the program is:0.125 0.1250.25 0.250.25 0.1250.125 0.25
Kathleen
5.9k
views
Kathleen
asked
Sep 23, 2014
Programming in C
gate1999
programming
variable-binding
normal
out-of-syllabus-now
+
–
5.7k
views
2
answers
2
votes
GATE CSE 2003 | Question: 75
Consider the following class definitions in a hypothetical Object Oriented language that supports inheritance and uses dynamic binding. The language should not be assumed to be ... the above program fragment will be1 2 12 1 12 1 22 2 2
Kathleen
5.7k
views
Kathleen
asked
Sep 17, 2014
Programming in C
gatecse-2003
programming
variable-binding
normal
out-of-syllabus-now
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register