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

Quiz

TEST

Victor Lu 1 question

Take the quiz

Questions in this quiz (1)

  1. 1We want to create an algorithm called swapValues. Given two variables x and y the result should have the values of x and y swapped. Which of the following algorithms correctly swaps the values of x and y?
    1. Ay ← x
      temp ← x
      x ← y
    2. Bx ← y
      y ← x
    3. Ctemp ← x
      x ← y
      y ← temp
    4. Dtemp ← x
      y ← temp
      y ← x

Information

Description
Quiz on TEST, created by Victor Lu on 15/12/2018.
Author
Victor Lu
Language
English
Views
0
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?