We have listed the latest Capgemini Exceller Technical Interview Questions on this page. Go through this page to prepare for your Capgemini Exceller Technical Interview.Page Highlights:-
1. What does SQL stand for? Give some advantages of Query.
Answer:-
SQL stands for Structural Query Language. One of the most crucial features of a query is that it provides a convenient way to save a number of fields. A query does not really save data; it just links to data. A query is not a duplicate of the data when it is saved. Combine data from many sources.
2. Write a program for Octal to Decimal conversion.
Bit masking is the process of limiting the number of bits that may be set in a byte or bytes. A byte is bitwise “ANDed” with a mask, which is a number made up exclusively of the relevant bits, to investigate some of its bits.
4. What are the methods available for storing sequential files?
Answer:-
Straight merging
Natural merging
Polyphase sort
Distribution of Initial runs
5. What is the purpose of finalization?
Answer:-
Finalization serves as an opportunity for an unreachable object to complete any cleaning processes before the object is garbage collected.
6. Write a C Program to check if the number is a Harshad number or not.
#include<stdio.h>int checkHarshad(int num){int sum =0;int temp = num;while(temp !=0){
sum = sum + temp %10;
temp /=10;}// will return 1 if num is divisible by sum, else 0return num % sum ==0;}int main (){int num =153;if(checkHarshad(num))
printf("%d is Harshad's Number", num);else
printf("%d is not Harshad's Number", num);return0;}// Time complexity: O(N)// Space complexity: O(1)
Program in C++
#include<iostream>usingnamespace std;int checkHarshad(int num){int sum =0;int temp = num;while(temp !=0){
sum = sum + temp %10;
temp /=10;}// will return 1 if num is divisible by sum, else 0return num % sum ==0;}int main (){int n =153;if(checkHarshad(n))
cout << n <<" is a Harshad's number";else
cout << n <<" is not a Harshad's number";return0;}// Time complexity: O(N)// Space complexity: O(1)// Where N is the number of digits in number
Program in JAVA
publicclassMain{publicstaticvoid main(String[] args){//make a copy of original numberint n =47;//declare a variable to store sum of digitsint result =0;//perform logic for calculating sum of digits of a numberwhile(n !=0){int pick_last = n %10;
result = result + pick_last;
n = n /10;}/*use condition to check whether the number entered by
user is completely divisible by its sum of digits or not*/if(n % result ==0)System.out.println("Harshad Number");elseSystem.out.println("Not a Harshad Number");}}
17. What method are all threads need to implement?
Answer:-
All tasks, whether they are Thread subclasses or implement the Runnable interface, must implement the run() function.
18. What is a node?
Answer:-
A network can be made up of two or more computers that are physically linked together, such as through an optical fiber or coaxial cable. These physical connections are known as Links, and the machines they link are known as Nodes.
19. Describe the places where data structures are widely used.
Answer:-
Operating System
Database Management System
Compiler Design
Graphics
Artificial Intelligence
Statistical analysis package
Numerical Analysis
Simulation
20. Write a program to find the Fibonacci series up to n.
#include<stdio.h>int main(){int n =10;int a =0, b =1;// printing the 0th and 1st term
printf("%d, %d",a,b);int nextTerm;// printing the rest of the terms herefor(int i =2; i < n; i++){
nextTerm = a + b;
a = b;
b = nextTerm;
printf("%d, ",nextTerm);}return0;}
Program in C++
//Fibonacci Series using Recursion#include<bits/stdc++.h>usingnamespace std;int F(int N){if(N <=1){return N;}return F(N-1)+ F(N-2);}int main (){int N =5;
cout << F(N);return0;}
Program in JAVA
publicclassMain{publicstaticvoid main (String[]args){int num =15;int a =0, b =1;// Here we are printing 0th and 1st termsSystem.out.print(a +" , "+ b +" , ");int nextTerm;// printing the rest of the terms herefor(int i =2; i < num; i++){
nextTerm = a + b;
a = b;
b = nextTerm;System.out.print(nextTerm +" , ");}}}
Program in Python
num =10
n1, n2 =0,1print("Fibonacci Series:", n1, n2,end=" ")for i in range(2, num):
n3 = n1 + n2
n1 = n2
n2 = n3
print(n3,end=" ")print()
Login/Signup to comment