Which of the following statements about identifiers

This preview shows page 4 - 6 out of 13 pages.

37. Which of the following statements about identifiers is false? a. Identifiers must start with a letter or underscore b. Identifiers may not use spaces and hyphens as part of the identifier c. Identifiers symbolically represent data locations d. Good programming style uses an underscore as the first character of an identifier e. Good identifier names are descriptive but short ____ 38. Which of the following is not an integral type? ____ 39. Which of the following is not an integer type? ____ 40. Which of the following C types could is more suitable to store pi (3.14159)? ____ 41. Which of the following is an invalid variable declaration? a. bool fact; d. char code b. double tax; e. float a, b; c. int emp-count;
Image of page 4

Subscribe to view the full document.

____ 42. Which of the following is an invalid initialization? ____ 43. Which of the following is a long double literal with a value of 3.14159? ____ 44. Which of the following is a valid defined constant? ____ 45. Which of the following statements about streams is false? a. A stream is a source of, or destination for, data b. A binary stream consists of a sequence of data values such as integer c. A text stream consists of a sequence of characters terminated by newlines d. Because text streams can contain only characters, we cannot send integer data to them e. Because binary streams can store any type of data, we can send real data to them ____ 46. Which of the following statements about input formatting is false? ____ 47. Which of the following input formatting statements would read the following data? 23 z 4.1 ____
Image of page 5
Image of page 6
You've reached the end of this preview.
  • Spring '11
  • ColinArchibald

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern