Chapter 1 : Introduction to Visual Programming Flashcards
What components respond to actions from users such as mouse clicks, pressing keys on keyboards or placing the mouse cursor over user interface objects
- Graphical User Interface ( GUI )
What are the actions known as ? ( mouse click, pressing key on keyboards )
- Event
What does a Visual C# applications project start with? ( 3 )
- Designer
- Toolbox
- Property Window
- An empty form is generated and its name is Form1
What is the form basic width and height
- 300 pixel each
What does the property window do?
- Change the settings for the appearance and other characteristics of a GUI object
What will be displayed in the column’s property list? ( 2 )
- Left Column
- Property’s Name
- Right Column
- Property’s Value
What is controls name
- Identifiers of the controls
List out the rules for naming controls
- The first character must be letter ( lower , uppercase doesn’t matter ) or an underscore
- All other characters can be alphanumerical characters or underscores
- The name cannot contain spaces
- Example
showDayButton
DisplayTotal
_ScoreLabel
List out 3 ways for how C# code is primarily organized?
- Namespace
- A container that holds classes
- Class
- A container that holds methods
- Method
- Group of one or more programming statements that perform some operations
What is a file that containes program code is called?
- Source Code File
What source code file that is automatically created when creating a new project?
- Program.cs
- Contains the application’s start-up code to be executed when the application runs
- Form1.cs
- Contains code that is associated with the Form1 form
- Can open through Solution Explorer
How does C# code is organized?
- As methods
What does a program waits in event-driven programming?
- An event to occur after executed
- Determine how controls ( button, textbox ) respond to events that are set for the respective control
Who controls the program response in event-driven programming?
- User
List out 3 ways that the event can occur
- The user doing something ( Click a button )
- Something happening within th ecomputer ( System Shutdown )
- Something happening within the program ( Program Crash )