ISDS 505 Final Ch 12 Questions and answers rated A+
a. GUI objects b. Controls c. widgets d. all of these - Answer- d. all of these All Control objects descend from ________________________ . a. Form b. Component c. ButtonBase d. all of these - Answer- b. Component Which of the following is most like a RadioButton? a. ListControl b. CheckedListBox c. PictureBox d. Button - Answer- d. Button Which of the following is not a commonly used Control property? a. BackColor b. Location c. Language d. Size - Answer- c. Language The Control you frequently use to provide descriptive text for another Control object is a ________________________. a. Label b. Form c. CheckBox d. MessageBox - Answer- a. Label Which of the following creates a Label named firstLabel? a. firstLabel = new firstLabel(); b. Label = new firstLabel(); c. Label firstLabel = new Label(); d. Label firstLabel = Label(); - Answer- c. Label firstLabel = new Label(); The property that determines what the user reads on a Label is the ________________________ property. a. Setting b. Label c. Phrase d. Text - Answer- d. Text Which of the following correctly creates a Font? a. Font myFont = new Font("Arial", 14F, FontStyle.Bold); b. Font myFont = new Font("Courier", 13.6); c. myFont = Font new Font("TimesRoman", FontStyle.Italic); d. Font myFont = Font(20, "Helvetica", Underlined); - Answer- a. Font myFont = new Font("Arial", 14F, FontStyle.Bold); The default event for a Control is the one that ________________________. a. occurs automatically whether or not a user manipulates the Control b. is generated when you double-click the Control while designing it in the IDE c. requires no parameters d. occurs when a user clicks the Control with a mouse - Answer- b. is generated when you double-click the Control while designing it in the IDE Assume that you have created a Label named myLabel. Which of the following sets myLabel's background color to green? a. myLabel = BackColor.System.Drawing.Color.Green; b. myLabel.BackColor = System.Drawing.Color.Green; c. myLabel.Green = System.DrawingColor; d. myLabel.Background = new Color.Green; - Answer- b. myLabel.BackColor = System.Drawing.Color.Green; What is one difference between CheckBox and RadioButton objects? a. RadioButtons descend from ButtonBase; CheckBoxes do not. b. Only one RadioButton can be selected at a time. c. Only one CheckBox can appear on a Form at a time. d. RadioButtons cannot be placed in a GroupBox; CheckBoxes
Geschreven voor
- Instelling
- ISDS 505
- Vak
- ISDS 505
Documentinformatie
- Geüpload op
- 18 maart 2024
- Aantal pagina's
- 6
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
isds 505 final ch 12 questions and answers rated a