让我知道我是否正确 [英] Let me know whether i am correct or not

查看:78
本文介绍了让我知道我是否正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是否选择了正确答案:confused:

1)关于扩展方法,以下哪项是正确的?
1)必须将它们声明为静态(正确)
2)可以将它们声明为静态成员或实例成员
3)必须在同一程序集中声明它们(但可以在不同的源文件中声明)
4)扩展方法可用于覆盖现有的实例方法(正确)
5)可以在多个命名空间中声明具有相同签名的相同类的扩展方法,而不会引起编译错误

不止一个是正确的吗?

2)下列哪一项可以用来检测用户的当前语言?

1)检查当前请求对象的用户语言属性
2)检查当前请求对象的currentCulture属性
3)检查当前线程对象的CurrentCulture属性(正确)
4)检查当前页面对象的language属性

3)关于声明性属性,以下哪项是正确的?

1)它们必须从系统继承.Attribute
2)属性与应用它们的类的实例同时实例化
3)可以将属性类限制为仅应用于应用程序元素类型
4)默认情况下,给定属性可以多次应用于同一应用程序元素

不止一个是正确的吗?

4)将特定时间点映射为完成的几周,几个月和一年等单位的任务是什么?

1)System.datetime(正确)
2)System.timeSpan
3)System.Globalization.Calender
4)System.Globalization.CultureInfo

5)使用Machine.Config文件的processModel元素时,可以调整以下哪个元素?

1)在返回服务器繁忙(错误:503)"之前排队的请求数
2)每个处理器的最大线程数
3)每个请求的最大线程数
4)每个请求使用的最大内存量(正确)

6)确定操作是否有足够的内存可用

1)没有受支持的应用程序级别手段来确定是否有特定数量的内存可用
2)使用system.runtime.memoryfailpoint的静态方法并检查返回值
3)创建system.runtime.memoryfailpoint的实例,并监视insuffcientMemoryException
(正确)
4)创建system.runtime.memoryfailpoint的实例并监视outofmemoryException

正确的答案是什么?

7)关于匿名类型,以下哪项是正确的?

1)它们可以源自任何引用类型(正确)
2)具有相同命名参数的两个匿名类型,它们以相同的顺序以不同的方式声明
分类具有相同的类型
3)匿名类型可以具有方法
4)匿名类型的所有属性都是读/写
5)匿名类型不能跨越方法边界


8)以下哪种机制a不适合从包含大量记录的数据表中返回单行?

1)Datatable.rows.find(正确)
2)Datatable.rows.select
3)Datatable.select
4)跨datatable.rows枚举

9)以下哪些是在类Sample上为public Event someEvent()添加事件处理程序的有效机制?

1)MyEventHandler的AddHandler Sample.SomeEvent地址(正确)
公共子MyEventHandler
2)AddHandler Sample.SomeEvent,AddressOf Sample.SomeEvent
3)Private WithEvents示例作为新示例
Public Sub MyEventHandler(sender as Object,e As EventArgs)处理示例.SomeEvent
4)私有withEvents示例作为新示例
Public Sub MyEventHandler()处理示例.SomeEvent(正确)

不止一个是正确的吗?

10)以下哪项对ADO.NET正确?

1)它使用连接的提供程序模型(正确)
2)它使用断开连接的提供程序模型(正确)
3)它包含一个dataAdapter类,该类提供了一种用于检索数据的高性能机制
4)system.data.common提供了与数据库无关的类

不止一个是正确的.

11)以下哪个对system.text.StringBuilder类是正确的?

1)当执行许多串联操作时,效率不如字符串串联操作
2)有一种方法可以格式化要附加到stringBuilder上的字符串,非常类似于字符串格式(正确)
3)使用无参数构造函数初始化时,StringBuilder效率最高.
4)以上全部
5)以上都不是.

12)结构在以下哪些方面与类有所不同?

1)结构无法实现接口
2)结构不能从基本结构继承(正确)
3)结构不能有事件
4)结构不能具有可重写的方法

13)关于system.datetimeoffset结构,下列哪一项是正确的?

