ЁЯЪА Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

Introduction to Python

Question: 1 Report Error

Python programming рдХрд╛ рд╡рд┐рдХрд╛рд╕ рдХрд┐рд╕рдиреЗ рдХрд┐рдпрд╛ ?

Who developed Python programming?

A)
B)
C)
D)

Question: 2 Report Error

/* */ рдХрд╛ рдкреНрд░рдпреЛрдЧ Python рдХреЛрдб рдореЗрдВ COMMENTS рдбрд╛рд▓рдиреЗ рдХреЗ рд▓рд┐рдП рдХрд┐рдпрд╛ рдЬрд╛рддрд╛ рд╣реИред

/* */ is used to insert COMMENTS in Python code.

A)
B)
C)
D)

Question: 3 Report Error

рдирд┐рдореНрди рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рдПрдХ invalid variable рд╣реИ?

Which of the following is an invalid variable?

A)
B)
C)
D)

Question: 4 Report Error

sys.argv рдореЗрдВ рдкреНрд░рддреНрдпреЗрдХ element рдХрд╛ рдкреНрд░рдХрд╛рд░ рдХреНрдпрд╛ рд╣реИ?

What is the type of each element in sys.argv?

A)
B)
C)
D)

Question: 5 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕реЗ рдХрдерди рд╕рддреНрдп рд╣реИрдВ?

Which of the following statements is true?

A)
B)
C)
D)

Question: 6 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ python language рдореЗрдВ рдПрдХ рдХреАрд╡рд░реНрдб рдирд╣реАрдВ рд╣реИ?

Which of the following is not a keyword in python language?

A)
B)
C)
D)

Question: 7 Report Error

pow(x,y) рдХреЗ рд▓рд┐рдП рд╕рд╣реА рдСрдкрд░реЗрдЯрд░ рдХреМрди рд╕рд╛ рд╣реИ?

Which is the correct operator for pow(x,y)?

A)
B)
C)
D)

Question: 8 Report Error

inf рдХрд╛ type of inf рдХреНрдпрд╛ рд╣реЛрддрд╛ рд╣реИ?

What is the type of inf?

A)
B)
C)
D)

Question: 9 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рдПрдХ рд╡реИрдз рд╕реНрдЯреНрд░рд┐рдВрдЧ рд╕реНрдерд┐рд░рд╛рдВрдХ(valid string constant in python) рд╣реИ?

Which of the following is a valid string constant in python?

A)
B)
C)
D)

Question: 10 Report Error

рд░рд┐рд▓реЗрд╢рдирд▓ рдСрдкрд░реЗрд╢рди рдХрд╛ рдкрд░рд┐рдгрд╛рдо рд╣рдореЗрд╢рд╛ рд╣реЛрддрд╛ рд╣реИ

The result of a relational operation is always

A)
B)
C)
D)

Question: 11 Report Error

рдпрджрд┐ рд╣рдо values рдХреЛ key рдФрд░ value рдХреЗ рд╕рдВрджрд░реНрдн рдореЗрдВ store рдХрд░рдирд╛ рдЪрд╛рд╣рддреЗ рд╣реИрдВ рддреЛ рд╣рдо рдХрд┐рд╕ data type рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░рддреЗ рд╣реИрдВред

If we want to store values in terms of key and value then what data type do we use.

A)
B)
C)
D)

Question: 12 Report Error

рд╣рдо рдкрд╛рдпрдерди рднрд╛рд╖рд╛ рдореЗрдВ рдХреЛрдб рдХреЗ рдПрдХ рдмреНрд▓реЙрдХ рдХреЛ рдкрд░рд┐рднрд╛рд╖рд┐рдд рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдХреНрдпрд╛ рдЙрдкрдпреЛрдЧ рдХрд░рддреЗ рд╣реИрдВ ?

What do we use to define a block of code in Python language?

A)
B)
C)
D)

Question: 13 Report Error

рдкрд╛рдпрдерди рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рд▓реИрдВрдЧреНрд╡реЗрдЬ рдореЗрдВ рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рдЧрд▓рдд рд╣реИ ?

Which of the following is wrong in Python programming language?

A)
B)
C)
D)

Question: 14 Report Error

set рдореЗрдВ duplicate items рдХреА entry рд╣реЛрддреА рд╣реИ

Duplicate items are entered in the set.

A)
B)
C)
D)

Question: 15 Report Error

рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ python рдХреЗ рдмрд╛рд░реЗ рдореЗрдВ рдХреМрди рд╕рд╣реА рд╣реИ ?

Which of the following is correct about python?

A)
B)
C)
D)

Question: 16 Report Error

рдкрд╛рдпрдерди рдХреЗ рд▓рд┐рдП ,рдирд┐рдореНрдирд▓рд┐рдЦрд┐рдд рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ environment variable Python interpreter рдХреЛ рдмрддрд╛рддрд╛ рд╣реИ рдХрд┐ рдПрдХ рдкреНрд░реЛрдЧреНрд░рд╛рдо рдореЗрдВ import рдХреА рдЧрдпреА рдореЙрдбреНрдпреВрд▓ рдлрд╛рдЗрд▓реЛрдВ рдХреЛ рдХрд╣рд╛рдБ locate рдХрд░рдирд╛ рд╣реИ

For Python, which of the following environment variables tells the Python interpreter where to locate module files imported into a program?

A)
B)
C)
D)

Question: 17 Report Error

рдирд┐рдореНрди рдореЗрдВ рд╕реЗ рдХреМрди рд╕рд╛ рдбреЗрдЯрд╛ рдкреНрд░рдХрд╛рд░ рдкрд╛рдпрдерди рдореЗрдВ рд╕рдорд░реНрдерд┐рдд рдирд╣реАрдВ рд╣реИ ?

Which of the following data types is not supported in Python?

A)
B)
C)
D)

Question: 18 Report Error

Python case sensitive рд╣реИ рдЬрдм identifiers рдХреЗ рд╕рд╛рде рдбреАрд▓ рдХрд░рддрд╛ рд╣реИ ?

Is Python case sensitive when dealing with identifiers?

A)
B)
C)
D)

Question: 19 Report Error

Mathematical operation рд╕реНрдЯреНрд░рд┐рдВрдЧ рдкрд░ рдХрд┐рдпреЗ рдЬрд╛ рд╕рдХрддреЗ рд╣реИ ?

Mathematical operations can be performed on strings?

A)
B)
C)
D)

Question: 20 Report Error

рдЬреЛрдбрд╝ рдФрд░ рдШрдЯрд╛рд╡ рдХрд╛ рд╡рд░реАрдпрддрд╛ рд╕реНрддрд░ (precedence level)рдПрдХ рд╣реА рд╣реИ |

The precedence level of addition and subtraction is the same.

A)
B)
C)
D)

Question: 21 Report Error

expression int(x) рдХрд╛ рддрд╛рддреНрдкрд░реНрдп рд╣реИ рдХрд┐ variablex рдХреЛ integer рдореЗрдВ рдмрджрд▓ рджрд┐рдпрд╛ рдЬрд╛рддрд╛ рд╣реИред

The expression int(x) implies that the variablex is converted to an integer.

A)
B)
C)
D)

Question: 22 Report Error

Python Functional Programming рдХреЛ Support рдирд╣реАрдВ рдХрд░рддреА рд╣реИ|

Python does not support Functional Programming.

A)
B)
C)
D)

Question: 23 Report Error

рдХреНрдпрд╛ Python рдореЗрдВ, Function рдХреЛ argument рдХреЗ рд░реВрдк рдореЗрдВ рдкрд╛рд╕ рдХрд░ рд╕рдХрддреЗ рд╣реИ?

Can we pass a function as an argument in Python?

A)
B)
C)
D)

Question: 24 Report Error

Python Variable рд╡ Expression рдХрд╛ рдкреНрд░рдХрд╛рд░ (type) ________ рддрдп (decide) рд╣реЛрддрд╛ рд╣реИ

The type of Python variable and expression is decided by ________.

A)
B)
C)
D)

Question: 25 Report Error

