Which of the following statements correctly prints “Passed” if the student’s grade is greater than or equal to 60 and “Failed” if the stu-dent’s grade is less than 60? [The quotes, of course, should not print.]
a) printf("%s\n", grade >= 60 : "Passed" : "Failed");
b) grade >= 60 : puts("Passed ") ? puts("Failed ");
c) printf("%s\n", grade >= 60 ? "Passed" : "Failed");
d) grade >= 60 ? puts("Passed ") ? puts("Failed ");
c) printf("%s\n", grade >= 60 ? "Passed" : "Failed");
You might also like to view...
Rather than storing bitmaps, __________ relies on geometric formulas to represent images.
a. compression b. a graphical interface c. plotting d. vector graphics
A database that is to be accessed by a program must reside on a local hard drive.
Answer the following statement true (T) or false (F)
____ creates a root directory (folder) and a volume label.
A. Formatting B. Partitioning C. Labeling D. Initializing
Answer the following statement(s) true (T) or false (F)
1. When designing rich media content, you should consider the relationship between end-user requirements and the design and development process. 2. When a vector image is enlarged, the quality of the image is lost and the pixels are visible. 3. Dynamic text shows text that will not change. 4. When publishing a Flash movie for deployment on the Internet, it is important to consider adding Flash Player detection.