Deck 2: .Net Framework and ASP.net Programming: Part B
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/22
العب
ملء الشاشة (f)
Deck 2: .Net Framework and ASP.net Programming: Part B
1
What is used to validate complex string patterns like an e-mail address?
A)Required Field Validator
B)Range Validator
C)Regular Expression Validator
D)Custom Validator
A)Required Field Validator
B)Range Validator
C)Regular Expression Validator
D)Custom Validator
Regular Expression Validator
2
How many times can a constructor be called during lifetime of the object?
A)As many times as we call it.
B)Only once.
C)Any number of times before the object gets garbage collected.
D)Any number of times before the object is deleted.
A)As many times as we call it.
B)Only once.
C)Any number of times before the object gets garbage collected.
D)Any number of times before the object is deleted.
Only once.
3
A property can be declared inside a class, struct, Interface.
True
4
Which of the following statements is correct about properties used in C#.NET?
A)Every property must have a set accessor and a get accessor.
B)Properties cannot be overloaded.
C)Properties of a class are actually methods that work like data members.
D)A property has to be either read only or a write only.
A)Every property must have a set accessor and a get accessor.
B)Properties cannot be overloaded.
C)Properties of a class are actually methods that work like data members.
D)A property has to be either read only or a write only.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which of the following is NOT a .NET Exception class?
A)Exception
B)StatckMemoryException
C)DivideByZeroException
D)OutofMemoryException
A)Exception
B)StatckMemoryException
C)DivideByZeroException
D)OutofMemoryException
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
6
In C#.NET if we do not catch the exception thrown at runtime then which of the following will catch it?
A)Compiler
B)CLR
C)Linker
D)Loader
A)Compiler
B)CLR
C)Linker
D)Loader
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which of the following is the Object Oriented way of handling run-time errors?
A)OnError
B)HERESULT
C)Exceptions
D)Error Codes
A)OnError
B)HERESULT
C)Exceptions
D)Error Codes
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
8
Exceptions can be thrown even from a constructor, whereas error codes cannot be returned from a constructor.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
9
All code inside finally block is guaranteed to execute irrespective of whether an exception occurs in the protected block or not.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
10
It is compulsory for all classes whose objects can be thrown with throw statement to be derived from System.Exception class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following is NOT an Exception?
A)Stack Overflow
B)Division By Zero
C)Insufficient Memory
D)Incorrect Arithmetic Expression
A)Stack Overflow
B)Division By Zero
C)Insufficient Memory
D)Incorrect Arithmetic Expression
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which of the following is NOT a namespace in the .NET Framework Class Library?
A)System.Process
B)System.Security
C)System.Threading
D)System.Drawing
A)System.Process
B)System.Security
C)System.Threading
D)System.Drawing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which of the following statements is correct about a namespace in C#.NET?
A)Namespaces help us to control the visibility of the elements present in it.
B)A namespace can contain a class but not another namespace.
C)If not mentioned, then the name 'root' gets assigned to the namespace.
D)It is necessary to use the using statement to be able to use an element of a namespace.
A)Namespaces help us to control the visibility of the elements present in it.
B)A namespace can contain a class but not another namespace.
C)If not mentioned, then the name 'root' gets assigned to the namespace.
D)It is necessary to use the using statement to be able to use an element of a namespace.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following CANNOT belong to a C#.NET Namespace?
A)Class
B)Struct
C)Enum
D)Data
A)Class
B)Struct
C)Enum
D)Data
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which of the following statements is correct about a namespace used in C#.NET?
A)Nested namespaces are not allowed.
B)Importing outer namespace imports inner namespace.
C)Nested namespaces are allowed.
D)If nested, the namespaces cannot be split across files.
A)Nested namespaces are not allowed.
B)Importing outer namespace imports inner namespace.
C)Nested namespaces are allowed.
D)If nested, the namespaces cannot be split across files.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which of the following denote the web control associated with Table control function of ASP.NET?
A)DataList
B)ListBox
C)TableRow
D)All the above
A)DataList
B)ListBox
C)TableRow
D)All the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
17
ASP.NET separates the HTML output from program logic using a feature named as
A)Exception
B)Code-behind
C)Code-front
D)None of the above
A)Exception
B)Code-behind
C)Code-front
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
18
If a developer of ASP.NET defines style information in a common location. Then that location is called as
A)Master Page
B)Theme
C)Customization
D)None of the above
A)Master Page
B)Theme
C)Customization
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
19
The feature in ASP.NET 2.0 that is used to fire a normal postback to a different page in the application is called
A)Theme
B)Cross page posting
C)Code-front
D)None of the above
A)Theme
B)Cross page posting
C)Code-front
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
20
The GridView control in ASP.NET has which of the following features
A)Automatic data binding
B)Automatic paging
C)Both A and B
D)None of the above
A)Automatic data binding
B)Automatic paging
C)Both A and B
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which of the following denote page code model in ASP.NET?
A)Single File
B)Code Behind
C)Both A and B
D)None of the above
A)Single File
B)Code Behind
C)Both A and B
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
22
Which of the following denote New Data-bound Controls used with ASP.NET?
A)GridView
B)SqlDataSource
C)FormView
D)All of the above
A)GridView
B)SqlDataSource
C)FormView
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck