Built-in Python Functions

9 Questions | Attempts: 185
Share

SettingsSettingsSettings
Python Programming Quizzes & Trivia

This quiz is on some of the built-in functions in Python 3.2.


Questions and Answers
  • 1. 

    Which built-in function converts a number or string to an integer?

  • 2. 

    Which built-in function returns a string version of an object?

  • 3. 

    Which built-in function returns the type of an object?

  • 4. 

    Which built-in function returns the absolute value of a number?

  • 5. 

    Which built-in function returns True if all elements of the iterable are true (or if the iterable is empty)?

  • 6. 

    Which built-in function returns True if any element of the iterable is true. If the iterable is empty, return False?

  • 7. 

    Which built-in function returns a string containing a printable representation of an object, but escapes the non-ASCII characters in the string returned by repr() using \x, \u or \U escapes?

  • 8. 

    Which built-in function converts an integer number to a binary string?

  • 9. 

    Which built-in function converts a value to a Boolean, using the standard truth testing procedure?

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jan 23, 2013
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 02, 2011
    Quiz Created by
    DaKrazyJak

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.