# TCS TSLP DCA Elevate Questions & Answers 2024 (Solved) | TCS TSLP DCA Elevate Model Questions

## TCS TSLP DCA Elevate Questions & Answers 2024 | TCS TSLP DCA Elevate Questions PDF | TCS TSLP DCA Elevate Questions With Solutions | TCS TSLP DCA Elevate Solved Questions

TCS TSLP DCA Elevate Questions & Answers 2024: The candidate can match their study with the questions that will be asked in the TCS TSLP DCA Elevate Exam after obtaining access to the TCS TSLP DCA Elevate Questions and Answers PDF. The TCS TSLP DCA Elevate Questions and Answers PDF or the TCS TSLP DCA Elevate PDF may be of use with this. You need to finish the TCS TSLP DCA Elevate Previous Year questions and answers after finishing the TCS TSLP DCA Elevate Syllabus. This will allow you to assess your current level of exam preparation. You need to regularly practice solving them if you want to become better prepared. More details like TCS TSLP DCA Elevate Questions, TCS TSLP DCA Elevate Cut Off, Result, TCS TSLP DCA Elevate Salary, Hike, Increment, etc. on this page

### TCS TSLP DCA Elevate Questions With Solutions

Define Big Data analytics?

Answer:  Big Data is data but with a huge size. Huge in size and yet growing exponentially with time. In short, such data is so large and complex that none of the traditional data management tools can store it or process it efficiently.

List down characteristics of Big Data Analytics?

• Volume
• Velocity
• Variety
• Veracity
• Value

Explain the functionality of linked list?

Answer: A linked list is a kind of a linear data structure, in which the elements are not stored in contiguous memory locations also the elements in a linked list are linked using pointers.

What are the four basic principles of OOPS?

Answer: Object-oriented programming has four basic principles:

• Encapsulation
• Polymorphism
• Inheritance
• Abstraction

What is inheritance?

Using inheritance, programmers can extend the functionality of the code’s existing classes to eliminate repetitive code.

The main object is the superclass & all other objects that follow it are subclasses. Subclasses can have separate elements while adding what they need from the superclass.

What are DDL, DML, and DCL commands in my SQL?

Answer: DDL: Extended as Data Definition Language, it consists of the SQL commands that is used to define the database schema. It deals with descriptions of the database schema and is just used to create as well as modify the structure of database objects in the database.

Following are the DDL Commands:

• CREATE
• DROP
• ALTER
• TRUNCATE
• COMMENT
• RENAME

DML: These are the SQL commands that deals with the manipulation of data present in the database belong to DML or Data Manipulation Language and this includes most of the SQL statements.

Following are the DML Commands:

• INSERT
• UPDATE
• DELETE
• LOCK

DCL: DCL includes commands such as GRANT and REVOKE which specifically deal with the rights, permissions, and other controls of the database system.

Following are the DCL Commands:

• GRANT
• REVOKE
Define Cloud Computing?
Answer: Cloud computing is a method for delivering information technology (IT) services in which resources are retrieved from the Internet through web-based tools and applications, as opposed to a direct connection to a server.
Define Machine Learning, deep learning & AI?

• Machine learning is a method of data analysis that automates analytical model building. It is a branch of AI based on the idea that systems can learn from data, identify patterns and make decisions with minimal human intervention.
• Deep Learning is an AI function that imitates the workings of the human brain in processing data and creating patterns for use in decision making.
• AI is the simulation of human intelligence processes by machines, especially computer systems. These processes include learning, reasoning, and self-correction.
What are the characteristics of Deep Learning?
• Major Characteristics of deep learning are:
• Healthcare
• Image Recognition
• Stock Analysis
• News Analysis
• Fraud Detection
• Self Driving Cars

What are the uses of Cloud Computing?

1. Create new apps and services
2. Store, back up and recover data
3. Host websites and blogs
4. Stream audio and video

What technologies have you worked upon till now?

Answer: Generally, when asking these types of questions, the interviewer is attempting to determine what qualifications you already have and whether they are applicable to the role for which you are being interviewed.

Define Augmented Reality?

Answer:  Augmented Reality (AR) is a general term for a collection of technologies used to blend computer-generated information with the viewer’s natural senses.

What are the types of Cyberattacks?

Malware attack – It is a common cyberattack where malware executes unauthorized actions on the victim’s system.

