+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. Which interface defines methods to control different generic collections.
ICollections
All of them
IEnumerator
IDictionary
View Answer
2. The ____________ exception is thrown when a value is assigned to a null object.
NullReferenceException
ArithmeticException
OverflowException
IndexOutofBondException
View Answer
3. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
Queue
ArrayList
Array
Stack
View Answer
4. The __________ method is used to add the dependent cache item.
Cache.Remove()
Cache.Insert()
Chache.Save()
Cache.Add()
View Answer
5. The validity of a cache item is based on the _________.
Cache dependencies
Memory used
Cache system
Cache directory
View Answer
6. How can you enable communication between threads while synchronizing the threads?
By using the ThreadPool class
By using the Task class
By using synchronization events
None of them
View Answer
7. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Source
InnerException
Message
StackTrace
View Answer
8. Which access modifier makes the code only accessible within the same class?
protected
private
public
abstract
View Answer
9. Which of these indicates whether sliding expiration is enables?
None of them
Sliding Expiration
Cache Policy
Absolute Expiration
View Answer
10. The default capacity of ArrayList is ________.
12
32
8
16
View Answer