CMP1 3.2 TestBank Questions for Computer Programming I Obj 3.2

Question Answer
Greg wants to change the size of the text in a label. Which label property should he change? Font
Which property value identifies a control in code? (Name)
Given the following property value, which RadioButton has been selected? radChocolate.Checked= true, radStrawberry.Checked= false, radVanilla.Checked= false, radLemon.Checked= false radChocolate
Which statement would change the color of the form to blue? BackColor= Color.Blue
Which statement will display the message "Hello There" on two separate lines? Me.lblMessage.Text= "Hello" & vbCrLf & "There"
Given the following property value, which RadioButton has been selected? radChocolate.Checked= false, radStrawberry.Checked= true, radVanilla.Checked= false, radLemon.Checked= false, radStrawberry
Which property value must be utilized to show a radio button as selected? radProgram.Checked =TRUE
What is the correct code to create a two-line return from the following code? lblcost.Text = "The cost of the product is: "& (deccost + dectax) lblCost.Text = "The cost of the product is: " & vbCrLf & (deccost + dectax))
Which area of the IDE is used to change the text displayed in an object on a form? The Properties window
Given the image for a label in the image below, which is false? (The image contains sizing handles around the image) The Autosize property is set to true.

Leave a Reply

Your email address will not be published.