Cis 170 Final Exam

Submitted by: Submitted by

Views: 10

Words: 3358

Pages: 14

Category: Other Topics

Date Submitted: 12/21/2015 08:32 PM

Report This Essay

CIS 170 Final Exam

Purchase here

http://chosecourses.com/CIS170

Product Description

1. (TCOs 1, 6) Because information in _____ is lost when the power is turned off, that type of memory is considered to be _____. (Points : 5)

auxiliary storage, nonvolatile

auxiliary storage, volatile

RAM, nonvolatile

RAM, volatile

2. (TCOs 1, 6) What does IDE stand for? (Points : 5)

Interior Design Environment

Integrated Development Environment

Integrated Design Environment

Interior Development Environment

3. (TCOs 1, 6) Which keyboard function key do we use to compile and run a C# program within Visual Studio.NET? (Points : 5)

F5

F11

F10

F1

4. (TCOs 2, 3) A computer uses the _____ numbering system to represent and manipulate data. (Points : 5)

binary

decimal

hexadecimal

octal

5. (TCOs 2, 3) The proper operator precedence, from first to last, is _____. (Points : 5)

subtraction, addition, and multiplication

addition, subtraction, and multiplication

exponentiation, division, and subtraction

exponentiation, addition, and division

exponentiation, division, and multiplication

6. (TCOs 2, 3) Your C# program needs to store a single alphanumeric character the user will enter. When your program starts, the default setting for that character should be the letter A. You implement this functionality by writing _____.

(Points : 5)

char myVar = A;

char myVar = ‘A’;

char myVar(‘A’);

char myVar(A);

7. (TCO 4) The following C# code _____ compile; however, it contains a _____ error.

int x = 15, y = 10;

if (x < y);="">

Console.WriteLine("x is less than y");

will, compiler

will, logical

will not, compiler

will not, logical

8. (TCO 4) Which part of this expression will be evaluated first?

if (b = e)

b

c || d

d >= e

if()

9. (TCO 5) Your program keeps asking for input from the user. If there is more input, the user types “Y” after entering the data. If there is no...