Online Exam Quiz

questionQuestion  1 to 30

Which ASP.NET object encapsulates the state of the client and the browser?

  • Response
  • Request
  • Session
  • Application
Mark for review

Which method is used to register a route in ASP.NET MVC?

  • RegisterRoute()
  • MapRoute()
  • DefineRoute()
  • AddRoute()
Mark for review

What does LINQ stand for?

  • Language Integrated Query
  • Linear Integrated Query
  • Language Input Query
  • List Integrated Query
Mark for review

What is the main entry point for a .NET application?

  • Main() method
  • Start() method
  • Begin() method
  • Init() method
Mark for review

Which method can be used to post data back to the same page in ASP.NET?

  • IsPostBack
  • PostData
  • PostBack
  • SamePage
Mark for review

What does IIS stand for?

  • Internet Information Server
  • Internal Information Service
  • Internet Information Service
  • Internal Information Server
Mark for review

Which method is used to concatenate two strings in C#?

  • Concat()
  • Append()
  • Join()
  • Add()
Mark for review

Which tool is used for managing .NET packages?

  • NuGet
  • NPM
  • Bower
  • Composer
Mark for review

In MVC, what does the 'C' stand for?

  • Controller
  • Class
  • Client
  • Component
Mark for review

Which protocol is used for communication between a client and server in ASP.NET?

  • TCP
  • HTTP
  • FTP
  • SMTP
Mark for review

Which method is used to release unmanaged resources before an object is destroyed?

  • Dispose()
  • Finalize()
  • Release()
  • Terminate()
Mark for review

What is the use of the 'yield' keyword in C#?

  • To create an iterator
  • To handle exceptions
  • To declare variables
  • To create a thread
Mark for review

What is the default session timeout in ASP.NET?

  • 5 minutes
  • 10 minutes
  • 20 minutes
  • 30 minutes
Mark for review

What is Razor in ASP.NET MVC?

  • A server-side templating engine
  • A client-side scripting language
  • A database
  • A type of .NET framework
Mark for review

What does ADO stand for in ADO.NET?

  • ActiveX Data Object
  • Advanced Data Object
  • ActiveX Database Object
  • None of the above
Mark for review

What is the file extension for a web form in ASP.NET?

  • .html
  • .aspx
  • .cshtml
  • .webform
Mark for review

In .NET, what is the namespace used for threading?

  • System.Threading
  • System.Thread
  • System.Threading.Tasks
  • System.Task
Mark for review

What is the extension of a Master Page in ASP.NET?

  • .master
  • .aspx
  • .ascx
  • .html
Mark for review

Which class in .NET is used to read and write files?

  • FileStream
  • FileReader
  • FileHandler
  • FileOperator
Mark for review

What is the use of the 'using' statement in C#?

  • To include namespaces
  • To manage resources
  • To handle exceptions
  • To declare variables
Mark for review

Which method is used to explicitly kill a user's session?

  • Session.Abandon()
  • Session.End()
  • Session.Kill()
  • Session.Dispose()
Mark for review

Which method is used to read data from a DataReader in .NET?

  • Read()
  • Execute()
  • Fetch()
  • Load()
Mark for review

Which control would you use to bind data from a database to a dropdown list?

  • ListBox
  • ComboBox
  • DropDownList
  • DataList
Mark for review

What is the primary function of the CLR in .NET?

  • Compile code
  • Execute code
  • Design interfaces
  • Manage databases
Mark for review

Which of the following is not a valid data type in C#?

  • int
  • double
  • string
  • var
Mark for review

What is the default port for HTTP?

  • 21
  • 80
  • 8080
  • 443
Mark for review

Which class in .NET can be used for logging events?

  • EventLog
  • LogEvent
  • EventLogger
  • Logger
Mark for review

What does ASP.NET stand for?

  • Active Server Pages .NET
  • Application Service Provider .NET
  • Active Script Pages .NET
  • Active Server Provider .NET
Mark for review

Which of the following languages can be used to write .NET applications?

  • C#
  • VB.NET
  • F#
  • All of the above
Mark for review

Which of the following is not a .NET data provider?

  • OLE DB
  • ODBC
  • SQL Server
  • JDBC
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review