Deck 2: .Net Framework and ASP.net Programming: Part B

ملء الشاشة (f)
exit full mode
سؤال
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
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
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 property can be declared inside a class, struct, Interface.
سؤال
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.
سؤال
Which of the following is NOT a .NET Exception class?

A)Exception
B)StatckMemoryException
C)DivideByZeroException
D)OutofMemoryException
سؤال
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
سؤال
Which of the following is the Object Oriented way of handling run-time errors?

A)OnError
B)HERESULT
C)Exceptions
D)Error Codes
سؤال
Exceptions can be thrown even from a constructor, whereas error codes cannot be returned from a constructor.
سؤال
All code inside finally block is guaranteed to execute irrespective of whether an exception occurs in the protected block or not.
سؤال
It is compulsory for all classes whose objects can be thrown with throw statement to be derived from System.Exception class.
سؤال
Which of the following is NOT an Exception?

A)Stack Overflow
B)Division By Zero
C)Insufficient Memory
D)Incorrect Arithmetic Expression
سؤال
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
سؤال
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.
سؤال
Which of the following CANNOT belong to a C#.NET Namespace?

A)Class
B)Struct
C)Enum
D)Data
سؤال
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.
سؤال
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
سؤال
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
سؤال
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
سؤال
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
سؤال
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
سؤال
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
سؤال
Which of the following denote New Data-bound Controls used with ASP.NET?

A)GridView
B)SqlDataSource
C)FormView
D)All of the above
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/22
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
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
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which of the following is NOT a .NET Exception class?

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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following CANNOT belong to a C#.NET Namespace?

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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.