# DEVRY CIS355A WEEK 1 QUIZ LATEST 2016 MAY

**Tutor description**

Question devry cis355a week 1 quiz Latest 2016 may 1. Question : (TCOs 1–8) _____ is interpreted. Pascal Java C++ Ada C Question 2. Question : (TCOs 1–8) What is the printout of the following code? double x = 5.5; int y = (int)x; System.out.println("x is " + x + " and y is " + y); x is 5.5 and y is 5.0 x is 5.5 and y is 5 x is 5 and y is 6 x is 6 and y is 6 x is 6.0 and y is 6.0 Question 3. Question : (TCOs 1–8) What is the value of (double)(5/2)? 2.0 2 3.0 2.5 3 Question 4. Question : (TCOs 1–8) Suppose x=10 and y=10, what is x after evaluating the expression (y >= 10) || (x++ > 10)? 9 11 10 Illegal expression Question 5. Question : (TCOs 1–8) What is y after the following switch statement is executed? x = 3; switch (x + 3) { case 6: y = 0; case 7: y = 1; default: y += 1; } 1 4 2 3 Question 6. Question : (TCOs 1–8) Analyze the following statement. double sum = 0; for (double d = 0; d<10;) { d += 0.1; sum += sum + d; } The program compiles and

## Review from student

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors