wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

SADAIA AI quiz

Total questions: 60

Worksheet time: 30mins

Name
Class
Date
1.

الذكاء الاصطناعي هو العلم والتكنولوجيا الذي يمكّن...............................من أداء المهام التي تتطلب عادة ذكاء بشري..

Artificial intelligence is the science and technology that enables computer systems to perform tasks that typically require human intelligence.

a)

السيارات Cars

b)

أنظمة الكمبيوتر Computer systems

c)

الشبكات Networks

d)

الانترنت Internet

2.

.......... الحدث الأبرز في الموجة الثالثة للذكاء الاصطناعي هو

The major event in the third wave of artificial intelligence is ........

a)

ورشة العمل الصيفية في مؤتمر دارتموث Summer workshop at Dartmouth conference

b)

أول برنامج حوار لغة طبيعية First natural language dialogue program

c)

النظام الخبير Expert system

d)

التعلم العميق Deep learning

3.

في لغة بايثون الطريقة الصحيحة لتعيين القيمة 10 للمتغير A1 هي ..

In the Python language, the correct way to assign the value 10 to the variable A1 is

a)

def A1=10

b)

if A1=10

c)

A1=10

d)

def 10=A1

4.

لرسم شكل ثماني بالسيارة الذكية الزاوية المقدرة للانعطاف تساوي..

To draw an octagon with a smart car, the estimated angle for the turn is:

a)

45

b)

60

c)

90

d)

120

5.

إذا تم استدعاء الدالة go(50,-50,2) بالقيم التالية، فما هو الاتجاه الذي تذهب إليه السيارة؟

If the function go(50, -50, 2) is called with the following values, what direction will the car go to

a)

الأمام Forward

b)

الخلف Back

c)

الدوران حول المحور لليمين Rotation around the axis to the right

d)

الدوران حول المحور لليسار Rotation around the axis to the left

6.
a)

2

b)

3

c)

5

d)

6

7.

أمر تعريف الدالة..

The command for defining a function is

a)

def

b)

if

c)

while

d)

For

8.

يمكن للسيارة الذكية اكتشاف اللون بواسطة مستشعر..

The smart car can detect color using a sensor:

a)

ultrasonic بالموجات فوق الصوتية

b)

tourch كشاف ضوئي

c)

color لون

d)

tempretuer درجة حرارة

9.
a)

Hi

b)

Hello

c)

None

d)

Error

10.
a)

10

b)

3

c)

7

d)

2

11.
a)

10,10,7

b)

10,7

c)

7

d)

3

12.

في عملية سير تعلم الآلة تحتاج إلى جمع البيانات, وتدريب النموذج ,و................النموذج, ثم تطبيق النموذج..

In a machine learning workflow, you need to collect data, train a model,……the model, and then apply the model.

a)

معالجة treat

b)

تحليل analysis

c)

عرض show

d)

اختبار test

13.

اذا كانت مخرجات النموذج عبارة عن قيم رقمية فهذه تسمى..

If the output of the model is continuous numerical values, then it is called:

a)

انحدار   regression               

b)

تصنيف classification

c)

التعلم غير خاضع للإشراف unsupervised learning

d)

التعلم المعزز reinforcement learning

14.

اذا كانت مخرجات الموديل عبارة عن وصف فهذه تسمى..

If the outputs of the model are in the form of descriptions, this is called:

a)

انحدار Regression

b)

تصنيف Classification

c)

التعلم غير خاضع للإشراف   Unsupervised learning

d)

التعلم المعزز Reinforcement learning

15.

في التعلم الغير خاضع للإشراف يتم توزيع البيانات المخرجة على شكل..

In unsupervised learning, the output data is distributed in the form of

a)

مجموعات groups

b)

بيانات رقمية Digital data

c)

  مميزات features

d)

  تسميات Labels

16.

في التعلم الخاضع للاشراف يتم إدخال البيانات مع معلومات

In supervised learning, data is inputted along with the information:

a)

الميزة Feature

b)

التسمية Label

c)

العينات Samples

d)

ملصق   Tag

17.

الانحدار الخطي البسيط هو انحدار خطي مع .........................ميزة.

Simple linear regression is linear regression with a........feature.

a)

واحدة   Single

b)

اثنتين    Two

c)

واحدة أو اثنتين  One or two

d)

اثنتتن أو أكثر Two or more

18.

في معادلة الخط المستقيم y=2x+3.

In the equation of the straight line y=2x+3.

a)

b=2

b)

  b=3

c)

  b=y

d)

  b=x

19.

في معادلة الخط المستقيم y=4x+5 عدد المعاملات يساوي..

In the equation of the straight line y=4x+5, the number of coefficients is?

a)

4

b)

3

c)

2

d)

1

20.

في معادلة الخط المستقيم ثلاثي الأبعاد y=4x+2x+5 عدد المعاملات يساوي..

In the equation of the three-dimensional straight line y=4x+2x+5, the number of coefficients is

a)

4

b)

3

c)

2

d)

1

21.

في معادلة الخط المستقيم ثلاثي الأبعاد y=4x+2x+5 عدد المميزات يساوي..

In the equation of the three-dimensional straight line y=4x+2x+5, the number of features is:

a)

4

b)

5

c)

2

d)

3

22.

في معادلة الخط المستقيم ثلاثي الأبعاد y=4x+6x+5 قيمة المعامل K2 تساوي..

In the equation of the three-dimensional straight line y=4x+6x+5, the value of coefficient K2 is:

a)

4

b)

3

c)

6

d)

1

23.

في التعلم الآلي إذا كانت مجموعة بيانات التدريب صغيرة جدا فإن وظيفة التنبؤ ستكون..

In machine learning, if the training dataset is very small, the predictive function will be:

a)

  مستقرة Stable

b)

  غير مستقرة   Unstable

c)

مشبعة وسيتم إهدار موارد الحاسب Saturated and computational resources will be wasted

d)

منظمة Organized

24.

يتم ضبط خط الانحدار للتنبؤ بإستخدام..

The regression line is adjusted to make predictions using:

a)

  طريقة المربعات الصغرى لبيانات التدريب Least squares method for training data

b)

طريقة المربعات الصغرى لبيانات الاختبار Least squares method for test data

c)

mse لبيانات التدريب MSE (mean squared error) for training data

d)

mse لبيانات الاختبار   MSE (mean squared error) for test data

25.

يتم قياس دقة التنبؤ بإستخدام..

The accuracy of prediction is measured using:

a)

·        طريقة المربعات الصغرى لبيانات التدريب ·        Least squares method for training data

b)

·        طريقة المربعات الصغرى لبيانات الاختبار ·        Least squares method for test data

c)

·        mse لبيانات التدريب ·        MSE (mean squared error) for training data

d)

·        mse لبيانات الاختبار ·        MSE (mean squared error) for test data

26.

في أي نوع من أنواع تعلم الآلة يتم تدريب النموذج عن طريق المكافأة والعقاب..

In which type of machine learning is the model trained through reward and punishment:

a)

·        الانحدار ·        Regression

b)

·        التصنيف ·        Classification

c)

·        التعلم الغير خاضع للاشراف ·        Unsupervised learning

d)

·        التعلم المعزز ·        Reinforcement learning

27.

في التعلم الآلي إذا كانت مجموعة بيانات التدريب كبيرة جدا فإن وظيفة التنبؤ ستكون..

In machine learning, if the training dataset is very large, the predictive function will be:

a)

مستقرة Stable

b)

غير مستقرة Unstable

c)

مشبعة وسيتم إهدار موارد الحاسب Saturated and computational resources will be wasted

d)

منظمة Organized

28.

لتعطيل الكود المكون من مجموعة اسطر نستخدم العلامة..

To disable a code block composed of multiple lines, we use the symbol:

a)

code//

b)

'''code'''

c)

code#

d)

code/

29.

عند تعريف الدالة  :()def go_turn يتم استدعاء الدالة باستخدام الأمر..

When defining the function def go_turn(), the function is called using the command.

a)

:()go_turn

b)

;()go_turn

c)

()go_turn

d)

go_turn

30.

mylist = ['a','c','f','h','g','r','k',]
print(mylist[2:5]).

a)

  ['h', 'g']

b)

['f', 'h']

c)

['f', 'h', 'g']

d)

['h']

31.

mylist = ['a','c','f','h','g','r','k',]
print(mylist[-3:]).

a)

['f', 'h']

b)

['f', 'h', 'g']

c)

['a','c','f','h']

d)

['g','r','k']

32.

print(car_set.head()).

a)

يتم طباعة البيانات كاملة The data is printed in its entirety

b)

يتم طباعة أول خمسة صفوف فقط Only the first five rows are printed

c)

يتم طباعة اسماء الاعمدة فقط Only the column names are printed

d)

يتم طباعة حجم مصفوفة البيانات (عدد الصفوف وعدد الأعمدة) The size of the data matrix is printed (number of rows and number of columns)

33.

print(car_set.shape)

a)

يتم طباعة البيانات كاملة The data is printed in its entirety

b)

يتم طباعة أول خمسة صفوف فقط Only the first five rows are printed

c)

يتم طباعة اسماء الاعمدة فقط Only the column names are printed

d)

يتم طباعة حجم مصفوفة البيانات (عدد الصفوف وعدد الأعمدة) The size of the data matrix is printed (number of rows and number of columns)

34.

fig . show()

a)

