<u>Uml (Unified Modified Language):</u>
In those days before software development normally we used flow chart, which will have Start, Process, Conditions and Stop, Modified version of flow chart is called UML (Unified Modified Language).
UML is standard model language which help develop understand flow of the software. Uml (Unified Modified Language).
There are 7 type of diagram is used in Uml (Unified Modified Language).
- Composite Structure Diagram.
I will suggest profile diagram and class diagram.
- Profile diagram – This diagram is just to define use role and user rights.
- Class diagram: - This diagram explains the class and their uses in the software development.
Answer:
Following are the program for the above question in python:
Explanation:
def seat(num_rows,num_cols):#function definition.
for x in range(1,num_rows+1):#first for loop.
c='A'
for y in range(1,num_cols+1): #second for loop.
print(str(x)+c,end=" ") #print the value
c=
(ord(c)+1) #expression to form a charater addition.
seat(int(input("enter the number of rows: ")),int(input("enter the number of columns: "))) #take the input from the user.
Output:
- If the user inputs 2 and 3, then the output is :"1A 1B 1C 2A 2B 2C 3A 3B 3C 4A 4B 4C".
Code Explanation :
- The above code is in python language, in which the first line is used to render a message to the user then take the inputs from the user and then pass to the function after converting into int function.
- Then there are two loops in the function which are used to print the number of the seat.
- The first loop is used to print the row number and the second loop is used to print the column number.
Answer:
E
Explanation:
If you follow the line of code and add 1, 2, and then 3, 10 + 1 + 2 + 3 = 16.