DEVRY CIS170B WEEK 1 quiz

Question 1. Question : (TCO 1) Because information in _____ is lost when the power is turned off, that type of memory is considered _____.

: auxiliary storage, nonvolatile

auxiliary storage, volatile

RAM, nonvolatile

RAM, volatile

Comments:

Question 2. Question : (TCO 1) C# comments are represented by which characters?

: // and /* */

:: and //

// and >>

>

Comments:

Question 3. Question : (TCO 2) Which is not a C# syntax rule?

: C# is not case sensitive.

Blocks of code are defined by curly braces.

Statements must end with a semicolon.

Every C# program must have a function named “main.”

Comments:

Question 4. Question : (TCO 1) _____ provides access to programming language definitions within the code editor.

: Intellisense

Bookmark

Break point

Step through

Comments:

Question 5. Question : (TCO 2) _____ enhances a programmer’s productivity by providing editing, compiling, and debugging in one software package.

: An IDE

C#

Compiler+

MRE

Comments:

Question 6. Question : (TCO 2) The analysis phase of software development involves _____.

: determining a program’s inputs and outputs and the process it will use to to solve the problem

writing the software with a program such as Visual Studio.NET C#

testing the solution

Both A and B

Comments:

Question 7. Question : (TCO 2) What escape sequence is used to produce a new line within a string literal on the output console?

: Special characters cannot be added to string literals

\t

\n

return character

Comments:

Question 8. Question : (TCO 2) What is the result of this code segment:

int doors = 2;

Console.WriteLine(“The Car has {0}”,doors);

: The Car has 2

The Car has {0} doors

The Car has 2 doors

The statement will not compile.

Comments:

Question 9. Question : (TCO 3) The proper operator precedence, from first to last, is _____.

: subtraction, addition, and multiplication

addition, subtraction, and multiplication

exponentiation, division, and subtraction

exponentiation, addition, and division

exponentiation, division, and multiplication

Comments:

Question 10. Question : IDE stands for Integrated Development Environment

: True

False

Comments:

Question 11. Question :

You can only code using camel casing in the hot desert.

: True

False

Comments: