Python Q&A PDF

Summary

This document contains multiple-choice questions about Python programming, including questions about the language's development, programming types, and case sensitivity. The document provides Python code snippets and asks for their output.

Full Transcript

1 1. Who developed Python Programming Language? a) Wick van Rossum b) Rasmus Lerdorf c) Guido van Rossum d) Niene Stom 2. 2. Which type of Programming does Python support? a) object-oriented programming b) structured programming c) functional programm...

1 1. Who developed Python Programming Language? a) Wick van Rossum b) Rasmus Lerdorf c) Guido van Rossum d) Niene Stom 2. 2. Which type of Programming does Python support? a) object-oriented programming b) structured programming c) functional programming d) all of the mentioned 3. 3. Is Python case sensitive when dealing with identifiers? a) no b) yes c) machine dependent d) none of the mentioned 4. What will be the output of the following Python code? i = 1 while True: if i%3 == 0: break print(i) i + = 1 a) 1 2 3 b) error c) 1 2 d) none of the mentioned What will be the output of the following Python code snippet if x=1? 2 x

Use Quizgecko on...
Browser
Browser