pencil-icon
Build your own quiz

Computers

Image

KA Intro to JS: Interactive Programs

158
plays

5 questions

Show Answers
See Preview
  • 1. Multiple Choice
    30 seconds
    1 pt
    Your program has a faceSize variable storing the value 50. Which expression would represent 25?
    faceSize / 2
    faceSize % 2
    faceSize - 2
    faceSize * 0.2
  • 2. Multiple Choice
    30 seconds
    1 pt
    Your program has a faceSize variable storing the value 50. Which line of code draws a circle that's 50x50?
    ellipse(50, 75, faceSize, faceSize);
    ellipse(50, 75, faceSize);
    ellipse(100, 50, faceSize, 75);
    ellipse(faceSize, faceSize, 100, 50);
  • 3. Multiple Choice
    30 seconds
    1 pt
    Your program has an eyeSize variable storing the value 30. Which expression would represent 60?
    eyeSize x 2
    eyeSize * 2
    eyeSize ^ 2
    eyeSize & 2
  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?