Online Exam Quiz

questionQuestion  1 to 30

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

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

What is the purpose of the Global.asax file?

  • Handle application-level events
  • Define web form structure
  • Style the web page
  • Store database connection strings
Mark for review

What does IIS stand for?

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

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

  • .master
  • .aspx
  • .ascx
  • .html
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 class is used to work with JSON data in .NET?

  • JsonParser
  • JsonConvert
  • JsonSerializer
  • JsonHandler
Mark for review

What is Entity Framework in .NET?

  • An ORM framework
  • A web server
  • A database
  • A programming language
Mark for review

Which of the following is a method to start a thread in .NET?

  • Start()
  • Begin()
  • Run()
  • Initiate()
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 is the use of the 'var' keyword in C#?

  • To declare variables with an implicit type
  • To declare constants
  • To handle exceptions
  • To create a class
Mark for review

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

  • Dispose()
  • Finalize()
  • Release()
  • Terminate()
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 'yield' keyword in C#?

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

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

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

What is a Partial View in MVC?

  • A part of a web service
  • A part of a view
  • A part of a model
  • A part of a controller
Mark for review

What is the purpose of the Web.config file in ASP.NET?

  • Configure application settings
  • Store user credentials
  • Design web pages
  • Define database schema
Mark for review

What is the extension of a web.config file?

  • .conf
  • .xml
  • .config
  • .web
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

Which class is used to connect to a SQL Server database in .NET?

  • SqlServerConnection
  • SqlConnection
  • SqlDatabase
  • SqlConnect
Mark for review

What is the purpose of the 'async' keyword in C#?

  • To define asynchronous methods
  • To define synchronous methods
  • To handle exceptions
  • To declare variables
Mark for review

Which attribute is used to specify the primary key in Entity Framework?

  • [PrimaryKey]
  • [Key]
  • [Id]
  • [Primary]
Mark for review

What is the maximum length of a URL in ASP.NET?

  • 1024 characters
  • 2048 characters
  • 4096 characters
  • 8192 characters
Mark for review

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

  • int
  • double
  • string
  • var
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 tool is used for managing .NET packages?

  • NuGet
  • NPM
  • Bower
  • Composer
Mark for review

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

  • TCP
  • HTTP
  • FTP
  • SMTP
Mark for review

What is the default port for HTTP?

  • 21
  • 80
  • 8080
  • 443
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

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

  • Main() method
  • Start() method
  • Begin() method
  • Init() method
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