Starting Out With Visual C# (5th Edition)
Starting Out With Visual C# (5th Edition)
5th Edition
ISBN: 9780135183519
Author: Tony Gaddis
Publisher: PEARSON
bartleby

Videos

Textbook Question
Book Icon
Chapter 2, Problem 29MC

A __________ can occupy multiple consecutive lines in a program.

  1. a. block comment
  2. b. square comment
  3. c. multiline comment
  4. d. machine comment
Blurred answer
Students have asked these similar questions
In a program, a may fill several consecutive lines. block comment b. square comment c. multiline comment d. machine comment a. block comment b. square comment c. multiline comment d. machine comment
(Using Visual Basic language) Marketing Terms? The markup of an item is the difference between its selling price and its purchase price. Two other marketing terms are percentage markup=makeup/(purchase price) and profit margin= makeup/(selling price) where the quotients are expressed as percentages. Write a program that computes the markup, percentage markup, and profit margin of an item. Note: The output format of your program should be exactly the same as given below One possible outcome: Enter purchase price: 215 Enter selling price: 645 Markup: $430.0 Percentage markup: 200.0% Profit margin: 66.67%
If the following pseudocode wer an actual program, why would it not display the output that the programmer expects?   Declare String favoriteFood Display "What is the name of your favorite food?" Input favoriteFood Display "your favoite food is  " Display "favoriteFood"

Chapter 2 Solutions

Starting Out With Visual C# (5th Edition)

