TCS Papers: Sample Questions 33 - 35 of 502

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 33

» Aptitude

Short Answer Question▾

Write in Short

If A is travelling at 72 km per hour on a highway. B is travelling at a speed of 25 meters per second on a highway. What is the difference in their speeds in m/sec.

Explanation

  • Speed of A =
  • Converting the speed of A in m/sec,
  • Speed of B =
  • Taking the difference of speed, speed of B – speed of A =
  • The difference between A and B is.

Question number: 34

» Aptitude

MCQ▾

Question

Satish earns 240 weekly. 12 % of big amount + earning weekly = 540, what is the big amount?

Choices

Choice (4) Response

a.

3600

b.

3200

c.

2500

d.

1000

Answer

c.

Explanation

Let big amount be Rs. x.

Satish earns Rs. 240 weekly.

We are given, 12 % of big amount + earning weekly = 540

So, big amount is Rs. 2500.

Question number: 35

» Aptitude

Short Answer Question▾

Write in Short

What is the difference between C and C++?

Explanation

  • C follows the procedural programming paradigm while C++ is a multi-paradigm language (procedural as well as object oriented)

  • In case of C, the data is not secured while the data is secured (hidden) in C++

  • C is a low-level language while C++ is a middle-level language (Relatively, Please see the discussion at the end of the post)

  • C uses the top-down approach while C++ uses the bottom-up approach

  • C is function-driven while C++ is object-driven

  • C++ supports function overloading while C does not

  • We can use functions inside structures in C++ but not in C

  • The NAMESPACE feature in C++ is absent in case of C

  • The standard input & output functions differ in the two languages

  • C++ allows the use of reference variables while C does not