Answer:
Answers explained with appropriate comments
Explanation:
1. seekp() //the seekp sets the position where the next character is to be //inserted into the output stream.
2. fstream //fstream is used for input and output for files
//just like iostream for input and output data
3. tellp(); //tellp returns the "put" or write position of the file.
4. ios::ate //ate meaning at the end, sets the file output at the file end
5. binary files //binary files only store 0s and 1s
6. seekg() //seekg is used to move write position of the file
7. put //this is used to "put" or set records or arrays to a single file
8. std::ws
, skips //the std::ws is used to discard leading whitespace from an //input stream
9. peek //this looks at the next character in the input sequence
10. get, peak //get and peek do not skip leading whitespace characters
Answer:
It create a new file in which writing of data begins.
Explanation:
A file can be open in the three mode:
-r (Read mode): open an existing file for the purpose of reading data from it.
-w (write mode): Create a new file for the purpose of writing data to it.
-a (append mode): open an existing file for the purpose of appending extra data to it but if the file does not exist, it create a new file and start writing data to it.
It is the condition used after the if condition. say you use the if condition and you need to add another outcome, instead of using the if condition again, you’d use elif and end it with the else command.
example:
if num == 10:
print (“correct”)
elif num > 10:
print (“too high”)
else:
print (”too low”)
hope this helps :]
Answer:
B. Specific and provided during the construction of the project, and the end of the project.
Explanation:
The feedback have to be specific and provided during the construction of the project, and at the end of the project.