Answer:
#program in Python
#read until user Enter an integer
while True:
#try block to check integer
try:
#read input from user
inp = int(input("Enter an integer: "))
#print input
print("The integer is: ",inp)
break
#if input is not integer
except ValueError:
#print message
print("Wrong: try again.")
Explanation:
In try block, read input from user.If the input is not integer the print a message in except block.Read the input until user enter an integer. When user enter an integer then print the integer and break the loop.
Output:
Enter an integer: acs
Wrong: try again.
Enter an integer: 4a
Wrong: try again.
Enter an integer: 2.2
Wrong: try again.
Enter an integer: 12
The integer is: 12
Answer:Thank you very much! A user names SShalomeea has been hacking today. Anyone with that photo is a spammer.
Answer:
Oracle doc...
7.3.4 Copying a Database Application Page
You can copy a page from the current application or from another application. During the copy process, you can also copy shared components or change mappings to shared components in the target application.
To copy a page:
Navigate to the application you want to copy to:
Navigate to the Workspace home page.
Click the Application Builder icon.
Select an application.
Select a page.
The Page Definition appears.
In Tree view:
Under Page Rendering, select the page name.
Right-click and select copy.
In Component view:
Under Page, click the Copy icon.
For Copy Page Option, select one of the following:
Page in this application
Page in another application
Follow the on-screen instructions.
Answer:
The answer is "For the stop and wait the value of S and R is equal to 1".
Explanation:
- As we know that, the SR protocol is also known as the automatic repeat request (ARQ), this process allows the sender to sends a series of frames with window size, without waiting for the particular ACK of the recipient including with Go-Back-N ARQ.
- This process is mainly used in the data link layer, which uses the sliding window method for the reliable provisioning of data frames, that's why for the SR protocol the value of S =R and S> 1.
def min(x,y):
smallest = x
if y < smallest:
smallest = y
return smallest
x = min(2,1)
print("The min is "+str(x))
Although I wouldn't recommend using the name min for a function because min is the name of an existing function. Best of luck.