## Wipro Turbo Coding Questions

Wipro is a market leading Information Technology, consulting and business process services company. It is also one of the top recruiters. Wipro has started it's Turbo recruitments for the year 2018 from this month. Wondering how the recruitment process goes? Want to know the sample questions that will be asked in Wipro turbo? Then go on and read this blog to find out the sample coding questions for Wipro Turbo.

Wipro Coding Questions for Freshers 2018 and 2019

1. Write a C program to convert a decimal number to binary and print the count of 1's in it. If 1's are not present in binary number then print invalid input.

Input Format:

Integer

Output Format:

The number of 1's in the binary number of the given integer.

Sample Input:

134

Sample Output:

3

 Sample Question Answer Solution Code #includeint main(){nt n,bin=0,rem,f=1,count=0;    scanf("%d",&n);    while(n>0)     {        rem=n%2;  if(n%2==1)            count++;        bin=bin+rem*f;         f=f*10;        n=n/2;    }    if(count>0)        printf("%d",count);     else         printf("invalid");    return 0; Solution Explanation First take input and convert given number into binary number. scanf("%d",&n); //scanning the decimal number...Count the number of ones in the binary number.  while(n>0)  {        rem=n%2; // changing to binary number        if(n%2==1)            count++; //counting number of 1's in the binary number.        bin=bin+rem*f;        f=f*10;        n=n/2;    }Print the count.if(count>0) printf("%d",count); // printing number of 1'selse              printf("invalid"); // if number of 1's in 0 then print "invalid".

2. Write a C program to print the sum of digits of the given number.

Input Format:

Digit

Output Format:

Sum of the digit

Sample Input:

123

Sample Output:

6

3. Write a C program to find factors of a positive integer.

Input Format:

Positive integer

Output Format:

Factors separated by space

Sample Input:

60

Sample Output:

1 2 3 4 5 6 10 12

Sample Input:

60

Sample Output:

1 2 3 4 5 6 10 12

If you want to practice more such programming tasks and find the solution of the above-mentioned questions then check out Conduira Online's Programming Hub that contains 200+ similar programming tasks with a varying level of difficulty.

Check out Other Blogs on Wipro

Wipro Turbo Exam Pattern

Wipro Turbo Eligibility Criteria

Wipro Quantitative Aptitude Questions

Wipro Reasoning Questions

Published in Test Patterns

## IBM Verbal Ability Placement Test Questions

Is IBM visiting your campus soon? Are you looking for resources to prepare yourself for the placement challenge? Here are a set of Verbal practice questions based on previous years’ IBM placement papers.

In IBM Verbal Ability Section, there are 15 questions. The important topics include Short Reading Comprehensions, Basic Grammar, active and passive voice, Synonyms & Antonyms, Paragraph Completion, Sentence Completion, and one-word substitution.

Published in Test Patterns

## Capgemini Logical Reasoning Placement Test Questions

Is Capgemini is going to hire from your college soon? Are you looking for resources to ready yourself for the placement challenge? Here are a set of Logical Reasoning practice questions based on previous years’ Capgemini placement papers.

Published in Test Patterns

## Wipro Logical Reasoning Placement Test Questions

Wipro written exam consists of four sections - Quantitative Aptitude, Logical Reasoning, Verbal Ability, Technical Aptitude and one descriptive section where you will be asked to write an essay on a given situation. A candidate is tested not only on her general aptitude skills but also on her programming/ coding abilities and communication skills. In this article, we are concerned about Logical reasoning section and the various question types this section covers.

Published in Test Patterns

## Accenture Logical Reasoning Placement Test Questions

Is Accenture visiting your campus soon? Are you looking for resources to ready yourself for the placement challenge? Here are a set of Logical Reasoning practice questions based on previous years’.Accenture Test pattern can be either AMCAT based or Merit Trac based. AMCAT based pattern has three sections Quantitative Aptitude, Verbal Ability and Logical Reasoning with 25 questions in each section. Merit Trac based pattern consists of three sections Analytical Aptitude, Verbal Aptitude and Attention to detail with 20, 20 and 15 questions respectively with an overall test time of 60 minutes.

Published in Test Patterns
Page 1 of 24