
Build .Net Apps with C# - QUIZ
Authored by Anonymous Anonymous
Information Technology (IT)
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is true about the .NET framework?
It can only be used to develop desktop applications.
It supports cross-platform development for desktop, mobile, and web applications.
It is exclusive to Windows operating systems.
It only supports mobile applications.
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In C#, which method is used to display output in the console window?
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How do you handle division by zero in a C# console application?
Automatically returns 0
Use if statement to check if the divisor is zero before performing the division
You cannot handle division by zero in C#
C# throws an error and stops the program
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
When creating a simple calculator application in Windows Forms, which event would you handle to perform the calculation?
Form_Load
Button_Click
TextBox_TextChanged
Form_Closed
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the entry point of a C# console application?
Main() Method
Start() Method
Execute() Method
Run() Method
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following statements about .NET CLR (Common Language Runtime) is true?
It translates C# code directly into machine code
It provides memory management and garbage collection
It does not support multiple programming languages
It only works with Windows applications
7.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
In a Windows Forms application, which control is commonly used to accept user input as text?
Label
Button
TextBox
Panel
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?