Deprecated: Implicit conversion from float-string "1542349537.900" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1542349537.900" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1542349537.900" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1542349537.900" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1542349537.900" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1542943396.494" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1542943396.494" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1542943396.494" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1542943396.494" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1542943396.494" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594

Deprecated: Implicit conversion from float-string "1542943480.315" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1542943480.315" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1542943480.315" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1542943480.315" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803

Deprecated: Implicit conversion from float-string "1542943480.315" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 594
GATE CSE 1998 | Question: 1.28 / GATE Overflow for GATE CSE
edited by
5,857 views

2 Answers

Best answer
27 votes
27 votes

answer - B

first module loaded starting at address $0$. Size is $200$. hence it will occup first $200$ address last address being $199$. Second module will be present from $200$ and so on.

edited by
0 votes
0 votes
  1. Module 1 (Length: 200 words):

    • Starting Address: 0 (No preceding modules)
  2. Module 2 (Length: 800 words):

    • Starting Address: 200 (Length of Module 1)
  3. Module 3 (Length: 600 words):

    • Starting Address: 1000 (Sum of lengths of Modules 1 and 2)
  4. Module 4 (Length: 500 words):

    • Starting Address: 1600 (Sum of lengths of Modules 1, 2, and 3)

Therefore, the relocation constants for each module are as follows:

  1. Module 1: 0
  2. Module 2: 200
  3. Module 3: 1000
  4. Module 4: 1600
Answer:

Related questions

9.4k
views
3 answers
26 votes
Kathleen asked Sep 25, 2014
9,351 views
In a resident – OS computer, which of the following systems must reside in the main memory under all situations?AssemblerLinkerLoaderCompiler
8.7k
views
1 answers
28 votes
Kathleen asked Sep 25, 2014
8,733 views
Faster access to non-local variables is achieved using an array of pointers to activation records called a stackheapdisplayactivation tree
12.6k
views
2 answers
24 votes
Kathleen asked Sep 25, 2014
12,630 views
Which of the following statements is true?SLR parser is more powerful than LALRLALR parser is more powerful than Canonical LR parserCanonical LR parser is more powerful t...
11.6k
views
1 answers
18 votes
Kathleen asked Sep 26, 2014
11,623 views
Let the attribute ‘$val$’ give the value of a binary number generated by $S$ in the following grammar:$S \rightarrow L.L \mid L$$L \rightarrow LB \mid B$$B \rightarro...
Total PHP MySQL Other RAM
Time (ms) % Time (ms) % File count Time (ms) % Query count Time (ms) % Amount %
Setup 4.0 2% 2.5 1% 72 1.5 0% 2 0.0 0% 569k 48%
Control 13.2 8% 1.4 0% 5 11.9 7% 12 0.0 0% 267k 22%
View 2.0 1% 2.0 1% 12 0.0 0% 0 0.0 0% 57k 4%
Theme 125.2 83% 4.3 2% 15 121.0 80% 3 0.0 0% 280k 23%
Stats 5.2 3% 0.1 0% 0 5.2 3% 1 0.0 0% 0k 0%
Total 149.6 100% 10.3 6% 104 139.6 93% 18 0.0 0% 1175k 100%