participant-id,category,timestamp,prompt,answer,stimulus-id,previous-delay,stimulus_time 203,3,270411420.24597,Given a string, s, and an integer, x, update s such that its characters are shifted by x. Ex. s = "cd", x = 1. Loop results in s = "de",for (i=0; i vect) { int greatest = 0 },7,3000.8428125295504,60000 203,3,270601786.932629,Implement a function containsDuplicate that accepts a vector of integers and returns true if it contains a duplicate element, and false otherwise,bool containsDuplicate(vector input) { for () },6,3189.6439898068415,60000 participant-id,category,timestamp,prompt,answer,stimulus-id,previous-delay,stimulus_time 203,3,270670189.145821,Implement a function countdown() that accepts an integer n as a parameter and counts down from n, printing each number to standard output, separated by a space. After reaching n, print "liftoff!",void countdown(int number) { for (int i= mi,n; i < number; ++i) { cout << } },8,8373.131202149145,60000 203,3,270736310.201411,Write a statement that toggles the value of the bool variable onOffSwitch. That is, if onOffSwitch is false, itsvalue is changed to true; if onOffSwitch is true, its value is changed to false.,onOffSwitch = !onOffSwitch,1,6095.709968311974,60000 participant-id,category,timestamp,prompt,answer,stimulus-id,previous-delay,stimulus_time 203,3,270803824.20912,Write the definition of a function isPositive, that receives an integer parameter and returns true if the parameter is positive, and false otherwise.,bool isPositive(int parameter) { return parameter>0' },2,7490.737913213211,60000 203,3,270867642.384936,Clunker Motors Inc. is recalling all vehicles in its Extravagant line from model years 1999-2002. Given an int variable modelYear and a string modelName, print "RECALL" if modelYear and modelName match the recal details,if (modelYar > 1999 && mod),0,3790.6345618900154,60000 participant-id,category,timestamp,prompt,answer,stimulus-id,previous-delay,stimulus_time 203,3,270933417.71702,Implement a function is_sorted that accepts a vector of integer values and returns true if it is non-decreasing, and false otherwise,bool is_sorted(vector values) { for (i = 0; i < values.size(), ++i) { if (values[i]) } },3,5742.672429682186,60000