Personal Insights
quiz questions for “ABAP quiz and paint game”
Dear community: and now for something completely different. Some of you may know: I think of fun very seriously 😉 Seriously! After Enno Wulff wrote about games in ABAP some time ago, I thought about making a contribution to bring some happiness to the community. You all know, smiling isn’t always easy in these times … all over the world 🙁
But what type of game? Typical challenge for programmers would be a conversion of Doom for their favorite machines or programming languages (check this list). But that is out of the question here 😉
So we need something really community/family friendly. Ok, here is my contribution: “The ABAP quiz and paint game“.
The game runs over several rounds. You have to choose from three answers to a question per round. One answer is correct. If you give the right answer, then you are allowed to paint something in 8-bit retro style on ALV cells (grid is 5×5). At the end the painting will be saved as a screenshot to your desktop. So you can show your colleagues your skills and highscores!
Here’s a screenshot of my current developement. We are still a long way from having gold status. If you want, you can take a look at the source code on GitHub.
And now the community comes into play. I need funny and really hard to solve questions with three answers per each question. At the moment, I just added five examples. Something like this:
- Secret methods to get a deeper understanding of meditation.
- A collection of well known methods of a pragmatic development approach.
- They are program directives and can be used to hide warnings of various checking tools.
Please feel free to write a comment with your proposals. That would be great … and fun 😉 And don’t forget to pay attention to our “Rules of Engagement“.
Best regards, thanks for reading/supporting and stay healthy
Michael
P. S.: Not tired of reading? Check this nice development by Bernhard Haberstetter.
Lovely!
What's the equivalent of using CHECK 1 = 2. inside of a DO / ENDDO-block?
If there were room for four options, I would add "Total confusion" as number four... 😉
Who does something like that? Evil 😉
Gave me a brain freeze for a few seconds. 🙂
I've seen this in the wild - also known as SAP code. I always wondered what the stupid thing does. I just haven't really taken any time with it. It gives me a headache each time I run into it.
4. Understanding that it causes a developer significant headaches. So the answer would be do. pound head into the wall endo - this is while you are being dragged out of your house in a white coat.
Nice!
What is SAT?
Cheers
Bärbel
Thanks Bärbel 🙂
Jacques Nomssi Nzali made some proposals via GitHub, you should definitley check them, so here we go (without correct answer):
What is the value of 0/0 in ABAP?
How NOT to check if a table has no lines?
How many entries are in this LT_COUNT internal table initially?
DATA lt_count TYPE STANDARD TABLE OF i INITIAL SIZE 10.
String magic: How to assign a single space character to a string variable?
Coercion magic - What happens when x is 'A' in CASE x. WHEN 1. x = x + 1. WHEN OTHERS. RETURN. ENDCASE. ?
What is the shortest lie in programming?
How often will a PERFORM ON COMMIT routine be executed
What is the difference between numofchar and strlen?
In a class definition, in which section must the constructor of a class declared as CREATE PRIVATE be located?
Thanks to him, I'm still thinking about the correct answers ... could take a while ...
Nice ones!
I'll take a crack at one...
What is the shortest lie in programming?
D: All of the above
Thanks for making me laugh and/or think 🙂
Sue
What is the value of abap_true constant?
My entry...
When do you get a 'post-mortem' debugger?