Το παρακατω τεστ αξιολογησης πρεπει να συμπληρωθει μεχρι την της 9/6/2016. Μπορειτε να στειλετε τις απαντησεις ειτε στο προσωπικο μου inbox ειτε στο ενακολουθη διευθυνση email nkoukos@hotmail.com


      ΤΕΣΤ ΑΞΙΟΛΟΓΗΣΗΣ 1ο

Ques 1 : Which of the following statements are TRUE about the .NET CLR?

1. It provides a language-neutral development & execution environment.

2.It ensures that an application would not be able to access memory that it is not authorized to access.

3.It provides services to run "managed" applications.

4.The resources are garbage collected.

5.It provides services to run "unmanaged" applications.

(A) Only 1 and 2

(B) Only 1, 2 and 4

(C) 1, 2, 3, 4

(D) Only 4 and 5

Ques 2 : In data reader, what can be used before read method?

(A) Getvalue

(B) Getstring

(C) GetNumber

(D) None

Ques 3 : What is ENUM?

(A) It is used to initialize variables

(B) It is used to define constants

(C) It is used to define variables

(D) None

Ques 4 : A variable which is declared inside a method is called a________variable

(A) Local

(B) Private

(C) Static

(D) Serial

Ques 5 : Can an Interface be instantiated directly?

(A) Yes

(B) No

Ques 6 : Which of the following are valid .NET CLR JIT performance counters?

1. Total memory used for JIT compilation

2.Average memory used for JIT compilation

3.Number of methods that failed to compile with the standard JIT

4.Percentage of processor time spent performing JIT compilation

5.Percentage of memory currently dedicated for JIT compilation

(A) 1, 2

(B) 1, 5

(C) 3, 4

(D) 4, 5

Ques 7 : Automatic paging is possible in

(A) datareader

(B) dataset

(C) datatabel

(D) all

Ques 8 : What does Dispose method do with connection object?

(A) Close the connection

(B) Temporary dispose the connection

(C) Deletes it from the memory

(D) All of the above

Ques 9 : Feature of a local variable

(A) It must be declared within a method

(B) It represent a class object

(C) It can be used anywhere in the program

(D) It must accept a class

Ques 10 : What is the Difference between Convert.ToInt32 and Int.Parse?

(A) Both are Same

(B) Convert.ToInt32 Can't Handle Null Values ,it will throws rgumentNullException error.

(C) Int.Parse Can't Handle Null values , It will throws ArgumentNullException Error.

(D) Both can Handle Null Values

Ques 11 : Which of the following statements is correct about Managed Code?

(A) Managed code is the code that runs on top of Windows.

(B) Managed code is the code that is written to target the services of the CLR.

(C) Managed code is the code where resources are Garbage Collected.

(D) Managed code is the code that is compiled by the JIT compilers.

Ques 12 : What object can help you maintain data across users?

(A) Session object

(B) Server Object

(C) Response Object

(D) Application Object

Ques 13 : Is it possible to change the value of a variable while debugging a C# application?

(A) Yes

(B) No

Ques 14 : Two methods with the same name but with different parameters.

(A) Overloading

(B) Multiplexing

(C) Duplexing

(D) Loading

Ques 15 : C# doesnot support:

(A) abstraction

(B) polymorphism

(C) multiple inheritance

(D) inheritance

Ques 16 : Which of the following utilities can be used to compile managed assemblies into processor-specific native code?

(A) gacutil

(B) ngen

(C) sn

(D) ildasm

Ques 17 : Which property will you use to process different server paths in a page?

(A) Request

(B) Response

(C) Server

(D) Application

Ques 18 : Are private class-level variables can inherited?

(A) Yes, and we can access them

(B) No, and we can not access them

(C) Yes, but we can not access them

(D) All of the above are wrong

Ques 19 : Is there any errors in this -> EmployeeMgmt constructor: Public int EmployeeMgmt { emp_id = 100; }

(A) Return type

(B) Formal parameters

(C) No errors

(D) Name

Ques 20 : Which is true about Interface and abstract methods?

(A) We can write only one abstract method inside interface.

(B) No method is abstract inside interface

(C) All the methods inside Interface in an abstract method.

(D) None of the above

Tags: C#

Views: 129

Report

Win at School

Commercial Policy

If you are representing a commercial entity, please see the specific guidelines on your participation.

Badge

Loading…

Follow

Awards:

© 2024   Created by Steve Hargadon.   Powered by

Badges  |  Report an Issue  |  Terms of Service