Page 482 - AI Ver 3.0 class 10_Flipbook
P. 482
15. What will be the output of the given expression?
6*3+4**2//5-8
a. 34 b. 17
c. 13 d. 45
16. Which character is used in Python to make a single line comment?
a. / b. //
c. # d. !
17. Which of the following is correct to calculate XY ?
a. X^Y b. X*Y
c. X pow Y d. X**Y
18. If x=True, then which among the following is the correct data type of x?
a. Dictionary b. String
c. Integer d. Boolean
19. Which data type will be returned by the value of a=int(‘65’)?
a. Int b. String
c. Boolean d. Float
20. Which among the following do we use to give an alternative in an if condition?
a. for b. elif
c. print d. input
B. Fill in the blanks.
1. Anaconda ………………………. serves as an alternative to the Anaconda Prompt.
2. ………………………. is an open-source web-based application where a single document contains Python code, output
window, explanations, formulas, charts etc.
3. A ………………………. is an important tool that helps you create a unique isolated environment for each project in Python.
4. A ………………………. provides programming language support in Jupyter.
5. A ………………………. is a file created in Jupyter Notebook and is saved with an extension of .ipynb.
6. A ………………………. is used to write code in the notebook that is executed by the notebook’s kernel.
7. Instructions written in a source code and are executed by a Python interpreter are called ……………………..
8. By default, the end of a statement is done by pressing an ………………………..
9. ………………………. starts with hash symbol # followed by the text to be written as a comment that lasts till the end of the
line.
10. The process of repetition of a set of instructions based on a criterion is called a ………………………..
11. ………………………. are more efficient compared to Python lists as they are homogeneous in nature.
12. A Pandas DataFrame is a ………………………. labelled data structure, similar to a table in a database.
13. The ………………………. function in Matplotlib is used to plot a scatter graph.
480 Touchpad Artificial Intelligence (Ver. 3.0)-X

