Answer:
Check the explanation
Explanation:
Pseudocode For Reading File:
start
Declarations
InputFIle records.txt
OutputFile result.txt
string authorName
string title
int numOfVol
open InputFile
open OutputFile
input authorName, title, numOfVol from records.txt
while not eof
output authorName
output title
output numOfVol
end while
close records.txt
close results.txt
END
The flowchart for reading the file can be seen below.
Answer:
The blank space around the edges of a sheet of paper — as with the page of a book — that surrounds the text is called the margin.
Answer:
Step 1: Visit iCloud.com and log in with your Apple ID and password
At the same time, a window also pops up on iDevice
you need to click "Allow"
Copy the code from your phone to icloud.com
Step 2: Once signed in, select Settings on homepage
Step 3: Click "Manage" Apple ID.
Step 4: You will be directed to another site – appleid.apple.com
input your password to log in and verify it with Apple ID verification code.
Step 5: Then you will enter the manage page.
Click "Edit" in Security column.
Step 6: Click "Turn Off Two-Factor Authentication"
then confirm it.
Step 7: Then you need to select your security questions and answer them
click "Continue" after confirming your birthday and rescue email.
After all of these steps, you have turned off two factor authentication for Apple ID successfully.
Source : https://www.imobie.com/guide/anytrans/how-to-turn-off-two-step-verification-in-icloud.htm
<u>Answer:</u>
a) First, we need to determine the pipeline stage amounting to the maximum time. In the given case, the maximum time required is 2ns for MEM. In addition, the pipeline register delay=0.1 ns.
Clock cycled time of the pipelined machine= max time+delay
=2ns+0.1 ns
=2.1 ns
b) For any processor, ideal CPI=1. However, since there is a stall after every four instructions, the effective CPI of the new machine is specified by:
c) The speedup of pipelined machine over the single-cycle machine=avg time per instruction of single cycle/avg time per instruction of pipelined.
Single cycle processor:
CPI=1
Clock period=7 ns
Pipelined processor:
Clock period=2.1 ns
CPI=1.25
Therefore, speedup=
=7/2.625
= 2.67
d) As the number of stages approach infinity, the speedup=k where k is the number of stages in the machine.