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: True
Explanation: TCP(Transmission control protocol) is the protocol that is responsible for making the connection between the two hosts and then they can share the data between them.
TCP guarantees that the data or data packets that are being sent from the source will be delivered to the host in the same way as it was sent from source port. This mechanism ensure that there will be no data manipulation in the order of the data. TCP also has a relation with the IP for the functioning.Thus the given statement is true.
Answer:
B. The computer jumps to the module, executes the instructions in the module, and then returns to the next executable instruction.
Explanation:
A software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications.
A module can be defined as a separate software component or unit of a hardware program that comprises of one or more repeatable functions (tasks). A module is portable and as such can be used in various software applications or systems through a programming interface. Also, they are interoperable because they are generally compatible with various components of a software application or system.
When a module is processed, the computer jumps to the module, executes the instructions in the module, and then returns to the next executable instruction.
This ultimately implies that, the execution of an instruction by a computer is done sequentially and once the task is completed, the computer moves to the next executable instruction or command.
Answer:
If a good friend comes to me for advice in pursuing a music career. With my knowledge of digital technology and the performing
arts, my advice to use digital technology to help build her career by <u>Delivering service to clients
.</u>
Explanation:
<u>There were several reasons for this:
</u>
• Being able to access work platforms and resources removed the need to travel back
to office bases because remote access allowed the completion of administrative
tasks where the practitioner was working.
• Working with clients in rural and isolated areas can prove difficult in terms of meeting
clients face to face and digital solutions helped to resolve this. This is because more
clients can be seen remotely than when practitioners must travel to see them.