Tuesday, December 29, 2020

Class-7 Chapter-10 Solved Exercise

 MCQ

1 d

2 a

3 c

4 d

5 a


T/F

1 T

2 F

3 F

4 T

5 F


FIB

1. Comarision operator

2. +

3.  Sequential

4. colon

5.precedence


Matching

1. e

2. d

3. a

4. b

5. c


One word

1. Operators of the highest precedence are performed first.

2. Operators at the top of the table have the lowest precedence.

3. Used to replicate a string multiple times.

4. It is used to reserve the logica; state of its operand.

5. '/' Operator divides left side operands with right side operand. Result is the quotient.

    '//' operator is the quotient in which the digits after the decimal points are not taken into account.


Answer in One word.

1. An operator is a symbol which helps the user to command the computer to do a certain mathematical or logical manipulation.

2. Operand are the values or variables, which the operator is applied to. The value of the operands can be manipulated by using operators.

3. Assiggnment Operators : Python assignment operators are used for assigning the value of the right operand to the left operand.

    Relational Operators :- These operators compare the values on either side of the operand and determine the relation between them.

4. Logical operators in python are used for conditional statements are true or false. Logical operators in Python are AND, OR and NOT.

5. Decisions in a program are used when the program has conditional choices to execute code block.

 


 


1 comment: