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.

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.