Spoofing – a spoofing attack is a situation in which a person or program successfully identifies as another by falsifying data, to gain an illegitimate advantage.

Phishing – the fraudulent practice of sending emails purporting to be from reputable companies in order to induce individuals to reveal personal information, such as passwords and credit card numbers.

Define IoT & list down it’s applications?

The Internet of Things (IoT) is the network of physical devices, vehicles, home appliances, and other items embedded with electronics, software, sensors, actuators, and connectivity which enables these things to connect and exchange data.

Applications:

• Smart homes
• Wearable (Smartwatches)
• Manufacturing Industries
• Transportation
• Agriculture
• Healthcare.

Write a Program to print the Half Pyramid Number Pattern?

Soln:

1

22

333

4444

55555

A team of 11 is needed to be formed who are to be selected from 5 men and 11 women, with the restriction of selecting not more than 3 men. In how many ways can the selection be done?

a.      2256
b.      1543
c.      1444
d.      1245

Explanation

Selecting 0 men and 11 women = 5C0 * 11C11 = 1
Selecting 1 men and 10 women = 5C1 * 11C10 = 55
Selecting 2 men and 9 women = 5C2 * 11C9 = 10 * 55 = 550
Selecting 3 men and 8 women = 5C3 * 11C8 = 10 * 165 = 1650
So total number of ways = 1650 + 550 + 55 + 1 = 2256 way

The rejection rate for Audi production was 4 per cent, for Mercedes it was 8 per cent and for the 2 cars combined it was 7 per cent. What was the ratio of Audi production?

a.      5/1
b.      7/1
c.      2/1
d.      3/1

Explanation

Using the simple weighted average formula we get,
(4x + 8y)/(x+y) = 7
or, 4x + 8y = 7x + 7y
or, a/b = 3/1

There are two bags containing white and black marbles. In the first bag there are 8 white marbles and 6 black marbles and in the second bag, there are 4 white marbles and 7 black marbles. One marble is drawn at random from any of these two bags. Find the probability of this marble being black.

a.      7/154
b.      22/77
c.      7/54
d.      41/77

Solutions

Probability of drawing a black ball from the first bag is = 6C1 / 14C1
Probability of drawing a black ball from the second bag is = 7C1 / 11C1
Total probability = 1/2 * (6C1/14C1) * (7C1/11C1) = 41/77

There is a city where all 100% of votes are registered. Among these 60% voted for Congress and 40% voted for BJP. Ram, gets 75% of congress votes and 8% of BJP votes. How many votes did Ram get?

a.      42.8 %
b.      56.6 %
c.      48.2 %
d.      64.4 %

Explanation

Let the total number if votes = 100. So Ram gets,
75% of 60 = 60 * 0.75 = 45 votes
8% of 40 = 40 * 0.08 = 3.2 votes
Thus total number of votes that Ram gets = 48.2 %

There are two decks of cards each deck containing 20 cards, with numbers from 1 to 20 written on them. A card is drawn at random from each deck, getting the numbers x and y What is the probability that log x + log y is a positive integer. (Logs are taken to the base 10.)

a.      3/200
b.      7/400
c.      29/100
d.      5/400

Explanation

We know that log x + log y = log xy
for log xy to be positive, we have the following choices:
(1, 10), (10, 1), (10, 10), (5, 20), (20, 5), (2, 5), (5, 2)
So the probability = 7/400

A 7-digit number is to be formed with all different digits. If the digits at the extreme right and extreme left are fixed to 5 and 6 respectively, find how many such numbers can be formed?

a.      120
b.      620
c.      30240
d.      6720

Solutions

If the digits at extreme left and right are fixed as 5 and 6, then the number of digits left = 8
So the in-between 5 places can be filled in 8 * 7 * 6 * 5 * 4 ways
= 6720 ways

### TCS TSLP DCA Elevate Questions With Answers

Q) An article is bought for Rs. 600 and sold for Rs. 750. The gain percent is:

1. 20%
2. 25%
3. 30%
4. None

Q)  A defeats B by 20 meters in the 200-meter race, whereas B defeats C by 5 meters in the 100-meter contest. In a kilometer race, A defeats C by

1. 105 meters
2. 225 meters
3. 205 meters
4. 145 meters

Solution:

When A = 200, B = 180.
When B = 100, C = 95.
Make B = 900. A will be 1000. C will be 855.

