VUsolutions Transferred to AchiKhasi.com

From December 2011, this blog www.VUsolutions.blogspot.com is transferred to http://achikhasi.com/vu/ . So, you may visit http://achikhasi.com/vu/ for latest study related help.

Back to home VUsolutions

VUsolutions Fans Club [join us for MORE solutions]

VUsolutions on Facebook

Eng101 GDB No. 1 solution

Thursday, June 23, 2011 Posted In Edit This
Marks 5
Starting Date Wednesday, June 22, 2011
Closing Date Thursday, June 23, 2011

Question/Description 
Dear Students,

The discussion topic is: “Judgments prevent us from seeing the good that lies beyond appearances”. Justify the statement.

Read the following instructions carefully before posting your comments:

Your comments should not exceed 80-100 words.
GDB carries 5% weightage.
Relevant and original ideas written in correct English will be highly appreciated.
Post your comments on GDB & NOT on the Regular MDB.
Comments sent through e-mail or posted on regular MDB will NOT be graded.
Comments copied from internet or other sources will be graded poor.



::::::::::::::::::::::::::::::::::::::::::::::


beyond appearances”. Justify the statement.
It is the human nature that he judges the things by his thinking. Every person when see an uncomfortable or unfamiliar situation, he thinks about it by his own judgment and see that thing by his own perspective. Anyone judges about only people's existing appearance, but the possibility is that either he is unwise or may be don't know better. Often the results of our judgments become not true, because we don't know the reality of the condition. Our judgments restrict us to see the actual thing about the situation, and then misunderstandings create. As, humans have limited thinking so their judgments can never be final. Therefore, we can easily say that "the judgments prevent us from seeing the good that lies beyond appearances."


:::::::::::::::::::::::::::::::::::::::::::


Our personal judgement can be described as our perception, “Perception is a process through which people select, organize, interpret, retrieve and respond to information.” sometimes we view things generally and sometimes very precisely. It is humans' nature that they emphasise over the stereo type effect of perception. We follow a general opinion regarding our matters and follow the idea till end which keeps us away from the actual inner story of a person.
:::::::::::::::::::::::::::::::::::::::::::


“Judgments prevent us from seeing the good that lies beyond appearances.” Everyday we need to make judgments. We need to judge whether or not it is safe to pull out into the traffic or whether or not we should allow our children to go someplace or do something they have never done before. Those kind of judgments based on reasoning are intended to keep us safe and on the path we have chosen. It is when we judge others whom we are merely observing and have no direct impact on our own lives that we put ourselves at risk of hampering our own growth as a person because we are putting too much
emphasis on what others appear to be rather than on areas

where we need to change ourselves.

CS401 Assignment No. 4 solution

Thursday, June 23, 2011 Posted In Edit This


; elementary multitasking of two threads
[org 0x0100]


jmp start


       ; ax,bx,ip,cs,flags storage area
taskstates: dw 0, 0, 0, 0, 0 ; task0 regs
dw 0, 0, 0, 0, 0 ; task1 regs
dw 0, 0, 0, 0, 0 ; task2 regs
dw 0, 0, 0, 0, 0 ; task3 regs


current: db 0 ; index of current task


chars: db '\|/-' ; shapes to form a bar


; first task to be multitasked

taskone: mov al, [chars+bx] ; read the next shape
mov [es:0], al ; write at top left of screen
inc bx ; increment to next shape
and bx, 3 ; taking modulus by 4
jmp taskone ; infinite task


; second task to be multitasked

tasktwo: mov al, [chars+bx] ; read the next shape
mov [es:158], al ; write at top right of screen
inc bx ; increment to next shape
and bx, 3 ; taking modulus by 4
jmp tasktwo ; infinite task


; third task to be multitasked

taskthree: mov al, [chars+bx] ; read the next shape
mov [es:80], al ; write at middle of screen
inc bx ; increment to next shape
and bx, 3 ; taking modulus by 4
jmp taskthr ; infinite task




; timer interrupt service routine


timer: push ax
push bx
mov bl, [cs:current] ; read index of current task
mov ax, 10 ; space used by one task
mul bl ; multiply to get start of task
mov bx, ax ; load start of task in bx
pop ax ; read original value of bx
mov [cs:taskstates+bx+2], ax ; space for current task
pop ax ; read original value of ax
mov [cs:taskstates+bx+0], ax ; space for current task
pop ax ; read original value of ip
mov [cs:taskstates+bx+4], ax ; space for current task
pop ax ; read original value of cs
mov [cs:taskstates+bx+6], ax ; space for current task
pop ax ; read original value of flags
mov [cs:taskstates+bx+8], ax ; space for current task
inc byte [cs:current] ; update current task index
cmp byte [cs:current], 4 ; is task index out of range
jne skipreset ; no, proceed
mov byte [cs:current], 0 ; yes, reset to task 0


skipreset: mov bl, [cs:current] ; read index of current task
mov ax, 10 ; space used by one task
mul bl ; multiply to get start of task
mov bx, ax ; load start of task in bx
mov al, 0x20
out 0x20, al ; send EOI to PIC
push word [cs:taskstates+bx+8] ; flags of new task
push word [cs:taskstates+bx+6] ; cs of new task
push word [cs:taskstates+bx+4] ; ip of new task
mov ax, [cs:taskstates+bx+0] ; ax of new task
mov bx, [cs:taskstates+bx+2] ; bx of new task
iret ; return to new task


start: mov word [taskstates+10+4], taskone ; initialize ip
mov [taskstates+10+6], cs ; initialize cs
mov word [taskstates+10+8], 0x0200 ; initialize flags


mov word [taskstates+20+4], tasktwo ; initialize ip
mov [taskstates+20+6], cs ; initialize cs
mov word [taskstates+20+8], 0x0200 ; initialize flags


mov word [taskstates+30+4], taskthree ; initialize ip
mov [taskstates+30+6], cs ; initialize cs
mov word [taskstates+30+8], 0x0200 ; initialize flags


mov word [current], 0 ; set current task index
xor ax, ax
mov es, ax ; point es to IVT base
cli
mov word [es:8*4], timer
mov [es:8*4+2], cs ; hook timer interrupt
mov ax, 0xb800
mov es, ax ; point es to video base
xor bx, bx ; initialize bx for tasks
sti


jmp $ ; infinite loop

Back to home VUsolutions

Shaadi.com: Just create ur account & find ur partner or EARN money, its reall & EASY

VUsolutions Followers (Join NOW and Get Extra Benefits)

Install LATEST toolbar having lot of features - GET solutions on Desktop

toolbar powered by Conduit
Caliplus 300x250 NoFlam VitoLiv 468x60 GlucoLo