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. Which Python code is used to capture username from a Cisco Router through a prompt in Python 3?

 
 
 
 

2. Which Python code will result in below output?

 
 
 
 

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

 
 
 
 

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

print("Network Walks Academy")

#print("www.networkwalks.com")

 
 
 
 

5. In Python, ‘Hello’, is the same as ‘Hello”

 
 

6. Almost every value is evaluated to True if it has some sort of content:

 
 

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

 
 
 
 

8. Tuples in Python3 are always denoted by:

 
 
 
 

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

 
 
 
 

10. Which code will result in below output?

 

 
 
 
 

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

 
 
 
 

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

var1 = 1

var2 = 2

var3 = 3

print(var1, var2, var3)

 

 
 
 
 

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

a = 3 + 2 * 4 + 4

print(a)

 
 
 
 

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

 
 
 
 

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

 
 

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

A!=B

 
 
 
 

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

print(“Network Walks Academy”+1)

 
 
 
 

18. Which of below Python programs is correct, which asks user to input number of hours & converts it into seconds:

 
 
 
 

19. In Python, ‘Hello’, is the same as “Hello”

 
 

20. Which statement is used to display text strings in Python?

 
 
 
 

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.