Ch. 2.1 - Prob. 2.11CPCh. 2.1 - Prob. 2.12CPCh. 2.1 - What are the rules for naming controls?Ch. 2.1 - What naming convention do most C# programmers use...Ch. 2.3 - A file that contains program code is known as what...Ch. 2.3 - What must you do if you want your application to...Ch. 2.3 - What does the Program.cs file contain?Ch. 2.3 - Prob. 2.18CPCh. 2.3 - Prob. 2.19CPCh. 2.3 - Prob. 2.20CPCh. 2.3 - Prob. 2.21CPCh. 2.3 - Prob. 2.22CPCh. 2.3 - Prob. 2.23CPCh. 2.3 - Prob. 2.24CPCh. 2.3 - What method do you use in Visual C# to display a...Ch. 2.3 - What is a literal?Ch. 2.3 - Prob. 2.27CPCh. 2.3 - Prob. 2.28CPCh. 2.5 - In which group of the Toolbox can you find the...Ch. 2.5 - Prob. 2.30CPCh. 2.5 - Prob. 2.31CPCh. 2.5 - Prob. 2.32CPCh. 2.5 - Prob. 2.33CPCh. 2.5 - Prob. 2.34CPCh. 2.5 - Prob. 2.35CPCh. 2.5 - How can you use a Label control to display output...Ch. 2.5 - What happens if you assign an empty string to a...Ch. 2.7 - What is a PictureBox control used for?Ch. 2.7 - Prob. 2.39CPCh. 2.7 - Prob. 2.40CPCh. 2.7 - Prob. 2.41CPCh. 2.7 - Prob. 2.42CPCh. 2.7 - Prob. 2.43CPCh. 2.7 - Prob. 2.44CPCh. 2.8 - Prob. 2.45CPCh. 2.8 - Prob. 2.46CPCh. 2.8 - Prob. 2.47CPCh. 2.8 - Why do programmers insert blank lines and...Ch. 2.10 - What statement do you use to close an applications...Ch. 2.10 - Prob. 2.50CPCh. 2.10 - Prob. 2.51CPCh. 2.10 - Prob. 2.52CPCh. 2 - Prob. 1MCCh. 2 - Prob. 2MCCh. 2 - __________ is the name of the blank form that...Ch. 2 - Prob. 4MCCh. 2 - A file that contains program code is called a(n)...Ch. 2 - A namespace is container that holds __________. a....Ch. 2 - A(n) __________ is a method that executes when a...Ch. 2 - Prob. 8MCCh. 2 - Prob. 9MCCh. 2 - Prob. 10MCCh. 2 - Prob. 11MCCh. 2 - The time during which you build the GUI and write...Ch. 2 - The time during which an application is executing...Ch. 2 - When you want to display text on a form, you use a...Ch. 2 - The __________ property allows you to set the...Ch. 2 - A __________ property can be set to one of two...Ch. 2 - Prob. 17MCCh. 2 - Prob. 18MCCh. 2 - In code, you use a(n) __________ to store a value...Ch. 2 - Prob. 20MCCh. 2 - The standard notation for referring to a controls...Ch. 2 - __________ is a feature of Visual Studio that...Ch. 2 - Prob. 23MCCh. 2 - Prob. 24MCCh. 2 - Prob. 25MCCh. 2 - Prob. 26MCCh. 2 - Most controls have a __________ property that...Ch. 2 - A(an) __________ appears on one line in a program....Ch. 2 - A __________ can occupy multiple consecutive lines...Ch. 2 - Programmers commonly use blank lines and...Ch. 2 - To close an applications form in code, you use the...Ch. 2 - Changing an objects Text property also changes the...Ch. 2 - When a form is created, its Text property is...Ch. 2 - The forms title is displayed in the bar along the...Ch. 2 - Prob. 4TFCh. 2 - Prob. 5TFCh. 2 - Prob. 6TFCh. 2 - In C# code, each opening brace must have a...Ch. 2 - When you double-click a control in the Designer,...Ch. 2 - Prob. 9TFCh. 2 - Prob. 10TFCh. 2 - Prob. 11TFCh. 2 - Prob. 12TFCh. 2 - Prob. 13TFCh. 2 - Prob. 14TFCh. 2 - Prob. 15TFCh. 2 - Prob. 16TFCh. 2 - When you write the values true or false in code,...Ch. 2 - Prob. 18TFCh. 2 - To close an applications form in code, you use the...Ch. 2 - The Visual Studio code editor examines each...Ch. 2 - What does a bounding box indicate about an object...Ch. 2 - Prob. 2SACh. 2 - What determines an objects appearance and other...Ch. 2 - Prob. 4SACh. 2 - Prob. 5SACh. 2 - What steps must you perform to change a forms Size...Ch. 2 - Prob. 7SACh. 2 - Prob. 8SACh. 2 - Prob. 9SACh. 2 - Prob. 10SACh. 2 - Prob. 11SACh. 2 - Prob. 12SACh. 2 - Prob. 13SACh. 2 - Prob. 14SACh. 2 - Prob. 15SACh. 2 - Prob. 16SACh. 2 - Prob. 17SACh. 2 - Prob. 18SACh. 2 - What are the three types of comments you can use...Ch. 2 - How does Visual Studio help you to quickly correct...Ch. 2 - Prob. 1AWCh. 2 - Prob. 2AWCh. 2 - Prob. 3AWCh. 2 - Suppose an applications GUI has a Label control...Ch. 2 - Suppose an applications GUI has a PictureBox...Ch. 2 - Latin Translator Look at the following list of...Ch. 2 - Prob. 2PPCh. 2 - Prob. 3PPCh. 2 - Joke and Punch Line A joke typically has two...Ch. 2 - Prob. 5PPCh. 2 - Prob. 6PP
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
  • Text book image
    Microsoft Visual C#
    Computer Science
    ISBN:9781337102100
    Author:Joyce, Farrell.
    Publisher:Cengage Learning,
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Structured Chart; Author: Tutorials Point (India) Ltd.;https://www.youtube.com/watch?v=vdUO-sGA1DA;License: Standard YouTube License, CC-BY
Introduction to Structure Charts; Author: Christopher Kalodikis;https://www.youtube.com/watch?v=QN2bjNplGlQ;License: Standard Youtube License