Answer:
BufferedWriter salesdata = new BufferedWriter(new FileWriter("out.dat", true);.
Explanation:
- The statement BufferedWriter salesdata = new BufferedWriter(new FileWriter("out.dat", true); can be used to create a file object that will append data to an existing file.
- Here, BufferedWriter class is used to create text from an output stream.
- Here, FileWriter is used to create the file from the text. The constructor for FileWriter is FileWriter (String filename, boolean append).
- Here, filename is string ("out.dat") is provided and the append is boolean can be either true (if the text has to be appended at the end of the file) or false (if the text hasn't to be appended at the end of the file).
- So, option (b) is correct.
- Option (a) is not correct as it indicates the text shouldn't be appended at the end of the file as the boolean is false.
- Option (c) is not correct as it doesn't mean to append as there is no boolean true indicated in the constructor.
- Option (d) is not correct as there is not such kind of syntax.
Answer: According to McCall's quality model , the three important factors for the aspect of a software product are:-
- Product Revision
- Product Operation
- Product Transition
Explanation:
Product Revision:-these are the factors which includes the maintenance, flexibility and testing of a software .
Product Operation:-these include the factors like checking the correctness, usability, reliability, efficiency and Integrity of software to maintain its quality
Product Transition:- these are the qualities that define the portability, interoperability and whether the software can be reused or not .
<em>Answer:</em>
<em>The force required to slide an object is equal to </em><em><u>Friction .</u></em><em>weight normal force friction µk.</em>
<em></em>
<em />
ANSWER: Replace Button
EXPLANATION: After opening the replace dialog box and putting the desired values in the boxes, we need to click the 'Replace' button to change the highlighted text. If the word which needs to be changed appear multiple times in the document, then clicking on 'Replace All' is advised as it would change all the old words with the new ones.
Answer:
Pair Programming
Explanation:
In Extreme Programming XP, pair programming is a practice in which two programmers work together in a pair at one machine, when writing a code.
One of the two programmers is called the "driver" or developer who writes the code and supervises all the changes made to the program.
The other one is called an "navigator" or observer who provides ideas on how the program should be written, observes or reviews it the program, identify the issues or errors in the code, help in code simplifications.
The two developers implements the program, do coding, review the program and check each other's work. They both are required to be equally skilled in order to implement and test the code. This improves the process of the software development. By working in a pair and reviewing and testing the code together, they develop a better code.