Monday , June 17 2024
Breaking News

Python Programming Professional Certification

Python Programming Professional Certification

Get Python Programming Certificate from Itronix Solutions which you can share in the Certifications section of your LinkedIn profile, on printed resumes, CVs, or other documents.

  • Exam Details
  • Format: Multiple Choice Question
  • Questions: 10
  • Passing Score: 8/10 or 80%
  • Language: English

What will be the output of the following code snippet?

print(63 + (4 + 2)(2 + 1))

432
18
36
234

What will be the datatype of the var in the below code snippet?

var = 3.14
print(type(var))
var = “Itronix”
print(type(var))

str and float
int and str
str and str
float and str

What will be the output of the following code snippet?

a = [11, 22, 33]
a = tuple(a)
a[0] = 69
print(a)

[69,22,33]
(69,22,33)
(11,22,33)
Error

What will be the output of the following code snippet?

print(type(5 / 2))
print(type(5 // 2))

float and float
float and int
int and float
int and int

What will be the output of the following code snippet?

a = [11, 12, 13, 14, 15]
sum = 0
for i in a:
sum += i
print(sum)

11
65
15
50

Which of the following concepts is not a part of Python?

Pointers.
Loops.
Dynamic Typing.
All of the above.

What will be the output of the following code snippet?

def solve(a, b):
return b if a == 0 else solve(b % a, a)
print(solve(25, 50))

10/10
75
50
25

What will be the output of the following code snippet?

def func():
global value
value = “Local”

value = “Global”
func()
print(value)

Local
Global
None
local variable referenced before assignment

Which of the following types of loops are not supported in Python?

for
while
do-while
None of the above

What will be the output of the following code snippet?

def check(a):
print(“Even” if a % 2 == 0 else “Odd”)

check(13)

Even
Odd
Error
None

APPLY FOR THE CERTIFICATION : CLICK HERE

About Clear My Certification

Check Also

ISRO

12th MOOC on “Overview of Space Exploration” by ISRO

Space Science and technology are exciting areas for scientists and researchers which has greatly impacted …

Leave a Reply

Your email address will not be published. Required fields are marked *