Home
10th Grade
11th And 12th
11th Grade
12th Grade
3rd Grade
4th Grade
5th Grade
6th Grade
7th Grade
8th Grade
9th Grade
Advance Accountancy
Auditing
Computer Aptitude
Direct And Indirect Taxation
Exams
General Hindi
Indian Finance System
Information Technology And Application In Business
Macro Economics
Town Planning
Aerospace And Aeronautical
Analytical Instrumentation
Banking Awareness
Banking Exam
Biochemistry
Bioinformatics
Biology
Biotechnology
Business Statistics
C Program
C Programming
C++ Programming
Career Aptitude Test
Cell Biology
Central Superior Service (css)
Chemical Engineering
Chemistry
Civil Engineering
Commerce
Computer
Computer Fundamentals
Computer Science
Cost Accounting
Css
Database
Drug And Pharmaceutical Biotechnology
Ecat And Mcat Entry Test
Economics
Electrical Engineering
Electrical Engineering Questions
Electrical Measurement And Instrumentation
Engineering
English
English Literature
Environment Management
Environmental Biotechnology
Enzyme Technology
Financial Management And Financial Markets
Gate
General Knowledge
Graduate Assessment Test (gat)
Health And Physical
Heat Transfer
Html
Human Anatomy And Physiology
Human And Cultural Diversity
Human Resource Management
Ias
Indian Economy
Indian Economy
Indian General Awareness
Indian Geography
Indian Geography
Indian History
Indian History
Indian Polity
Instrumentation Transducers
International Relations
Java Program
Javascript
Judiciary And Law
Life Sciences
Management
Marketing And Marketing Management
Mass Transfer
Mechanical Engineering
Mechanics Of Materials
Medical Subjects
Microbiology
Networking
Php
Placement Tests
Professional Communication
Quantitative Aptitude
Reasoning Aptitude
Renewable Energy
Science
Sociology
Sql
Surveying
Total Quality Management
Uidai Aadhaar Supervisor Certification
Virology
Notificatin
Exam
Blog
Contact Us
Python(Engineering > Computer Science And Engineering ) Questions and Answers
Home
Topic
Engineering
Computer Science And Engineering
Python
Question 1.
Is Python case sensitive when dealing with identifiers?
machine dependent
None of the mentioned
no
yes
Explanation:-
Answer: Option D. ->
yes
Question 2.
Why are local variable names beginning with an underscore discouraged in Python Programming?
they are used to indicate a private variables of a class
they slow down execution
they confuse the interpreter
they are used to indicate global variables
Explanation:-
Answer: Option A. ->
they are used to indicate a private variables of a class
Question 3.
All keywords in Python are in _________
UPPER CASE
None of the mentioned
lower case
Capitalized
Explanation:-
Answer: Option B. ->
None of the mentioned
Question 4.
Which of the following is invalid variable in Python?
_a = 1
None of the mentioned
__a = 1
__str__ = 1
Explanation:-
Answer: Option B. ->
None of the mentioned
Question 5.
What is the maximum possible length of an identifier allowed by Python?
31 characters
79 characters
63 characters
None of the mentioned
Explanation:-
Answer: Option D. ->
None of the mentioned
Question 6.
Which is the correct expression for power(xy ) in Python?
x**y
x^^y
x^y
None of the mentioned
Explanation:-
Answer: Option A. ->
x**y
Question 7.
Which one of these is used for floor division in Python?
%
/
//
None of the mentioned
Explanation:-
Answer: Option C. ->
//
Question 8.
In Python, which of the following cannot be a variable?
on
in
__init__
It
Explanation:-
Answer: Option B. ->
in
Question 9.
What error occurs when you execute the following Python code snippet? apple = mango
SyntaxError
ValueError
NameError
TypeError
Explanation:-
Answer: Option C. ->
NameError
Question 10.
In Python, which of these in not a core data type?
Lists
Dictionary
Class
Tuples
Explanation:-
Answer: Option C. ->
Class
1
2
3
4
5
6
Next →
One click Login
Login With Google
Old way of Login
Login With Email