Answer:
The agile MIS infrastructure includes accessibility, availability, flexibility, performance, portability, reliability, scalability and usability. :)
alphabet = "abcdefghijklmnopqrstuvwxyz"
def encrypt(txt):
shift = int(input("Enter the shift: "))
new_txt = ""
for x in txt:
if x in alphabet:
if alphabet.index(x)+shift >= len(alphabet):
new_txt += alphabet[(alphabet.index(x)+shift - len(alphabet))]
else:
new_txt += alphabet[alphabet.index(x)+shift]
else:
new_txt += x
return new_txt
def decrpyt(txt):
shift = int(input("Enter the known shift: "))
new_txt = ""
for x in txt:
if x in alphabet:
new_txt += alphabet[alphabet.index(x) - shift]
else:
new_txt += x
return new_txt
print(encrypt("yellow dog."))
print(decrpyt("lryybj qbt."))
My code works with lowercase text only. If you need me to modify the code, I can do that. I tested my code with a shift of 13 in both the encryption and decryption. I hope this helps!
Answer:
Static scoping: x is 5
Dynamic scoping : x is 10.
Explanation:
Static scoping :
In static scoping the variable of a function take the value within the function.
If there is no values exist within the function then take the global value of the variable.
var x // No value is assigned to x so it check global value of x
function sub1() {
document.write(“x = “ + x + “”); // So it print x = 5
}
function sub2() {
var x;
x = 10;
sub1();
}
x = 5; // It is the global value of x
sub2();
Static scoping: x is 5
Dynamic scoping :
In Dynamic scoping the variable of a function take the value all the calling function ends.
If the global value is the last assigned value of a variable then it take that value.
If there exist some other function after global variable value if that function contain the variable with some assigned value variable take that value.
var x
function sub1() {
document.write(“x = “ + x + “”);
}
x = 5; // At this point x value is 5 and check there exist a function
sub2(); // So now call this function
function sub2() {
var x;
x = 10; // The value of x = 5 is replaced with x = 10
sub1();
}
Dynamic scoping : x is 10.
Go to file>export as and it will allow you to change it to other files.
Answer:
All are right except the 4th one.
1) Two main elements are items and folders.
2) The content pane contains a list of items to be viewed in the reading pane.
3) The ribbon contains a list of tabs and menu items.
5) The main Outlook menu has a ribbon tab with default commands.
6) File, Home, Send/Receive, Folder, and View are commands on the main ribbon tab.
Explanation:
Hope this helped Justine!