1)它提供了相对于UTC时区(正确)的准确时间点
2)它结合了日期时间结构和timeZone结构
3)使用与UTC具有不同enetnet偏移的值提供算术运算
4)可用于确定本地时间的特定timeZone

多个是正确的

14)关于Nullable类型,以下哪项是正确的?

1)可空类型是引用类型
2)Nullable类型是一个结构(正确)
3)从任何非可空值类型到该类型的可空值(正确)都存在隐式会话.
4)存在从任何可为空的值类型到该类型的不可为空值的隐式转换
5)如果存在预定义的转换,则存在从可为空的类型S到可为空的类型T的预定义转换
非空类型S到非空类型T(正确)

15)关于VB泛型,以下哪项是正确的?

1)VB允许使用非类型的模板参数
2)VB支持显式专业化
3)VB允许将类型参数用作通用类型的基类
4)VB允许通用类型参数本身成为通用
5)VB强制所有代码对所有类型的参数均有效(正确)

最佳选择是什么?

16)表达式树最适合以下哪些语句?

1)表达式树是一种可以使用语言语法(正确)初步构成的数据结构.
2)表达式树是动态生成的代码,可以执行所需的功能
3)只能从Lambda表达式创建表达式树
4)表达式树可以再次修改
5)以上全部

17)在使用隐式类型的数组时,以下哪个最合适?

1)初始化程序列表中的所有元素必须具有相同的类型
2)初始化程序列表中的所有元素必须隐式可转换为已知类型,该类型是initialize
中至少一个成员的基本类型 3)初始化列表中的所有元素都必须隐式转换为通用类型,该类型是列表中实际项的基本类型
4)对初始值设定项列表中的项目没有任何限制,因为未将数组声明为特定类型
(正确)

我也已经用我的知识欠佳提到了我的答案,所以请仅通过与索引相对应的字母(A,B ...或E)回答这些问题.

谢谢
最好的问候
Salman

have i selected correct answers:confused:

1) Which of the following are true about Extension methods?
1) They must be declared static (Correct)
2) They can be declared either static or instance members
3) they must be declares in the same assembly(but may be in different sources files)
4) Extension methods can be used to override existing instance methods (Correct)
5) Extension methods with the same signature for the same class may be declared in multiple namespace without causing compilation errors

More than one can be correct?

2) which of the following can one use to detect the user''s current language?

1) Examining the user languages property of the current request object
2) Examining the currentCulture property of the current request object
3) Examining the CurrentCulture property of the current thread Object (Correct)
4) Examining the language property of the current page object

3) which of the following are true about Declarative Attributes?

1) They must be inherited from the system.Attribute
2) Attributes are instantiated at the same time as instances of the class to which they are applied
3) Attributes classes may be restricted to be applied only to application element types
4) By default, a given attribute may be applied multiple times to the same application element

More than one can be correct?

4) with Which class is the task of mapping a specfic point in time into units such as weeks, months and year accomplished?

1) System.datetime (Correct)
2) System.timeSpan
3) System.Globalization.Calender
4) System.Globalization.CultureInfo

5) Which of the follwoing elements can be adjusted when using the processModel element of the Machine.Config File ?

1) The number of queued requests befoer returning "Server Busy (error: 503)"
2) The maximum number of threads per processor
3) The maximum number of threads per request
4) The Maximum amount of memory utilized per request (Correct)

6) Determining the availablity of sufficient memory for an operation can be accompished by

1) There is no supported application level means to determine if a specfic amount of memory is available
2) using static methods of system.runtime.memoryfailpoint and checking the return value
3) creating an instance of system.runtime.memoryfailpoint and monitoring for an insuffcientMemoryException
(Correct)
4) Creating an instance of system.runtime.memoryfailpoint and monitoring for an outofmemoryException

What would be the correct answer?

7) which of the following are true about anonymous types?

1) They can be dervied from any reference type (Correct)
2) Two anonymous types with the same named parameters in the same order declared in different
classed have the same type
3) Anonymous types can have methods
4) All properties of an anonymous types are read/write
5) Anonymous types cannot cross method boundaries


8) which of the following mechanisma are not suitable for returning a single row froma datatable containing a large number of records?

