Answer:
Array: (a) All the messages a user has sent.
Variable: (b) The highest score a use has reached on the app. (c) A username and password to unlock the app.
Explanation:
An array generally has more than one value whereas a variable can only contain a single value at any particular point in time. In addition, a variable has a limit whereas an array does not have any maximum limit. Therefore, it can be concluded that option (a) will be stored as an array while options (b) and (c) will be stored as variables.
Answer and explanation : The TCP/IP means TRANSMISSION CONTROL PROTOCOL AND INTERNET PROTOCOL It governs all the communication which are performed over network it has a set of protocol. It defines how different types of conversation are performed without any fault through a network
THERE ARE 5 TYPES OF LAYER IN TCP/IP MODEL
- APPLICATION LAYER: It is present at upper level it is used for high level products for the network communication
- TRANSPORT LAYER: This layer is used for transfering the message from one end to other end
- NETWORK LAYER : Routers are present in network layer which are are responsible for data transmission
- DATALINK LAYER : it is used when there is any problem in physical layer for correcting this datalink are used
- PHYSICAL LAYER: Physical; layer are responsible for codding purpose which we used in communication process
Answer:
N=5 key task decision start and end
Explanation:
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.
Answer:
Please the code snippet below, the code was writen in Kotlin Language
Explanation:
const val inches:Int= 12 . //This is the const value
fun main(args: Array<String>) {
//this will ask the user for input
print("Enter a number")
//this will do the conversion
var valueInFeet= Integer.valueOf(readLine())*inches
print("The value in feet is $valueInFeet feet(s)")
}