المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : حل واجب M150a للإستعلام [email protected] اتصل 0540893645 - 00966540893645



أسواق
08-04-2013, 07:30 PM
<div>1. Read section 8.2 of the M150 course companion (You should have had a copy of it with the course material and you can also view a soft copy of it in the course CD ROM 1).
a. Briefly define the term plagiarism.
M150A TMA01
b. How can you avoid plagiarism when writing your TMAs?
2. Unit 1 showed you many examples on how computers can be used to work with data, search for it, control machines and support commercial operations.
a. As a person having a smart phone with camera. Give an example on how computer helps you to work with your photos.
b. In your solution , insert an example on a photo that you have created with the help of the computer. Mention the application you've used and the date the photo was taken.
3. When you save a file in computer, the system will ask you about its . Give a good practice in choosing the of the files you saved in your computer. Explain why?
4. Other than the file , each file saved in computer should have an extension, why?
5. Give 3 examples on file extensions. For each one, specify the type of information (format) it might contain.
1. What is the difference between analogue and digital quantities? Explain it using an example of a class room whose area is 100 m2 having 50 chairs.
Question 2
2. Show all the steps required to convert the decimal value 1000 to its binary representation.
3. Show all the steps required to convert the octal value 33211 to its decimal representation.
4. A 30 minutes 3D film requires 253.125 GB to be displayed on the computer. Each frame needs 3 MB. Find the frame rate used in the film.
Question 3 [20 marks]
1. What is the main difference between a high-level and a low-level programming ? Give an example on each type.
2. Given the following selection structure example:
Read the value of number
if((number is less than 100) and (not(number is less than 50 )))
print 'X'
else
print'O'
a.Complete the following truth table for the Boolean expression in the above example.
b.What will be the output for the following values of number?
1) 40: will output O
2) 100: will output O
3) 50: will output X
4) 150: will output O

c.Other than the values mentioned in b, give two values of number that will cause X to be printed and another two values that will cause O to be printed.
3. The following flowchart diagram shows a loop structure program.
a.How many Boolean expressions appear in the above flowchart? Mention them? Which one of them controls the loop?
b.How many times will the loop be executed?
c.What is the exact output after these instructions have been executed? You need to draw a simple tracing table that shows how you got your answer.
d.What will be the output if the condition "x >= 0" is replaced by "x