+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 correct way to create an object called myObj of MyClass?
new obj = new ();
all of these
myclass myobj = new myclass();
class myobj = myclass();
View Answer
2. Which of the following options is not a function of CLR in the .NET framework?
Garbage Collection
Language translation
Memory Management
Code Safety Verification
View Answer
3. Which access modifier makes the code only accessible within the same class?
public
abstract
private
protected
View Answer
4. In C#, _____________are created using delegates.
Events
Threads
Exceptions
None of these
View Answer
5. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
All of them
unnamed
Partial
Anonymous
View Answer
6. EF queries are converted to ______ queries for underlying databases.
XML
SQL
Reference
API
View Answer
7. The __________ method is used to add the dependent cache item.
Cache.Remove()
Cache.Add()
Chache.Save()
Cache.Insert()
View Answer
8. CLR stands for___________
Common Layer Runtime
C# Language Runtime
Common Language Repository
Common Language Runtime
View Answer
9. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
ArrayList
Array
Queue
Stack
View Answer
10. Which data type is used to create a variable that should store text?
String
float
Boolean
int
View Answer