1) Datatable.rows.find (Correct)
2) Datatable.rows.select
3) Datatable.select
4) Enumerating across datatable.rows

9) Which of the following are valid mechanisms for adding an event handler for public Event someEvent() on class Sample?

1) AddHandler Sample.SomeEvent Addressof MyEventHandler (Correct)
Public Sub MyEventHandler
2) AddHandler Sample.SomeEvent,AddressOf Sample.SomeEvent
3) Private WithEvents Sample As New Sample
Public Sub MyEventHandler(sender As Object,e As EventArgs) Handles sample.SomeEvent
4) Private withEvents sample As New Sample
Public Sub MyEventHandler() Handles sample.SomeEvent (Correct)

More than one can be Correct?

10) Which of the following are true of ADO.NET?

1) it uses a connected provider model (Correct)
2) it uses a Disconnected provider Model (Correct)
3) it includes a dataAdapter class, which provides a high-performance mechanism for retrieving data
4) system.data.common provides classes that are database agnostic

More than One can be Correct..

11) which of the following are true of the system.text.StringBuilder class?

1) it is less efficient than string concatenation when many concatenation are performed
2) There is a method which formats the string being appended to the stringBuilder, much like the string format (Correct)
3) The StringBuilder is most efficient when initialized using the parameterless constructor
4) All of the above
5) None of the Above.

12) in which of the Following Ways do structures differ from classes?

1) Structures cannot implement interfaces
2) Structures cannot inherit from a base structure (Correct)
3) Structures Cannot have events
4) Structures cannot have overrideable methods

13) which of the following is true regarding the system.datetimeoffset structure?

1) it provides an exact point in time relative to the UTC time zone (Correct)
2) it combines a date time structure with a timeZone structure
3) it provides arithemetical operations using values with differenet offsets from the UTC
4) it can be used to determine the specific timeZone for a localtime

More than one Can be Correct

14)Which of the following are true about Nullable Types?

1) A Nullable type is a reference type
2) A Nullable type is a structure (Correct)
3) An implicit converstion exists from any Non-nullable value type to a nullable from of that type (Correct)
4) An implicit conversion exists from any nullable value type to a non-nullable from of that type
5) A predefined conversion from the nullable type S to the nullable type T exists if there is a predefined conversion
non-nullable type S to the non-nullable type T (Correct)

15) which of the following is true about VB Generics?

1) VB Allows non-type template parameters
2) VB supports explicit specialization
3) VB allows the type parameters to be used as the base class for the generic type
4) VB allows a generic type parameter itself to to be a generic
5) VB enforces that all codes are valid for all types of parametrs (Correct)

what would be the Best Choice ?

16) which of the following statements do expression trees fit best?

1) Expression trees are a data structure which can be intially composed using language syntax (Correct)
2) Expression trees are a dynamically generated code which is executed to perform the desired function
3) Expression trees can be created only from Lambda Expressions
4) Expression trees can be modified once again
5) All of the above

17) when using an implicitly typed array, which of the followoing is most appropriate?

1) All elements in the initializer list must of the same type
2)All elements in the initializer list must be implicitly convetable to a known type which is the base type of atleast one member in the initialize
3) All elements in the initializer list must be implicitly convertable to a common type which is the base type of the items actually in the list
4) There are no restrictions on the items in the initializer list as the array is not declared to be a specific type
(Correct)

I have also mentioned my answers with my poor knowledge so Please Answer These Question just by the Alphabets(A,B...or E) corresponding with Indexes.

Thanks
Best Regards
Salman

推荐答案

在参加考试时,我发现做BEFOREHAND之前需要做的一些工作通常比在做事时问别人要好.

好吧,想象一下我们会为您回答这些问题,这是否会使知识通过某种神经网络/大脑渗透作用进入您的脑海?

不,不是,所以您通过考试而又不知道有关该主题的胡言乱语,然后就去参加面试.

现在,在采访中,他们会问您问题,您就像大灯下的兔子一样凝视着他们,然后眼泪f着建筑物,因为您意识到自己应该完成这项工作.

因此,实际上,我们在不回答您的问题方面很有帮助.

