+923132835245
safcodeinstitute@gmail.com
Online Quiz
10000+ Questions!
Students Works
Ideas & Topics!
Live Coding
HTML & CSS
Home
(current)
About
Courses
CIT
Web Designing
Graphic Designing
Web Development
Digital Marketing
WordPress + SEO
Artificial Intelligence (AI)
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Softwares
Contact
Test Your Programming Skills with Safcode!
Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"
Quiz Start
1. Which of the following options is not a function of CLR in the .NET framework?
Memory Management
Garbage Collection
Language translation
Code Safety Verification
View Answer
2. What is the correct way to create an object called myObj of MyClass?
myclass myobj = new myclass();
new obj = new ();
all of these
class myobj = myclass();
View Answer
3. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
anonymous
referenced
static
invoked
View Answer
4. Managing memory and verifying code safety are functionalities of ____________
Common Language Specification
Common Language Runtime
.NET Framework Class Library
Common Type system
View Answer
5. Which of following components of the .NET framework enable interoperability of dynamic with the .NET Framework?
Base Framework Classes
Dynamic Language Runtime(DLR)
Common Type System(CTS)
Common Language Runtime (CLR)
View Answer
6. Which interface defines methods to control different generic collections.
All of them
ICollections
IDictionary
IEnumerator
View Answer
7. An EF is an ________ tool built for ADO.NET.
XML Reader
Programming
Windows
ORM
View Answer
8. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
public delegate int Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
View Answer
9. Which operator can be used to compare two values?
=
==
<=
<>
View Answer
10. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
return
select
where
from
View Answer