Вы находитесь на странице: 1из 5

Questionnaire

1. Which language is not a true object-oriented programming language? a.) VB.NET b.) VB 6 c.) C++ d.) C# e.) Java 2. Which of the following is the process of granting access to the users based on identity? a.) Authorization b.) Authentication c.) Impersonation 3. Visual Studio .NET provides which feature: a.) debugging. b.) application deployment. c.) syntax checking. d.) Both a and b. e.) All of the above. 4. What does IDE stand for? a.) Integrated Development Environment b.) Integrated Design Environment c.) Interior Development Environment d.) Interior Design Environment e.) None of the above. 5. Which is true about the name and text property of a control? a.) They are the same when the control is first created. b.) The text property changes to match any changes in the name property. c.) The name property changes to match any changes in the text property. d.) They are never the same unless the programmer makes it that way. e.) They are not allowed to be the same and an error will occur if they are. 6. Which are the standard prefixes for the Button and Combo box controls respectively? a.) btn and chb b.) btn and cbo c.) bto and chb d.) bto and cbo e.) cmd and cbo 7. Which statement about objects is true? a.) One object is used to create one class. b.) One class is used to create one object. c.) One object can create many classes. d.) One class can create many objects. e.) There is no relationship between objects and classes.

8. The .Net class library: a.) contains over 25,000 classes. b.) uses namespaces to manage all of the classes. c.) has the System.Form namespace for classes used in Windows-based application. d.) Both a and b. e.) All of the above. 9. Which statement will call a constructor of a base class? a.) Base.New( ) b.) BaseConstructor.New ( ) c.) CallBase.New( ) d.) Constructor.New ( ) e.) MyBase.New( ) 10. The Get procedure of a property acts like: a.) an event. b.) a function. c.) a variable. d.) Both a and b. e.) All of the above. 11. Setting the SelectedIndex property of a ListBox to -1 will: a.) cause an error. b.) cannot be done. c.) de-select any selected item. d.) Both a and b. e.) All of the above. 12. Which selection process is an example of multiple branches from a single expression? a.) IfThen b.) Select Case c.) DoLoop d.) ForNext e.) All of the above 13. Which is not a type of Select Case test construct? a.) simple value b.) complex value c.) relational value with Is d.) range of values with To e.) All of the above are types of test constructs 14. Which class can be used to create an XML document from scratch? a.) XmlDocument b.) XmlConvert c.) XmlNew d.) XmlSettings 15. The StreamReader and StreamWriter class are both subclasses of which class? a.) IO b.) Stream c.) StreamIO d.) Both a and b.

16.

17.

18.

19.

20.

21.

22.

23.

e.) All of the above. Which of the following is a requirement when merging modified data into a DataSet? a.) A primary key must be defined on the DataTable objects b.) The DataSet schemas must match in order to merge c.) The destination DataSet must be empty prior to merging d.) A DataSet must be merged into the same DataSet that created it. A foreign key: a.) has nothing to do with the primary key. b.) has different values than the primary key. c.) is found in tables that dont have a primary key. d.) is related to the primary key of a different table. e.) is a unique record in a table. The normalization process is: a.) used to remove redundant data. b.) used to make the storage of data more efficient. c.) not recommended for most databases. d.) Both a and b. e.) All of the above When does a round trip start in a web application? a.) The server requests an action from the user. b.) The user activates a server control event. c.) The browser posts a form to the server. d.) The server processes a control event. e.) The server posts a new HTML page. Which client-side technique is specific to ASP.NET? a.) Cookies b.) Query string c.) View state d.) Both a and b. e.) All of the above. Which of the following is a requirement when merging modified data into a DataSet? a.) A primary key must be defined on the DataTable objects b.) The DataSet schemas must match in order to merge c.) The destination DataSet must be empty prior to merging d.) A DataSet must be merged into the same DataSet that created it. With polymorphism: a.) one method can have multiple names. b.) one object can have multiple names. c.) many methods can share the same name. d.) many objects can share the same name. e.) None of the above statements are true. What is the suggested order for the definition of class elements from first to last? a.) Constructs, fields, methods, properties b.) Properties, constructs, fields, methods c.) Fields, properties, constructs, methods d.) Constructs, properties, fields, methods

24.

25.

26.

27.

28.

29.

30.

31.

32.

e.) Methods, constructs, properties, fields _____________is a property common in every validation control. a.) ValidationExpression b.) InitialValue c.) ValueToCompare d.) ControlToCompare e.) ControlToValidate What namespace does the Web page belong in the .NET Framework class hierarchy? a.) System.Web.Control b.) System.Web.RootBuilder c.) System.Web.UserControl d.) System.Web.UI.Page By default, ASP.NET store SessionIDs in _________________ a.) Cookies b.) Cache c.) Database d.) Global variable Which one of the following is the fastest way to concat strings in ASP.NET? a.) Concat method of the String object b.) Append method of the StringBuilder object c.) Plus sign operator to concatenate the strings d.) Substring method of the String object Web.config file is used... a.) To configure the time that the server-side codebehind module is called b.) To store the global information and variable definitions for the application c.) To configure the web server d.) To configure the web browser Which of the following method must be overridden in a custom control? a.) The Paint() method b.) The Control_Build() method c.) The default constructor d.) The Render() method How do we create a FileSystemObject? a.) Server.CreateObject("Scripting.FileSystemObject") b.) Create("FileSystemObject") c.) Create Object:"Scripting.FileSystemObject" d.) Server.CreateObject("FileSystemObject") Which of the following tool is used to manage the GAC? a.) RegSvr.exe b.) GacSvr32.exe c.) GacUtil.exe d.) GacMgr.exe We can manage states in asp.net application using a.) Session Objects b.) Application Objects c.) Viewstate

33.

34.

35.

36.

37.

38.

39.

40.

d.) All of the above What is used to validate complex string patterns like an e-mail address? a.) Extended expressions b.) Basic expressions c.) Regular expressions d.) Irregular expressions Which of the following is not a member of ADODBCommand object? a.) ExecuteScalar b.) ExecuteStream c.) Open d.) ExecuteReader Default Session data is stored in ASP.Net. a.) StateServer b.) InProcess c.) Session Object d.) all of the above Which of the following ASP.NET object encapsulates the state of the client? a.) Session object b.) Application object c.) Response object d.) Server object Which of the following is the performance attributes of processModel? a.) requestQueue limit b.) maxWorkerThreads c.) maxIdThreads d.) All Which of the following is faster and consume lesser memory? a.) SQLDataReader b.) Data Set The ________________ property affects how the .Net Framework handles dates, currencies, sorting and formatting issues. a.) CurrentUICulture b.) CurrentCulture ___________________ tests make sure that new code does not break existing code. a.) Regression tests b.) Integration tests c.) Unit tests d.) Load test

Вам также может понравиться