别去研究年轻人,学习,这是这里其他人所做的.

任何人如果想在生活中取得成功,就是要做的事情.

附言,祝您考试顺利.
When I sit exams, I find that doing some of the work required BEFOREHAND is often better than having to ask people whilst doing them.

OK, so imagine we answer them for you, does that put the knowledge into your head via some neuralistic web/brain osmosis?

No, it doesn''t, so you pass the exam without knowing bollocks about the subject and then you go for an interview.

Now at the interview they will ask you questions and you will just stare at them like a rabbit in the headlights, and then flee the building in tears as you realise that you should have done the work.

So in fact we are being helpful in not answering your questions.

No go study young man, and learn, it is what everyone else here did.

It is what anyone does if they wish to succeed in life.

PS, Good luck with the test.


您昨天尝试过此方法,希望我们可以帮助您通过面试.请您自己研究-Google会为您提供帮助.
You tried this yesterday in the hope that we can help you pass your interview. Please do your own research - Google will help you.


2)下列哪一项可以用来检测用户当前的语言?
1)检查当前请求对象的用户语言属性
2)检查当前请求对象的currentCulture属性
3)检查当前线程对象的CurrentCulture属性(正确)
4)检查当前页面对象的language属性
答案:1)


4)将特定时间点映射为完成的几周,几个月和一年等单位的任务是什么?
1)System.datetime(正确)
2)System.timeSpan
3)System.Globalization.Calender
4)System.Globalization.CultureInfo
答案:2)


6)确定操作是否有足够的内存可以通过
完成 1)没有受支持的应用程序级别手段来确定是否有特定的内存量可用
2)使用system.runtime.memoryfailpoint的静态方法并检查返回值
3)创建system.runtime.memoryfailpoint的实例,并监视insuffcientMemoryException
(正确)
4)创建system.runtime.memoryfailpoint的实例并监视outofmemoryException
答案:3)

13)关于system.datetimeoffset结构,以下哪一项是正确的?
1)它提供了相对于UTC时区(正确)的准确时间点
2)它结合了日期时间结构和timeZone结构
3)使用与UTC具有不同enetnet偏移的值提供算术运算
4)可用于确定本地时间的特定timeZone
答案:1)2)4)

16)以下哪个语句最适合表达式树?
1)表达式树是一种可以使用语言语法(正确)初步构成的数据结构.
2)表达式树是动态生成的代码,可以执行所需的功能
3)只能从Lambda表达式创建表达式树
4)表达式树可以再次修改
5)以上全部
答案:1)
2) which of the following can one use to detect the user''s current language?
1) Examining the user languages property of the current request object
2) Examining the currentCulture property of the current request object
3) Examining the CurrentCulture property of the current thread Object (Correct)
4) Examining the language property of the current page object
Answer: 1)


4) with Which class is the task of mapping a specfic point in time into units such as weeks, months and year accomplished?
1) System.datetime (Correct)
2) System.timeSpan
3) System.Globalization.Calender
4) System.Globalization.CultureInfo
Answer: 2)


6) Determining the availablity of sufficient memory for an operation can be accompished by
1) There is no supported application level means to determine if a specfic amount of memory is available
2) using static methods of system.runtime.memoryfailpoint and checking the return value
3) creating an instance of system.runtime.memoryfailpoint and monitoring for an insuffcientMemoryException
(Correct)
4) Creating an instance of system.runtime.memoryfailpoint and monitoring for an outofmemoryException
Answer: 3)

13) which of the following is true regarding the system.datetimeoffset structure?
1) it provides an exact point in time relative to the UTC time zone (Correct)
2) it combines a date time structure with a timeZone structure
3) it provides arithemetical operations using values with differenet offsets from the UTC
4) it can be used to determine the specific timeZone for a localtime
Answer: 1) 2) 4)

16) which of the following statements do expression trees fit best?
1) Expression trees are a data structure which can be intially composed using language syntax (Correct)
2) Expression trees are a dynamically generated code which is executed to perform the desired function
3) Expression trees can be created only from Lambda Expressions
4) Expression trees can be modified once again
5) All of the above
Answer: 1)


这篇关于让我知道我是否正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