python рдлрд╛рдЗрд▓ рдХреЛ рдХрд┐рд╕ рдлрд╛рдЗрд▓ рдПрдХреНрд╕рдЯреЗрдВрд╢рди рдХреЗ рд╕рд╛рде рд╕реЗрд╡ рдХрд░рддреЗ рд╣реИ ?

With which file extension is the python file saved?

A)
B)
C)
D)

Question: 26 Report Error

________рдЯреВрд▓ рдЬреЛ рдмрдЧ рдЦреЛрдЬрдиреЗ рдпрд╛ рд╕реНрдерд┐рд░ рд╡рд┐рд╢реНрд▓реЗрд╖рдг ( static analysis ) рдХрд░рдиреЗ рдореЗрдВ рдорджрдж рдХрд░рддрд╛ рд╣реИрдВ?

________tool that helps in finding bugs or performing static analysis?

A)
B)
C)
D)

Question: 27 Report Error

Python рдореЗрдВ, Mutable built-in Data-type рд╣реИ

In Python, Mutable is a built-in data-type.

A)
B)
C)
D)

Question: 28 Report Error

рдПрдХ рдкрд╛рдпрдерди documentation рд╕реНрдЯреНрд░рд┐рдВрдЧ рдХреЛ docstring рдХреЗ рд░реВрдк рдореЗрдВ рдЬрд╛рдирд╛ рдЬрд╛рддрд╛ рд╣реИ

A Python documentation string is known as a docstring.

A)
B)
C)
D)

Question: 29 Report Error

рдкреАрдИрдкреА (PEP) рдХрд╛ рдорддрд▓рдм рд╣реИ

What does PEP mean?

A)
B)
C)
D)

Question: 30 Report Error

Python Free, open source, Statically typed, Interpreted рд╡ Portable language рд╣реИ

Python is free, open source, statically typed, interpreted and portable language.

A)
B)
C)
D)

Question: 31 Report Error

python рдореЗрдВ variable рдмрдирд╛рддреЗ рд╕рдордп рдХрд┐рд╕ symbol рдХрд╛ use рдирд╣реАрдВ рдХрд░ рд╕рдХрддреЗ ?

Which symbol cannot be used while creating a variable in python?

A)
B)
C)
D)

Question: 32 Report Error

string рд╕реЗ рдПрдХреНрд╕реНрдЯреНрд░рд╛ space remove рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдХреМрди рд╕рд╛ method рдирд╣реАрдВ рд╣реИ ?

Which is not a method to remove extra space from a string?

A)
B)
C)
D)

Question: 33 Report Error

рдХреНрдпрд╛ string рдХреЛ index value рд╕реЗ access рдХрд┐рдпрд╛ рдЬрд╛ рд╕рдХрддрд╛ рд╣реИ ?

Can string be accessed by index value?

A)
B)
C)
D)

Question: 34 Report Error

string рдореЗрдВ slicing рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдХреМрди рд╕рд╛ statement рд╕рд╣реА рдирд╣реАрдВ рд╣реИ| a="examjila"

Which statement is not correct for slicing a string? a="examjila"

A)
B)
C)
D)

Question: 35 Report Error

python рдореЗрдВ input() function рдХреНрдпрд╛ return рдХрд░рддрд╛ рд╣реИ ?

What does the input() function return in python?

A)
B)
C)
D)

Question: 36 Report Error

python рдореЗрдВ typecasting рдХрд┐рддрдиреЗ рдкреНрд░рдХрд╛рд░ рдХреА рд╣реЛрддреА рд╣реИ ?

How many types of typecasting are there in python?

A)
B)
C)
D)

Question: 37 Report Error

integer value рдХреЛ string рдореЗрдВ рдмрджрд▓рдиреЗ рдХреЗ рд▓рд┐рдП рдХрд┐рд╕ function рдХрд╛ рдкреНрд░рдпреЛрдЧ рдХрд░рддреЗ рд╣реИ ?

Which function is used to convert integer value to string?

A)
B)
C)
D)

Question: 38 Report Error

python рдореЗрдВ PIP рдХрд╛ рдХреНрдпрд╛ рдХрд╛рдо рд╣реИ ?

