Answer:
Trigger
Explanation:
The process through which an event or an action causes the task to start is called triggering. It is being extensively used in different subjects related to computer programming. And like we create a trigger in DBMS, to trigger some event like showing the output of some queries. And we do have the trigger used by various software as well, and which are built in various programming languages, and various platforms.
Answer:
Execution Time, Memory storage,Readiability,
debugging,Platform independent
Explanation:
High level programming languages are the language which is user friendly languages. There is high level abstraction from internal machine code. Here we need compiler to translate that into machine code
Ex: C,c++,Java...
Interpreted languages are scripting languages where we need interpreter to interpret those scripts or commands
Ex:Python.Ruby
Machine languages are binary language which contains 0's and 1's can understandable by system only. Not human readable forma
Interpreted language scans each statement at a time and interprets that line by line. It takes less amount of time to analyze the source code but the overall execution time is slower.
High level language takes more memory than interpreted and machine as it generates some intermediate code
High level languages are more readable than remaining two
Intermediate languages are easy to debug as it executes line by line and when ever any error occurs in a particular line it stops and intimate there itself
High level and interpreted languages are platform dependent, it can work on some machine and OS specific configurations only
Answer:
#here is code in python
#read the name
name=input("Enter your name:")
# read the age as integer
age=int(input("Enter your age:"))
#print the output in the required format
print("{} is {} years old.".format(name,age))
Explanation:
Read the name from user and assign it to variable "name".Then read the age from user and assign it to variable "age". In the next line print the output as required using the format function.
Output:
Enter your Sam
Enter your age:24
Sam is 24 years old.
Answer:
count = 0
for x in range(len(array)):
if count == Len(array) -1:
break
max = max(array[:-1 - count])
count += 1
if array.index(max) == -1:
break
else:
hold = array[-1]
array[-1] = max
array[array.index(max)] = hold
Explanation:
The python program is an implementation of a maxsort. The for loop iterates over the array, getting the maximum number for each reduced array and swaps it with the corresponding last items.
Download the Operating system on it’s website like Windows 10 etc.