Answer:
By being a part of a block to a block chain and each block in the block chain is precisely connected to the block that was before it.
Explanation:
I Hope This Helps You
Void printtictactoe(char horizchar, char vertchar)
{
int i,j;
int scale = 5;
for(j=0; j<3; j++) {
for (i = 0; i < scale; i++)
printf("%*c%*c\n", scale+1, vertchar, scale+1, vertchar);
if (j < 2)
for (i = 0; i < (scale * 3)+2; i++)
printf("%c", horizchar);
printf("\n");
}
}
I left out many braces because of the layout issues with this website. There is a scale factor you can set to the desired size of the board cells!
Answer:
listNumbers = [34,56,23,56,78,89,98,45,34,33,25,26,67,78]
listString = [ ]
for i in range(14):
if listNumbers[i]%2!=0 and listNumbers[i]%5==0:
listString.append("five odd")
elif listNumbers[i]%5==0 and listNumbers[i]%2==0:
listString.append("five even")
elif listNumbers[i]%2==0:
listString.append("even")
elif listNumbers[i]%2!=0:
listString.append("odd")
print(listNumbers)
print(listString)
Explanation:
In python programming language;
- Create two lists
- The first is a list of numbers and initialize it with random values: listNumbers = [34,56,23,56,78,89,98,45,34,33,25,26,67,78]
- The second list is empty and will hold the string values listString = [ ]
- Use a for loop to iterate over all the elementts in the list of numbers
- Use the modulo operator (%) to chech for multiples of particular numbers as stipulated by the question
- Use combination of if/elif statements for each condition
- Use the .append method to add the elements into the list of strings
- finially output both lists
See attached code and output
Answer:
1940 – 1956: First Generation
1956 – 1963: Second Generation
1964 – 1971: Third Generation
1972 – 2010: Fourth Generation
2010- : (Present )Fifth Generation
Explanation:
- First Generation Computers (1940-1956):In this Generation the main component of computers were Vacuum Tubes.
- Second Generation Computers (1956-1963):In this generation the main component of computers were Transistors.
- Third Generation Computers (1964-1971):In this generation the main component of computers were Integrated Circuits.
- Fourth Generation Computers (1972-2010):In this generation the main component of computers were Microprocessor
- Fifth Generation (2010-Present):In this generation the main component of computers is Artificial Intelligence
Answer: This can be explained s follows :-
Explanation: The approach in which services available in the network are used by the applications is called service oriented architecture. In such structure a business function is provided by each service that is independent of other services.
Object oriented programming is a programming paradigm. OOP can be used outside of that architecture or it can be apart of SOA as well .