CPT230 Final Exam Review Questions With 100% Correct Answers
CPT230 Final Exam Review Questions With 100% Correct Answers What does a Windows Forms application run under? - answerThe Windows operating system Which of the following types of .NET applications does not provide for an enhanced user experience? - answerASP.NET Web Forms The primary components of the .NET Framework are the .NET Framework Class Library and what else? - answerThe Common Language Runtime What is the purpose of the Common Language Runtime? - answerIt manages the execution of .NET applications What is a container that holds projects called? - answerA solution To write the C# code for a form, you use a Visual Studio window. What is it called? - answerThe Code Editor To work with the files of a solution, you use a Visual Studio window. What is it called? - answerThe Form Designer When you run a Windows Forms project, what does Visual Studio first display? - answerThe project's first form What is the name of the Visual Studio window that contains controls that you can drag onto a form? - answerToolbox What are two properties that are common to both forms and controls? - answerThe Name and Text properties What form property do you use to activate a button control when the user presses the Enter key? - answerAcceptButton property What does the tab order determine? - answerThe order in which the controls on a form receive focus when the user presses the Tab key How would you create an access key that will move the focus to a text box with a label immediately to the left of it? - answerYou would set the access key in the Text property of the label immediately before the text box Which of the following statements are true? - answer1) The Label control has a TabStop property, but it is ignored 2) The Label control has a TabStop property and can accept focus 3) The Label control doesn't have a TabStop property 4) The Label control has a TabStop property, but can't accept focus. #3 is true Access keys let the user activate a control by pressing what? - answerAlt plus the underlined key What would you set the Text property of a label to if you want the label to appear as Invoice number: with the 1st letter n as the access key? - answerI&nvoice number How would you change the file name for a form, project, or solution? - answerUse the Solution Explorer What does the Text property of a control determine? - answerThe text that's displayed in the control When you run a form after you've used the Form Designer to design it but haven't added any code to it, what happens? - answerThe buttons don't cause anything to happen, but otherwise the form displays. What is a class? - answerThe code that defines the characteristics of an object. What is an object? - answerAn instance of a class What is instantiation? - answerThe process of generating an object from a class. What would you do to refer to a property of an object in your C# code? - answerYou code the object name followed by a period and the property name What does the following code do - txtMonthlyInvestment.Focus(); ? - answerCalls the Focus method of the txtMonthlyInvestment control What does it mean to say that a C# application is event-driven? - answerThat it responds to user events and other types of events.
Written for
- Institution
- CPT
- Course
- CPT
Document information
- Uploaded on
- April 16, 2024
- Number of pages
- 9
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
cpt230 final exam review questions with 100 corre
Document also available in package deal