+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 process of the concurrentDictionary
class?
Provide a threads-safe implementation of a dictionary of key value pairs
Provide a threads-safe implementation of a stack
None of them
Provide a threads-safe implementation of a queue
View Answer
2. The ____________ exception is thrown when a value is assigned to a null object.
OverflowException
IndexOutofBondException
NullReferenceException
ArithmeticException
View Answer
3. Exception thrown due to arithmetic operations or null object reference are ________ exceptions.
system-defined
system-level
application-Level
user-defined
View Answer
4. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Source
InnerException
StackTrace
Message
View Answer
5. What is the correct way to create an object called myObj of MyClass?
new obj = new ();
myclass myobj = new myclass();
all of these
class myobj = myclass();
View Answer
6. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
anonymous
named
unnamed
partial
View Answer
7. 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
8. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
return
from
select
where
View Answer
9. The validity of a cache item is based on the _________.
Cache system
Memory used
Cache directory
Cache dependencies
View Answer
10. The default capacity of ArrayList is ________.
32
8
16
12
View Answer