+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
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. What is the correct way to create an object called myObj of MyClass?
myclass myobj = new myclass();
all of these
class myobj = myclass();
new obj = new ();
View Answer
2. Managing memory and verifying code safety are functionalities of ____________
Common Type system
Common Language Specification
.NET Framework Class Library
Common Language Runtime
View Answer
3. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
unnamed
anonymous
named
partial
View Answer
4. Which version of C# is use in visual studio 2019
7.0
6.0
5.0
8.0
View Answer
5. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
Stack
Array
ArrayList
Queue
View Answer
6. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
delegate Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
View Answer
7. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
All of them
Partial
Anonymous
unnamed
View Answer
8. Which access modifier makes the code only accessible within the same class?
protected
public
private
abstract
View Answer
9. Which of following components of the .NET framework enable interoperability of dynamic with the .NET Framework?
Common Type System(CTS)
Dynamic Language Runtime(DLR)
Common Language Runtime (CLR)
Base Framework Classes
View Answer
10. Managing memory and verifying code safety are functionalities of ________.
.Net Framework Class Library
Common Language Runtime
Common Language Specification
Common Type System
View Answer