Case-Based Critical Thinking Questions
Case 1: Frames Unlimited
?
Frames Unlimited is a wholesale picture and poster frame business. Frame data are stored in sequential access files that contain four columns: item number, item name, size, and price.
You need to create a report using the pictureFrame.txt sequential access file. The report provides a list of all picture frames with a size of 5×7. The report will be saved as another sequential access file named pictureFrame57.txt. Your first step is to ____.

A. declare a StreamWriter variable for the output file
B. open the pictureFrame57.txt file for output using the CreateText method
C. declare a StreamReader variable for the input file
D. open the pictureFrame.txt file

Answer: C

Computer Science & Information Technology

You might also like to view...

Match the following math symbols with their meanings?

I. Asterisk (*) II. Plus (+) III. Hyphen (-) IV. Caret (^) V. Diagonal slash (/) A. Exponentiation B. Subtraction C. Addition D. Division E. Multiply

Computer Science & Information Technology

In a recent survey of 2100 human resource professionals, which two activities were listed as the biggest "productivity killers" in the workplace??

A. ?personal cell phone use and Internet surfing B. ?personal cell phone use and online game play C. ?Internet surfing and online game play D. ?online shopping and online game play

Computer Science & Information Technology