إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

         :: رحلة انقاص وزنك تبدأ مع الرشاقة السعيدة (آخر رد :دارين الدوسري)       :: ورشة صيانة بنتلي بالرياض (آخر رد :renaultshamel)       :: مواصفات سيارة تويوتا كامري 2023 (آخر رد :saddkn)       :: طرق عزل الاسطح بالخبر (آخر رد :رودى طه)       :: كيف تحمي منزلك من هجوم الحشرات (آخر رد :رودى طه)       :: برامج الرشاقة السعيدة (آخر رد :دارين الدوسري)       :: تبي متابعين تيك توك مجاناً؟ (آخر رد :ريم جاسم)       :: قهوجي جدة صبابين قهوه مباشرات ضيافه 0539307706 (آخر رد :ksa ads)       :: وانيت نقل عفش بالرياض 0539735360 ونيت توصيل اثاث مشاوير (آخر رد :ksa ads)       :: متجر Google Play: (آخر رد :محمد العوضي)      

إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 03-30-2013, 05:10 PM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,610
عدد الـنقاط :3341
 تقييم المستوى : 2139

M150 Data, computing and information

Question 1
1. Write JavaScript program according to the following:
a. Define a function called findMax which takes an array argument and returns the maximum number in the array.
b. Define two arrays of numbers:
  • The first array is initialized on declaration. It has 5 elements of your choice.
  • The second array has 6 elements and is initialized by values entered by the user (in a loop). Enter the values of your choice.
c. Call the function findMax to find the maximum number is the two arrays. Print the returned numbers in the output window. You need also to print the elements of both arrays.
d. Provide a screenshot of the output of your program. Make sure that the output includes the elements of both arrays and the maximum number in each one.

Question 2
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 the date 7 June 2000 and assign it to the variable date1.
b. Create the date 18 May 2020 and assign it to the variable date2.
c. Calculate the difference in days and years between date1 and date2 and print them in the output window.
d. Change the month of date1 to be September and print the new value in the output window.
e. Change the year of date2 to be 2013 and print the new value in the output window.
f. Display the day name of date1.
g. Display date1 in short form.
h. Insert a snapshot that shows the resulted output of parts d, e, f and g.
i. Provide a copy of the specifications of all the functions you’ve used in writing your program.
j. What information do we find in function specifications?

Question 3
You are required to model a new user-defined object type, Website.
The Website object type has the following properties:
name: a string variable representing the name of the website.
url: a string variable representing the address of the website.
description: a string variable holding a brief description of the website.

The Website object type has the following methods:
getName(): returns the name of the website.
getUrl(): returns the url of the website.
getDescription(): returns the description of the website.
display(): displays the name , url and description of the Website in an alert window. The method should use the methods getName(),getUrl() and getDescription().



a. Write the Website constructor function Website(aName,aUrl,aDescription).
b. Implement the methods getName(), getUrl(),
getDescription()and display() according to the above specifications.
c. Prompt the user for values of name, URL and description of a site he wants to create.
d. Create a Website instance and initialize its properties by the values entered by the user.
e. Use an appropriate method to print the Website instance information.


f. Run your program and test it to make sure it works properly. In your Solution document insert two screenshots:
  • one showing the program prompting for the website name, with you having entered the name but not yet pressed OK;
  • one showing the resulted alert window.
g. Change the description of the Website instance.
h. Suggest another way to change the description of the Website instance other than what you've done in g. Show the changes needed in the program to implement it and give an example on how you are going to use it.

Question 4
1. Discuss four features of a good website.
2. Many computer users think that the user interface through which they communicate with the computer is the system. What are the impacts of having a poor UI system in an organization?
3. The course book has given you the definition for the term usability. Illustrate it using your own words and understanding.
4. Login to the SIS using your user name and password. Write a short paragraph discussing the usability of the SIS, in your point of view. Do you think it is usable? Why? Why not? How can we improve it? Give suggestions.
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)

أدوات الموضوع
انواع عرض الموضوع

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة


المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
حل واجب TU170 : 0544321455 : [email protected] : 00966544321455 محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 03-30-2013 04:10 PM
حل واجب gr112 للطلاب 0544321455 - 00966544321455 - [email protected] محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 03-25-2013 12:40 PM
حل واجب b203b مدرس 00966544321455 - 0544321455 - [email protected] محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 03-25-2013 11:40 AM
الان & حل واجب m150b tma01 - مدرس خاص m150b حل واجبات 0544321455 محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 10-17-2011 10:40 PM
حل واجب m150b tma01 & حل واجب m150b tma واجبات الجامعة العربية المفتوحة $(054432145 محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 10-16-2011 04:30 PM


الساعة الآن 02:51 AM


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML