0% found this document useful (0 votes)
12 views3 pages

1

Uploaded by

tapaskumarmahato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views3 pages

1

Uploaded by

tapaskumarmahato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1. Who developed Python Programming Language?

a. Wick van Rossum b. Rasmus Lerdorf c. Guido van Rossum d. Niene Stom

2. Python supports which types of programming?

a. object-oriented programming b. structured programming c. functional programming d. All of the


mentioned

3. When it comes to identifiers, is Python case sensitive?

a. No b. Yes c. Machine dependent d. None of the mentioned

4. Which of the following is the valid Python file extension?

a. .python b. .pl c. .py d. .p

5. All keywords in Python are in _________.

a. Capitalized b. lower case c. UPPER CASE d. None of the mentioned

6. In Python, which of the following characters is used to create single-line comments?

a. // b. # c. ! d. /*

7. Which of the following statements about variable names in Python is correct?

a. Underscore and ampersand are the only two special characters allowed

b. Unlimited length

c. All private members must have leading and trailing underscores

d. None of the mentioned

8. What is the maximum length of an identifier that can be used?

a. 16 b. 32 c. 64 d. None of these above

9. When was the Python programming language created?

a. 1995 b. 1972 c. 1981 d. 1989

10. Python is written in which language?

a. English b. PHP c. C d. All of the above

11. In the Python language, which of the following is not a keyword?

a. Val b. Raise b. Raise c. Try d. With

12. In the Python language, which of the following statements is correct for variable names?

a. All variable names must begin with number.

b. Unlimited length

c. The variable name length is a maximum of 2 characters.

d. All of the above

13. A computer ___________ is a collection of instructions that perform a specific task when executed by a
computer.
a. Program b. Code c. Code Body d. None of the above

14. Why is Python such a widely used programming language?

a. Easy to learn b. Portability and compatibility c. A Broad Standard Library d. All of the above

15. What are the various applications that Python supports?

a. Web and Desktop GUI Application

b. Database Access

c. Games and 3D Graphics

d. All of the above

16. Python is a _________ programming language, which means it runs on a variety of platforms including
Windows, MacOS, Linux, and the Java and.NET Virtual machines.Access

a. Cross-platform b. Single-platform c. Code-platform d. None of the above

17. Python ___________ must be installed on our machine in order to run a Python programme.

a. Interpreter b. com[piler c. Assembler d. All of the above

18. IDE stands for ______________.

a. Integrated Development Environment

b. Internal Develop Environment

c. Inside Development Environment

d. None of the above

19. IDLE stands for ____________.

a. Integrated Development and Learning Environment

b. Internal Develop and Learning Environment

c. Inside Development and Learning Environment

d. None of the above

20. IDE helps to __________ python programs in a single interface.

a. Edit, Run b. Browse c. Debug d. All of the above

21. What are the two methods for using a Python shell?

a. Interaction Mode, Sub Mode b. Interactive Mode, Script Mode

c. Shell Mode, Python Mode d. None of the above

22. You can add a programme in __________ in Interactive Mode.

a. Multiple Line b. Single Line c. Two Line d. None of the above

23. You can add a programme in __________ in Script Mode.

a. Multiple Line b. Single Line c. Two Line d. None of the above

24. Instructions written in the source code for execution are called ___________.
a. Statements b. Sentence c. Both a) and b) d. None of the above

25. Statements in Python can be extended to one or more lines using _____________.

a. braces{} b. Parentheses() c. Square Brackets[] d. All of the above

26. A _________ is a piece of text that doesn’t impact the outcome of a programme; it’s just a way to tell
someone what you’ve done in a programme or what’s going on in a block of code.

a. Statement b. Comments c. Nodes d. None of the above

27. _________ are the reserved words in Python used by the Python interpreter to recognize the structure of the
program.

a. Keywords b. Identifiers c. Comments d. None of the above

28. An ____________ is a name given to entities like class, functions, variables, etc.

a. Keywords b. Identifiers c. Comments d. None of the above

29. Python is a ____________ language.

a. Upper case b. Small case c. Case-sensitive d. None of the above

30. In the Identifier, Multiple words can be separated using an ___________.

a. Underscore b. Parentheses c. Bracket d. None of the above

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy