Question: How was Jesus able to identify the person who was going to betray him?
About the article "Last Supper", section "Prediction of Judas' betrayal".

Candidate passages:
Snide is a weasel who originated in "Donkey Kong 64".
He was once King K. Rool's chief technician who had invented the Blast-O-Matic and other devices that the Kremlings have used.
King K. Rool fired him due to a paranoia that Snide was going to betray him.
Snide moved to Donkey Kong Isle where he set up his headquarters.
He aided the Kongs by giving them blueprints to the Kremling devices. 
The Bargain of Judas is a biblical episode related to the life of Jesus that appears in all three Synoptic Gospels, , and .
It relates how Judas Iscariot made a bargain with the chief Jewish priests to betray Jesus.
The Gospel of Matthew specifies that Judas received thirty pieces of silver:Then one of the Twelve—the one called Judas Iscariot—went to the chief priests and asked, "What are you willing to give me if I hand him over to you?"
So they counted out for him thirty silver coins.
From then on Judas watched for an opportunity to hand him over.
The Gospel of Mark and the Gospel of Luke mention no price.
The Gospel of Luke states that Satan entered Judas to prompt him for the bargain:Now the Feast of Unleavened Bread, called the Passover, was approaching, and the chief priests and the teachers of the law were looking for some way to get rid of Jesus, for they were afraid of the people.
Then Satan entered Judas, called Iscariot, one of the Twelve.
And Judas went to the chief priests and the officers of the temple guard and discussed with them how he might betray Jesus.
They were delighted and agreed to give him money.
He consented, and watched for an opportunity to hand Jesus over to them when no crowd was present.
In the New Testament Jesus is later betrayed in the Kiss of Judas incident.
The "Bargain of Judas" is considered one of the seven key episodes that relate to the events of the week of the Crucifixion of Jesus. 
 Act I Synopsis.
