MMET 383 HSIEH EXAM 1 - PROGRAMMING
CONCEPTS TO PG. 28
Provide input, trigger processing, and display results - Answer -The GUI of VB provides
a way for users to:
Program - Answer -set of instructions
Software - Answer -various programs designed to support a computer
Integrated Application Development (IAD) tool - Answer -consists of an editor, a
compiler, debugging tool, and online help. Used to write and test programs; includes the
GUI that the user will actually see and interact with
IDE is mostly just straight code; IAD has shapes, windows, etc. - Answer -what is the
difference between IDE and IAD?
Event-driven - Answer -Visual Basic programs are:
Event - Answer -something that happens that the computer can detect
Form window
Code window
Solution explorer window
Property window
Toolbox window
Toolbar
Menu bar - Answer -7 Elements of the Development Environment
X is container, y is content - Answer -how to assign stuff, x=y
Label control - Answer -used to display text on a form
Textbox control - Answer -enable user to enter information
Button control - Answer -to allow user to initiate actions
Radio button control - Answer -to allow user to select or not select
Picture box control - Answer -to display an image
Label.text = "Tony"
Label.visible = true/false
Label.enabled = true/false
, (true=visible, enable means you can click on it/interact with it) - Answer -important
property of labels
Textbox1.text = "I'm hangry"
Textbox1.visible = true
Textbox1.enabled = true
Textbox1.multiline = true
Textbox1.passwordchar = "*" - Answer -important properties of text boxes
Button1.text = "Tony"
Button1.visible = true/false
Button1.enabled = true/false - Answer -important properties of buttons
Radiobutton1.text = "I am happy"
Radiobutton1.visible = true
Radiobutton1.enabled = true
Radiobutton1.checked = true - Answer -important properties of radio buttons
**Setup a duration - Answer -How to add a timer tool?
- Answer -How to lock the controls on a form?
- Answer -How to set focus of cursor?
Behavior setting you can change - Answer -How to set tabindex value for each control?
- Answer -How to clear textbox entry?
- Answer -How to open the Project Designer Window?
.sln - Answer -What extension does the solution file has?
Dot Notation - Answer -controlname.propertyname
Assigning property values - Answer -controlname.propertyname = new value
Variables - Answer -memory locations inside the computer (container)
<256 characters; start with a letter; cannot contain a period, space, or special character;
are not case sensitive - Answer -Naming a variable
Private - Answer -form level, works for all the subroutines, all the tools
Dim - Answer -subroutine level, works for only one subroutine, works within a tool
CONCEPTS TO PG. 28
Provide input, trigger processing, and display results - Answer -The GUI of VB provides
a way for users to:
Program - Answer -set of instructions
Software - Answer -various programs designed to support a computer
Integrated Application Development (IAD) tool - Answer -consists of an editor, a
compiler, debugging tool, and online help. Used to write and test programs; includes the
GUI that the user will actually see and interact with
IDE is mostly just straight code; IAD has shapes, windows, etc. - Answer -what is the
difference between IDE and IAD?
Event-driven - Answer -Visual Basic programs are:
Event - Answer -something that happens that the computer can detect
Form window
Code window
Solution explorer window
Property window
Toolbox window
Toolbar
Menu bar - Answer -7 Elements of the Development Environment
X is container, y is content - Answer -how to assign stuff, x=y
Label control - Answer -used to display text on a form
Textbox control - Answer -enable user to enter information
Button control - Answer -to allow user to initiate actions
Radio button control - Answer -to allow user to select or not select
Picture box control - Answer -to display an image
Label.text = "Tony"
Label.visible = true/false
Label.enabled = true/false
, (true=visible, enable means you can click on it/interact with it) - Answer -important
property of labels
Textbox1.text = "I'm hangry"
Textbox1.visible = true
Textbox1.enabled = true
Textbox1.multiline = true
Textbox1.passwordchar = "*" - Answer -important properties of text boxes
Button1.text = "Tony"
Button1.visible = true/false
Button1.enabled = true/false - Answer -important properties of buttons
Radiobutton1.text = "I am happy"
Radiobutton1.visible = true
Radiobutton1.enabled = true
Radiobutton1.checked = true - Answer -important properties of radio buttons
**Setup a duration - Answer -How to add a timer tool?
- Answer -How to lock the controls on a form?
- Answer -How to set focus of cursor?
Behavior setting you can change - Answer -How to set tabindex value for each control?
- Answer -How to clear textbox entry?
- Answer -How to open the Project Designer Window?
.sln - Answer -What extension does the solution file has?
Dot Notation - Answer -controlname.propertyname
Assigning property values - Answer -controlname.propertyname = new value
Variables - Answer -memory locations inside the computer (container)
<256 characters; start with a letter; cannot contain a period, space, or special character;
are not case sensitive - Answer -Naming a variable
Private - Answer -form level, works for all the subroutines, all the tools
Dim - Answer -subroutine level, works for only one subroutine, works within a tool