Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

programming

QUESTION 1

  1. Which of the following data types is not supported in python?

    Numbers

    String

    List

    Slice

QUESTION 2

  1. Python is a(n) ___________ that provides the necessary interpreters, resources, and library files for building and running Python applications.

    Integrated Development Environment

    Framework

    Compiler

    Programming Style

QUESTION 3

  1. Python code written for Python framework version 2 is compatible with Python framework version 3.

     

     

QUESTION 4

  1. Which of the following function convert an object to a string in python?

    int(x [,base])

    long(x [,base] )

    float(x)

    str(x)

QUESTION 5

  1. Which of the following function converts an object into its integer value.

    int(x)

    isnumeric (x)

    ord(x)

    str(x)

QUESTION 6

  1. The type() function in Python does what when you give it an object.

    returns the last keystrokes from the user.

    fill the object with data.

    returns the data type of the given object.

    changes the object’s data type. 

QUESTION 7

  1. Python is an interpreted programming language.

     

     

1 points  

QUESTION 8

  1. What is the output of the following Python command: print(14 // 3)

    11

    4.666667

    4

     

QUESTION 9

  1. What is the output of the following Python commands: 
    Val = 55
    print(“Val”)

    55

    Val

    Prints an error message

    “Val”  

QUESTION 10

  1. What is the value of user_input from the following command: user_input = float(input())  if the user entered 125?

    “125”

    125

    125.0

    Error message is displayed.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *