موقع طلبة جامعة البحرين

يمكنك تصفح الموقع كزائر ولكن ندعوك لتسجيل عضوية خاصة بك لتحصل على كافة الصلاحيات مثل تنزيل ملفات المكتبة وقراءة تعليقات هيئة التدريس وغيرها. يمكنك الحصول على عضوية مجانية بالضغط على زر تسجيل. إذا قمت بالتسجيل مسبقا فيمكنك الضغط على زر دخول.

تسجيل دخول
  • قسم المكتبة الجامعية مغلق مؤقتا بعد الاستهداف التي تعرضت له بعض خدمات أمازون في البحرين، جاري استرجاع الملفات ونقلها إلى سيرفرات جديدة وسيتم بعدها اعادة افتتاح المكتبة

الدراسة الجماعية لمقرر ITCS251 - ITCS252 الفصل الثاني 2014 - 2015

سكشن 3 شعطوكم اليوم ؟؟؟؟
 
محد يدش الموضوع !!!!!!!!!!

تكلموا سألوا جاوبوا ..........؟؟؟
ولا نصك الموضوع أحسن ؟؟؟؟؟؟؟؟
 
أي صدق نبي تفاعل شوي ..

لي فيها درس Logical Equivalences يشرح لنا رحم الله والديه
 
1- " commutative "
كود:
p v q = q v p
p ^ q = q ^ p

2- " Associative "
كود:
p v (q v r) = (p v q) v r
p ^ (q ^ r) = (p ^ q) ^ r

3- " identity "
كود:
p ^ T = p
p v q = p

4- " domination "
كود:
p v T = T
p ^ F = F

5- " negation "
كود:
p v ┐p = T
p ^ ┐p = F

6- " distributive "
كود:
p v (q ^ r) = (p v q) ^ (p v r)
p ^ (q v r) = (p ^ q) v (p ^ r)

7- " double negation "
كود:
┐(┐p) = p

8- " Demorgan "
كود:
┐(p v q) = ┐p ^ ┐q
┐(p ^ q) = ┐p v ┐q

9- " idempotent "
كود:
p v p = p
p ^ p = p

10- " absorption "
كود:
p v (q ^ q) = p
p ^ (q v r) = p

11- " implies "
كود:
 p → q = ┐p v q

12- " if only if "
كود:
p ↔ q = (p → q) ^ (q → p)

13- " x or "
كود:
p + q = (p ^ ┐q) v (┐p ^ q)

14- " x or┐ "
كود:
┐(p + q) = p ↔ q
 
ما فهمت لهاذا السؤال !!
اذا احد يعرف ليه


Use truth tables to prove that the following statement is a teutology ?
كود:
[LEFT][( p--> ┐q)^(r--> q)^r]--> ┐p
[/LEFT]
 
ما فهمت لهاذا السؤال !!
اذا احد يعرف ليه


Use truth tables to prove that the following statement is a teutology ?
كود:
[LEFT][( p--> ┐q)^(r--> q)^r]--> ┐p
[/LEFT]

يعني تسوي "
truth table​
" للمعادلة والمفروض يطلع في الأخير كلهم " T "​
 
ما شاء الله أخير صار في حركة الموضوع

تره باجر عندنا كويز الله يعينا وياكم
 
ممكن حل السؤال لcs 215
template<class elemType>
class arrayListType
{
public:
bool isEmpty();
bool isFull();
int listSize();
int maxListSize();
void print() const;
bool isItemAtEqual(int location, const elemType& item);
void insertAt(int location, const elemType& insertItem);
void insertEnd(const elemType& insertItem);
void removeAt(int location);
void retrieveAt(int location, elemType& retItem);
void replaceAt(int location, const elemType& repItem);
void clearList();
int seqSearch(const elemType& item);
void insert(const elemType& insertItem);
void remove(const elemType& removeItem);
elemType min();
elemType max();
arrayListType(
int size);
~arrayListType();
// destructor
arrayListType(const arrayListType<elemType>& otherList);
const arrayListType<elemType>& operator=
(
const arrayListType<elemType>&);
protected:
int maxSize;
int length;
elemType* list;
};
void main()
{
}


Refer to the header file “arrayList.h” to call the appropriate function to:a. Insert the following elements in the list: 4, 8, 16, and 32 (use a loop).b. Display the size of the list.c. Print the elements of the list.
 
