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

Quiz

Week 17

Beep Boop 37 questions

Take the quiz

Questions in this quiz (37)

  1. 1What is the Python equivalent to try...catch in Javascript?
    1. Atry...exception
    2. Btry...raise
    3. Ctry...except
    4. D...
    5. Etry...catch
  2. 2Strings are sequences in Python. This means they have many functions that arrays have in JavaScript. For example, len() and join().

    What type of error occurs if the join function for strings is called with some elements which are not strings?
    1. ARuntimeError
    2. BJoinError
    3. CSyntaxError
    4. DTypeError
  3. 3print(34 % 5)
    1. A0
    2. B4
    3. C5
    4. D6
  4. 4print(3 ** 2)
    1. A6
    2. B8
    3. C9
  5. 5print(8.0 / 2.0)
    1. A4
    2. B4.0
  6. 6print(5 / 2)
    1. A2
    2. B3
    3. C2.5
  7. 7print(9 ** 4)
    1. A6561
    2. B95
    3. C35
    4. D13
  8. 8print(34 // 5)
    1. A4
    2. B5
    3. C0
    4. D6
  9. 9print(5 // 2)
    1. A2
    2. B3
    3. C2.5
  10. 10print(2 ** 3)
    1. A8
    2. B6
    3. C9

Information

Description
Computer Science Quiz on Week 17, created by Beep Boop on 04/12/2020.
Author
Beep Boop
Language
English
Views
3
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?