A grandfather and his grandchildren, Billy and Lisa, explore the banks of the Paluxy River in Glen Rose, Texas, looking for dinosaur tracks.
When the topic of conversation turns to the upcoming birth of the grandchildren's youngest sibling, they are reminded that every life is special to God.
The grandfather begins to relate the story of one baby who was so special that God gave Him as a promise.
The characters soon find themselves among the prophets of the Old Testament, who are foretelling the coming of Christ ("A Promise Is a Promise").
As Grandfather begins to tell the story of Jesus' birth, the family meets Mary and Joseph as they journey to Bethlehem ("Magnify").
The Archangel Gabriel announces the birth of baby Jesus, and shepherds and three Magi travel to Bethleham to worship Him ("Glory to God").
Grandpa explains to the children that Herod decreed that all male babies in Bethlehem under the age of two must be massacred,but just in time, an angel warned Joseph to flee to Egypt with baby Jesus.
After Herod dies, the angel directs them back to Nazareth, where Jesus grows up in Joseph's carpenter shop.
Jesus learns His earthly father Joseph's business, but Joseph reminds Him that he is God's son ("Little Yeshua").
Jesus grows up, and his cousin, John the Baptist, calls for sinners to repent and be baptized in the Jordan River ("The Kingdom of Heaven/One Voice"§).
Jesus comes to John to be baptized, and though John bows before Jesus and insists that it is not right for him to baptize Jesus, Jesus asks him to permit it so they may do what is right in God's eyes.
John baptizes Jesus, and the Spirit of God descends on him.
Satan leads Jesus out into the wilderness and tempts him, but Jesus does not succumb to his temptation ("It is Written"§).
Back in Galilee, Jesus calls four fishermen – Peter, James, John, and Andrew – to be his first disciples.
Amazed by a miraculous catch of fish, they declare that he must be the coming king ("I See the Kingdom Coming").
Jesus calls twelve disciples and begins teaching the common people the Beatitudes, explaining his love for them ("Closer Than a Heartbeat"§).
The apostles sing and dance, telling the crowds "He Is Jehovah".
Jesus heals the blind, lame, sick, and leperous, and a woman in the marketplace declares that he comes "In the Name of the Lord".
The disciples wonder amongst themselves how Jesus will become king, especially since He says He will die by crucifixion.
Jesus even raises his friend Lazarus, who had been dead four days, back to life ("In the Name of the Lord" (reprise)).
Act II Jesus and his disciples make his Triumphal Entry into Jerusalem as the crowds celebrate and lay palm branches before him ("We Cry Hosanna, Lord").
When Jesus arrives at the Temple, he finds money changers selling animals for temple sacrifices, turning the Temple into a place of business.
He angrily overturns their tables and confronts Caiaphas, the High priest ("My Father's Temple"§).
Jesus and His disciples meet in an upper room to celebrate the Passover, and he gives them some of his final teachings, assuring them that His spirit and His peace will always be with them ("Shalom").
Judas leaves the table to betray Jesus to the priests and Pharisees.
Jesus predicts that all his disciples will fall away, but Peter insists that he will never leave Jesus.
Jesus warns him that before the rooster crows, he will deny Jesus three times.
Jesus and the rest of His disciples go into the Garden of Gethsemane to pray ("He Is Jehovah" (reprise)).
The disciples fall asleep.
Jesus begs God to take away the suffering he will endure, but then asks that God's will be done so that God may be glorified ("Glorify Your Son"§).
The disciples awaken as Judas returns with some Roman soldiers.
Judas betrays Jesus with a kiss, and the soldiers arrest him and lead him away.
As Jesus is awaiting His trial, three people recognize Peter as one of Jesus' followers.
Peter repeatedly denies even knowing Jesus, and a rooster crows.
Peter is overcome by his guilt and asks God for forgiveness, dedicating his life to God ("Peter's Song"§).
Jesus is put on trial before Herod and then Pontius Pilate, who initially refuses to condemn Him, since He had committed no crime.
During these trials, Jesus is whipped, and a crown of thorns is placed on his head.
An angry mob insists that Pilate "Let Him Be Crucified", and Pilate turns him over to the rioters and the Roman soldiers.
The soldiers lead him along the "Via Dolorosa" to Calvary, a hill outside the city, to be crucified.
The soldiers beat and mock Jesus as he carries his cross, while his followers mourn.
Jesus is nailed to the cross, and the soldiers cast lots for his robe ("Cross of Calvary").
Jesus tells his mother, Mary, that the apostle John is now her son.
He cries out to God, "Abba, Father, why have you forsaken me?"
and then gasps, "it is finished.
"Joseph of Arimathea and Nicodemus, religious leaders and secret followers of Jesus, take his body down from the cross and bury it in the tomb that Joseph had purchased for himself.
Pilate posts Roman guards at the tomb so Jesus' apostles will not be able to steal Jesus' body and claim that He rose from the dead.
On Sunday, the Angel Gabriel appears at the tomb, singing God's command for Jesus to "Arise".
Three women arrive at the tomb to mourn and find Jesus there, risen from the dead!
They bring the apostles to Him, and all the people come to worship Jesus.
Grandfather explains to Billy and Lisa that Jesus is still alive today and urges them to go forth to fulfill His Great Commission.
Everyone joins in singing "Glory to God" and "Magnify".
"Note: Songs labelled with § have been added to the Glen Rose production since the original production."
At what Jesus knows will be the Last Supper, he pours wine and passes bread for his apostles.
He's very aware of the ordeal he faces.
He is stung when the others don't pay much attention to him; "For all you care this wine could be my blood / For all you care this bread could be my body," he remarks ("The Last Supper"), alluding to (and anticipating) the Christian doctrine of the Eucharist.
He asks them to remember him when they eat and drink; he predicts that Peter will deny him three times "in just a few hours" and that one of them will betray him.
Judas, believing that Jesus already knows ("cut the dramatics, you know very well who"), admits he is the one and angrily accuses Jesus of acting recklessly and egotistically.
Claiming he doesn't understand Jesus' decisions, he leaves to bring the Roman soldiers.
The remaining apostles fall asleep, and Jesus retreats to the Garden of Gethsemane to pray.
He admits to God his doubts, fears and anger, that he is tired and has done all he can.
He asks powerfully if any of it has meaning and implores God not let him suffer the horrible death that portends for him.
He feels disillusioned with his quest as the Messiah, doesn't understand what it has achieved and wishes to give up.
Receiving no answer, Jesus realizes that he cannot defy God's will, and surrenders to God.
His prayer ends with a request that God take him immediately, "before I change my mind" ("Gethsemane (I Only Want to Say)").
Judas arrives with Roman soldiers and identifies Jesus by kissing him on the cheek.
Jesus is arrested, and his apostles attempt to fight the soldiers.
Jesus tells them to let the soldiers take him to Caiaphas.
On the way, a mob (acting like—and sometimes represented as—modern-day news reporters) asks Jesus what he plans to do, but Jesus declines to comment.
When Jesus is brought to trial before the Sanhedrin, Caiaphas asks if he is the son of God.
Jesus responds: "That's what you say, you say that I am."
This answer is affirmative according to Jewish custom, and that provides enough justification for the high priests to send Jesus to Pontius Pilate ("The Arrest").
Meanwhile, Jesus' apostle Peter is confronted by an old man, a soldier and a maid, and Peter denies to each that he knows Jesus.
Mary asks Peter why he denied Jesus, and Peter responds that he had to do it in order to save himself.
Mary wonders how Jesus knew that Peter would deny him three times ("Peter's Denial").
Pilate asks Jesus if he is the son of God.
Jesus gives the same answer that he gave Caiaphas: "that's what "you" say."
Since Jesus is from Galilee, Pilate says that he is not under his jurisdiction and sends him to King Herod ("Pilate and Christ").
As Jesus is dragged away, the chorus asks where Jesus' power has gone ("Hosanna Reprise").
In a mocking ragtime number, the decadent and flamboyant King Herod asks Jesus to prove his divinity by performing miracles, offering to free him if he complies; but Jesus ignores him.
Herod decides that Jesus is just another phony messiah and angrily sends him back to Pilate ("Herod's Song (Try It and See)").
The apostles and Mary Magdalene remember when they first began following Jesus, and wish that they could return to a time of peace ("Could We Start Again, Please?")
Feeling extreme guilt for Jesus' harsh treatment by the authorities, and panicking that he will be seen as responsible, Judas expresses regret to the priests, fearing he will forever be remembered as a traitor.
Caiaphas and Annas say that what he has done will save everyone and that he should not feel remorse for his actions before throwing him out of their temple.
Left alone, recognition dawns that memories of this could haunt the rest of his life, that God chose him to be the one to betray Jesus, and that he has been used as a pawn for the "foul bloody crime".
He suffers a mental breakdown during the epiphany, cursing God for his manipulative ways, and in a final attempt to detach himself from his destiny, he commits suicide by hanging himself from a tree ("Judas' Death").
At Jesus' trial, Pilate asks the crowd if they would crucify Jesus, their king, and they declare: "We have no king but Caesar!"
Pilate remembers the dream he had about the crowd and the unjust execution of Jesus ("Pilate's Dream" instrumental).
Pilate tells the crowd that, while Jesus should be imprisoned, he does not deserve to die.
Pilate demands that the crowd give him a reason to condemn Jesus, and the crowd breaks into a pep rally-style cheer about how Jesus is a blasphemer and has defied Rome.
After revealing Jesus as nothing more than a pathetic human being ('Behold the man!
"), Pilate calls the crowd hypocrites, as he knows they hate Roman rule.
He attempts to satisfy their bloodlust by having Jesus whipped, counting thirty-nine bloody strokes.
Pilate, clearly disturbed by the whole ordeal, pleads with Jesus to defend himself; but Jesus says weakly that everything has been determined (by God), and Pilate cannot change it.
The crowd still screams for Jesus to be crucified, and Pilate recalls his duty to keep the peace.
He reluctantly agrees to crucify Jesus to keep the crowd from getting violent ("Trial Before Pilate (Including the Thirty-Nine Lashes)").
Pilate then washes his hands of Jesus' death: "I wash my hands of your demolition/Die if you want to, you innocent puppet".
As Jesus prepares to be crucified, he is mocked by a vision of Judas.
Judas questions why Jesus chose to arrive in the manner and time that he did, and if what happened to him was really part of a divine plan, but Jesus does not say ("Superstar").
As Jesus is nailed to the cross, some productions opt to show Judas suffering a stigmata-like effect, indicating that he is paying for his sin.
After reciting his final words and commending his spirit to God, Jesus slowly dies on the cross, his fate coming full circle ("The Crucifixion").
The final instrumental number shows the Apostles, Mary and Judas mourning the death of their fallen savior, reflecting on the impact he's had on their lives ("John Nineteen: Forty-One"). 
The Last Supper is to be the subject of an animation by British film-maker Peter Greenaway, who plans to project interpretative images onto its surface to enliven the scene in which the apostles all question Jesus' statement that one of them will betray him.