GoConqr has a new look! Let us know what you think.

Quiz

Intro to Computer Science S2 Chapter 7

Grant Eversole 55 questions

Take the quiz

Questions in this quiz (55)

  1. 1What is output by the following code?
    print(chr(50))
    1. A50
    2. B2
    3. C49
    4. Derror
  2. 2Which of the following is NOT true?
    1. ACharacters can contain digits
    2. BCharacters can contain symbols
    3. CCharacters can contain letters
    4. DCharacters can contain booleans
  3. 3Which of the following built in functions returns the ASCII code representation of an input character?
    1. Aord()
    2. Bupper()
    3. Cstr()
    4. Dint()
  4. 4________ can be individual letters, digits, or symbols
    1. Aints
    2. Bfloats
    3. Cdoubles
    4. Dcharacters
  5. 5ASCII stands for -
    1. AAmerican Science Cohort for Independant Information
    2. BAmerican Scholars Core for Ingenious Innovation
    3. CAmerican Sustained Computers for International Inquiries
    4. DAmerican Standard Code for Information Interchange
  6. 6Which data type is NOT used for calculations?
    1. Astring
    2. Bboolean
    3. Cfloat
    4. Dinteger
  7. 7Which function tells Python to handle a value as a string?
    1. Astr()
    2. Blen()
    3. Cint()
    4. Dinput()
  8. 8The _____ method changes strings to uppercase letters
    1. Acapitalize()
    2. Blen()
    3. Cupper()
    4. Dint()
  9. 9Consider the following code:
    print("zip code: 10036".capitalize())
    What is output?
    1. AZip Code: 10036
    2. BZip code: 10036
    3. Czip code: 10036
    4. DZIP CODE: 10036
  10. 10Consider the following code:
    val = "The temperature is 82 degrees Fahrenheit."
    print(val.isdigit())
    What is output?
    1. ATrue
    2. B82
    3. CThe temperature is 82 Fahrenheit.
    4. DFalse

Information

Description
10th grade Computer Science Quiz on Intro to Computer Science S2 Chapter 7, created by Grant Eversole on 07/05/2018.
Language
English
Views
1
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?