إعـــــــلان

تقليص
لا يوجد إعلان حتى الآن.

حل واجب m150 الجامعة العربية المفتوحة 0544321455 - 00966544321455

تقليص
X
 
  • تصفية - فلترة
  • الوقت
  • عرض
إلغاء تحديد الكل
مشاركات جديدة

  • [معروض] حل واجب m150 الجامعة العربية المفتوحة 0544321455 - 00966544321455

    حل واجبات الجامعة العربية المفتوحة
    اتصل : O544321455 - OO966544321455
    واتس اب: 966544321455+
    ايميل : a_al_shora@hot mail.com
    سكايبي : a_al_shora


    حل واجب 0.5.4.4.3.2.1.4.5.5 الجامعة العربية المفتوحة




    حل واجبات الجامعة العربية المفتوحة O54.4.3.2.1.4.5.5 - OO96654.4.3.2.1.4.5.5
    ايميل : a_al_shora @ h.o.t.m.ail.c.o.m
    سكايبي: a_al_shora
    واتس اب: OO96654.4.3.2.1.4.5.5





    Arab Open University
    Faculty of Computer Studies
    M150 Data, computing and information
    M150A
    TMA01 – Fall 2013/2014
    Cut-off date: 14-Dec-13
    Total marks: 80
    Arab Open University
    Faculty of Computer Studies
    M150 Data, computing and information
    Question 1 [20 marks]
    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. [2]
    b. How can you avoid plagiarism when writing your TMAs? [2]
    2. Explain the difference between the Internet and the Web. [4]
    3. Define a search engine. Give examples on two search engines you use. [4]
    4. Representations play a central role in facilitating communication by establishing a relationship between some form and some meaningful content subject to some convention; mention the two conditions for effective representation. [4]
    5. From your understanding of the term “complex representation”, briefly explain why traffic signs are considered to be complex representations?
    Explain the advantage of complex representations using the traffic signs as an example. [4]
    Question 2 [20 marks]
    1. Any feature of the analogue world can be taken inside the boundary of the computer using two-steps process. Mentions the two steps with brief explanation giving an example that illustrates the steps. [6]
    2. Show all the steps required to convert the binary value 111000101 to its decimal representation. [4]
    3. Show all the steps required to convert the decimal value 1980 to its octal representation. [4]
    4. Consider an image of size 1000 X 720 pixels which requires 2160000 bytes to be stored inside the computer. Find the number of bits used to represent each pixel, the pixel amplitude and the coloring system used for the image. [6]
    Question 3 [20 marks]
    1. What is the function of the following: [3]
    a. Control Unit.
    b. Main Memory.
    c. Compiler.
    2. Use truth tables to show whether the following two Boolean expressions are equivalent or not. [6]
    NOT (A AND NOT B) NOT A OR B


    3. The following flowchart diagram shows a loop structure program. [11]
    a. From the diagram, specify: The condition, the loop body, and any instruction(s) that is (are) not in the loop body.
    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 "NOT (a>10)" is replaced by " NOT (a>10) AND (b>1)"?


    Question 4 [20 marks]
    1. a. Write JavaScript program to calculate area and volume of a cube. The program should work according to the following specifications: [6]
    −Read the edge length of a cube.
    −Calculate the area and volume of the cube using the following formulas:
    Area = 6 *(edge length)2
    volume = (edge length)3
    −Print the edge length, area and volume in the output window.
    b. Run your program with two different values of edge length. In your Solution document insert two screenshots showing the different resulted output.
    2. a. Using nested if-else statement, write JavaScript program that works according to the following specifications: [14]
    – Ask the user if he wants to buy a "pc" or a "laptop". Read the answer from the user and store it in a variable.
    – If the user selected a "laptop" then ask the user to select which color he wants "white" or "black". Read the answer from the user and store it in a variable.
    – Calculate the price of the user selection as follows:
    - PC: 1700$.
    - Black laptop: 2500$.
    - White laptop: 3000$.
    – Give the following discount on the price and calculate the discounted price as follows:
    - PC: 20%.
    - Black laptop: 15%.
    - White laptop: 10%.
    – Print the user selection, price and discounted price in the output window.
    – Assume that all strings used in the program and entered by a user are in small letters.
    b. Test your program and run it to make sure it works properly. In your Solution document insert three screenshots for the output:
    – One showing the case when the user selected to buy a PC.
    – One showing the case when the user selected to buy a black laptop.
    – One showing the case when the user selected to buy a white laptop.


    M150B
    TMA – Fall 2013/2014
    Cut-off date: 7-Dec-13
    Total marks: 80
    Arab Open University
    Faculty of Computer Studies
    M150 Data, computing and information
    Question 1 [20 marks]
    1. Write JavaScript program according to the following:
    a. Define a JavaScript function occurrence(anArray,num), that takes an array anArray and a number num as arguments. The function returns the number of occurrences of num in anArray.
    b. Declare an array of 10 elements.
    c. Ask the user to enter any 10 numbers and fill them in the array.
    d. Print the array elements in the output window.
    e. Using the function occurrence(), display on the screen the number of occurrences of number 0 in the array. If the number 0 doesn’t exist in the array, you should display a suitable message also.
    f. Run your program two times: one where the number 0 is an element on the array and another time where the number 0 is not in the array. Provide two screenshots of the two required outputs of your program. This should also show the arrays elements.


    Question 2 [20 marks]
    In unit9, page 21 you were introduced to the methods associated with Date object. In the same unit, section 4.2 you learned how to use functions from the "dateLibrary.js" in JavaScript programs. The specifications for all the functions in this library are in Appendix 1 at the end of unit 9.
    Write JavaScript statements to do the following:
    a. Create a Date object representing the date 2 June 1950.
    b. Create another Date object representing the date 13 November 2013.
    c. Calculate the difference in years between the two dates and print it in the output window.
    d. For the Date object you've created in a. do the following:
    - Change the state to be 30 December 2000. You should not create a new date.
    - Display the day name.
    - Display it in long form.
    e. Insert a screenshot that shows the resulted output of parts c and d.
    f. Provide a copy of the specifications of all the functions you’ve used in writing your program.
    g. What information do we usually find in function specifications?


    Question 3 [20 marks]
    You are required to model a new user-defined object type, Game.
    The Game object type has the following properties:
    name: a string representing the name of the Game.
    level: a string representing the level of the game, such as easy, moderate, difficult.
    chance: a number (from 1 to 6) representing the chance of playing the game.
    The Game object can go forward to further chances, however, the maximum value of chance is 6.
    The Game object type has the following methods:
    getName(): a method that returns the name of the game.
    getLevel(): a method that returns the level selected of the game.
    getChance(): a method that returns the chance of playing the game.
    moveForward(): a method that gives the next chance (i.e. increments chance by 1) only if the chance is less than 6. Otherwise, set it to 1.
    displayInfo(): a method that displays the name, level and the chance of the game in an alert box, using the three methods: getName() and getLevel() and getChance().
    a. Write the Game constructor function Game(aName, aLevel, aChance).
    b. Implement the methods getName(),getLevel (), getChance(), and displayInfo() according to the above specifications.
    c. Prompt the user for values of name and level of a game he wants to create.
    d. Create a game instance and initialize its properties by the values entered by the user. Chance should be set to 1.
    e. Use an appropriate methods to:
    −Increment the game by two chances.
    −Print the game information.
    f. Run your program and test it to make sure it works properly. In your Solution document insert two screenshots: [3]
    −one showing the program prompting for the game name, with you having entered the name but not yet pressed OK;
    −one showing the resulted alert window.


    Question 4 [20 marks]
    1. Briefly define the term HCI. What's the purpose of this kind of study? [4 marks]
    2. What is a user interface? Give two examples of user interfaces you use in your daily life. [6 marks]
    3. In the context of UI design, define and briefly explain (using your own understanding) the terms: visibility, affordance, tolerance and consistency. [10]
    Important note: In your answers to questions 1, 2 and 3, you should follow good programming style that helps readability. This includes:
    Using short comment at the beginning stating the purpose of your program.
    Using spacing and indentations to help make the structure of your program clear.
    Following the M150 style guidelines when choosing names for the variables (Refer to section 2.2 of unit 7 page 16)




    Page 1 / 4
    M150A
    TMA01 – Fall 2013/2014
    Cut-off date: 14-Dec-13
    M150 Data, computing and information
    Page 2 / 4
    Question 1 [20 marks]
    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. [2]
    b. How can you avoid plagiarism when writing your TMAs? [2]
    2. Explain the difference between the Internet and the Web. [4]
    3. Define a search engine. Give examples on two search engines you use. [4]
    4. Representations play a central role in facilitating communication by establishing
    a relationship between some form and some meaningful content subject to
    some convention; mention the two conditions for effective representation. [4]
    5. From your understanding of the term “complex representation”, briefly explain
    why traffic signs are considered to be complex representations?
    Explain the advantage of complex representations using the traffic signs as an
    example. [4]
    Question 2 [20 marks]
    1. Any feature of the analogue world can be taken inside the boundary of the
    computer using two-steps process. Mentions the two steps with brief
    explanation giving an example that illustrates the steps. [6]
    2. Show all the steps required to convert the binary value 111000101 to its decimal
    representation. [4]
    3. Show all the steps required to convert the decimal value 1980 to its octal
    representation. [4]
    4. Consider an image of size 1000 X 720 pixels which requires 2160000 bytes to be
    stored inside the computer. Find the number of bits used to represent each
    pixel, the pixel amplitude and the coloring system used for the image. [6]
    Question 3 [20 marks]
    1. What is the function of the following: [3]
    a. Control Unit.
    b. Main Memory.
    c. Compiler.
    2. Use truth tables to show whether the following two Boolean expressions are
    equivalent or not. [6]
    NOT (A AND NOT B) NOT A OR B
    Page 3 / 4
    3. The following flowchart diagram shows a loop structure program. [11]
    a. From the diagram, specify:
    The condition, the loop body, and any instruction(s) that is (are) not in
    the loop body.
    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 "NOT (a>10)" is replaced by "
    NOT (a>10) AND (b>1)"?
    Page 4 / 4
    Question 4 [20 marks]
    1. a. Write JavaScript program to calculate area and volume of a cube. The program
    should work according to the following specifications: [6]
    − Read the edge length of a cube.
    − Calculate the area and volume of the cube using the following formulas:
    Area = 6 *(edge length)2
    volume = (edge length)3
    − Print the edge length, area and volume in the output window.
    b. Run your program with two different values of edge length. In your Solution
    document insert two screenshots showing the different resulted output.
    2. a. Using nested if-else statement, write JavaScript program that works according
    to the following specifications: [14]
    – Ask the user if he wants to buy a "pc" or a "laptop". Read the answer
    from the user and store it in a variable.
    – If the user selected a "laptop" then ask the user to select which color he
    wants "white" or "black". Read the answer from the user and store it in a
    variable.
    – Calculate the price of the user selection as follows:
    - PC: 1700$.
    - Black laptop: 2500$.
    - White laptop: 3000$.
    – Give the following discount on the price and calculate the discounted
    price as follows:
    - PC: 20%.
    - Black laptop: 15%.
    - White laptop: 10%.
    – Print the user selection, price and discounted price in the output window.
    – Assume that all strings used in the program and entered by a user are in
    small letters.
    b. Test your program and run it to make sure it works properly. In your Solution
    document insert three screenshots for the output:
    – One showing the case when the user selected to buy a PC.
    – One showing the case when the user selected to buy a black laptop.
    – One showing the case when the user selected to buy a white laptop.
    Important note: In your answers to question4, you should follow good
    programming style that helps readability. This includes:
    • Using short comment at the beginning stating the purpose of your program.
    • Using spacing and indentations to help make the structure of your program
    clear.
    • Following the M150 style guidelines when choosing names for the variables (
    Refer to section 2.2 of unit 7 page 16)
    Page 1 / 4
    M150B
    TMA – Fall 2013/2014
    Cut-off date: 7-Dec-13
    Total marks: 80
    This TMA should be submitted to your tutor electronically through the LMS system
    before the cut-off date indicated above.
    You should write your solutions to the questions in a single word document. Head the
    document with your name and your Personal Identifier (ID).
    This TMA assesses your understanding of Units 8 (section 3), 9, 10 and 12 of M150B.
    It is marked out of 80, out of which 20% will be considered for the continuous
    assessment grade.
    It consists of 4 questions. The total marks for each question are shown at the beginning
    of each question. The marks allocated to each part of a question are indicated in the
    margin.
    Important notes:
    − Before you start working with this assignment, you need to refer to section 8.2 of
    the M150 course companion to read about plagiarism and how to avoid it. This will
    help you in getting high grade in this TMA.
    Arab Open University
    Faculty of Computer Studies
    M150 Data, computing and information
    Page 2 / 4
    Question 1 [20 marks]
    1. Write JavaScript program according to the following:
    a. Define a JavaScript function occurrence(anArray,num), that takes
    an array anArray and a number num as arguments. The function
    returns the number of occurrences of num in anArray.
    b. Declare an array of 10 elements.
    c. Ask the user to enter any 10 numbers and fill them in the array.
    d. Print the array elements in the output window.
    e. Using the function occurrence(), display on the screen the number
    of occurrences of number 0 in the array. If the number 0 doesn’t exist in
    the array, you should display a suitable message also.
    f. Run your program two times: one where the number 0 is an element on
    the array and another time where the number 0 is not in the array.
    Provide two screenshots of the two required outputs of your program.
    This should also show the arrays elements.
    Question 2 [20 marks]
    In unit9, page 21 you were introduced to the methods associated with Date object. In
    the same unit, section 4.2 you learned how to use functions from the "dateLibrary.js" in
    JavaScript programs. The specifications for all the functions in this library are in
    Appendix 1 at the end of unit 9.
    Write JavaScript statements to do the following:
    a. Create a Date object representing the date 2 June 1950.
    b. Create another Date object representing the date 13 November 2013.
    c. Calculate the difference in years between the two dates and print it in the
    output window.
    d. For the Date object you've created in a. do the following:
    - Change the state to be 30 December 2000. You should not create a new
    date.
    - Display the day name.
    - Display it in long form.
    e. Insert a screenshot that shows the resulted output of parts c and d.
    f. Provide a copy of the specifications of all the functions you’ve used in writing
    your program.
    g. What information do we usually find in function specifications?
    Page 3 / 4
    Question 3 [20 marks]
    You are required to model a new user-defined object type, Game.
    The Game object type has the following properties:
    name: a string representing the name of the Game.
    level: a string representing the level of the game, such as easy, moderate, difficult.
    chance: a number (from 1 to 6) representing the chance of playing the game.
    The Game object can go forward to further chances, however, the maximum value of
    chance is 6.
    The Game object type has the following methods:
    getName(): a method that returns the name of the game.
    getLevel(): a method that returns the level selected of the game.
    getChance(): a method that returns the chance of playing the game.
    moveForward(): a method that gives the next chance (i.e. increments chance by 1)
    only if the chance is less than 6. Otherwise, set it to 1.
    displayInfo(): a method that displays the name, level and the chance of the
    game in an alert box, using the three methods: getName() and getLevel() and
    getChance().
    a. Write the Game constructor function Game(aName, aLevel, aChance).
    b. Implement the methods getName(),getLevel (), getChance(), and
    displayInfo() according to the above specifications.
    c. Prompt the user for values of name and level of a game he wants to create.
    d. Create a game instance and initialize its properties by the values entered by the
    user. Chance should be set to 1.
    e. Use an appropriate methods to:
    − Increment the game by two chances.
    − Print the game information.
    f. Run your program and test it to make sure it works properly. In your Solution
    document insert two screenshots: [3]
    − one showing the program prompting for the game name, with you having
    entered the name but not yet pressed OK;
    − one showing the resulted alert window.
    Page 4 / 4
    Question 4 [20 marks]
    1. Briefly define the term HCI. What's the purpose of this kind of study? [4 marks]
    2. What is a user interface? Give two examples of user interfaces you use in your
    daily life. [6 marks]
    3. In the context of UI design, define and briefly explain (using your own
    understanding) the terms: visibility, affordance, tolerance and consistency. [10]
    Important note: In your answers to questions 1, 2 and 3, you should follow good
    programming style that helps readability. This includes:
    • Using short comment at the beginning stating the purpose of your program.
    • Using spacing and indentations to help make the structure of your program
    clear.
    • Following the M150 style guidelines when choosing names for the variables (
    Refer to section 2.2 of unit 7 page 16)




    حل واجبات الجامعة العربية المفتوحة
    اتصل : O544321455 - OO966544321455
    واتس اب: 966544321455+
    ايميل : a_al_shora@hot mail.com
    سكايبي : a_al_shora


    حل واجب 0.5.4.4.3.2.1.4.5.5 الجامعة العربية المفتوحة




    حل واجبات الجامعة العربية المفتوحة O54.4.3.2.1.4.5.5 - OO96654.4.3.2.1.4.5.5
    ايميل : a_al_shora @ h.o.t.m.ail.c.o.m
    سكايبي: a_al_shora
    واتس اب: OO96654.4.3.2.1.4.5.5


يعمل...
X