Safcode Institute by Sir Safder
+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 Development
Amazon Virtual Assistant
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Softwares
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 validity of a cache item is based on the _________.
Cache directory
Cache system
Memory used
Cache dependencies
View Answer
2. Exception thrown due to arithmetic operations or null object reference are ________ exceptions.
system-level
application-Level
system-defined
user-defined
View Answer
3. Which access modifier makes the code only accessible within the same class?
abstract
protected
public
private
View Answer
4. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
unnamed
Partial
All of them
Anonymous
View Answer
5. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
Stack
Queue
Array
ArrayList
View Answer
6. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
from
where
return
select
View Answer
7. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
public delegate Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
View Answer
8. Which interface supports simple iteration over elements of a generic collection.
ICollection
IEnumerator
IList
IDictionary
View Answer
9. What is the correct way to create an object called myObj of MyClass?
all of these
new obj = new ();
class myobj = myclass();
myclass myobj = new myclass();
View Answer
10. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Source
InnerException
StackTrace
Message
View Answer