Computer Science Class XI - Chapter 1 Python Fundamental Test 1

 Computer Science Class XI - Chapter 1 Python Fundamental Test 1


Q1. Name two modes of Python.

Q2. Write full form of IDLE.

Q3. Interface mode of python is also known as _______________.

Q4. In which mode we get result immediately after executing the command?

Q5. Write the output of the following.

a. >>> x = 5

   >>> y = 7

   >>> print(x + y )

b. >>> print(2 **5)

Q6. Write one drawback of interactive mode.

Q7. Ananya purchased 5 pencils and 2 erasers at the cost of Rs 7 and Rs 5 respectively. Write the program to calculate & display the total amount paid by ananya.

Q8. What do you mean by comments in Python?

Q9. Which symbols are used for single line commens and multiple line comments?

Q10. What do you mean by variable?

2 comments:

Most Recently Published

File Handling Test 6

 File Handling Test 6 Q1 . Do we need to use the close() function when we use 'with' statement to open a file? Q2. Which mode you wi...

CS - IP Assignment/Worksheet