تمثيل البيانات Data visualization

b)

عرض قاعدة البيانات Displaying the database

c)

عرض الرسم البياني Displaying the chart/graph

d)

عرض حجم البيانات Displaying the size/dimension of the data

35.

go.Scatter(x=car['power'], y=car['price'], mode='markers')

a)

عرض قاعدة البيانات Displaying the database

b)

عرض توزيع البيانات داخل المخطط البياني Displaying the distribution of data within the chart/graph

c)

عرض الصفوف والأعمدة Displaying the rows and columns

d)

عرض حجم البيانات   Displaying the size/dimension of the date

36.

car_train, car_test = train_test_split(car, test_size=0.2, random_state=0)

a)

توزيع البيانات بشكل ثابت 80% للتدريب و 20% للاختبار

Distributing the data in a fixed manner with 80% for training and 20% for testing

b)

توزيع البيانات بشكل ثابت 20% للتدريب و 80% للاختبار

Distributing the data in a fixed manner with 20% for training and 80% for testing

c)

توزيع البيانات بشكل عشوائي 80% للتدريب و 20% للاختبار

Distributing the data randomly with 80% for training and 20% for testing

d)

توزيع البيانات بشكل عشوائي 20% للتدريب و 80% للاختبار

Distributing the data randomly with 20% for training and 80% for testing

37.

car_train, car_test = train_test_split(car, test_size=0.2, random_state=1)

a)

توزيع البيانات بشكل ثابت 80% للتدريب و 20% للاختبار

Distributing the data in a fixed manner with 80% for training and 20% for testing

b)

توزيع البيانات بشكل ثابت 20% للتدريب و 80% للاختبار

Distributing the data in a fixed manner with 20% for training and 80% for testing

c)

توزيع البيانات بشكل عشوائي 80% للتدريب و 20% للاختبار

Distributing the data randomly with 80% for training and 20% for testing

d)

توزيع البيانات بشكل عشوائي 20% للتدريب و 80% للاختبار

Distributing the data randomly with 20% for training and 80% for testing

38.

model.coef_[0]

a)

x

b)

y

c)

k

d)

b

39.

_model.intercept

a)

x

b)

y

c)

k

d)

b

40.

go.Scatter(x=[x1,x2], y=[y1,y2], name='prediction', mode='lines')

a)

عرض بيانات التدريب في الرسم البياني

Displaying training data on the chart/graph

b)

عرض بيانات الاختبار في الرسم البياني

Displaying testing data on the chart/graph

c)

عرض خط الانحدار في الرسم البياني

Displaying the regression line on the chart/graph

d)

عرض احداثيات الرسم البياني

Displaying the coordinates of the chart/graph

41.

print('the mse of testset =', mse)

a)

طباعة قيمة متوسط مربع الأخطاء لبيانات التدريب

Printing the mean squared error value for the training data

b)

طباعة قيمة متوسط مربع الأخطاء لبيانات الاختبار

Printing the mean squared error value for the testing data

c)

طباعة قيمة مربع الأخطاء لبيانات التدريب

Printing the squared error value for the training data

d)

  طباعة قيمة مربع الأخطاء لبيانات الاختبار

Printing the squared error value for the testing data

42.

model = LinearRegression()

a)

تطبيق نموذج الانحدار الخطي على البيانات

Applying linear regression model to the data

b)

تطبيق نموذج التصنيف الخطي على البيانات

Applying linear classification model to the data

c)

تحميل البيانات

Loading the data

d)

عرض البيانات

Visualizing the data

43.

في الانحدار الخطي المتعدد اذا كان عدد الميزات

x=n 

فإن عدد المعاملات

يساوي (K&b)

In multiple linear regression, if the number of features (x) is equal to n, then the number of coefficients (K & b) is equal to

a)

·        n-1

b)

·        n

c)

·        n+2

d)

·        n+1

44.

مكتبة يحتوي على أدوات بسيطة وفعالة لتحليل البيانات التنبؤية في متناول الجميع.

A library that contains simple and efficient tools for predictive data analysis accessible to everyone.

a)

·        bing

b)

·        scikit-learning

c)

·        yahoo

d)

·        Mathway

e)

·        Add new

45.

هناك نوعان من التعلم الخاضع للإشراف، هما التصنيف الإنحدار

There are two types of supervised learning: classification and regression.

a)

صح True

b)

خطأ False

46.

يؤثر معدل التعلم على دقة النموذج

the learning rate affects the accuracy of the model

a)

True صح

b)

False خطأ

47.

يؤثر معدل التعلم على دقة النموذج

the learning rate affects the accuracy of the model

a)

True صح

b)

False خطأ

48.

يوجد 3 حساسات من حساسات قياس المسافة في السيارات الذكية :

