Explanation:
Array is collection of similar data types it is a linear data structure.Array stores elements in a contiguous memory location.
We have an array arr[5] of size 5 and it is of integer type.Suppose the starting address of the array is 2000 and each memory location is one byte long.As we know that the size of integer is 2 or 4 bytes we take it 2 bytes.
If the starting address is 2000 that is of index 0 then the address of index 1 is 2000+2=2002.
address of index 2=2004.
address of index 3=2006.
address of index 4=2008.
Since size of int is 2 bytes hence we add two memory location.
Answer:
ask your teacher ok boy☺️☺️☺️
Answer:
Referencial Integrity Contraint
Explanation:
The referential integrity constraint states that the customer ID i.e (CustID) in the Order table must match a valid CustID in the Customer table. Most relational databases have declarative referential integrity. That is to say, when the tables are created the referential integrity constraints are set up so as to maintain the quality of information.
After looking at your question, I reasoned you were writing this in python. Here's my code, I hope it helps!
while True:
v1 = input("Enter value of first variable (T/F) ")
v2 = input("Enter value of second variable (T/F) ")
v3 = input("Enter value of third variable (T/F) ")
print("v1: {}, v2: {}, v3: {} = T".format(v1, v2, v3) if v1 == "T" and v2 == "T" or v1 == "T" and v3 == "T" else "v1: {}, v2: {}, v3: {} = F".format(v1, v2, v3))
64 bit the likely hood of it failing is much less