AOU حل جميع الواجبات ومشاريع التخرج لجميع الفروع والتخصصات AOU
حلول مضمونة وغير مكررة لجميع الواجبات
 
مدرسين خصوصيين – ملخصات هامة مجانية لجميع المواد
خدماتنا لجميع فروع الجامعة ولجميع الأقسام الدراسية
 
واتس اب 00963957547725
mustafaalbeda@hotmail.com
AOU حل جميع الواجبات ومشاريع التخرج لجميع الفروع والتخصصات AOU
حلول مضمونة وغير مكررة لجميع الواجبات
 
مدرسين خصوصيين – ملخصات هامة مجانية لجميع المواد
خدماتنا لجميع فروع الجامعة ولجميع الأقسام الدراسية
 
واتس اب 00963957547725
mustafaalbeda@hotmail.com
AOU حل جميع الواجبات ومشاريع التخرج لجميع الفروع والتخصصات AOU
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.

AOU حل جميع الواجبات ومشاريع التخرج لجميع الفروع والتخصصات AOU

AOU حلول مضمونة وغير مكررة لجميع الواجبات ومشاريع التخرج AOU
 
الرئيسيةالرئيسية  أحدث الصورأحدث الصور  التسجيلالتسجيل  دخولدخول  
واتس اب-موبايل 00963957547725 -mustafaalbeda@hotmail.com

Instagram


 

 M180: Data Structure and Algorithms in Java

اذهب الى الأسفل 
كاتب الموضوعرسالة
WhatsApp-00963951432013
Admin
WhatsApp-00963951432013


عدد المساهمات : 2429
نقاط : 290274
السٌّمعَة : 4
تاريخ التسجيل : 20/09/2008
العمر : 54
الموقع : www.aoua.123.st

M180: Data Structure and Algorithms in Java  Empty
مُساهمةموضوع: M180: Data Structure and Algorithms in Java    M180: Data Structure and Algorithms in Java  I_icon_minitimeالخميس نوفمبر 16, 2017 2:08 am

Question 1: (6 marks)
Suppose that we have a node p as follows:
Write the necessary statements that do the following: a) Insert a node q of data = 4 after p. b) Exchange the data in p and q c) Insert a node r of data= 5 between p and q.

Question 2: (12 marks)
Use a stack to write a method reverseString that takes a string as an argument, then it should return a string, which is the reverse of the input string.

Question 3:(12 marks) Write the Java code of the method difference2D that takes two 2-dimentional array (matrix) A and B and returns one 2-dimentional array C that contains the difference between the two matrices. For example, if A and B are as follows:



A B C

Question 4: (10 marks)
For each of the following expressions, find the dominant term(s) having the sharpest increase in n and give the time complexity using Big-O notation. Expression Dominant term O(..) 2n(300+0.5n3 ) 2n5+ nlogn5 100n/(2n+1) 100 log( logn) + 5logn 900n4 +2n4 logn2

الرجوع الى أعلى الصفحة اذهب الى الأسفل
http://www.aoua.123.st
 
M180: Data Structure and Algorithms in Java
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1
 مواضيع مماثلة
-
» M150 Data, computing and information
»  1 M180: Data Structure and Algorithms in Java Tutor-Marked Assignment (Fall 2015/2016) Cut-Off Date: Total Marks: 40 Contents Warnings and Declaration………………………………………………………………………………..1 Question 1……………..……………………….………………………………………………………….2 Que
» 1 M180: Data Structure and Algorithms in Java Tutor-Marked Assignment (Spring 2015/2016) Cut-Off Date: April 30th, 2016 Total Marks: 40 Contents Warnings and Declaration………………………………………………………………………………..1 Question 1……………..……………………….………………………………………………………….2
» 1 M180: Data Structure and Algorithms in Java Tutor-Marked Assignment (Spring 2015/2016) Cut-Off Date: April 30th, 2016 Total Marks: 40 Contents Warnings and Declaration………………………………………………………………………………..1 Question 1……………..……………………….………………………………………………………….2
» m248 The ministry of higher education in a certain country is conducting a study on universities’ performance and recruiting. The following data was collected.

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
AOU حل جميع الواجبات ومشاريع التخرج لجميع الفروع والتخصصات AOU :: واجبات TMA - Fall 2018-
انتقل الى: