InstagramTwitterSnapChat


 
وصف

العودة   منتديات سكاو > الكليات الجامعية > منتدى كلية الحاسبات وتقنية المعلومات > المنتدى العام لكلية الحاسبات وتقنية المعلومات > منتدى الملخصات والمواضيع المميزة بالقسم العام لكلية الحاسبات وتقنية المعلومات
   
   


منتدى الملخصات والمواضيع المميزة بالقسم العام لكلية الحاسبات وتقنية المعلومات قسم خاص يتم نقل المواضيع المميزة و الملخصات والملفات المهمه

Cpcs 202 شروحات وحلول وواجبات الجافا

منتدى الملخصات والمواضيع المميزة بالقسم العام لكلية الحاسبات وتقنية المعلومات

إضافة رد
 
أدوات الموضوع إبحث في الموضوع انواع عرض الموضوع
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 21-12-2013, 04:02 PM   #521

نبض الابتسامة

 
تاريخ التسجيل: Aug 2010
كلية: كلية الحاسبات وتقنية المعلومات
التخصص: CS
نوع الدراسة: إنتظام
المستوى: متخرج
الجنس: أنثى
المشاركات: 881
افتراضي رد: Cpcs 202 شروحات وحلول وواجبات الجافا


تفكيرك حلو .. بس هنا مو محتاجين nested for loop
محتاجين 1 لوب ب 2 متغير

كود:
 for (i=1,j=3;i<=97;i+=2,j+=2){
            System.out.println(i+ "/"+j );

او

كود:
 for (i=1,j=3;i<=97;i++,j++){
             if (j%2!=0)  System.out.println(i+ "/"+j );


بس رتبي الاوت بوت لانو يبغاهم جنب بعض وبينهم +

 


التعديل الأخير تم بواسطة نبض الابتسامة ; 21-12-2013 الساعة 04:05 PM.
نبض الابتسامة غير متواجد حالياً   رد مع اقتباس
 

منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 21-12-2013, 06:04 PM   #522

noofi saeed

جامعي

 
تاريخ التسجيل: Nov 2012
نوع الدراسة: إنتظام
المستوى: الثالث
الجنس: أنثى
المشاركات: 11
افتراضي رد: Cpcs 202 شروحات وحلول وواجبات الجافا

السلام عليكم ..

انا ابببببدا مو فاهمه array ممكن احد يشرحها ببساطة ؟

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


Extension 1: The program should store all transactions for every country separately ( Only Sender name and the amount to transfer) Hint: you need 11 arrays to store this information (five arrays for sender's names , five arrays for amount to transfer and the last one for storing the id numbers for all senders).

Extension 2: Write a method called displayDetails() which accepts two arrays (one as String which contains the sender's names and the second one which contains the amount to transfer) and string value which represent country name.
And display the names and amount to transfer also it should display the total amount.
For example suppose the following senders send the corresponding amount
(Ali, 10000) , (Shoaib ,12000 ) , (Abdullah , 9000),…..
The method should display like the following
The details of transactions Yemen
---------------------------------------
S.No Name Amount
-----------------------------------------------------------------------------------------------------------------------------
1Ali 10000
2Shoaib 12000
3Abdullah 9000
Total Amount: 31000

الله يسعدكم دنيا واخخخخخره انقذوني حتى لو البداية وانا اكممل

 

noofi saeed غير متواجد حالياً   رد مع اقتباس
 

منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 22-12-2013, 01:10 AM   #523

نبض الابتسامة

 
تاريخ التسجيل: Aug 2010
كلية: كلية الحاسبات وتقنية المعلومات
التخصص: CS
نوع الدراسة: إنتظام
المستوى: متخرج
الجنس: أنثى
المشاركات: 881
افتراضي رد: Cpcs 202 شروحات وحلول وواجبات الجافا

هذا شرح يوتيوب

اول درس بالاراي.. وكملي الدروس اللي بعده



البروجكت فيلو شوية طول بس سهل

The program should store all transactions for every country separately ( Only Sender name and the amount to transfer
)
برنامج يخزن الصفقات لكل دولة لحالها .
Hint: you need 11 arrays to store this information (five arrays for sender's names , five arrays for amount to transfer and the last one for storing the id numbers for all senders

تنشيء 11 اراي تخزني فيها (5 اسماء المرسلين "يعني استرنغ" - 5 المبالغ " يعني انتجر او فلوت" ووحدة id نمبر لكل المرسلين من اي دولة .

هذا المكتوب ..

في حالة انو الاستاذة ماعطتكم باقي المطلوب .. المفروض انو تحطي ميثود تعبي الارايهات ..خليها تستقبل تو اراي وحدة استرنغ ووحدة فلوت وتعبيهم سوا من المستخدم .. باستخدام فور لوب

يصير كل مرة يبغى يعبي تنادي الميثود بس تغيري الارايهات

Extension 2: Write a method called displayDetails() which accepts two arrays (one as String which contains the sender's names and the second one which contains the amount to transfer) and string value which represent country name.
And display the names and amount to transfer also it should display the total amount

هنا طلب تنشيء ميثود تستقبل 3 بارميتر "اراي من نوع استرنغ .. واراي من نوع فلوت ..واسم الدولة "

تطبعي محتويات الاراي بالشكل الموجود بالاوت بوت ..باستخدام فور لوب

وبالنهاية تجمعي المبالغ .. باستخدام فور لوب

حاولي تحلي واكتبيه هنا نعدلك نقرتين لعرض الصورة في صفحة مستقلة

 


التعديل الأخير تم بواسطة نبض الابتسامة ; 22-12-2013 الساعة 01:15 AM.
نبض الابتسامة غير متواجد حالياً   رد مع اقتباس
 

منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 26-12-2013, 05:56 PM   #524

مونيتآ

جامعي

 
تاريخ التسجيل: Sep 2012
التخصص: تقنية معلومات
نوع الدراسة: إنتظام
المستوى: الثالث
الجنس: أنثى
المشاركات: 17
افتراضي رد: Cpcs 202 شروحات وحلول وواجبات الجافا

مممكككن حل هالسؤال


Q1) Create Student class that have
1- two fields Name as string data type and ID as int
2- Two methods
A- Display method don't have return data type and print the Name and ID of student
B- Sum method return integer data type and accept two parameter x and y
return this function ( x + y)
- In main class Create object call s1
- Use object s1 to assigns value to variables Name and ID
- Use object s1 to Call method Display
- Use object s1 to Call methods sum and pass value to it
Q2) use java program to do this
- Declare two dimension array that have 3 rows and 3 column .
- Print the ODD elements of this array , use if statement
- Found the maximum number of it and print .
- Declare the Sum variable and assign value of sum element of array in it , print it .



شكراً لكم

 

مونيتآ غير متواجد حالياً   رد مع اقتباس
 

منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 06-05-2014, 06:17 AM   #525

الأحمري909

جامعي

 
تاريخ التسجيل: Oct 2010
نوع الدراسة: تحضيري علمي خطة ب
الجنس: ذكر
المشاركات: 8
Skaau.com (15) رد: Cpcs 202 شروحات وحلول وواجبات الجافا

السلام عليكم ورحمة الله وبركاته


تكفون يا شباب اللي يقدر يحل هذذذذا البروجكت

اكون له من الشاكرين

الملف في المرفقات
تكفووووون لا تنسوني
الملفات المرفقة
نوع الملف: docx COIT 403-Mini Project.docx‏ (19.2 كيلوبايت, المشاهدات 52)
نصائح مهمة : 1 - إفحص الملف المرفق بأي برنامج مضاد للفيروسات
2 - قم بمراسلة الإدارة عن أي مرفق يوجد به فيروس
3 - المنتدى غير مسوؤل عن مايحتويه المرفق من بيانات

 

الأحمري909 غير متواجد حالياً   رد مع اقتباس
 

منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 10-03-2015, 10:20 PM   #526

nmo0ory

جامعي

 
تاريخ التسجيل: Feb 2015
كلية: كلية الحاسبات وتقنية المعلومات
نوع الدراسة: إنتظام
البلد: مكة المكرمة
الجنس: ذكر
المشاركات: 2
افتراضي رد: Cpcs 202 شروحات وحلول وواجبات الجافا

السلام عليكم
عندي واجب برمجة

لكن عندي كم استفسار فيه ما فهمته
ياريت الي عنده فكرة كيف يسوي البرنامج بساله بكم شغله في البرنامج

البرنامج المطلوب

========
Suppose a University (like KAU University) has contract with the airlines agent for issuing tickets for their employees local and abroad. The allowed airlines are Saudi airlines, FlyNas airlines and another one chooses by the employee. The maximum number of tickets allowed is FOUR for each employee. The cost for each extra weight is 10 SAR per K.G. for local and 30 SAR per K.G. for abroad.

Write a Java program that allows the user to enter the airline name, destination (local or abroad), ticket type (guest, business and first class), passport number, name, number of adults, number of children, number of infants and other required information (See sample run) and then displays the information like the one shown in the following sample output.
======

 

nmo0ory غير متواجد حالياً   رد مع اقتباس
 

منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 12-03-2015, 03:29 PM   #527

Miss..meme

جامعي

 
تاريخ التسجيل: Mar 2015
كلية: كلية الحاسبات وتقنية المعلومات
نوع الدراسة: إنتظام
المستوى: الثالث
البلد: جــــدة
الجنس: أنثى
المشاركات: 3
افتراضي رد: Cpcs 202 شروحات وحلول وواجبات الجافا

المشاركة الأصلية كتبت بواسطة nmo0ory مشاهدة المشاركة
السلام عليكم
عندي واجب برمجة

لكن عندي كم استفسار فيه ما فهمته
ياريت الي عنده فكرة كيف يسوي البرنامج بساله بكم شغله في البرنامج

البرنامج المطلوب

========
Suppose a University (like KAU University) has contract with the airlines agent for issuing tickets for their employees local and abroad. The allowed airlines are Saudi airlines, FlyNas airlines and another one chooses by the employee. The maximum number of tickets allowed is FOUR for each employee. The cost for each extra weight is 10 SAR per K.G. for local and 30 SAR per K.G. for abroad.

Write a Java program that allows the user to enter the airline name, destination (local or abroad), ticket type (guest, business and first class), passport number, name, number of adults, number of children, number of infants and other required information (See sample run) and then displays the information like the one shown in the following sample output.
======

نفس البروجكت كلنا، حتحله ب إسخدام if statement و حتدخل فيه Scanner و حتعرف كل المتغيرات اللي موجودة بالجدول ف نفس البروجكت و تسوي الحسابات المطلوبة منك .

 

Miss..meme غير متواجد حالياً   رد مع اقتباس
 

منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
قديم 25-10-2016, 11:42 PM   #528

rawan_1

جامعي

 
تاريخ التسجيل: Sep 2016
كلية: كلية الحاسبات وتقنية المعلومات
نوع الدراسة: إنتظام
المستوى: الأول
البلد: جــــدة
الجنس: أنثى
المشاركات: 4
افتراضي رد: Cpcs 202 شروحات وحلول وواجبات الجافا

سلام عليكم ✋🏼💗.
ياليت احد يساعدني في هذا الواجب :

Purpose: The purpose of this Assignment is to make use of string data type and related methods as well as selection statements in some real world problem like "KAU Library".

Description Suppose a University Library (ike KAU Library) has provided the KAU members (faculty members, staff, Phd Master students, Undergraduate students and others) the facilities of borrowing books. Information of borrowing and returning books are entered by user at runtime. Write a Java program that allows the user to enter the required information such as Identity number, First name, Last name, Category (faculty members, staff, Phd Master students Undergraduate students and Other, and other required information. The program then displays the output similar to the one shown below. You should study the sample runs (output) of the program to identify for yourself what is required Input validation The user has to enter Borrow (Upper case or lower) for Borrowing books, Return (Upper case or lower) for Returning books and Exit (Upper case or lower) for exiting from the program. Then, user will enter F or f (for Faculty members), S or s (for Staff G or g (for PhD/Master Students), U or u (for Undergraduate Students) and O or o (for Others). Next, the user will enter the number of books for borrowing or returning. Finally the user will enter the remaining information. If the user inputs a character that is not recognized (NOT from F, f, S, s, G, g, U or u, O or o) for name, then the program displays "Wrong Selection of category name!", and exits 2. If the user inputs a word that is not recognized (NOT Borrow, Return or Exit) for transaction type, then the program displays "Wrong Selection of transaction type! and exits If the user inputs number of books greater than number of books allowed for that category the program displays "Sorry! Number of books are exceeding the allowed quantity and exits 4. If the user enters O or o for other member, then he should also enter the following information: number of allowed books, number of allowed months) for Borrowing transaction
and same information
plus percentage of penalty for returning transaction. 5 You have to calculate the penalties if the member returns the books after due date, according to the data mentioned in the table below. 6. The program output should be similar to the one shown below. You should strictly make sure your output is 200% identical to the output shown below.

 

rawan_1 غير متواجد حالياً   رد مع اقتباس
 

إضافة رد

أدوات الموضوع إبحث في الموضوع
إبحث في الموضوع:

البحث المتقدم
انواع عرض الموضوع

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

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

الانتقال السريع

 


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


Powered by vBulletin® Version 3.8.9 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Ads Organizer 3.0.3 by Analytics - Distance Education

أن كل ما ينشر في المنتدى لا يمثل رأي الإدارة وانما يمثل رأي أصحابها

جميع الحقوق محفوظة لشبكة سكاو

2003-2023