We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

# CS401 Assignment 01 Fall 2020 Solution / Discussion

CS401 Assignment 01 Fall 2020 Solution / Discussion

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Views: 1096

### Replies to This Discussion

Share the Assignment Questions & Discuss Here....

CS401_Assignment_No_01_Solution_Fall_2020

CS401_Assignment_No_01_Solution_Fall_2020

***********

Attachments:

CS401 Assignment No.1 2020 Solution

Question No. 1: Calculate the physical address for the following set of segment offset pairs.
B2C0:FA12
Solution:
B2C0H * 10H + FA12H
C2612H

A100:12BE
Solution:

A100H * 10H + 12BEH
A22BEH

Question No. 2: Suppose Data Segment (DS) = 6FA4h and offset = 238Fh.

Calculate the lower and upper ranges for Data Segment.
Solution:
For Lower
Segment address * 10H + 0000H
6FA4h *10H
6FA40H

Upper range
Segment address * 10H + FFFFH
6FA4h * 10H
6FA40H + FFFFH
7FA3F4

Solution:
6FA4h : 238Fh
6FA4H * 10H + 238FH
71DCF4h

***********

Q 1. Calculate the physical address for the following set of segment offset pairs.

1. B2C0:FA12
2. A100:12BE

Note: Write all the intermediate steps in detail.                                             Marks (10)

Q 2. Suppose Data Segment (DS) = 6FA4h and offset = 238Fh.

1. Calculate the lower and upper ranges for Data Segment.

*******

CS401 Assignment 1 Solution:

Question No. 1:  Calculate the physical address for the following set of segment offset pairs.

a) B2C0:FA12

Solution:

B2C0H * 10H + FA12H

C2612H

b) A100:12BE

Solution:

A100H * 10H + 12BEH

A22BEH

Question No. 2: Suppose Data Segment (DS) = 6FA4h and offset = 238Fh.

a) Calculate the lower and upper ranges for Data Segment.

Solution:

For Lower

Segment address * 10H + 0000H

6FA4h *10H

6FA40H

Upper range

Segment address * 10H + FFFFH

6FA4h * 10H

6FA40H + FFFFH

7FA3F4

Solution:

6FA4h : 238Fh

6FA4H * 10H + 238FH

71DCF4h

## Latest Activity

Mani Siddiqui Ex posted discussions
1 hour ago
1 hour ago
Ateeqa replied to + !! Ήලᵯᵯℹ Ⲥⱨ !! +'s discussion !!!! bilkul!!!!
3 hours ago
+ Ehtisham + liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +'s discussion !!!! !!!!!!
9 hours ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + posted discussions
10 hours ago
+!!★彡 Alan Walker彡★✓ liked Ammara Sabir's discussion !!!!!!Muhabbat!!!!!!
10 hours ago
+!!★彡 Alan Walker彡★✓ liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +'s discussion !!!!LIFE !!!!!!
10 hours ago
10 hours ago
10 hours ago
10 hours ago
Anaya liked zohaib iftikhar's discussion ...*ANDHERY MAIN ROSHNI ...*
10 hours ago
10 hours ago

1

2

3

4

5