Computers

11th

grade

Image

AP CSP #62-66

37
plays

5 questions

Show Answers
See Preview
  • 1. Multiple Choice
    2 minutes
    1 pt
    Image

    Which of the following describes the result of executing the program?

    The program displays the sum of the even integers from 0 to 10.

    The program displays the sum of the even integers from 0 to 20.

    The program displays the sum of the odd integers from 1 to 9.

    The program displays the sum of the odd integers from 1 to 19.

  • 2. Multiple Choice
    2 minutes
    1 pt

    Which of the following describes how a distributed denial-of-service (DDoS) attack is most likely to compromise an online store’sWeb site?

    By causing incorrect information about services to be displayed

    By making it difficult for the site to safeguard customer login information

    By preventing customers from placing orders

    By preventing the store from filling previously placed orders

  • 3. Multiple Choice
    2 minutes
    1 pt
    Image

    A program contains the following procedures for string manipulation.

    Which of the following expressions can be used to generate the string "Happy" ?

    Concat (Substring ("Harp", 1, 1), Substring ("Puppy", 2, 4))

    Concat (Substring ("Harp", 1, 2), Substring ("Puppy", 3, 3))

    Concat (Substring ("Harp", 1, 2), Substring ("Puppy", 4, 2))

    Concat (Substring ("Harp", 2, 2), Substring ("Puppy", 4, 2))

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?