You are on page 1of 6

1.

A cache of records retrieved from some data source that may contain
one or more tables from the data source.
‫ ذاكرة تخزين مؤقت للسجﻼت المسترجعة من بعض مصادر البيانات والتي قد تحتوي على‬-١
.‫جدول واحد أو أكثر من مصدر البيانات‬
A) Dataset
b) Connection string
c) command
d) Table adapter
2.A can be used with a DataSet to add, update, or delete records in a
database.
.‫ ﻹضافة سجﻼت أو تحديثها أو حذفها في قاعدة بيانات‬DataSet ‫يمكن استخدام مع‬
a) DataAdapter
b) Connection string
c) SQL command
d) Table adapter
3.When the property is set to True for a Windows form, it becomes a
MDl form.
.MDl ‫ تصبح نموذج‬، Windows ‫ لنموذج‬True ‫عند تعيين الخاصية إلى‬
a) isMdiContainer
b) isMdiForm
c) isMdiParent
d)isMdiChid
4.You want to edd a control to your form that allows you to set a
particular option on or oft. by Which control (s).
‫تريد تحرير عنصر تحكم في النموذج الخاص بك والذي يسمح لك بتعيين خيار معين على أو‬
.‫ من خﻼل أي عناصر تحكم‬.‫في كثير من اﻷحيان‬
a) CheckBox
b) RadioButton
c) ListView
d) Both a and b
5.When you add controls to a form what are you really adding.
.‫ عندما تضيف عناصر تحكم إلى نموذج ما الذي تضيفه حقًا‬.
a) Classes
b) Objects
c) Methods
d) Events
6.Private void btnCalculate Cick(object sendrer, EventArgs e) [--- J the
btnCalculate represents an.
a) Object
b) Event
c) Property
d) Both a, and b
7.define characteristics of an object and the data associated with an
object.
.‫ تحديد خصائص الكائن والبيانات المرتبطة به‬.
a) Properties
b) Methods
c) Events
d) All of the above
8. Which of the following method is used to close the form.
.‫أي من الطرق التالية يستخدم ﻹغﻼق النموذج‬
a) Closel ()
b) Exit ()
c) Show()
d) Hide ()
e) Both a, and b
f) Both c, and d
9.Which of the following properties gets or sets the shortcut keys
associated with the ToolStripMenultem.
.‫أي من الخصائص التالية تحصل على مفاتيح اﻻختصار المرتبطة بـ أو تعينها‬
a) The ShortCutkeys property
b) The UseMnemonic property
c) The Showshoftcutkeys operty
d) The AccessKeys property
10.When a character key is pressed, which of the following orders Key
events occur in.
a) KeyDown, KeyUp
b) KeyPress, KeyDown, KeyUp
c)KeyDown, KeyPress, KeyUP
d) KeyDown, KeyUp, KeyPress
11.which of the following members can be used to find the index of
one or more selected items in a ListBox control.
‫أي من اﻷعضاء التاليين يمكن استخدامه للعثور على فهرس عنصر واحد أو أكثر من‬
.ListBox ‫العناصر المحددة في عنصر تحكم‬
a) ListBox. Selectedindices
b) ListBox.Selectedindex
c) ListBox.Select
d) ListBox.IndexOf
e) Both a, and b
12.Two properties that are common to both forms and controls are
the.
.‫ خاصيتان مشتركتان لكل من النماذج وعناصر التحكم هما‬.
a) Name and Text properties
b) Name and Tag properties
c) Text and Tag properties
d) None of the above
13.Determines whether the control will accept the focus when the user
presses the lab key to move from one control to another.
‫يحدد ما إذا كان عنصر التحكم سيقبل التركيز عندما يضغط المستخدم على مفتاح معمل‬
.‫لﻼنتقال من عنصر تحكم إلى آخر‬
a) TabStop
b) Tablndex
c) Enabled
d) ReadOnly
14.The ItemSize property is used to determine.
a) how big controls on each TabPage can be
b) the actual size of each TabPage
c) the size of the tab for each TabPage
d) there is no ItemSize property
15.Which of the following members of DateTimepicker is used to get or
set the date/time value assigned to this Control.
‫ الوقت‬/ ‫ يُستخدم للحصول على أو تعيين قيمة التاريخ‬DateTimepicker ‫أي من اﻷعضاء التاليين في‬
.‫المخصصة لعنصر التحكم هذا‬
a) Tostring ()
b) Customtomat
c) Text
d) Format

e) Value
16.In Winforms, property is used to get o set a vale at 1s Teturhed to
the parent form when the button is Clicked.
s Teturhed١ ‫ عند‬vale ‫ تعيين‬o ‫ يتم استخدام الخاصية للحصول على‬، Winforms ‫ في‬.
.‫إلى النموذج اﻷصلي عند النقر فوق الزر‬
a) Return Value
b) Button Value
c) DialogResult
d) ResultDialog
17.Which property determines whether a control is displayed to the
user.
.‫تحدد الخاصية ما إذا كان سيتم عرض عنصر تحكم للمستخدم‬
a) Hide
b) Show
c) Visible
d) Enabled
18.In the tree displayed in the image below, to retrieve the text of
node (Node2), you will use the sentence.
a) treeView1.Nodes[0]. Nodes[2]. text
b)treeView1.Nodes.Nodes[1].text
c)treeView1.Nodes[0].Nodes [1].text
d) treeView1.Nodes[2]. text
19.Setting the Selectedindex property ofa ListBox to -1 will.
.‫ سوف‬١- ‫تعيين خاصية الفهرس المحدد لمربع القائمة إلى‬
a) Cause an error
b) Cannot be done
c) De-select any selected item
d) None of the above
20.Which one is the method of connection object in ADO.Net.
.ADO.Net ‫أي واحد هو طريقة اتصال الكائن في‬
a) open ()
b) new ()
c) Connection Open ()
d) None of the above

lblText.Font = new Font(


lblText.Font.FontFamily, 14,
lblText.Font.Style ^ FontStyle.Bold);

Form2 f = new Form2();


f.MdiParent = this;
f.Show();

Form f = new Form();


f.Text = textBox1.Text;
f.MdiParent = this;
f.Show();

You might also like