+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 of these indicates whether sliding expiration is enables?
Absolute Expiration
Sliding Expiration
None of them
Cache Policy
View Answer
2. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
All of them
unnamed
Anonymous
Partial
View Answer
3. Which operator can be used to compare two values?
<>
<=
==
=
View Answer
4. In C#, _____________are created using delegates.
None of these
Exceptions
Threads
Events
View Answer
5. The default capacity of ArrayList is ________.
16
12
8
32
View Answer
6. How can you enable communication between threads while synchronizing the threads?
By using Task Class
By using synchronization events
None of them
By using the Thread Pool class
View Answer
7. 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 int Calculation (int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
View Answer
8. The ____________ exception is thrown when a value is assigned to a null object.
ArithmeticException
OverflowException
NullReferenceException
IndexOutofBondException
View Answer
9. Which access modifier makes the code only accessible within the same class?
private
abstract
protected
public
View Answer
10. The validity of a cache item is based on the _________.
Memory used
Cache directory
Cache system
Cache dependencies
View Answer