### Cognizant GenC Aptitude Questions with Answers For Freshers

Q: Two pipes A and B can fill a tank in 6 hours and 5 hours respectively. If they are turned on alternatively for 1 hour each, find the time in which the tank is full.

A. 4hrs 30min
B. 5hrs
C. 6hrs 25min
D.5hrs 30min
E. None of these

Q: Find the 4-digit smallest number which when divided by 12, 15, 25, 30 leaves no remainder?

A. 1800
B. 1020
C. 1120
D. 1200
E. None of these

Q: A retailer buys 40 pens at the market price of 36 pens from a wholesaler. If he sells these pens giving a discount of 1%, what is the profit percent?

A. 22%
B. 25%
C. 26%
D. 10%

Q: Two different numbers, when divided by the same divisor, leaves remainder 7 and 9 respectively. When their sum is divided by the same divisor remainder was 4. Find the divisor?

A. 13
B. 14
C. 11
D. 12
E. None of these

Q) A car travels 25km an hour faster than a bus for a journey of 500km. If the bus takes 10 hours more than the car, then the speeds of the bus and the car are

1. 25km/hr and 40km/hr respectively
2. 25km/hr and 60 km/hr respectively
3. 25km/hr and 50km/hr respectively
4. None of these

Solution:

Let the speeds of the bus and car be x and y. Here, y = x +25
As per the question, (500/x)-(500/x+25)=10
⇒ 500(x + 25) − 500(x) =10x(x+25) ⇒ x = 25, y = 50.
For such questions, you can also use direct substitution from the given choices

Q) The value of 51/4 × (125)0.25 is

1. 5
2. 25
3. 50
4. 10

Solution: 51/4 × (125)0.25 =51/4 + 3/4 =51 =5

Q) In seven years, a sum of money doubles in value. How long till it multiplies by four?

1. 35 years
2. 28 years
3. 14 years
4. 21 years

Solution:

Double in seven years.
So 4 times will be in = 7 × (4 − 1) = 21 years.

Q)  Each of the four locations sells tomatoes for 1 kilogram, 2 kg, 3 kg, and 4 kg per rupee, respectively. He has spent each rupee on an average of x kg of tomatoes. Then the value of x is

1. 2
2. 2.5
3. 1.92
4. None of these

Solution:x = 10/4 = 2.5

Q:Find the 4-digit smallest number which when divided by 12, 15, 25, 30 leaves no remainder?

A. 1800
B. 1020
C. 1120
D. 1200
E. None of these

### TCS TSLP DCA Elevate Questions & Answers

Q1. A function f defined as 2 f(n) = f(n+2) + f(n+1)  where n > 2  and f(1) = f(2) = -1.  What is the value of f(1) + f(2) + f(3) + f(4) + …. f(2018)?

Sol: Given that 2 f(n) = f(n+2) + f(n+1)

→ f(n+2) = 2 f(n) – f(n+1)

If n = 1 then f(3) = 2 f(1) – f(2) →f(3) = 2(-1) – (-1) = -2 + 1 = -1

If n = 2 then f(4) = 2 f(2) – f(3) →f(4) = 2(-1) – (-1) = -2 + 1 = – 1

If n = 3 then f(5) = 2 f(3) – f(4) →f(5) = 2(-1) – (-1) = -2 + 1 = – 1

So for any value of ‘n’ the result is always -1

→ f(1) + f(2) + f(3) + f(4) + …. f(2018) = (-1) + (-1) +(-1) for 2018 times = -2018

Q2. Write a program to count the total number of words of a string and print the count. Input will be a string.

Input Format: Take a string as Input

Output Format: Output is the integer of the number of words counted in a given input string.

Constraints: String not equal to null

Sample Input: String Word Count

Sample Output : 3

Solution

include <stdio.h>

int main()

{

char str[100];

int i,count;

fgets(str,100, stdin);

i=0;

count=1;

while(str[i] != ‘\0’)

{

if(str[i] != ‘  ‘  &&  str[i+1] == ‘  ‘)

{

count++;

}

i++;

}

printf(“\n%d”,count);

return 0;

}

Explanation:

• Strings contain an array of characters that are terminated with Null character c.
• We declare the array of characters as string str[100] and declare the count variable for counting the number of words in a string
• We are taking the string as input by using fgets().
• We run the while loop until the string is not equal to null.
• Inside the while loop, we are checking for spaces in between characters.
• If any spaces are present then we will increment the count until the string is not equal to null.
• Then we finally print the counted number of words present in the string.

