a. What do you understand by the term event? Explain your answer with a ani
example.
b. What is variable in terms of computer programming?
c. What are Conditional operators? Explain with example.
d. How is IF-THEN-ELSE statement executed?
e. Define: Form module , Standard module.
Answers
Answer:
A. noun. something that happens or is regarded as happening; an occurrence, especially one of some importance. the outcome, issue, or result of anything: The venture had no successful event. something that occurs in a certain place during a particular interval of time.
B. In computer programming, a variable or scalar is a storage location (identified by a memory address) paired with an associated symbolic name, which contains some known or unknown quantity of information referred to as a value.
C. An Example of Conditional Operators
The conditional operator "&&" first evaluates whether its first operand (i.e., number % 2 == 0) is true and then evaluates whether its second operand (i.e., number % 4 == 0) is true. As both are true, the logical AND condition is true.
D. The if / then statement is a conditional statement that executes its sub-statement, which follows the then keyword, only if the provided condition evaluates to true: if x < 10 then x := x+1; In the above example, the condition is x < 10 , and the statement to execute is x := x+1 .
E. I don't know
Explanation: