BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Genesys Exam GCX-SCR Topic 5 Question 1 Discussion

Actual exam question for Genesys's GCX-SCR exam
Question #: 1
Topic #: 5
[All GCX-SCR Questions]

Using the variables named 'value' and 'currency', you must create a syntax to display 10$. Choose the correct option. Variables: value = 10, currency =$.

Show Suggested Answer Hide Answer
Suggested Answer: C

The correct syntax to display '10$' using the variables value and currency in Genesys Cloud CX scripting is {{value}}{{currency}}. This syntax correctly concatenates the two variables without any additional characters or spaces, ensuring that the result is displayed as '10$' on the script page.


Contribute your Thoughts:

Veronica
2 months ago
I'd rather just use f-strings. print(f'{value},{currency},') is where it's at, folks.
upvoted 0 times
Ula
17 days ago
D) 10$
upvoted 0 times
...
Celestina
20 days ago
C) 10$
upvoted 0 times
...
Leigha
1 months ago
B) 10$
upvoted 0 times
...
Carole
1 months ago
I agree, f-strings are definitely the way to go for string formatting.
upvoted 0 times
...
Willodean
1 months ago
A) 10$
upvoted 0 times
...
Launa
1 months ago
I think option C) {{value}}{{currency}} would be the correct syntax to display 10$.
upvoted 0 times
...
Johna
1 months ago
I prefer using f-strings too. They make it so much easier to format strings.
upvoted 0 times
...
...
Shantell
2 months ago
Ah, the age-old debate of curly braces vs. regular braces. C) {{value},{{currency}, is the way to go, no doubt about it.
upvoted 0 times
Arleen
1 months ago
I prefer A) {{value}} + {{currency}} because it clearly shows the addition.
upvoted 0 times
...
Malcom
1 months ago
A) {{value}} + {{currency}}
upvoted 0 times
...
Dong
2 months ago
I think C) {{value}}{{currency}} looks the most clean and concise.
upvoted 0 times
...
Jennie
2 months ago
C) {{value}}{{currency}}
upvoted 0 times
...
...
Shantell
2 months ago
Hmm, B) {value}, + {currency)}, looks like it has a typo with the closing parenthesis. I'm going with C, it's clean and gets the job done.
upvoted 0 times
Precious
1 months ago
Yeah, C) {{value}}{{currency}} is the way to go.
upvoted 0 times
...
Sylvie
2 months ago
I agree, C) {{value}}{{currency}} is the correct syntax.
upvoted 0 times
...
...
Delbert
2 months ago
I also agree with C) {{value}}{{currency}}, it combines the value and currency correctly
upvoted 0 times
...
Wade
3 months ago
LOL, who even writes code with curly braces and parentheses anymore? D) {value}, {currency}, is the way to go, man.
upvoted 0 times
Polly
2 months ago
C) {{value}}{{currency}}
upvoted 0 times
...
Ciara
2 months ago
D) {value}, {currency}, is the way to go, man.
upvoted 0 times
...
...
Cherelle
3 months ago
I think A) {{value}, + {{currency}, is a bit too verbose, but I can see why someone might choose that.
upvoted 0 times
...
Kimberely
3 months ago
I think Shaun is right, C) {{value}}{{currency}} makes more sense
upvoted 0 times
...
Leonardo
3 months ago
The correct answer is C) {{value},{{currency},. It's a straightforward syntax to display the value and currency together.
upvoted 0 times
Karan
2 months ago
C) {{value}}{{currency}}
upvoted 0 times
...
Caitlin
2 months ago
B) {value} + {currency)}
upvoted 0 times
...
Haley
2 months ago
A) {{value}} + {{currency}}
upvoted 0 times
...
...
Shaun
3 months ago
I disagree, I believe the correct option is C) {{value}}{{currency}}
upvoted 0 times
...
Cherry
3 months ago
I think the correct option is A) {{value}} + {{currency}}
upvoted 0 times
...

Save Cancel