Details of this Paper

multiple choice questions

Description

solution


Question

;;Top of Form;Page 1;Question 1. 1. (TCO 2) What is the value ofdata after the following code executes?;unsigned char data = 0xA5;data = data && 0xF0;(Points: 6);0xA0;0xF0;0xF5;0x5A;Question 2. 2. (TCO 2) If firstName and lastName are string object variables, which statement can be used to combine (append or concatenate) the two into a single string variable? (Points: 6);fullName = firstName + lastName;fullName = firstName, lastName;fullName = firstName&&lastName;fullName = firstName&&&lastName;Question 3. 3. (TCO 2) For a switch statement, which of the following case statement expressions is invalid or logically incorrect? (Points: 6);case 1 < x < 100;case 'B'|'b;case a23.45;All of the above;Question 4. 4. (TCO 2) What output does the following code produce?;cout<< fixed <

 

Paper#64999 | Written in 18-Jul-2015

Price : $37
SiteLock