SAP Labs Scholar Mock Test-3

Hey Shouters !! Today, we have come up with the SAP Labs Scholar Mock Test Series.

110
Created on By useruser

Sap Labs Scholar MCQ Test-3

1 / 14

What will the following C code do?

char * strrchr(const char *s, int c )
char ch = c;
char *sc;
for(sc = NULL; ; ++s)
if(*s == ch)
SC = 9;
i f (*s =='\O' )
return (( char *) s);

2 / 14

What will be the output of the following C code?

#include <stdio.h>
int main()
{
int x = 3, i = 0;
do {
x = x++;
i++;
} while (i != 3);
printf("%d\n", x);
}

3 / 14

What will be the output of the following Java program?

class output
{
public static void main(String args[])
{
String a = "hello i love java";
System.out.println(a.indexOf('e')+" "+a.indexOf('a')+" "+a.lastIndexOf('l')+" "+a.lastIndexOf('v'));
}
}

4 / 14

public class Demo
{
public static void main(String[] args)
{
Map<Integer, Object> sampleMap = new TreeMap<Integer, Object>();
sampleMap.put(1, null);
sampleMap.put(5, null);
sampleMap.put(3, null);
sampleMap.put(2, null);
sampleMap.put(4, null);

System.out.println(sampleMap);
}
}

5 / 14

How do you instantiate an array in Java?

6 / 14

What does the following piece of code do?
for(int i = 0; i < row; i++)
{
for(int j = 0; j < column; j++)
{
if(i == j)
sum = sum + (array[i][j]);
}
}
System.out.println(sum);

7 / 14

What is the time complexity to insert a node based on position in a priority queue?

8 / 14

What is the space complexity for deleting a linked list?

9 / 14

Which of the following is used to input the entry and give the result in a variable in a procedure?

10 / 14

SELECT course_id
FROM physics_fall_2009
WHERE building= ’Watson’;

Here the tuples are selected from the view.Which one denotes the view

11 / 14

SELECT instructor.*
FROM instructor, teaches
WHERE instructor.ID= teaches.ID;
This query does which of the following operation?

12 / 14

Which of the following characters are used with sed as anchoring characters?

13 / 14

What will be the output of the following JavaScript code?

Int a=1;
if(a>10)
{
document.write(10);
}
else
{
document.write(a);
}

14 / 14

var a=5 , b=1
var obj = { a : 10 }
with(obj)
{
alert(b)
}

Your score is

The average score is 53%

0%

In this training test, you will get a steady experience with the online test that you will get in your SAP Labs Scholar Placement drive.

This training test is just for preparing people, not the particular sort of paper that you will get in your online test.

Sap Labs Scholar Test

What is Scholar@SAP Program?

SAP Labs is one of SAP’s essential Research and Development substance and is liable for making and improving the SAP plans. SAP Labs is also known as the Best Place to Work for in 2020.

Scholar@SAP is a champion among other Work Integrated Program in India. In this program, you will work at the same time and will do higher assessments.

You can check progressively about SAP Labs at SAP.com

What you will get in Scholar@SAP?

In case you have completed the B.Tech in Computer Science or Electronics and Communications or BCA then you are equipped for the Scholar@SAP.

In this offer, you will get –

M.Tech in Software Engineering from BITS, Pilani (Fully Paid)

A remittance of 25,000/ – month to month

On weekdays, you will work in certified business, and toward the week’s end we will do our assessments.

Critical Topics for Scholar@SAP-

For Online Test, you have to work competently to clear the Online test as it is very time-constrained. You ought to understand the key to deal with the issue fastly.

  1. C and C++ Language Topics-

The huge focuses structure the C and C++ language is:

One Dimensional Array and Multi-Dimensional Array

Pointers

Structures and Unions

Need an Order of Evaluation

Prohibitive and Control Statements

If its all the same to you share your significant contribution on the analysis structure or in the comment box underneath.

Recommended Posts –

SAP Labs Scholar Mock Test-1

SAP Labs Scholar Mock Test-3

SAP Scholar Sample Test-4

SAP Scholar Sample Test-5

Leave a Reply

Your email address will not be published. Required fields are marked *

Close Bitnami banner
Bitnami