01-23-2012, 09:30 PM
Cs 401 Assignment # 5 idea solution
these both answer are seems to be incorrect. the correct answer is.
Question No. 1:
In Example 12.4 Line# 6, an instruction is given to define a greeting message as below:
message: db 10, 13, 'hello $' ; greetings message
i. What is the purpose of including the values 10 and 13 as these values are not printed on output screen?
Ans.
10 and 13 are carriage and line feed services. They are used to go to new line and start of a line.
ii. What is the purpose of writing $ at the end of the string message?
Ans.
$ is terminated string sign used to terminate the string.
Question No. 2
Submit your answer to this question by filling the following table as per modification you have made in Example 11.1 to achieve desired output.
Solution:-
Line 11 me ‘\|/’ ki jaga ‘01234567’
Line 17 aur 24 me 3 ki jaga 7 ana hay. bas itna simple hay aur ye program window walay Dos me nahi chalta. ye bios walay dos me chalta hay.
these both answer are seems to be incorrect. the correct answer is.
Question No. 1:
In Example 12.4 Line# 6, an instruction is given to define a greeting message as below:
message: db 10, 13, 'hello $' ; greetings message
i. What is the purpose of including the values 10 and 13 as these values are not printed on output screen?
Ans.
10 and 13 are carriage and line feed services. They are used to go to new line and start of a line.
ii. What is the purpose of writing $ at the end of the string message?
Ans.
$ is terminated string sign used to terminate the string.
Question No. 2
Submit your answer to this question by filling the following table as per modification you have made in Example 11.1 to achieve desired output.
Solution:-
Line 11 me ‘\|/’ ki jaga ‘01234567’
Line 17 aur 24 me 3 ki jaga 7 ana hay. bas itna simple hay aur ye program window walay Dos me nahi chalta. ye bios walay dos me chalta hay.
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
