Search test library by skills or roles
⌘ K

Adaface Sample SAP ABAP Questions

Here are some sample SAP ABAP questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Medium

Binary Search
Solve
Here's a sample ABAP code written to accept a list of numbers, a search input and to perform binary search on it. Analyze the code thoroughly and pick the correct statements:
 image
A: If the array (internal table) supplied is 0 4 7 10 14 23 45 47 53 and the search input is 47,  the program prints "Success"
            B:  If the array (internal table) supplied is 0 4 7 10 14 23 45 47 53 and the search input is 47,  the program prints "Error"
            C:  If the array (internal table) supplied is 0 4 7 10 14 23 45 47 53 and the search input is 47,  the program goes into endless loop
            D: If the array (internal table) supplied is 0 4 7 10 14 23 45 47 53 and the search input is 27,  the program prints "Success"
            E:  If the array (internal table) supplied is 0 4 7 10 14 23 45 47 53 and the search input is 27,  the program prints "Error"
            F:  If the array (internal table) supplied is 0 4 7 10 14 23 45 47 53 and the search input is 27,  the program goes into endless loop

Easy

OOPs print
Solve
Check the following ABAP code. What would it print?
 image
// I
            A
            B
            
            // II
            B
            A
            
            // III
            A
            A
            
            // IV
            B
            B
            
            // V
            A
            
            // VI
            B
            
            // VII
            No output
🧐 Question🔧 Skill

Medium

Binary Search
4 mins
SAP ABAP
Solve

Easy

OOPs print
4 mins
SAP ABAP
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Binary Search
SAP ABAP
Medium4 mins
Solve
OOPs print
SAP ABAP
Easy4 mins
Solve

Adaface questions are trusted by enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great default library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
customers across world
Join 1200+ companies in 75+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
Chat with us
logo
40 min tests.
No trick questions.
Accurate shortlisting.
ada
Ada
● Online
Previous
Score: NA
Next
✖️