Company: Accenture_japan_2dec_MCQ
Difficulty: medium
Choose the correct statement regarding the provided C++ code snippet involving a while loop and string comparison.
In UNIX-like OS, the authority for a certain file varies depending on the user who uses it. Which of the following description is correct?
Which of the following databases are classified as NoSQL?
Your friend wrote a Java function to calculate the average value of an integer array. Choose all of the correct statements regarding this function.
There is a recursive function implemented with the following pseudocode: function f(a, b) { if (b == 0) { return a } else { return f(b, a % b) } }. Calculate f(10, 2).
Choose the correct description of prompt injection from the following.
Which is the description of CSRF (Cross-Site Request Forgery)?
In UNIX-like OS, when trying to execute a command called foo in the /home/bar directory, the error bash: foo: command not found was displayed. Which command is used to solve this error?
The following JavaScript function returns the number where the integer x exists in the array a. Choose the correct statement regarding this function.