Q3: There are two water tanks P and Q, Q is much smaller than P. Water gets filled at the rate of 1 liter every hour in Q. In case of P, water gets filled up this way: 5L in the first hour, 10L at the end of the second hour, 20L at the end of the third hour, 40L at the end of the fourth hour and so on. If tank P is filled by 1/64 parts in 33 hours, then in how many hours will it get completely filled?

A)36

B)39

c)40

d)38

Solution: For every one hour the water in tank P getting doubled.

In 33 hours 1/64th of the tank full

In 34 hours 2 x (1/64) = 1/32 of the tank full

In 35 hours 2 x (1/32) = 1/16 of the tank full

In 36 hours 2 x (1/16) = 1/8th of the tank full

In 37 hours 2 x 1/8  =1/4th  of the tank full

In 38 hours 2 x1/4 = ½   the tank full.

In 39 hours 2 x ½ = 1 the tank full

Q4: Joseph is learning digital logic subject which will be for his next semester. He usually tries to solve unit assignment problems before the lecture. Today he got one tricky question. The problem statement is “A positive integer has been given as an input.   Convert decimal value to binary representation. Toggle all bits of it after the most significant bit including the most significant bit. Print the positive integer value after toggling all bits”.

Constraints : 1<=N<=100

Example 1 – Input : 10 -> Integer

Output : 5 -> result- Integer

Solution in C:

`#include <stdio.h> `
`using namespace std; `
`int` `main() `
`{ `
`int` `n; cin>>n; `
`int` `k``=``(``1``<<(``int``)floor(log2(n))``+``1``)``-``1``; `
`cout<<(n^k); `
`}`

Solution in Python

`import` `math`
`n``=``int``(``input``())`
`k``=``(``1``<``int``(math.log2(n))``+``1``)``-``1`
`print``(n^k)`

Q5: Given an array, Arr[] of size T, contains binary digits, where

• 0 represents a biker running to the north.
• 1 represents a biker running to the south.

The task is to count crossing biker in such a way that each pair of crossing biker(N, S), where 0<=N<S<T, is passing when N is running to   the north and S is running to the south.

Constraints: 0<=N<S<T

Example 1- Input :

• 5 -> Number of elements i.e. T
• 0 -> Value of 1st element.
• 1 -> Value of 2nd element
• 0 -> Value of 3rd element.
• 1 -> Value of 4th element.
• 1 -> Value of 5th element

Output : 5

A solution in Python:

`n ``=` `int` `(``input` `())`
`L ``=``[]`
`sum` `=` `0`
`c ``=` `0`
`for` `_ ``in` `range` `(n):`
`a ``=` `(``input` `())`
`if` `a:`
`sum` `+``=` `c`
`else``:`
`c ``+``=` `1`
`print` `(``sum``)`

Keep an eye on Dailyrecruitment.in for the most up-to-date information about upcoming exams and results. Find out about official notices, Exam Patterns, Syllabus, Previous Question Papers, Expected Cut Off, Results, Merit List, Study Materials, and much more. Now is the time to bookmark in order to take advantage of even more amazing career opportunities.

### Govt Jobs by Qualifications

Education & Vacancies Salary Apply Link
10th Pass Govt Jobs - 5,000 Vacancies Rs. 5,200 - 63,200 Apply Now
12th Pass Govt Jobs - 18,000+ Vacancies Rs. 5,200 - 92,300 Apply Now
ITI Pass Jobs - 3,500 Vacancies Rs. 5,200 - 35,000 Apply Now
Any Graduate Jobs - 19,100 Vacancies Rs. 5,200 - 92,300 Apply Now
Central Govt Jobs Rs. 5,200 - 17,000 Apply Now
Bank Jobs - 1,000 Vacancies Rs. 5,200 - 29,200 Apply Now
Diploma Jobs - 9,300 Vacancies Rs. 5,200 - 35,000 Apply Now
BTech/BE Jobs - 18,000 Vacancies Rs. 15,000 - 1,00,000 Apply Now
Data Entry Jobs - 1,300 Vacancies Rs. 5,200 - 29,200 Apply Now
Private Jobs Rs. 10,000 - 67,700 Apply Now