What is the function of PIP in python?

A)
B)
C)
D)

Question: 39 Report Error

python рдореЗрдВ equality operator рдХреМрди рд╕реЗ рд╣реИ ?

What are equality operators in python?

A)
B)
C)
D)

Question: 40 Report Error

Python рдореЗрдВ ________ рдПрдХ NULL statement рд╣реИ|

________ is a NULL statement in Python.

A)
B)
C)
D)

Question: 41 Report Error

Tower of Honoi puzzle рдХреЛ __________ рдХреЗ рджреНрд╡рд╛рд░рд╛ рдмрдирд╛рдпрд╛ рдЧрдпрд╛|

Tower of Honoi puzzle was created by __________.

A)
B)
C)
D)

Question: 42 Report Error

рдкрд╛рдпрдерди 3.0 рд╕рдВрд╕реНрдХрд░рдг(version) рдХрд┐рд╕ рд╡рд░реНрд╖ рд╡рд┐рдХрд╕рд┐рдд рдХрд┐рдпрд╛ рдЧрдпрд╛ рдерд╛?

In which year was Python 3.0 version developed?

A)
B)
C)
D)

Question: 43 Report Error

рдкрд╛рдпрдерди рднрд╛рд╖рд╛ рдореЗрдВ рдХреЛрдб рдХреЗ рдмреНрд▓реЙрдХ рдХреЛ рдкрд░рд┐рднрд╛рд╖рд┐рдд рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рд╣рдо рдХрд┐рд╕рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░рддреЗ рд╣реИрдВ?

What do we use to define a block of code in Python language?

A)
B)
C)
D)

Question: 44 Report Error

рдбреЗрдЯрд╛ рдкреНрд░рдХрд╛рд░ (1) рдХреНрдпрд╛ рд╣реИ?

What is data type (1)?

A)
B)
C)
D)

Question: 45 Report Error

Docstring рдПрдХ рд╕реНрдЯреНрд░рд┐рдВрдЧ рдЕрдХреНрд╖рд░ рд╣реИ рдЬрд┐рд╕реЗ рдХреБрдЫ рдкреНрд░реЛрдЧреНрд░рд╛рдо element рдХреЗ specification рдХреЛ рдкреНрд░рджрд╛рди рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдЯреНрд░рд┐рдкрд▓ рдХреЛрдЯреНрд╕ рджреНрд╡рд╛рд░рд╛ рджрд░реНрд╢рд╛рдпрд╛ рдЬрд╛рддрд╛ рд╣реИред

Docstring is a string literal represented by triple quotes to provide the specification of some program element.

A)
B)
C)
D)

Question: 46 Report Error

Python source code рдХреЛ compiler рдХрд┐рд╕ code рдореЗрдВ рдкрд░рд┐рд╡рд░реНрддрд┐рдд рдХрд░рддрд╛ рд╣реИ ?

Into which code does the compiler convert the Python source code?

A)
B)
C)
D)

Question: 47 Report Error

Python Object-Oriented рдФрд░ Procedural paradigms рдореЗрдВ рдкреНрд░реЛрдЧреНрд░рд╛рдорд┐рдВрдЧ рдХреА allows рджреЗрддрд╛ рд╣реИред

Python allows programming in Object-Oriented and Procedural paradigms.

A)
B)
C)
D)

Question: 48 Report Error

рдПрдХ variable рдирд╛рдо рдПрдХ letter рдпрд╛ underscore character рд╕реЗ рд╢реБрд░реВ рд╣реЛрдирд╛ рдЪрд╛рд╣рд┐рдПред

A variable name must begin with a letter or an underscore character.

A)
B)
C)
D)

Question: 49 Report Error

Booleans рдХреА рджреЛ value рд╣реЛрддреА рд╣реИрдВ: True or False|

Booleans have two values: True or False.

A)
B)
C)
D)

Question: 50 Report Error

Debugging рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд┐рдпрд╛ рдЬрд╛рддрд╛ рд╣реИ|

Debugging is used.

A)
B)
C)
D)

Latest Updates