Answer:
When you open a stream for both reading and writing you must always remember to close the stream.
Explanation:
There are three basic steps to follow to read and write data from stream.
Steps to read data from the stream
1) Open the stream
2) Read the data from the stream
3) Close the stream
Step to write data to the stream
1) Open the stream
2) Write the data to the stream
3) Close the stream
Answer:
Deliverable means to send something or deliver something important like a file or a document.
Hope this helps...!
Explanation:
Answer:(C) Anyone with access to the personal computers could log on to the mainframe.
Explanation:
It is no doubt that log on procedures are cumbersome so what most users do is that they store log on sequences in their computer so that they could use the main frame facilities whenever they access it the second time.
Here we have to identify the associated risk with this approach.
This process could lead to access of the computer system to users and thereby making all the data available in the system vulnerable. So option C is correct.
option (A) is incorrect as the back up option who also be affected when the system is accessible to anyone.
option (B) is incorrect because it has nothing to do anything with training of the personnel.
option (D) is incorrect because it one has nothing to do with the physical system what vulnerable reside is inside the system.
<h2>A line of code that begins with the "while" needs to end with <u>":"</u> symbol</h2>
Explanation:
In python, the while loop statement has ":" at the end of the line.
<u>Syntax:</u>
while expression:
code(s) or statement(s)
<u>Example:</u>
cnt = 0
while (cnt < 5):
print 'cnt:', cnt
cnt = cnt + 1
Like other programming languages, while loop works in the same way except that in python it comes alone with "else" statement. When the condition is false, "else" statement gets executed.
<u>Example:</u>
#!/usr/bin/python
cnt = 0
while cnt < 5:
print cnt, " is less than 5"
cnt = cnt + 1
else:
print cnt, " is not less than 5"