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


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Looking For Something at Site? Search Below

CS602 Computer Graphics Assignment No 01 Solution & Discussion Due Date:25-04-2013

Assignment No. 01
SEMESTER Spring2013
CS602- Computer Graphics

Total Marks: 20
Due Date: 25/04/2013


Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit (zero marks) if:

The assignment is submitted after due date.
The submitted assignment does not open or file corrupt.
The assignment is full or partially copied (from other student or ditto copy from handouts or internet).
Student ID is not mentioned in the assignment File or name of file is other than student ID.
The assignment is not submitted in .doc (MS Word) format.

Uploading instructions
Your Submission must include:

MS Word file.

The objective of this assignment is

To make you understand the concept and application of computer graphics concept behind the scene.
To give you some workout of latest technologies.

Important Requirements and Instructions:

You are not allowed to copy it from internet. In that case no marks shall be awarded.
Same assignment of two or more students shall be considered cheating case and they will get straight zero marks.
Assignment last date is April 25 2013.Any lame excuses will not be accepted. 
We will not accept assignment through email in any case. Be careful.

For any query about the assignment, contact at cs602@vu.edu.pk(mailto:cs602@vu.edu.pk)


Answer the following questions. Each question carry equal marks:

Question 1                                                                                                                                                        //4 marks

Suppose you want to see a 3D cartoon movie of 10 second length in RGB mode having a resolution of 1024 x786 at 60 Hz. If clip is organized in a way that after every refresh cycle a new frame is to be loaded then how much data has to be moved by the video card for 10 seconds to refresh the whole screen?

Question 2                                                                                                                                                       //6 marks

Write an assembly program to write character ‘b’ at 20th column and 25th row using direct memory access. Use the following information:

Text mode: 3

Video graphics memories address: 0b8000h

Question 3                                                                                                                                                       //5 marks      

Following is the list of smart phones. Mention the names of hardware which are used in these smart phones for Graphics.

Device Name


Samsung Galaxy S II

HTC Sensation

IPhone 4

Galaxy Nexus

Motorola Xoom

Question 4                                                                                                                                                       //5 marks      

Fill in the following table according to the graphics adapters properties.

In case when an adapter is an extension of previous one, only write its new resolutions it provides while in other blanks only write “yes”.




         NO OF BIT’s


(only one for each)





Monochrome Adapter

Color Graphics Adapter

Multicolor Graphics Adapter

Extended Graphics Adapter

Enhanced Graphics Adapter

Note: Your explanation must justify enough for given marks for each part.

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

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

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Views: 4946

Replies to This Discussion

sis then kindly guide us about question no 2nd 's solution?

Q2 ka solution Page 47 pe hai, just values change karni hai or Row ka code add karna hai.

Mov ax,0b8000h

Mov ds,ax

Mov si,10

Mov [si], ’b’

i did it but mjy yehi rows n colums ka code add krna nai arha

batdyn ya smjahynd sis

Mov ax,0b8000h

Mov ds,ax

Mov si,20   >>>>>> Column #

Mov si,25   >>>>>> Row #

Mov [si], ’b’

thanx alot sis

but sis sir ny example mn byte use kiey hn

Check this one:-

Modern video cards made for 3D gaming use expensive high-end RAM to secure a
sufficient bandwidth. If you for example want to see a game in a resolution of 1280 x
1024 at 80 Hz, you may need to move 400 MB of data each second - that is quite a lot.
The calculation goes like this:
1280 X 1024 pixels x 32 bit (color depth) x 80 = 419,430,400 bytes
419,430,400 bytes = 409,600 kilobytes = 400 megabytes.

cs602 - Assignment 1 - Spring2013 - Q3 - Hint

Samsung Galaxy S II (Samsung I9100 Galaxy S II)

HTC Sensation

IPhone 4

Galaxy Nexus (Samsung Galaxy Nexus I9250)

Motorola Xoom (Motorola XOOM MZ604)

cs602 - Assignment 1 - Spring2013 - Q4 - Handout (Pg 38 - 39)

cs602 - Assignment 1 - Spring2013 - Q1 - Answer NOT in Handouts



Ali thanks for sharing 

cs602 - Assignment 1 - Spring2013 - Q2

(Please change the comments and register names, DO NOT copy-paste and submit this code without Changing)


Write character ‘b’

At C x R = 20 x 25

row * 320 + column

Video graphics memories address: 0b8000h

Text mode 3, using DMA

Mov ax, 0b8000h

Mov ds,ax

Mov r1,320

ASL r3, 5         ;; 25*320 = r3

Mov r4,20

ADD r0,r3,r4    ;; 25*320+20 = r0

Mov si, r0       

Mov [si],’b’     ;; write b


© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service