There are three ultrasound sensors in smart cars.

a)

صح True

b)

خطأ False

49.

يوجد 3 حساسات من حساسات قياس المسافة في السيارات الذكية :

There are three ultrasound sensors in smart cars.

a)

True صح

b)

False خطأ

50.

get_color()[2][0]  يدل على الحساس رقم 0 للون الأزرق

a)

صح True

b)

خطأ False

51.

get_color()[0]) هناك معامل واحد بالدالة ويدل على رقم الحساس

The function get_color()[0])  has only one parameter, This parameter indicates the  sensor

a)

True صح

b)

False خطأ

52.

اذا اردﻧﺎ اﺳﺗﺧدام اﻟﺗﻌﻠم اﻵﻟﻲ اﻟﺧﺎﺿﻊ ﻟﻺﺷراف وذﻟك ﻟﻠﺗﻧﺑؤ ﺣول أﺳﻌﺎر اﻟﻣﻧﺎزل ﺑﻧﺎءاً ﻋﻠﻰ 1-موقع المنزل  2-مساحة المنزل، فاننا نستخدم الانحدار الخطي المتعدد :

 

If we want to use supervised machine learning to predict house prices based on

 1-location of the house 2-area of the house, then we use multiple linear regression:

a)

True صح

b)

False خطأ

53.

ھو ﻋﻠم ﯾﻘوم ﻋﻠﻰ دراﺳﺔ ﺧوارزﻣﯾﺎت اﻟﻛﻣﺑﯾوﺗر اﻟﺗﻲ ﯾﻣﻛن ﺗﺣﺳﯾﻧﮭﺎ ﺗﻠﻘﺎﺋﯾﺎً ﻣن ﺧﻼل اﻟﺗﺟرﺑﺔ وﺑﺈﺳﺗﺧدام اﻟﺑﯾﺎﻧﺎت, وﯾﻌد ﺟزءا ﻣن اﻟذﻛﺎء اﻻﺻطﻧﺎﻋﻲ، العبارة التالية هي تعريف لـ:

It is a science that studies computer algorithms that can be improved automatically through experience and using data, and it is part of artificial intelligence

a)

الذكاء الاصطناعي

  • Artificial intelligence

b)
  • التعلم الآلي

  • Machine learning

c)

التعلم غير الخاضع للإشراف

  • Unsupervised learning

54.

algorithms that can be automatically improved through experience and by the use of data

a)

اﻟﺗﻌﻠم اﻻﻟﻲ

learning Machine

b)

اﻟﺗرﻣﯾز

Coding

c)

اﻟﺗﺧزﯾن

Storage

d)

اﻟﺣوﺳﺑﺔ

Computing

55.

ﻋدد اﻟﻣﻌاﻣلات ﻓﻲ اﻻﻧﺣدار اﻟﺧطﻲ اﻟﺑﺳﯾط

How many variables are there in the linear regression equation?

a)

3

b)

2

c)

1

56.

كم عدد الحساسات المسؤلة ﻋن ﺣﺳﺎب اﻟﻣﺳﺎﻓﺔ ﺑﯾن اﻟﺳﯾﺎرة اﻟذﻛﯾﺔ واﻟﻌواﺋﻖ اﻟﻣوﺟودة في الطريق  

How many sensors are used to calculate the distance between an smart car and obstacles in the road?

a)

3

b)

4

c)

2

57.

أي ﻣﻣﺎ ﯾﻠﻲ ھو اﺳم ﻣﺗﻐﯾر ﺻﺎﻟﺢ ﻓﻲ ﺑﺎﯾﺛون؟

Which of the following is a valid variable name in Python?

a)

a-bc

b)

A-BC

c)

ABC

d)

AB C

58.

ﻣﺧرج ﻛود ﺑﺎﯾﺛون اﻟﺗﺎﻟﻲ ھو:

The output of the following python code is

a)

طﺎﻟب اﻟﻣدرﺳﺔ اﻟﻣﺗوﺳطﺔ

student/ school Middle

b)

طﺎﻟب ﻣدرﺳﺔ اﺑﺗداﺋﯾﺔ

student/ school Primary

59.

بناءا على : go(20,100,2) فإن السيارة الذكية :

Based on go(20,100,2), the smart car

a)

تنعطف لليمين

Turn right

b)

تنعطف لليسار

Turn left

c)

تسير باتجاه مستقيم

Go straight

60.

ﻓﻲ ﺑﺎﯾﺛون ، أي واﺣد ﻻ ﯾﻣﻛﻧﮫ ﺗﻧﻔﯾذ 4 ﺗﻛرارات؟

InPython,whichonecannotimplement4 loops?

a)

for I in range 4

b)

for I in range 5

c)

for I in range (1-5)

d)

for I in range (0-4)