Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ITP 302L Quiz No. 1

Total questions: 20

Worksheet time: 25mins

Name
Class
Date
1.

What best describes event-driven programming?

a)

Code runs line by line from top to bottom

b)

Code runs only when an event occurs

c)

Code runs continuously in a loop

d)

Code runs only when compiled

2.

Which of the following is an example of an event in a Windows Forms application?

a)

Declaring a variable

b)

Clicking a button

c)

Writing a method

d)

Naming a project

3.

In Visual Studio, which component allows you to drag and drop controls onto a Form?

a)

Toolbox

b)

Properties Window

c)

Designer Area

d)

Menu Bar

4.

What is the main purpose of a Form in a Windows Forms application?

a)

To store data

b)

To execute code

c)

To serve as the main window of the application

d)

To display errors

5.

Which control is primarily used to accept user input?

a)

Label

b)

Button

c)

TextBox

d)

Form

6.

Which property changes the displayed text of a Button or Label?

a)

Name

b)

Size

c)

Text

d)

Enabled

7.

What happens when you run a Windows Forms app without writing any event code?

a)

The program will not open

b)

The controls will not appear

c)

Events will still trigger actions

d)

Clicking controls will do nothing

8.

Which of the following best defines a programming paradigm?

a)

A programming language

b)

A way of organizing and writing programs

c)

A software tool

d)

A type of application

9.

Which window in Visual Studio is used to change control properties such as color, size, and text?

a)

Toolbox

b)

Designer

c)

Properties Window

d)

Solution Explorer

10.

Why are naming conventions important in programming?

a)

They make programs run faster

b)

They reduce syntax errors

c)

They improve readability and maintenance

d)

They replace comments

11.

An application that waits for user actions before running code is called an (a)   program.

12.

Visual Studio is an (a)   (IDE) used to write, design, and run programs.

13.

The (a)   window contains controls like Button, Label, and TextBox.

14.

Properties describe the (a)   and behavior of controls.

15.

The (a)   event is commonly used to respond when a button is pressed.

16.

A UI element that displays text but cannot be edited by the user.

4 lines
17.

A platform that provides tools and libraries for building C# applications.

4 lines
18.

Actions that a control can perform, such as Clear() or Focus().

4 lines
19.

A window that allows you to visually design your application without writing code.

4 lines
20.

A rule or pattern used when naming controls like btnLogin or txtUsername.

4 lines