Login
Sign up
Categories
IT & Programming
Design & Multimedia
Writing & Translation
Sales & Marketing
Admin Support
Engineering & Manufacturing
Finance & Management
Website Designing & Development
Database Management
Networking & Troubleshooting
Aviation & Aerospace
Softwares & Applications
Stocks & Investments
Electronics & Appliances
Online Tools
General Knowledge & Aptitude
Mathematics
Educational Subjects & Courses
Business & Organization
Health & Wellbeing
Culture & Ethics
IT Field Knowledge & Experience
Languages & Communication
Entrepreneurship & Leadership
Economics & Development
Mass Communication & Media
Research Methods & Evaluation
Public Relations & Dealings
Educational Methods and Research
Educational Subjects & Techniques
Crime & Justice
Governments & Policies
Cyber Security & Ethical Hacking
Hospitality & Tourism
Soft Skills & Personal Management
Transportation & Driving Rules
Forest and Nature
Religion
Skill Assessment
MCQs
Login
Sign up
Categories
IT & Programming
Design & Multimedia
Writing & Translation
Sales & Marketing
Admin Support
Engineering & Manufacturing
Finance & Management
Website Designing & Development
Database Management
Networking & Troubleshooting
Aviation & Aerospace
Softwares & Applications
Stocks & Investments
Electronics & Appliances
Online Tools
General Knowledge & Aptitude
Mathematics
Educational Subjects & Courses
Business & Organization
Health & Wellbeing
Culture & Ethics
IT Field Knowledge & Experience
Languages & Communication
Entrepreneurship & Leadership
Economics & Development
Mass Communication & Media
Research Methods & Evaluation
Public Relations & Dealings
Educational Methods and Research
Educational Subjects & Techniques
Crime & Justice
Governments & Policies
Cyber Security & Ethical Hacking
Hospitality & Tourism
Soft Skills & Personal Management
Transportation & Driving Rules
Forest and Nature
Religion
Skill Assessment
MCQs
Login
Sign up
Skill Assessments
>
IT & Programming
>
.NET Skill Assessment
>
Quiz # 1
.NET Quiz # 1
Instructions
Quiz:
.NET Quiz # 1
Subject:
Basic Net
Total Questions:
30 MCQs
Time:
30 Minutes
Note
Do not refresh the page while taking the test.
Results along with correct answers will be shown at the end of the test.
Start Quiz
.NET Quiz # 1
End Quiz
Question
1
of 30
00:00
Your Web application lets users upload files and is hosted in Microsoft IIS 6.0 on a server named ABC-SR01. The application uses the default application pool with Windows Authentication. You cannot upload a file from your workstation using the application; instead, you see an access denied message. To fix this problem, you enable debugging. Next, you should _______.
Create a Debugger Users group on your workstation and add your Windows user account to it
Add your Windows user account to the Administrators group on ABC-SR01
Stop and restart the application pool on ABC-SR01
Add the following configuration to the Web.config file <identity impersonate="true" />
Which of the following kick in the Garbage Collector (GC) process?
All of the given options are correct
When GC.Collect method is invoked
The total memory being used on the managed heap exceeds the acceptable threshold
The system has low physical memory
Which of the following keywords is used to include existing namespace in a C# program?
import
using
package
namespace
True or false? In C#, a class can inherit from multiple interfaces.
True
False
Can you prevent your class from being inherited and become a base class for some other classes?
No
Yes
To configure authentication for your Web application so clients cannot access it anonymously, but access is allowed for users from untrusted domains, where should the following code be added to?
The app.config file
The web.config file
The project's property pages
The workstation's machine.config file
In ASP.NET, does EnableViewState allow the page to save user input on a form?
Yes
No
In ASP.NET, postback occurs in which of the following forms?
Winforms
HTMLForms
Webforms
How do you manage states in an ASP.NET application?
Viewstate
Application objects
All of these
Session objects
Which C# code will output an element's value from a multidimensional array?
Console.WriteLine( myArray(1),(3) );
Console.WriteLine( myArray[1][3] );
Console.WriteLine( myArray{1}{3} );
Console.WriteLine( myArray[1.3] );
Which of the following is not a VALID C# access specifier ?
Public
Static
Private
Protected
A class declared with the sealed keyword cannot be a base class.
False
True
Which of the following are part of ASP.NET?
Web Forms, MVC, and Web API
All answers are correct.
Web Forms and MVC.
ASP.NET and MVC
SignalR
What type of processing model does ASP.NET simulate?
Top-down
Linear
Static
Event-driven
Which of the following reasons make C# a widely used professional language?
Structured language
Object oriented
All of the given options are correct
Component oriented
Which of the following namespaces contain types that enable interaction with system processes, event logs, and performance counters?
System.AddIn
System.Diagnostics
System.ComponentModel
System.Data
Which namespace contain the types necessary to build Windows Communication Foundation (WCF) service and client applications?
System.Web
System.ServiceModel
System.Net
System.Messaging
Which of the following would force an immediate garbage collection of all generations?
GCCollect()
GC.Garbage()
GC.Force()
GC.Collect()
In ASP.NET, why is Global.asax used?
To implement application and session level events
Neither of these
To declare Global variables
Which caching type is supported by ASP.NET?
Output caching
Data caching
Output caching and data caching
None of these
In ASP.NET, which method do you invoke on the Data Adapter control to load your generated dataset?
Read( )
Fill()
ExecuteQuery( )
In C#, what does the following code do: class Test: Form { }
Creates the class Test : Form and creates the class Test that inherits the class Form
Creates the class Form that inherits the class Test
Creates the class Test : Form
Creates the class Test that inherits the class Form
Which of the following represents a thread-safe map of key/value pair and can be used in a multi-threaded environment?
ConcurrentBag
BlockingCollection
ConcurrentDictionary
ConcurrentQueue
How is ASP.NET different from classic ASP?
Scripting is separated from the HTML, and code is interpreted separately
Scripting is separated from the HTML, code is compiled as a DLL, and DLLs can be executed on the server
Code is separated from the HTML, and interpreted code is interpreted separately
How many generations does Garbage Collector use for Small Objects in .Net?
6
4
5
3
Which of the following "type" of members are accessible only within files in the same DLL ?
Private
Internal
Protected
When do you have to declare a class abstract?
When all methods in the class are abstract.
When at least one of the methods in the class is abstract.
When at least one of the methods in the class is declared.
A method _______ an exception when that method detects that a problem has occured.
Catches
Throws
Trys
Trys and Catches
Which of the following is the actual .net code translated into?
MSIL
CLR
CTS
CLS
Which of the following is a valid C# constant definition?
constant <data_type> <constant_name> = value;
const <data_type> <constant_name> = value;
final <data_type> <constant_name> = value;
(all of these)
Submit Test
Prev Question
ABCd
Next Question
Liked this quiz? Share it with friends:
Share Quiz
Share
WhatsApp
Facebook
Twitter
LinkedIn
Or copy link:
Copy
Link copied to clipboard!
Copy
.NET Skill Assessment
Login to see Skill Score (It's Free)
Your Skill Level:
Poor
Retake Quizzes to improve it
Start Assessment
.NET Skill Assessment
Login to see Skill Score (It's Free)
Your Skill Level:
Poor
Retake Quizzes to improve it
Start Assessment