Answer:
Explanation:
When programming in an OOP language classes are created to represent real-life objects, people, places etc. from the real world. Programming in the general allows you to cut down your code and making it more efficient by applying the same necessary functions to all of the objects that classify under the same category. For example by programming "in the general" and creating an Animal class you can create all of the functions/behaviors that animals tend to have. Then you can apply these functions/behaviors to various animals such as a Cat, Dog, Horse, etc. But if you program in the specific you cannot apply a Cat class to a Dog since they are not the same thing.
Answer:
b) iteration.
Explanation:
There are various algorithms which are used in computer programming. Iteration is also a type of algorithm which is used to create loops. The instructions are inserted once and then these instructions are repeated to create a loop function.
Answer:
I’m not sure if you can only teachers can acess that
Explanation:
Answer:
Expression for the above problem in python language:
userNum=int(input("Enter the value of user_Num")) #it is used to take input.
if(userNum>(-10)): #if statement
print("The value of the userNum is greator")
elif(userNum==(-10)): #elif statement
print("The value of the userNum is equal to -10")
else: #else statement.
print("The value of the userNum is small")
Output:
- If the user input is (-10), it will print equal.
- If the user input 10, it will print greator message.
Explanation:
- The above program or expression is in python language, where the first line is used to render a message to the user take the input and store it into a userNUM variable.
- Then the second line is used to check the user num value to be greater with the help of if statement.
- Then the third statement is used to check the user num value to be equal with the help of elif statement.
- Then the else statement will execute when the if and the elif statement will not true.
Answer:
A unique identifier for a mobile phone
Explanation:
There are different codes and tracking number assigned to different devices such as laptop, mobiles and other devices. The purpose of this task is to make sure the security of device in all aspects. The tracking number that is used to track mobile phone is named as IMEI that stands for International Mobile Equipment Identity.
IMEI is the the unique identity of mobile phone device that consists of 15 digits. It is the unique number that is assigned to phones.