Contents

Which of the following precedence order is correct in Python?
a) Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
b) Multiplication, Division, Addition, Subtraction, Parentheses, Exponential
c) Division, Multiplication, Addition, Subtraction, Parentheses, Exponential
d) Exponential, Parentheses, Multiplication, Division, Addition, Subtraction

a

Explanation: PEMDAS (similar to BODMAS).


Which one of the following has the same precedence level?
a) Division, Power, Multiplication, Addition and Subtraction
b) Division and Multiplication
c) Subtraction and Division
d) Power and Division

b

Which one of the following has the highest precedence in the expression?
a) Division                            
b) Subtraction
c) Power                                
d) Parentheses

d

Explanation: PEMDAS (similar to BODMAS).


Which of the following functions is a built-in function in python language?
a) val()                                  
b) print()
c) print()                                
d) None of these

b

Explanation: The print() function is a built-in function in python language that prints a value directly to the system.


Amongst which of the following is / are the application areas of Python programming?
a) Web Development
b) Game Development
c) Artificial Intelligence and Machine Learning
d) All of the mentioned above

d

Explanation: Python programming is used in a variety of fields, including web development, game development, artificial intelligence, and machine learning, among others. Web Development - Python provides a number of web development frameworks, including Django, Pyramid, and Flask, among others. Security, flexibility, and scalability are all attributes of this framework. Development of Video Games - PySoy and PyGame are two Python libraries that are used in the development of video games. Artificial Intelligence and Machine Learning - There are a large number of open-source libraries that can be used when developing AI/ML applications, and many of these libraries are free.


Amongst which of the following is / are the Numeric Types of Data Types?
a) int                                      
b) float
c) complex                           
d) All of these

d

Explanation: Numeric data types include int, float, and complex, among others. In information technology, data types are the classification or categorization of knowledge items. It represents the type of information that is useful in determining what operations are frequently performed on specific data. In the Python programming language, each value is represented by a different python data type. Known as Data Types, this is the classification of knowledge items or the placement of the information value into a specific data category. It is beneficial to be aware of the quiet operations that are frequently performed on a worth.