FINAL EXAM PYTHON PROGRAMMING

Enter your email below & start this Final Exam Python Programming.

Exam Time: 60mins
Final Exam for Python Programming course.

Please enter your email:

1. What will be the output of following Python code?

var1 = 1

var2 = 2

var3 = 3

print(var1 + var2 + var3)

 

 
 
 
 

2. What will be printed as a result of below Python code?

print(“Network Walks Academy”+”one”)

 
 
 
 

3. Which code is correct for the If statement below?

 

 
 
 
 

4. Which code will result in below output?

 

 
 
 
 

5. Which Python code is used to configure Hostname on a Cisco Router in Python 3?

 
 
 
 

6. Which of below Python programs is correct, which asks user to input two numbers & returns their sum:

 
 
 
 

7. Which of below Python programs is correct, which asks user to input two numbers & returns their sum:

 
 
 
 

8. What will be printed as a result of below Python code?

print("Network Walks Academy")

#print("www.networkwalks.com")

 
 
 
 

9. What is the correct file extension of Python files?

 
 
 
 

10. Lists in Python3 are always denoted by:

 
 
 
 

11. Which operator can be used to compare two values in Python3?

 
 
 
 

12. What will be the output of following Python code?

p, q, r = 10, 20 ,30

print(p, q, r)

 
 
 
 

13. Which Python code will result in below output?

 
 
 
 

14. The result of division in python is always a float number:

 
 

15. What will be printed as a result of below Python code?

print(“Network Walks Academy”+1)

 
 
 
 

16. What will be the output of following Python code?

a = 3 + 2 * 4 + 4

print(a)

 
 
 
 

17. Which of below Python programs is correct, which asks user to input two numbers & returns their sum:

 
 
 
 

18. Tuples in Python3 are always denoted by:

 
 
 
 

19. What is the correct way to create functions in Python?

 
 
 
 

20. What is the meaning of below condition in Python scripting?

A!=B

 
 
 
 

Question 1 of 20

 

 

0 0 votes
Article Rating
Subscribe
Notify of
guest

1 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
George Marufu

Dear examiner

I noticed number 10 had 2 similar answers both correct. ie Network Walks Academy. Also number 12 questions had no relationship to given to given answers. On both instances I just had to use my understanding of Python code to determine which would run should I compile.