++92 313 8389893
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
Enroll Now
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. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
anonymous
invoked
static
referenced
View Answer
2. What is the correct way to create an object called myObj of MyClass?
new obj = new ();
all of these
class myobj = myclass();
myclass myobj = new myclass();
View Answer
3. 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 Calculation (int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
View Answer
4. Which data type is used to create a variable that should store text?
float
String
Boolean
int
View Answer
5. The validity of a cache item is based on the _________.
Cache dependencies
Cache directory
Memory used
Cache system
View Answer
6. _________ is one of the most powerful features that was first introduced in .NET framework 3.5.
EF API
ADO.Net
Entity SQL
LINQ
View Answer
7. Which access modifier makes the code only accessible within the same class?
abstract
private
public
protected
View Answer
8. In C#, _____________are created using delegates.
Exceptions
Events
Threads
None of these
View Answer
9. Which of following components of the .NET framework enable interoperability of dynamic with the .NET Framework?
Dynamic Language Runtime(DLR)
Base Framework Classes
Common Type System(CTS)
Common Language Runtime (CLR)
View Answer
10. Which version of C# is use in visual studio 2019
8.0
5.0
7.0
6.0
View Answer