NIIT_MMS1期末试卷2015春A.docx

  1. 1、本文档共5页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
NIIT_MMS1期末试卷2015春A

NIIT-1(C#) 课程 期末 A 试卷 考试形式 闭卷 考试用时 2h,本试卷共 5页,另请加答题纸0 张,草稿纸 1张题号一二三四五六七八九十总分合分人得分 一、单项选择题(每小题2分,共30分) 1. Which of the following options is correct way of declaring a variable?A. rectangle.area B. no_of_countsC. 9_rank D. private2. Which of the following options is not a technique to implement polymorphism?A. Method overloading B. Operator overloadingC. Method overriding D. Information hiding3. Which of the following options are not the possible states of a mobile phone?A. Off B. RingC. Vibrate D. Color4. Identify the output of the following code snippet:Console.WriteLine(“Dr\b\bTom Wilkins”);A. Dr\b\bTom Wilkins B. Dr Tom WilkinsC. Tom Wilkins D. Dr\b bTom Wilkins5. If x is -10 and y is 3, then predict the value of variable x after execution of the following statement: x%=y;A. -3 B. 3 C. -1 D. 16. Which of the following statements is the correct syntax of declaring a character array?A. char [] ch; B. char ch []; C. char {} ch; D. char ch {};7. Which of the following methods of the Array class will return the member of items in an array? A. GetLength() B. GetValue() C. Indexof() D. Sort()8. Consider the following code snippet: class Succes{ Public void calculate() { … }}How will you derive a class named Reward from the preceding class? A. class Reward : Success B. class Success : Reward C. class Reward :: Success D. class Success :: Reward9. You want to create a class named Army that consists of various attributes and methods. You want to ensure that this class should not be inherited by any other class. A. By declaring the class as static B. By declaring the class as abstract C. By declaring the class as sealed D. By declaring the class and its attributes and methods as abstract10. Which of the following classes will you use to write binary data to a stream? A. StringWriter class B. FileStream class C. StreamWriter class D. BinaryWriter class11. Which of the following st

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档