E Name the following.
1.Two types of arithmetic operators
2.Three types of logical operators
3.Two oprators used in strings
4.The statement which is used to evaluate only one condition
5.The procedure to write the steps of a program in a well defined way
Answers
Answer:
1. Multiplication: multiply two values
/ Division: divide one value by another
+ Addition: add two values
− Subtraction: subtract one value from another
2. There's three types of logic operators:Negation (NOT) Disjunction (OR) Conjunction (AND)
3. There are two string operators. The first is the concatenation operator ('. '), which returns the concatenation of its right and left arguments. The second is the concatenating assignment operator
4. The so-called “conditional” or “question mark” operator lets us do that in a shorter and simpler way
5. There are five main ingredients in the programming process:
Defining the problem.
Planning the solution.
Coding the program.
Testing the program.
Documenting the program.
Answer:
1 addition and subtraction
2 and ,or,not
3 concational,scanning
4 conditional or Question mark
5 Algorithim