

ITD103_Windows Form
Presentation
•
Computers
•
University
•
Practice Problem
•
Medium
Wency Jorda
Used 5+ times
FREE Resource
2 Slides • 36 Questions
1
Object Oriented
Programming 2
ITD103L
Wency N. Jorda
Instructor
2
C# Windows Forms
Applications
3
Multiple Choice
What is the primary purpose of Windows Forms in the .NET Framework?
To create web applications
To simplify the development of desktop applications for Windows
To manage databases
To create console applications
4
Multiple Choice
What type of applications can be created using Windows Forms?
Web applications
Console applications
Windows desktop applications
Cloud Application
5
Multiple Choice
In Visual Studio, which namespace is commonly imported for Windows Forms applications?
6
Fill in the Blanks
A button click event is supposed to execute the SQL query, but clicking the button does nothing.
Type answer...
7
Multiple Choice
What is the purpose of the InitializeComponent() method in a Windows Forms application?
It starts the application’s process loop
It initializes and sets up the form and its controls
It handles user input validation
It defines the form’s layout and appearance
8
Multiple Select
How can you add a Button control to a form in Visual Studio?
(Select all the correct answers)
By typing the code manually in the Program.cs file
By dragging it from the Toolbox to the form
By selecting it from the Solution Explorer
By writing code in Form1.Designer.cs
9
Multiple Choice
What is the purpose of the ErrorProvider component in Windows Forms?
To log errors in the application
To provide tooltips for controls
To validate user input and show error messages
To display confirmation messages
10
Fill in the Blanks
IDENTIFY THE ERROR:
INSERT INTO Employees (EmployeeID, Name, Salary, Position)
VALUES (1, 'John Doe', Developer, '50000');
Type answer...
11
Multiple Choice
Blank organizes related control within a labeled container
GroupBox
ComboBox
Panel
RadioButton
12
Multiple Choice
Which SQL command is used to retrieve data in a CRUD operation?
SELECT
RETRIEVE
READ
GET
13
Multiple Choice
Which C# class is commonly used to interact with a SQL database?
SqlManager
SqlDatabase
SqlConnection
SqlClient
14
Fill in the Blanks
IDENTIFY THE ERROR:
DELETE FROM Employees
WHERE is EmployeeID = 1;
Type answer...
15
Multiple Choice
This component allow the selection of one option from a group
ComboBox
Button
RadioButton
GroupBox
16
Fill in the Blanks
The code should filter data based on a user-entered customer ID in textBoxCustomerID and display the result in lblCustomerName. It runs but displays nothing.
Type answer...
17
Open Ended
What are the steps to create a new Windows Forms project in Visual Studio?
18
Open Ended
Explain the difference between TextBox and Label controls.
19
Open Ended
What is the purpose of NuGet Package Manager?
20
Fill in the Blanks
The code should connect to a SQL database and fill a DataGridView with data. However, it does not work. Identify the issue.
Type answer...
21
Open Ended
What is the purpose of ErrorProvider?
22
Multiple Choice
What is the purpose of the Form1.Designer.cs file in a Windows Forms project?
It contains event-handling code for form events
It holds the auto-generated code for form layout and controls
It is the main code file where execution starts
It contains resource files for the project
23
Fill in the Blanks
The code should insert a new user's gender into the database based on the selected radio button (radioMale or radioFemale). However, it always inserts "Unknown".
Type answer...
24
Multiple Choice
Which of the following is the Radio button?
25
Multiple Choice
Which of the following is the Check button?
26
Fill in the Blanks
The code below is supposed to display the total number of customers in lblTotalCustomers, but it always shows zero.
Type answer...
27
Multiple Choice
Which of these allows the user to modify the properties of components?
28
Multiple Choice
Which of these allows the user to check the files within the project?
29
Multiple Choice
Which of these allows the user to add gui components?
30
Multiple Choice
Which of these allows the user to add forms, class, and existing project?
31
Fill in the Blanks
This code updates a customer's email in the database, but it updates all customers instead of just one.
Type answer...
32
Multiple Choice
Which of these allows the user to add database connection?
33
Multiple Choice
Which of these allows the user to modify the events of the component?
34
Multiple Choice
To display a message box in Windows Forms, which class should be used?
Display
Show
Message
MessageBox
35
Fill in the Blanks
The btnDelete button stops working after an error occurs while attempting to delete a record.
Type answer...
36
Multiple Choice
What is the default file extension for a Windows Forms application in C#?
.csh
.cs
.form
.exe
37
Fill in the Blanks
The code is supposed to insert a username from textBoxUsername into the database, but it throws an error when the text box is empty.
Type answer...
38
Multiple Choice
What namespace must be included to use Windows Forms in C#?
Object Oriented
Programming 2
ITD103L
Wency N. Jorda
Instructor
Show answer
Auto Play
Slide 1 / 38
SLIDE
Similar Resources on Wayground
28 questions
unit6 continue
Presentation
•
University
34 questions
BAHAN PRESENTASI PENGIMBASAN KKA
Presentation
•
Professional Development
33 questions
Java GUI Unit 11
Presentation
•
University
31 questions
Bài học không có tiêu đề
Presentation
•
KG - University
29 questions
Activities SQL WHERE
Presentation
•
University
37 questions
OPERATING SYSTEM (MODULE #2)
Presentation
•
University
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
10 questions
Spanish Greetings and Goodbyes!
Presentation
•
6th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
25 questions
SER and Subject Pronouns
Quiz
•
8th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
19 questions
Key Concepts in Buddhism
Quiz
•
University
0 questions
Cell Domain Basic Review (Biology)
Quiz
•
University