ممكن حل السؤال لcs 215
template<class elemType>
class arrayListType
{
public:
bool isEmpty();
bool isFull();
int listSize();
int maxListSize();
void print() const;
bool isItemAtEqual(int location, const elemType& item);
void insertAt(int location, const elemType& insertItem);
void insertEnd(const elemType& insertItem);
void removeAt(int location);
void retrieveAt(int location, elemType& retItem);
void replaceAt(int location, const elemType& repItem);
void clearList();
int seqSearch(const elemType& item);
void insert(const elemType& insertItem);
void remove(const elemType& removeItem);
elemType min();
elemType max();
arrayListType(
int size);
~arrayListType();
// destructor
arrayListType(const arrayListType<elemType>& otherList);
const arrayListType<elemType>& operator=
(
const arrayListType<elemType>&);
protected:
int maxSize;
int length;
elemType* list;
};
void main()
{
}


Refer to the header file “arrayList.h” to call the appropriate function to:a. Insert the following elements in the list: 4, 8, 16, and 32 (use a loop).b. Display the size of the list.c. Print the elements of the list.

<< مكان غلط :RpS_huh:
 
تنشيط
للموضوع
 
أحب أخبركم بأن الأختبار يبيله شوي تركيز
ركزو على الكونتي فايرز
تروث تيبل واللوجك إكويلفنس
والرول أوف رينفرس
وإن شاء الله درجة كاملة
 
من يعرف يحل هذا السؤال

jb13704325551.jpg
 
ما في واحد يعرف ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟
 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

شنو الجواب

jb13704325551.jpg


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
بسم الله الرحمن الرحيم

اللهم صلِّ و سلم على محمد و آل محمد


السلام عليكم و رحمـة الله.. :smile:


طبعا هذا موضوع للدراسة والمناقشة والتعاون الطلابي في دراسة مقررITCS252+ITCS251
..




إي سؤال ,إي أستفسار حياكم هنا..
:99:

أهلا بكم جميعا ً,,
:shiny:
 
ممكن احد يصورلي الاوت لاين الخطة الدراسية .. الصفحتين ورا وقدام .. وشكرا مقدماً :99::blushing:
 
شخباركم مع المقرر ؟
 
مرحبااا , شنو bi-conditional ؟
 
مرحبااا , شنو bi-conditional ؟
bi-conditional = IF AND ONLY IF or any equivalence statement to if and only if like (it is neccessary and sufficient condition for YYYY to ZZZZ
بإمكانج تعكسينها وتحصلين نفس النتيجة سواء كانت True or False
على سبيل المثال عندنا هذي العلاقة الرياضية
p: 7+7=14
q: 7*2=14

zz: 7+7=14 if and only if 2*7=14
zz: 2*7=14 if and only if 7+7=14
(zz حطيتها لأن الأرقام تكون مخربطة إذا اكتب ارقام ببداية الجملة, ignore it)

[TABLE="class: grid, width: 500, align: center"]
[TR]
[TD]p<->q[/TD]
[TD]q[/TD]
[TD]p[/TD]
[/TR]
[TR]
[TD]T[/TD]
[TD]T[/TD]
[TD]T[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]F[/TD]
[TD]T[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]T[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]T[/TD]
[TD]F[/TD]
[TD]F[/TD]
[/TR]
[/TABLE]

الحين استناداً للحالات الموجودة في الـTruth Table
P: T & q: T
zz: 7+7=14 if and only if 7*2=14
الشرط صحيح، لأن 7+7=14 و 2+7=14

p: T & q: f
zz: 7+7=14 if and only if 7*2 DOES NOT EQUAL TO 14
الشرط غير صحيح لأن 7+7=14
و 7*2= 14

ونفس الشي بالحالة الثالثة.
الحالة الأخيرة بما أن اثنينهم False راح تكون النتيجة True

للتوضيح أكثر.. هذي الجملة
Students will pass if and only if they study.
==
Students studied if and only if they passed.

p: Students will pass
q: Students study

لو q= F & q = F
الجملة راح تكون
Students will not pass if and only if they do not study.
والشرط صحيح بناءً على أساس او منطق الجملة، بما أن الطلاب ما درسوا ما راح ينجحون.​
 
عودة
أعلى أسفل