Starting Out With Visual C# Chapter 2 Checkpoint Questions 2.45-2.48

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

2.45 - What purpose do comments serve?

Comments are brief notes that are placed in a program's source code to explain how parts of the program work.

2.48 - Why do programmers insert blank lines and indentations in their code?

Programmers commonly use blank lines and indentations in their code to create a sense of visual organization; this makes the code easier to understand and to read.

2.46 - How are line comments and block comments different?

A line comment begins with two forward slashes and appears on one line. A block comment starts with a forward slash and an asterisk and ends with an asterisk followed by a forward slash and can occupy multiple lines.

2.47 - What should you be careful to remember about the beginning and ending symbols of block comments?

Be careful not to revers the beginning and ending symbols, and don't forget the ending symbol.


Ensembles d'études connexes

(C1W1): Foundations of User Experience (UX) Design - Weekly challenge 1: The basics of user experience design

View Set

anatomy 2 pearson chapter 18 cardiovascular heart

View Set

APES 5.11 - Ecological Footprint

View Set

NUR 2120 Exam #2 Practice Questions

View Set

سعة فضل الله تعالى

View Set

Point-Slope Form and Linear Equations Unit Test Review, Algebra, Unit Test Review, Unit Test Review

View Set

MASSACHUSETTS Life Insurance Producer

View Set

Business Policies Test 1 (Ch. 1-4)

View Set