+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. The ____________ exception is thrown when a value is assigned to a null object.
NullReferenceException
IndexOutofBondException
OverflowException
ArithmeticException
View Answer
2. The __________ method is used to add the dependent cache item.
Cache.Add()
Cache.Remove()
Cache.Insert()
Chache.Save()
View Answer
3. The __________ object is responsible for transforming the data based on the algorithm of the symmetric encryption class.
CryptoStream
ICryptoTransform
NetworkStream
RijndaelManaged
View Answer
4. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
named
anonymous
unnamed
partial
View Answer
5. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
referenced
static
anonymous
invoked
View Answer
6. Which of the following options is not a function of CLR in the .NET framework?
Garbage Collection
Memory Management
Language translation
Code Safety Verification
View Answer
7. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
All of them
unnamed
Anonymous
Partial
View Answer
8. EF queries are converted to ______ queries for underlying databases.
API
SQL
Reference
XML
View Answer
9. In C#, _____________are created using delegates.
Threads
Events
Exceptions
None of these
View Answer
10. What is the correct way to create an object called myObj of MyClass?
all of these
class myobj = myclass();
new obj = new ();
myclass myobj = new myclass();
View Answer