niit-mvs2-asp(试题
NIIT题目整理2
1.who among the following is respondible establishing test objectives and goals that define thescope of the testing effort?A.Project managerB.Test managerC.Development teamD.Customer2.which of the following defines the scope of the testing activity?A.Test planB.Test scriptC.Test specificationsD.Test procedure3.Which of the following testing techniques tests whether the applocation is developed inaccordance with information technology standards,procedures,and guidelinespliance testingB.Security testingC.Operations testingD.Recovery testing4.NewWave ltd,is developing an inventory management system. The project is in its testingphase .One of the testers has been asked to specify the order of actions that should be performed during a test session .Identify which of the following tools should be used by the tester to achieve the same?A.Test scriptB.ChecklistC.Decision tableD.Traceability tool5.Consider the following statements:Statement A:Structural test case design techniques are used when test data is developed from documents that specify the intended behavior of applocation software.Statement B:Equivalence partitioning,a structural test case design technique,uses a state model relationship to derive test cases.Which of the following is correct is context of the precedng statements?A.Both,Statement A and Statement B,are FalseB.Both,Statement A and Statement B,are TrueC.Statement A is True and Statement B is FalseD.Statement A is False and Statement B is True.6.Which of the following Code Coverage measure reports the true or false outcome eachBoolean sub-expression,separated by || and && operators?A.Condition CoverageB.Decisiong CoverageC.Statement CoverageD.Condition/Decision Coverage7 . Consider the following statements:Statement A: Structural test case design techniques are used when test data is developed from documents that specify the intended behavior of application software.Statement B: Equivalence partitioning, a sturctural test case design technique, uses a state model relationship to derive test cases.A.Both, Statement A and Statement B, are False.B.Both, Statement A and Statement B, are True.C.Statement A is True and Statement B is False.D.Statement A is False and Statement B is True.8. Which of the following Code Coverage measure reports the true or false outcome of each Boolean subexpression, separated by || and && operators?A.Condition CoverageB.Decision CoverageC.Statement CoverageD.Conditon/Decision Coverage9.Consider the following statements:Statement A : For each phase of testing , the planned tests are executed and the actual test results are compared with the documented expected results.Statement B : A tester while creating test cases estimates the expected test results, whereas, the actual test results occur during exexution of these test cases.Which of the following is correct in context of the preceding statements?A.Both, Statement A and Statement B, are False.B.Both, Statement A and Statement B, are True.C.Statement A is True and Statement B is False.D.Statement A is False and Statement B is True.10. Jack Thomas was assigned the task of testing an online share trading application . Jack has to create relevant test cases and on the basis of these test cases, test plans will be executed during each phase of the testing life cycle. While creating the test cases during integration testing, Jack observes that the application generates an error message when the total number of users exceeds 5 Identify the exit criteria that Jack has to verify in order to ensure successful execution of integration test plans.A.Jack should confirm that the application runs successfully on all supported hardware andsoftware environments.B.Jack should check for the standard back up and recovery procedures and special securityrequirements.C.Jack should confirm that the different modules of the application can be successfullyintegrated to perform one or more application functions.D.Jack should conduct performance and load tests on individual application components.12.For a globalized applicaton that you are developing, you want to create a custom culture thatwill support the French language for the French speaking population resideing in Canada.Which one of the following options will you pass to the CultureAndRegionInfoBuilder constructor to create such a culture?e the None member of CultureAndRegionModifiers enumerationer the Neutral member of CultureAndRegionModifiers enumeratione the CultureName member of the CultureandRegionInfoBuilder classe the CurrentRegion property of the RegionInfo class13.Which of the following acceptance requirements relate to the quality attributes of software?A.Functional RequirementsB.Non-Functional RequirementsC.Performance RequirementsD.Interface Requirements14.Web solutions Corp. has developed an online reservation application for a travel agency. Oneof the requirements given by the client is that the users should not spend much time on getting used t the website and finding the relevant information. Identify under which of the following categories will this requirement be considered?A.Functional requirementB.Non-functional requirementC.Interface requirementD.Performance requirement15.Global Solutions, Inc. has developed an application for Super Solutions Corp., which will provide automated solutions for the management of the HR Department of Super Solutions. The application was developed keeping in mind the customer requirements. However, during final software acceptance testing.Super Solutions found that the total number of software problems was greater than the total number of software specifications. What should Super Solutions do?A . Change the software specificationsB. Communicate the software problems to the development teamC. Reject the softwareD. Review the software again16.Which of the following is not an objective of defect recording phase of the defect management process?A.Further improving the software development processB.Reporting the status of the applicationC.Gathering statistics to develop defect resolutions for future applicationsD.To identify the critical mistakes made as part of the development process17. The development team knows the number of operators and number of operands used in a software project. How can they use this information to calculate the size of the program?A. Software Size = log2(Total number of operator tokens used) + log2(Total number of operandtokens used)B. Software Size = Total number of operator tokens used + Total number of operand tokens usedC. Software Size = Total number of unique operator tokens used + Total number of unique operand tokens usedD. Software Size = Total number of operator tokens used * Total number of operand tokens used18. John Allen, a project manager at Blue IT Systems, has just delivered a software application on inventory control for Green Alley Stores Ltd.Now, the senior management decides to analyze the defect removal processes adopted by John’s team. The number of errors identified in integration testing and system testing are 20 and 30 respectively. The errors reported by the customer during acceptance testing is 30.Calculate the defect removal efficiency of John’s team.A.6B.0.06C.0.6D.0.719.Which of the following is not a test reporting tool?A.Analysis toolsB.Code coverage toolsC.Database toolsD.Test report formats20.Robert, a software tester, is prioritizing the causes of poor quality of a software application using a Paretochart.He ranks developer errors as the most significant cause to the poor quality of the software and poorly defined objective as the least significant cause.What did Robert observe in the Pareto chart?A.The number of errors related to poorly defined objectives developer errors is the minimumand number of developer errors is the maximumB.The number of errors related to poorly defined objectives is the maximum and the numberof developer errors is the minimumC.The number of errors related to poorly defined objectives is minimumD.The number of developer errors is the maximum21.Paraways Solutions is developingt an order processing application using .Thedevelopers of Paraways have not worked on this technology before.Due to budgetary constraints, Paraways is not conducting any traning on the new technology being used.Identify the risk associated with the order processing application in the current scenarioA.Market riskB.Testing riskC.Management riskD.Software risk22.To use GDI+object of the ______class must be createdA.SystemColorsB.PenC.GraphicsD.Image23.Trivia Ltd. Is developing a software application whose production cost might exceed theplanned budget, Also, the application will be competing with similar applications already available in the market.The application is likely to face which of the following types of risk?A.Software riskB.Testing riskC.Premature release riskD.Business risk24.Trinity Ltd. Is testing a position tracking system. The company is testing this kind of a system for the first time.In order to identify the risks associated with the Position Traceng system, the participation of the entire testing team is desired,Which risk identification tool can be used in this case?A.ChecklistB.QuestionnaireC.BrainstormingD.Interview25.Which of the following is not an activity performed in test effort estimation?A.Identifying the risks related to the testing phase of SDLCB.Developing a test plan strategyC.Identifying the tasks to be performedputing the size of the application26.You are working as a programmer for a University .After the semester-end examination.you need to publish the result of students based on their ranks. You have created the Student class to store the details of students, including the rank of a student in the exam.The names of the students who get the same rank are to be grouped together and displayed.Which of the following interfaces should the Student class implement to check which Student objects belong to the same rank?A. IformattableB. IequatableC.IenumerableD.Iconeable27. Which of the following namespaces contains the StringCollectionclass?A,System.Collections.GenericB.System.Collections.SpecializedC.System.Collections.ObjectModelD.System.Collections28.An assembly that is installed in the assembly cache to be used globally over the system is known as?A.Global AssemblyB.Private AssemblyC.Shared AssemblyD.Public Assembly29.Which of the following refers to the process of monitoring an application and recording information about events as they occur in the application?A.DebuggingB.Application TracingC.Performance MonitoringD.Garbage Collection30.SOAPFormatter class serializes only the ______members of an objectA.PublicB.PrivateC.ProtectedD.Inherited31.You have created an application that generates complex vector graphic.Due to the complicated graphics involver, the painting and repainting on the screen is very slow and causes a lot of flickering.Hence, you have decided to implement double buffering in your ing which of the following classes will you allocate memory to the objects that will implement double buffering?A.Graphics classB.BufferredGraphicsManager classC.BufferredGraphicsContext classD.BufferredGraphics class32.While creating a word processing application , you require different dialogue boxes to display different icons.You have created custom icons for most of these dialogue boxes in a graphics creation application.However, for the icon representing the “Exclamation” mark , you want to use the corresponding icon as provided by the Windows Vista operating system.Which of the following will you use to load the same icon in your application?A.Icon classB.IconConverter classC.SystemIcons classD.ExtractAssociaterIcon method33.Which enrtyption class offers method detect a semi-weak encrption key?A.TripleDES classB.DES classC.RC2 classD.Rijndael class34.While creating an application that involves data encryption, Bryan has implemented the EijndaelManagedTransform class in conjunction with the RijndaelManaged class.He does not want that the sensitive data contained in the memory should be available or accessible to other codes, after the application methods finish executing.What should he do to accomplish this requirement?A.He should use the Clear method of the RijndaelManagedTransform classB.He should use the Flush method of the RijndaelManagedTransform classC.He should call the Garbage CollectorD.He need not worry as the data contained in the objects of cryptographic classes are notaccessible from outside35.. Joanne, a software developer with EverSoft Inc. had developed an inventory control application, StockNInventory 1.0, using COM components.Now, the requirements and the processes followed by the users have become complicated.Therefore, Joanne has upgraded the application and it now incorporates new as well as the old features. The upgradation of the product has been done using the .Net Framework 2.0 . However, the upgraded application when executed, does not allow the users to access the previously available functionality. What should Joanne do to run the application effectively?A.She should create assemblies in her application providing the same features as the previouslycreated componentsB.She should create an assembly that will handle converting the .Net Framework types to thecorresponding types of the COM components being userd by the applicationC.She should place the COM components in the same directory as the Assembly for theupgraded application and reference the components in the assemblyD.She should creat a Shared assembly for her application to communicate with the COMcomponents36.What is the process involved in examing the metadata in the assembly manifest at runtime knowns as?A.RefractionB.ReflectionC.ManifestationD.Reflexion1.who among the following is responsible for establishing testobjectives and goals that define the scope of the testing effort?A project managerB test managerC development teamD customer2.what is unit testing used for?A to test each individual unit of software to detect errors in its codeB to ensure that each unit functions correctly across diffrernt versions of browser.C to ensure that the developed system can handle additional loadD to ensure the validity of the software application3.whcih fo the following testing techniques tests whether the application is developed in accordance with information technology standards,procedures,and guidelines?A compliance testingB security testingC operations testingD recovery testing4.newwave is developing an inventory managenment system.the projectis in testing phase,one of the tester has been asked to specify the order of actions that should be performed during a test session,Identity which of the following tools should be used by tester to achive the same?A teste scriptB checklistC decision tableD tranceability tool5. consider the followiing statements:Statement A:structurat test case design techniques are used when test data is developed from documents that specify the intended behavior of application softwareStatement B:equivalence partitioning,a structural test case design technique,uses a state model ralationship to derive test case.Which of the following is correct in context of the preceding tatements?A both A andB are falseB both A and B are trueC A is true B is falseD A is false B is true6.which of the following code coverage measure reports the true or false outcome of each boolean sub-expression,separated by || and&&operators?A condition coverageB decision coverageC statement coverage Dcondition/decision coverage7.Consider the following statements:A:for each phase of testing,the planned tests are executed and actual test results are compared with the documented expacted results.B:A tester while cresting test cases estimates the expected test results,whereas,the actual test results occur during execution of these test case.Which of the following is correct in context of the preceding statements?A both A andB are false B both A and B are trueC A is true B is falseD A is false B is true8.jack was assigned the task of testing an online share trading application.jack has to create relevant test case and on the basis of these test cases ,test plans will be executed during each phase of the testing life cycle.while creating the test cases during integration testing,Jack observes that the application generates an error message when the total number of users exceeds 50.Identify the exit criteria that jack has to verify in order to ensure successful execution of integration test plans.A jack should confirm that the application runs successfully on all supported hardware and software environmentB jack should check for the standerd back up and recovery procedures and special security requirementC jack should confirm that the different modules of the application can be successfully integrated to perform one or more application functions.D jack should conduct performance and load tests on individual application components.9.which of the following requirement given by the customer are related tothe business procedures and stands that the software must execute?A interface requirmentsB performance requirmentsC non-functional requirmentsD functional requirments10.which of the following acceptance requirements relate to the quality of software?A interface requirmentsB performance requirmentsC non-functional requirmentsD functional requirments11.a application was developed keeping in mind the customer requirements.however,during final software acceptance testing ,super solution found that total number of software problems was greater than the total number of software specifications,what should super solutions do?A change the software specificationB communicate the software problems to the development teamC reject the softwareD review the software again12.One of the requirements given by the client is that the users should not spend much time on getting used to the website and finding the relevant information.Identify under which of the following categories will this requirement be considered?A interface requirmentsB performance requirmentsC non-functional requirmentsD functional requirments13.which of the following is not an objective of defect recording phase of the defect management process?A further improving the software development processB reporting the status of the applicationC gethering statistics to develop defect resolution for future applicationsD to identify the critical mistakes made as part of the development process14. A: validation is the process of evaluation software at the end of the SDLC to ensure that the software product complies with software requirements.B: validation testing is the determination of how well the software product meets users needs and requirementsWhich of the following is correct in context of the preceding statements?A both A andB are false B both A and B are trueC A is true B is falseD A is false B is true15.The development team knows the number of operators and number of operands used in a software project.how can they use this information to calculate the size of the program?A software size = log2 (total number of operator tokens used)+log2(total number of operand tokens used)B software size = total number of operator tokens used + total number of operand tokens usedC software size = total number of unique operator tokens used + total number of unique operand tokens usedD software size = total number of operator tokens used *total number of operand tokens used16.John has just developed a software application on inventory control for stores ,the senior management decides to analyze the defect removal process sdopted by John.the number of errors identified in integration testing and system testing are 20 and 30 respectively.the errors reported by the customer during acceptance testing is 30.calculate the defect removal efficiency of John.A 6B 0.06C 0.6D 0.717.what is the use of a test reporting tool?A to plan a test environmentB to identify riskC to track the defects found during testingD to fix the defects18.a software tester.he ranks developer errors as the most significant cause to the poor quality of the softwware and poorly defined objectives as the least significant cause.what did he observe in the pareto chart?A the number of errors ralated to poorly defined objectives developer errors is the minimum and number of developer errors is the maximum.B the number of errors ralated to poorly defined objectives developererrors is the maximum and number of developer errors is the minimumC the mumber of errors related to poorly defined objectives is minimumD the number of developer errors is the maximum19.Paraways solutions is developing an order processing application using .the developers of paraways have not worked on this technology before.Due to budgetary constraints,paraways is not conducting any training on the new technology being used.Identify the risk associated with the order processing application in the current scenario.A market riskB testing riskC management riskD software risk20.in order to identify the risks associated with the system,the participation of the entire testing team is desired .which risk identification tool can be used in this case?A checklistB questionnaireC brainstormingD Interview21.a software application whose production cost might exceed the planned budget.Also, the application will be competing with similar applications already available in the market.the application is likely to face which of the following types of risk?A software risk Btesting risk C premature release risk D business risk22.which of the following is not activity performed in the test effort estimation?A identifying the risk related to the testing phase of SDLCB developing a test plan strategyC identify the tasks to be performedD computing the size of the application23.you are programing for a university.after the semester-end examination,you need to poblish the result of students based on their ranks.which of the following interface should the students class implement to check which student object belong to the same rank?A IformattableB IequatableC IenumerableD Icloneable24.with the _________class ,you can dynamic sdd and remove element without re-indexingA sortedlistB comparerC sortedDictionaryD hashtable25.an assembly that is installed in the assembly cache to be used globally over the system is known as ?A global AssemblyB private AssemblyC shared assemblyD public Assembly26.which of the following refers to the process of monitoring an application and recording information about events as they occur in the application ?A debuggingB application tracingC performace monitoringD garbage collection27.an application that would write a sequential series of character data received as input from the users to a file .the data gets temporarity storedin the memory buffer.which method should she use to clear the buffer and write the buffered data to the underlying file?A finalizeB flushC persistD write to file28.SOAPFormatter class serializes only the _______members of an objectA publicB privateC protectedD inhented29.an application is required to accept data and serialize it .the data is to be transported to another network running on a different platfoem and therefore should be serialized in the XML format .you want the application to control the way the objects are serialized and deserialized .you also want to implement custom formatting of objects during serialization .which of the following is a must to fulfill these requirements?A using the SOAPFormatter classB using the XMLserializer classC implementing ixmlserializable interfaceD using the binaryFormatter class30.you want to creat a custom culture that will support the french language for the fiench in canada.which one of the following options will you pass to the Cultureandregioninfobuilder constructor to creat such a culture?A use the none menber of cultureandregionmoifilers enumerationB use the neutral menber of cultureandregionmoifilers enumerationC use the culturename member of the cultureandregioninfobuilder classD use the currentregion property of the regionfo class31.to use GDI+object,an object of the _________class must be created.A systemcolorsB penC graphicsD image32.you want to use the corresponding icon as provided by the windows vista operating system.which of the following will you use to load the same icon in your application?A icon classB iconConverters classC systemIcons classD extrctAssociatedicon method33.you wants that you should not ba required to spacify the location co-ordinates for every graphic as they remian the same for every graphic.how can you overcame this problem?A by using the size structureB bu using the ragion classC by using point structureD by using the sizeconvertor class34.which encryption class offers a method to detect a semi-weak encryption key?A tripleDES classB DES classC RC2 classD rijndeal class35.an application will be required to transport confidential data to its clients in an encrypted format .to authenticate the sender,required to use the frature of digital sigatures on the web server.the application should employ 128 bit encryption,which class will you use to write the code?A RSA ClassB rijndeal classC ssistream classD HMAC class36.the COM component is not able to instantiate the .Net Framework component.what could be the cause for this?A implemented the default class interface for the .NET framework componentB did not creat a public constructor with no parameters for the .NET Framework componnentC created the constant fields and static methods of the .NET framework component as public membersD created a public constructor with no parameters for .NET framework component37.what is the process involved in examining the metadata in the assembly manifest at runtiume known as?A refractionB reflactionC manifestationD reflexion38.Identify the two types of Delagates.A singlefile and multifileB singlecast and multicastC orivate and sharedD local and blobal2.An application accesses details about sales records of a particular product from adarabase.The data is stored in a common format in the database. The application needs to restores the data to its original form. The sales figures in the SaleFigure object, are stored as per some foreign currency values, and are required to be converted to Dollars immediately after that object is restored. For this , the ConvertToDollars method is required to be executed.How will you execute the ConvertToDollars method?。
NIIT入学考试(三)
1.在HTML中,下面( )标记用于定义表的行. (选择一项)a <TabLE>b <TL>c <Td>d <TR>2. 在SQLServer2005数据库中,使用update语句更新数据库表中的数据,以下说法正确的是()。
(选择一项)a 每次只能更新一条数据b 每次可以更新多条数据c 如果没有数据项被更新,将提示错误信息d 更新数据时,必须带有WHERE条件子句3. 在HTML页面中,使用()标签可以实现文字和图片的滚动效果。
(选择一项)a <HR>b <PRE>c <bR>d <MaRQUEE>4. C#是面向对象的程序设计语言,关于面向对象程序设计的优点,下列说法正确的是()。
(选择一项)a 便于在计算机程序中用类似的软件对象模拟现实世界中的实体b 便于隐藏信息c 增加重用性d 以上全部5. 在网页编程中,某站点下有一个名为index.htm的页面和一个名为a.css的样式表文件(index.htm和a.css在同一级目录下),如果要在index.htm页面中应用a.css样式表文件中的样式表,则应在index.htm页面的<head></head>标签中添加以下哪段代码()。
(选择一项)a <link type=”text/css” rel=”stylesheet” file=”a.css”>b <a type=”text/css” rel=”stylesheet” href=”a.css”>c <link type=”text/css” rel=”stylesheet” href=”a.css”>d <link type=”text/css” rel=”stylesheet” src=”a.css”>6. 使用c#开发的Windows应用程序中可以构成一个包含多个窗体的主窗体,我们称之为MdI父窗体,以下关于MdI父窗体的特点描述错误的是()。
【必看 1】 NIIT_第一学期_试卷 (一)
NIIT第一学期试卷(一)第1题:哪种访问说明符可用于指定某个类中的成员变量不能被其他类对象和函数访问?答案:B第2题:Edward上周买了一辆豪华轿车。
他驾驶轿车从停车场出发,以50公里/小时的速度行驶。
答案:C第3题:以下哪一个CLR组件可将中间语言代码编译为目标系统上的本机语言?答案:A 参加C#教材14.5页第4题:以下哪个流类(stream class)将用于在硬盘中存储数据,并且在硬盘中所占的内存空间与在RAM中所占的内存相等?答案:D第5题:请思考以下应用场合:机械工程师Ronald正忙于一个农用机器项目。
该机器将执行以下任务:*喷洒农药*除草*收割*播放请确定Ronald要在该机器中实现的线程优先级。
答案:A第6题:请思考以下命题:A:数组的大小固定,而且不能改变。
B:通过一个数组元素名称和数组元素位置索引号,可访问数组元素。
对于以上命题,以下哪一项是对的?答案:A第7题:用户输入以下值:名字:Rodney编号:18舞蹈类型:萨尔萨答案:A第8题:以下代码用于访问某个类的变量:执行以上代码出错,请指出代码错在哪里?答案:C请思考以下应用场合:John是在BPO工作的技术支持工程师。
他除了要保留自己执行的所有事务的日志记录之外,还要保留故障诊断注释。
他必须同步完成这些任务。
John应该使用哪种技术来同步一天中的所有任务?答案:C第10题:请预测以下代码的输出:public static void Main(){FileStream fs = new FileStream(“C:\MyFile.text”,FileMode.Open,FileAccss.Read); StreamReader sr = new StreamReader(fs);String str = sr.ReadLine();for(int i=0;i<10;i++)Console.WriteLine(str);Console.Read();}答案:B请思考以下应用场合:IT公司InformativePractices Ltd. 为其客户开发了一套电子学习课程。
ASP模拟试题(附答案)
ASP模拟试题(附答案)一、单选题(共54题,每题1分,共54分)1.Session对象指()类的实例A、HttpSessionState类B、HttpViewnC、HttpViewStateD、Appilication正确答案:A2.FormView事件编程,下面是删除前事件是:A、ItemDeletingB、ItemDeletedC、ItemInsertingD、ItemUpdating正确答案:A3.包含管理网站属性、配置网站的菜单是:A、“调试”菜单B、“数据”菜单C、“生成”菜单D、“网站”菜单正确答案:D4.静态网页设计技术,主要是指:A、HTMLB、C#语言C、JavaScript语言D、SQL Server编程正确答案:A5.使用“数据源配置向导”配置Select语句时,如何操作可以进一步将查询返回的数据排序A、选中“只返回唯一行”B、单击“WHERE(W)…”按钮C、单击“ORDER BY(R)…”按钮D、单击“高级(V)…”按钮正确答案:C6.关于GridView控件的Rows行A、有行号,没有列号B、没有行号,没有列号C、是GridView的数据行D、没有行号,有列号正确答案:C7.客户端对动态网页的访问过程,较准确的描述为:A、请求——执行并生成——响应——解释并显示——断开B、请求——响应C、请求——响应——显示D、请求——响应——显示——断开正确答案:A8.关于HTML,说法正确的是:A、属于程序设计的高级语言B、属于程序设计的汇编语言C、不属于程序设计语言D、属于程序设计的机器语言正确答案:C9.HeaderRow是GridView控件的的A、脚注行B、标题行C、分页导航行D、数据行正确答案:B10.专用于存取XML格式的站点地图文件的数据源控件是A、SqlDataSourceB、SiteMapDataSourceC、LinqDataSourceD、EntityDataSource正确答案:B11.Image控件常常用来A、接收用户输入的数据B、显示图片C、激发事件,提交网页D、链接到其他页面正确答案:B12.下面不是FormView控件的DefaultMode属性值是:A、ReadOnlyB、EditC、TextD、Insert正确答案:C13.FormView事件编程,下面是插入后事件是:A、ItemDeletingB、ItemDeletedC、ItemInsertedD、ItemUpdating正确答案:C14.Session与Cookie状态之间最大的区别在于A、存储位置不同B、类型不同C、生命周期不同D、容量不同正确答案:A15.可以实现网页重定向的代码是A、Response.Redirect()B、Request.Write()C、Response.Write()D、Request.Redirect()正确答案:A16.FormView事件编程,下面是更新前事件是:A、ItemDeletingB、ItemDeletedC、ItemInsertingD、ItemUpdating正确答案:D17.插入水平线使用标记,其()属性设置水平线的宽度A、alignB、widthC、colorD、size正确答案:B18.FormView事件编程,下面是插入前事件是:A、ItemDeletingB、ItemDeletedC、ItemInsertingD、ItemUpdated正确答案:C19.“查询生成器”对话框,不能完成的任务是:A、进行多表查询B、执行SQL语句C、修改SQL语句D、设置参数源正确答案:D20.不是Application对象提供的方法A、Lock()B、UnLock()C、Add()方法D、Count正确答案:D21.使用“数据源配置向导”配置Select语句时,如何操作可以进一步生成更新语句A、选中“只返回唯一行”B、单击“WHERE(W)…”按钮C、单击“ORDER BY(R)…”按钮D、单击“高级(V)…”按钮正确答案:D22.要实现一个网站在线人数计数器,最方便的是使用()。
NIIT考试
第1 页共6 页NIIT SQL server 考试试题一、选择题(每小题1 分,共15 分)。
1、若欲从学员表中提取数据填充到通讯表中,如下SQL 语句:Insert into Tongxunlu(‘姓名’,’地址’,’电子邮件’)Select Sname SAddress,SemailFrom Students执行后输出的结果可能是(B)。
A、向表Tongxunlu 中添加了多条信息;B、显示出错信息,错误的原因是into 应该大写;C、显示出错信息,错误的原因是姓名,地址,电子邮件两侧不应该有‘号;D、显示出错信息,insert into 语句应该在select 和from 中间;2、在SQL server 2013 中,设计用户表时,固定长度的身份证号最好采用下面(A)数据类型进行存储。
A、CharB、TextC、VarcharD、Int3、在SQL server 2013 中,当要处理学生表中name(学生姓名)列所有姓“王”的记录时,在SQL 语句中where 子句的写法应该是(A )。
A、where name=‘王%‘B、where name like ’王*‘C、where name like ‘王%‘D、where name like’*王%‘4、在SQL server 2008 中,使用update 语句更新数据表中的数据,以下说法正确的是(D)D。
A、每次只能更新一行语句;B、每次可以更新多行语句;C、如果没有数据项被更新,将提示错误信息;D、更新数据时,必须带有where 条件子句;5、在SQL server 2013 中,要查找eatables 表中item_desc 字段的值以“CHOCO”开头(如CHOCOLATE、CHOCOPIE)的所有记录。
下列SQL 语句正确的是(C )。
A、select*from eatables where item_desc like“CHOCO”;B、select*from eatables where item_desc =“CHOCO”;C、select*from eatables where item_desc like“CHOCO%”;D、select*from eatables where item_desc like“%CHOCO?”;第2 页共6 页6、在SQL server 2013 中,有一个product(产品)表,包含字段:pname(产品名称),要从此表中筛选出产品名称为“苹果”或“香蕉”的记录,下列语句正确的是(C )。
ict大数据模拟试题(含答案)
ict大数据模拟试题(含答案)一、单选题(共62题,每题1分,共62分)1.当修改()时,会触发弹性伸缩活动。
系统自动增加或减少实例已达到期望实例数的数量。
A、最大实例数B、冷却时间C、期望实例数D、最小实例数正确答案:C2.(____)的主要目标是提供可扩展的机器学习算法及其实现,旨在帮助开发人员更加方便快捷地创建智能应用程序。
A、MahoutB、FlumeC、SqoopD、HBase正确答案:A3.对于访问量波动明显的场景(如视频类、电商网站等无法预估业务拓展空间场景),可通过()的方式进行业务部署,为业务提供扩展空间。
可以将后端云服务器组与弹性伸缩服务配合使用,在保障业务正常运作的同时最大程度降低成本。
A、弹性负载均衡B、弹性伸缩C、弹性ipD、自动扩展正确答案:A4.(____)是分类错误的样本数占样本总数的比例。
A、错误率B、误差C、正确率D、精度正确答案:A5.下列关于日常监控告警的级别描述错误的是:()。
A、次重要告警B、紧急告警C、重要告警D、普通告警正确答案:D6.以下哪个选项不是容器多云混合云解决方案带给客户的价值?A、统一、开放的管理平台B、虚拟机应用自动转换容器C、避免厂商锁定D、高效容灾管理正确答案:B7.弹性IP释放后将被放入回收站,在“弹性IP”界面增加()状态。
释放后的弹性IP在回收站可以执行还原或者彻底删除操作。
A、待释放B、待回收C、删除D、软删除正确答案:D8.云平台创建弹性云服务器是:()功能模块创建的。
A、neutronB、novaC、cinderD、glance正确答案:B9.关于批量处理数据组件的描述不正确的时?A、SparkSql,新型SQL批处理引擎,用于处理SQL类批处理作业,适合海量数据,处理速度高效。
B、Spark新型批处理引擎,可以用于处理非SQL类,尤其是数据挖掘和机器学习批处理作业,适合海量数据,树立速度高效。
C、MapReduce,传统批处理引擎,用于处理非SQL类,尤其是数据挖掘和机器学习批处理作业,使用广泛,海量数据下表现不稳定,但是处理速度较快。
NIIT练习
1.Which of the following is not an application(应用程序) software?________A) MS Visual Studio B) Linux C) PhotoShop D) MS Office 2.Which of the following is an input device(输入设备)? ______A) Printer B) Microphone C) Speaker D) VDU(图像显示部件)3.Which mouse is sensitive to pressure and motion?_____A)Wireless B)Light Pen Mouse C) Touch Pad Mouse D) Trackball Mouse 4.Which of the following Web Brower required very little hard disk space?A) Internet Explorer B) Netscape Navigator C) Opera D) Mozilla5.Which is a difference between an algorithm(算法) and a flowchart(流程图)?_____A)A flowchart is a part of an algorithmB) Both cannot be comparedC) Algorithm is the graphical representation of a flowchartD) Flowchart is a graphical representation(图形化表示形式) of a program 6.Convert(转换) is a?A) Namespace B) Class C) Function(函数) D) Escape(逸出) sequence(数组)character7.In the statement(语句), using System, System is a ?A) Namespace(命名空间) B) Class C) Object D) Keyword8.if an array is declared as, int []arr=new int[5],the total number of elements in the array is ?A) 5 B) 2 C) 1 D) 09.which of the following is an example of function overloading?A) void fun() char fun()B) void fun() void fun1()C) void fun(int) void fun(char)D) void fun1(int,int) void fun2(char,char)10.which of the following is true about abstract (抽象)classes?A) An abstract class defines properties common to the classes derived from itB) An abstract class can be declared as finalC) Abstract classes cannot be extendedD) Classes declared using the abstract keyword can be instantiated11.Identify the SQL statement, which will retrieve (使恢复)a list of Employees fromthe table Employees with the column heading for emp_id as Employee Identity Number.A) SELECT DISTINCT emp_id (Employee Identity Number) from EmployeesB) SELECT emp_id LIKE Employee Identity Number from EmployeesC) SELECT emp_id AS [Employee Identity Number] from EmployeesD) SELECT emp_id =Employee Identity Number from Employees12.Which of the following properties does a transaction NOT posses?A) Atomicity B) ConsistencyC) Isolation D) Separation13.Which database(数据库)object will you create to enforce(实施)business rule?A) Stored Procedures(存储程序)B) Views(视图)C) Triggers D) Indexes(索引)14.Which date function would you use to extract (引出)a specified(指定的)part, such as day, month, or year from the specified date?A) DATEPART B) DATEADDC) DATEDIFF D) DATENAME15.In which situation you must create a clustered index?A) Database uses decision support systemB) Column stores sequential dataC) Query covers all the columns in a tableD) Query contains a WHERE clause16.Which of the following is not a DBMS? _____A) Oracle B) Linux C) Microsoft SQL Server D) Sybase17.”Column Price should be greater than $1000 and lower than $2000”. This kind of constraint belongs to _________ function of DBMS.A) restore B) synchronous C) security D) integrity constraint18.What is the right result after execution of SQL statements “ Select dateadd(dd, 12, '2010-12-10') ” ?____A) 2010-12-22 B) 2011-12-10 C) 2022-12-12 D) 2011-6-10 19.Which of the following SQL statements can be used to create new database objects?____A) DDL B) DML C) DCL D) DQL20.Which of the following operators is used to display a set of records (记录)that contain values within a range in a column(列)?______A) OR B) >= C) BETWEEN..AND D) %21.Which of the following wildcard(字符)represents a single character?_____ A) % B) _ C) [ ] D) [^ ]22.Which of the following is not a valid type of trigger?______A) Insert Trigger B) Update TriggerC) Delete Trigger D) Before Trigger23. The ? complier is used for C#A) cc B) csc C) c++ D) csn24. int Number1=0;int Number2=0;int[] Array1=new int []{2,3,4,5,6,7,8,9,10,11};foreach(int Ctr in Array1){if(Ctr%2==1)Number1++;else{Number2++;Console.Write(Ctr);}}What is the output of the code?A) 357911 B) 246810C) Ctr D) 23456789101125. Which of the following locks enable others to view the data being modified (修改的)by the current transaction?A) shared lock B) exclusive lock C) update lock D) intent lock26. Which of the following components of SQL Server 2005 is used to copy and distribute(区分)data and database objects from one database server to another? A) Replication B) Service brokerC) Full-text search D) Notification services二、阅读程序写结果(每小题5分,共10分)1.using System;using System.Collections.Generic;using System.Text;namespace MultiArray{class MultiArryExample{ static void Main(string[] args){ int n=0;int sum = 0;int rowsum;int[,] mArray = new int[2, 4] { { 1, 2, 3, 4 }, { 5, 6, 7, 8 } };for(int row=0;row<2;row++){ rowsum = 0;for (int col = 0; col < 4; col++){ if (mArray[row, col] > 0) n++;Console.Write("{0}\t", mArray[row, col]);rowsum = rowsum + mArray[row, col];}sum = sum + rowsum;Console.Write("={0}",rowsum);Console.WriteLine();}Console.WriteLine("n={0}", n);Console.WriteLine("sum={0}",sum);Console.ReadLine();}}}2.using System;public class A{public virtual void Fun1(int i){Console.WriteLine(i);}public void Fun2(A a){a.Fun1(1);Fun1(5);}}public class B : A{public override void Fun1(int i){base.Fun1(i + 1);}public static void Main(){B b = new B();A a = new A();a.Fun2(b);b.Fun2(a);Console.ReadLine();}}//b.Fun1(1); 2//Fun1(5); 5//a.Fun1(1) 1//Fun1(5) ->base.Fun1(5+1) 6三、程序填空(每空2分,共10分)/*The function of following program is that Calculate the factorial of the number entered by a user.(The limit of users input should be 1-20)*/using System;class Factorial{static long Fac1;public static bool Fac(long n, out long answer){long k;bool ok = true;if ( )//user input should be 1-20{ ok = false;}else{;for (k = 2; k <= n; ++k){;}};return ok;}}class Factorial1{static void Main(string[] args){ long Fac1;bool ok;long Number;Console.WriteLine("Enter the Number for calculatingfactorial(1-20):");Number=long.Parse(Console.ReadLine());ok = ; //function callif (ok)Console.WriteLine("Factorial(" + Number + ")=" + Fac1);elseConsole.WriteLine("Incorrect value");Console.ReadLine();}}2./*The function of following program is that check a palindrome(回文) character array*/using System;namespace ManipulateArray{class palindrome{static void Main(string[] args){char[] str=new char[10];Console.WriteLine(“Enter a Palindrome string(Max 10 char):”);;//Calling the CheckPalidrome methodConsole.WriteLine(CheckPalindrome(str));Console.ReadLine();}private static bool CheckPalindrome(char[] myString){int startChar;int lastChar;;;while(startChar<lastChar){if(myString[startChar]==myString[lastChar]){;;}else{return false;}}return true;}}}四、 画流程图(6分)Draw a flowchart to accept three numbers anddisplaythe largest number.Draw a flowchart to display the average of first ten odd numbers.五、编程题(14分)Please develop a program using the abstract classes, You has to Create a Draw() function in the program, to display the following statements.It ‟s a Point.It ‟s a Line.It ‟s a Circle.using System;namespace DrawShapes{public abstract class DrawingObject{public abstract void Draw();}public class Line : DrawingObject{public override void Draw(){Console.WriteLine("It‟s a Line.");}}public class Circle : DrawingObject{public override void Draw(){Console.WriteLine("It‟s a Circle.");}}public class Square : DrawingObject{public override void Draw(){Console.WriteLine("It‟s a Square.");}}public class DrawDemo{public static int Main(string[] args){DrawingObject[] dObj = new DrawingObject[3];dObj[0] = new Line();dObj[1] = new Circle();dObj[2] = new Square();foreach (DrawingObject drawObj in dObj){drawObj.Draw();}Console.ReadLine();return 0;}}}2.Philip Anderson is a software developer who works for Mega Technologies. He is currently under the project of geometric calculations. Philip has to develop a program, which performs the following tasks:1.Calculate the area of circle.2.Calculate the volume of the cubeHe has to develop the code using an interface.using System;namespace CalculateArea{interface Area{void calcArea(double Radius);}interface volume{void calc1(int Side);}public class CircleCube:Area{public void calcArea(double Radius){double Pie = 3.14;double Result;Result = Pie*Radius*Radius;Console.WriteLine("The Area of a circle is: {0}",Result);}public void calcV olume(int Side){int Result;Result = Side*Side*Side;Console.WriteLine("The V olume of a cube is: {0}",Result);}}class class1{public static void Main(string[] args){CircleCube obj = new CircleCube();double Radius;int Side;Console.WriteLine("Enter the radius of the circle");Radius = Convert.ToDouble(Console.ReadLine());obj.calcArea(Radius);Console.WriteLine("Enter the side of the cube");Side = Convert.ToInt32(Console.ReadLine());obj.calcV olume(Side);Console.ReadLine();}}}六、E/R图绘制及与关系模式的转换(10分)A company has a number of employees. The attributes of Employee include employeeID, name, address, and birthdate. The company also has several projects. Attributes of Project include projectName and startDate. Each employee may be assigned to one or more projects, or may not be assigned to a project. A project may have any number of employees assigned. An employee‟s billing rate may vary by project, and the company wishes to record the applicable billing rate (Billing_Rate) for each employee when assigned to a particular project.(1) Draw an E/R diagram.(2) Convert the E/R diagram to a relational database schema, select and specify primary keys.Writing queries to satisfy certain specifications. And the structures of tables needed are shown as follows:Table MovieStar(name, address, gender, birthdate)Table StarsIn(movietitle, movieyear, starname)Table Movie(title, year, length, genre, studioName, producerC#)(1) Delete all movies made before 2005.(2) Find the length of the movie Avatar.(3) Find Nicolas Cage‟s birthdate.(4) Who were the female stars (gender is …F‟) in Gone With the Wind?Table Customer(CustomerID int , Name varchar(20), AccountNumber int, TerritoryID int)Table CreditCard(CreditCardID int, CardType varchar(20), CardNumber int, ExpYear datetime)Table SalesTerritory(TerritoryID int, Name varchar(30), CountryRegionCode int, SalesYTD datetime) Table SalesOrderHeader(SalesOrderID int, OrderDate datetime, Status varchar(20),OnlineOrderFlag int ,TotalDue int, TaxAmt int, ShipDate datetime)(1)Display the CustomerID, Name and territory name of all the customers.(2)Display the list of all the orders placed from June 06,2009 toDecember 15,2010 .(3)Display all territories whose CountryRegionCode is in the range of 13 to45 and names begin with …M‟.(4) Set …2010-12-31‟ value of ExpYear in the CreditCard Table whoseCardType is Visa.(5)Display the ID,name,regioncode and SalesYTD of the territorywhose Territory ID is 4 in the following format.地区ID 地区名称地区代码销售日期(6) Display all territories whose names include the substring …盐城‟.(7) Delete all the details of credit cards whose expire year is 2009.。
niit专业测试试题和评分标准题库
NIIT专业测试题库一、评分标准数据库应用开发试题从数据库创建、数据表创建、约束及关系创建、数据访问、代码规范性五个方面进行评分,评分细则见表2.1。
二、实施条件测试所需要的软硬件设备见表2.2三、答题文件提交要求答案以“答题文件”的形式提交。
请按以下要求创建答题文件夹和答题文件:1 创建答题文件夹创建以“所属学校名_身份证号_姓名_题号”命名的文件夹,存放所有答题文件,例如:“长沙民政职业技术学院_340103***********_李维_A_1\”2 创建答题文件2.1 数据库备份文件创建bak 子文件夹,如: “长沙民政职业技术学院_340103*******_李维_A_1\bak\”,存放数据库备份文件,用于阅卷时,还原运行环境。
无数据库备份文件,则扣除相应的技术分。
2.2 数据库查询文件创建query 子文件夹,如: “长沙民政职业技术学院_340103*******_李维_A_1\query\”,存放数据库查询文件,要求命名为:“数据库名.sql”或者“数据库名.txt”。
3 提交答题文件将“所属学校名_身份证号_姓名_题号”文件夹打包,形成“所属学校名_身份证号_姓名_题号.RAR”文件,如:“长沙民政职业技术学院_340103***********_李维_A_1.rar”,将该文件按要求进行上传。
四、试题【试题1】1 任务你作为《网上商店》项目开发组的程序员,请按要求完成:数据库的创建;数据表的创建;数据的操作2要求网上商店的E-R图如图1所示,物理数据模型如图2所示,数据表字段名定义见表1。
请按以下设计完成数据库创建、数据表创建和数据操作任务:图1 E-R图图2 物理数据模型表1 字段名定义表表3 订单信息表(T_orders样本数据)表4供应商表(T_suppliers样本数据)3数据库操作3.1创建数据库创建数据库Stores。
3.2 创建数据表根据图1和表1,创建数据表T_goods、T_orders、T_suppliers。
NIIT第二模块期中考试
1. 为在XML 文档中插入&(&)符号,你将使用以下选项中哪个?[1 分]a. &&b. &lt;c. &ampersand;d. &amp;2. 关于XML 以下陈述中哪个为真? [2 分]a. XML是基于文本的标记语言,提供存贮数据的预定义标签。
b. XML是一种平台中性的数据交换格式。
c. XML 的数据交换需要VAN。
d. XML 允许你指出关于数据的格式化指令。
3. 以下代码片段中哪个认为是格式良好的?[3分]a. <EMPLOYEE empid=e001><EMPNAME> Alice Peterson</EMPNAME><BASICPAY> $2000 </BASICPAY></EMPLOYEE>b. <EMPLOYEE empid=“e001”><EMPNAME> Alice Peterson<BASICPAY> $2000 </EMPNAME></BASICPAY></EMPLOYEE>c. <EMPLOYEE empid=“e001”><EMPNAME>Alice Peterson<BASICPAY> $2000 </BASICPAY></EMPNAME></EMPLOYEE>d. <EMPLOYEE empid=“e001”><EMPNAME> Alice Peterson<BASICPAY> $2000 </BASICPAY></EMPNAME></employee>4. 关于属性的以下陈述中哪个为真?[2 分]a. 用属性标记XML 文档中数据。
NIIT_第一学期_复习题 01
T otal Marks: 100 Duration: 90 Min 1. 预测以下流程图的输出.1. 22. 63.84.Error(错误)T otal Marks: 100 Duration: 90 Min 2. 预测以下流程图的输出1.0 将被显示10次2.15 将被显示10 次3.没有显示4.Error(错误)T otal Marks: 100 Duration: 90 Min3. Fun-O-La Club俱乐部在月底庆祝它的20周年成立日。
邀请俱乐部的所有150名成员参加节日宴会。
必须为俱乐部的所有成员打印出祝贺入场券。
描述产生祝贺入场券逻辑的流程图给出如下。
如果条件改为nMemberNo < 150,语句“Issue Complimentary Pass”将显示多少次?1.1502.1493.04.151T otal Marks: 100 Duration: 90 Min 4. 参见以下的流程图,指出“NIIT”将被打印出多少次.1.102.93. 14.Infinite(次数不定)T otal Marks: 100 Duration: 90 Min5. 以下中哪个是这些逻辑运算符的优先次序?1.NOT, AND, OR (非的优先级最高、与的优先级次之、或的优先级最低)2.OR, AND, NOT3.NOT, OR, AND4.AND, NOT, OR6. 流程图是1.一个程序2.程序的图形表示3.用简单英语表达问题的算法4.十分复杂的系统设计7. 存储不同职工所做的项目的材料,创建EmployeeProjects表如下:CREATE TABLE EmployeeProjects(cEmployeeCode char(6) not null,cProjectCode char(4) not null,dStartDate datetime not null,dEndDate datetime not null,constraint pkEcodePrjCode Primary Key (cEmployeeCode, cProjectCode) )cProjectCode属性指示职工所做的项目。
NIIT笔试题
NIIT .Net方向实训结业笔试题注:考试时间:2小时考试类型:闭卷一.选择题(每小题1分,共35分)1.在中,下面说法正确的是()。
A.machine.config用来保存的当前计算机所有应用程序的配置B.web.config通常用来保存一个站点信息的配置信息C.可以在web.config中配置访问Web目录的用户名和密码D.以上说法都正确2.执行下面的代码后,name的值是()。
string path = @”D:\test\imag1.jpg;string name = path.Substring(stIndexOf(“.”)+1);A.jpgB.pgC..jpgD.以上答案都不是3.在中,一下关于用户控件与页面之间区别的描述中正确的是()。
A.后缀名不同,前者为.ascx,后者为.aspxB.指令不同,前者使用@Page,后者使用@ControlC.前者可以直接访问,后者不可直接访问D.前者可以包含HTML标签,后者不能包含HTML标签4.在的Global.asax文件中,每次页面请求开始时都会被执行的事件是()。
A.Application_StartB.Session_EndC.Session_StartD.Application_BeginRequest5. 在中,以下有关设置页面缓存所使用的Location属性描述正确的是()。
A.表示页面被缓存的时间,以秒为单位B.指定输出缓存项的位置C.该属性的值可以设置为“none”D.用来改变用户空间的输出缓存6.在中,Server对象的()方法用于对URL地址进行编码。
(选择一项)A.UrlEncodeB.UrlDecodeC.MapPathD.Excecute7. 在中,下面关于Datalist控件和Repeater控件描述错误的是()。
A.这两种数据控件都允许使用模板显示数据B.这两种控件都是继承自WebControl类C.使用DataList时,可以设定一些属性来进行个性化输出D.调用这两种控件的DataBind()方法时完成数据于控件的绑定操作8.在中,一下关于DataView与DataTable描述正确的是()。
NIIT练习试题及答案
C. List menu = new List (“Menu”, List.IMPLICIT); D. List menu = new List (“Menu”, Choice.EXCLUSIVE); 8. 你正在为一个银行程序开发一个 MIDlet。当客户向银行发送 一个请求时,一个进程指示将一直显示,直到请求被处理完为止。进 程指示应该被嵌入到 form 组件中。下面的哪个方法可以在设备屏幕 上显示进程指示?D 注:程序不完全 D.{ Form form = new Form (“Gauge”); Gauge gauge = new Guague (“Progress”, false, 100, 0); form.append (gauge); Display display = Display.getCurrent (form); dsplay.setCurrent (gauge); }
Integer.toString(data.length)); OutputStream os=conn.openOutputStream(); Os.write( data); Os.close(); } A.prep_Request()方法准备 HTTP 请求的方法和属性并把数据写
到输出流. B.prep_Request()方法连接 MIDlet 到服务器。 C.prep_Request()方法处理 MIDlet 连接到服务器的响应。
Conn.setRequestProperty( “ Accept ” , ” application/octet-stream”);
Conn.setRequestProperty(“Connection”,”close”); Conn.setRequestProperty( “ Content-Length ” ,
NIIT认证面试真题及答案2
NIIT认证面试真题及答案XX年教材内容与国际软件开发趋势接轨,平均18个月更新一次。
NIIT与微软有战略联盟,课程涵盖各类软件开发知识,涉及微软认证及Oracle认证等技术的主要内容。
下面是的关于NIIT认证面试真题及答案,欢迎大家参考!1. 如果要将事务的相关详细资料写入日志文件,那么应该使用以下哪个?A. 资源管理器B. 资源分配器C. CRM补偿器D. CRM工作器2. TechnoSoft Pvt需要采用一个应用程序来显示职员的详细资料。
公司的(clerk)应该只能访问职员的姓名和地址,而总经理那么应该能访问包括职员领取的薪水在内的所有详细资料。
为此,可以使用+所提供的以下哪些效劳?A. 资源管理器B. 基于角色的平安性C. +事件D. 对象池3. 考虑以下陈述:陈述A:+从MTS继承了Just-in-time激活功能。
陈述B:通过使用Just-in-time激活来预留效劳器内存。
关于给定的陈述,以下哪个是正确的?A.陈述A是正确的,陈述B是错误的。
B.陈述A是错误的,陈述B是正确的。
C.两个陈述都是正确的。
D.两个陈述都是错误的。
4.从以下关于.NET程序集的陈述中,找出正确的一项。
A.创立程序集时,它会默认共享。
B.对于允许多个应用程序访问的私有程序集而言,必须将它的文件分别放在其它应用程序所在的文件平下。
C.私有程序集是到全局程序集缓存(GAC)中的程序集。
D.在共享系统中,程序集的名称不必是唯一的,这是因为系统中的所有应用程序都可以从全局程序集缓存(GAC)中访问它。
5.版本号的各组成部分是A:Revision号B:Major版本号C:Minor版本号D:Build版本号辩别版本号各部分的正确顺序?A.C=》B=》D=》AB.B=》A=》C=》DC.B=》D=》C=》AD.B=》C=》D=》A6.以下哪个类包含了.NET框架的所有类和远程对象的接口方法?A.TransparentProxyB.ReadProxyC.ObjRefD.RegisterWellKnownServiceType7.要将管道作为众所周知的效劳,需要以下哪个类?A.RealProxyB.ObjRefC.TransparentProxyD.RemotingConfiguration8.考虑以下陈述:陈述A:通道可以使用SOAP格式化程序(fomatter)和二进制格式化程序。
NIIT认证Java考试题库
NIIT认证Java考试题库NIIT认证Java考试题库NIIT的工作领域包括系统合成,商业对策,工程,制造,财务,网络工程,通讯,信息技术咨询,应用软件开发,多媒体软件及职业信息技术培训和企业信息技术培训。
下面一起来看看NIIT认证的java 考试题库,希望能帮助到大家!JDK是( )A、一种全新的程序语言B、一种程序开发辅助工具C、一种由Java写成的,并支持Java Applet的浏览器D、一种游戏软件2、Java语言中下面哪个可以用作正确的变量名称( )A、3DB、nameC、extendsD、implements3、构造函数何时被调用( )A、类定义时 B.创建对象时C.调用对象方法时D.使用对象的变量时4、Java中,哪种不可以用来限制存取权限的关键字( )A、publicB、protectedC、extendsD、private5、要想定义一个不能被实例化的抽象类,在类定义中必须加上修饰符( )。
A、 finalB、 publicC、 privateD、abstract6、Java源文件和编译后的文件扩展名分别为( )A、.class和 .javaB、.java和 .classC、.class和 .classD、.java和 .java7、若已定义 byte[ ] x= {11,22,33,-66} ; 其中0≤k≤3,则对x数组元素错误的引用是( )。
A、 x[5-3]B、 x[k]C、 x[k+5]D、 x[0]8、下列语句序列执行后,i 的值是( )。
int i=8, j=16;if( i-1 > j ) i--; else j--;A、 15B、 16C、 7D、 89、下列语句序列执行后,i的值是( )。
int i=16;do { i/=2; } while( i > 3 );A、 16B、 8C、 4D、 210、不能构成循环的语句是( )。
A、for 语句B、while 语句C、switch 语句D、do while 语句11.欲构造ArrayList类的一个实例,此类继承了List接口,下列哪个方法是正确的 ?A、 ArrayList myList=new Object();B、 List myList=new ArrayList();C、 ArrayList myList=new List();D、 List myList=new List();12、给出下面代码:public class Person{static int arr[] = new int[10];public static void main(String a[]){System.out.println(arr[1]);}}那个语句是正确的?A、编译时将产生错误;B、编译时正确,运行时将产生错误;C 、输出零;D、输出空。
ASP复习试题及答案图文稿
A S P复习试题及答案 Company number【1089WT-1898YT-1W8CB-9UUT-92108】一、选择题1、下列属于中文简体字符集的是( B )A gbkB gb2312C big5D utf-82、以下哪个是vbscript 代码中用来注释的语句( A )A、’B、!C、 <!-- -->D、<-->3、下面哪个函数是用来将字符串中的大写字母转换为小写字母( A )A、ucase( )B、lcase( )C、 dcase( )D、left( )4、若要求VBScript的变量在使用前必须事先定义,则应使用( C )语句来设置。
A. Request B public C. Dim D. Option Explicit5、配置IIS时,设置站点的主目录的位置,下面说法正确的是( D )。
A 只能在本机的c:\inetpub\wwwroot文件夹。
B 只能在本机操作系统所在磁盘的文件夹。
C 只能在本机非操作系统所在磁盘的文件夹。
D 以上全都是错的。
6、关于ASP,下列说法正确的是( C )A 开发ASP网页所使用的脚本语言只能采用VBScript。
B 网页中的ASP代码同html标记符一样,必须用分隔符”<”和”>”将其括起来。
C ASP网页,运行时在客户端无法查看到真实的ASP源代码。
D 以上全都错误。
7、ASP脚本编程使用的语言是( C )A、DelphiB、VBC、VBScriptD、C#8、下列哪一种设置能使表格显示边框( B )A 在<td>中添加 border属性B 在<table>中添加border属性C 在<tr>中添加 border属性D 以上全都可以9、用于从客户端获取信息的ASP内置对象是( B )A ResponseB RequestC SessionD Application10、下列Response对象的用法错误的是( A )A <% Response.Write(输出到浏览器信息) %>B <% = "输出到浏览器信息" %>C <% Response.End %>D 以上全都正确11、QueryString获取方法、Form 获取方法获取的数据子类型分别是:( C )A 数字、字符串B 字符串、数字C 字符串、字符串D 必须根据具体值而定12、下面程序段执行完毕,我们在浏览器中看到的内容是什么(A )<%%>A 新浪C 下划线D 该句有错,什么也不显13、关于Session对象的属性,下列说法正确的是( C )A Session的有效期时长默认为90秒,且不能修改。
ASP(含答案)-网络管理员考试解读
2007年上半年试题五(15分)阅读下列说明,根据网页显示的效果图,回答问题1至问题7。
【说明】以下是用ASP 实现了一个网络收藏夹网页,用于保存用户感兴趣的Web 网页地址。
用IE 打开网页文件“index.asp”后的效果如图5-1 所示。
程序中使用的Access数据表结构如表5-1所示。
【index.asp文档的内容】<%@LANGUAGE="VBSCRIPT" %><%set conn=server. (5)("Adodb.Connection")provider = "Provider=Microsoft.Jet.OLEDB.4.0;"path="Data Source=" & Server.MapPath("main.mdb")connstr= provider & pathconn.open connstr%><html><head><title>网络收藏夹</title></head>(6)<center><%set rs=Server.CreateObject("Adodb.RecordSet")sql="select * from address"rs.open() sql,conn,1,3if Request("name") = "" or Request("url")="" thenResponse.write("内容填写不完整")elsers.addnewrs(1)=request("name")rs(2)=request("URL")rs(3)=request("category")rs.updateend If%><table width="500" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFCC00"> <tr><td>序号</td><td>名称</td><td>类别</td></tr><% rs.movefirstfor j=1 to rs. (7)%><tr><td><%=j%></td><td><a href="<%=rs("url")%>" target="_blank"><%=rs("name")%></a></td> <td><%=rs("category")%></td></tr><% rs.movenext(8)%></table><br><form action="index.asp" method="post" name="new" id="new"><table width="300" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFCC00"> <tr><td width="61">名称</td><td width="223" align="left"><input name="name" type="text" id="name"></td></tr><tr><td>超链接</td><td align="left"><input name="URL" type="text" id="URL"></td></tr><tr><td colspan="2">类别</td></tr><tr><td colspan="2"><textarea name="category" rows="5" id="disc"></textarea><br>*为必填项目</td></tr></table><br>(9)</form><%rs.closeconn.close%></center></body></html>【问题1】(2分)ASP 是(1)网页制作技术。