Skip to content

Latest commit

 

History

History
371 lines (186 loc) · 14.5 KB

README.md

File metadata and controls

371 lines (186 loc) · 14.5 KB

Day-1-to-Day-100-

Choose a Programming Language and Learn The Fundamentals of it

1. C++ Language 2. Java Language 3. Python Language

You need to choose a programming language and you need to be stick with it. Explore various programming languages, read about them, try it out in your code editor, and check if you’re comfortable with it or not.

A lot of questions will arise when you will be choosing a language. Is Python better than Java? C++ is a faster language, so I should choose this language, Java syntax is more complicated but big companies are working on it, what if I know more than one language?

All these questions will create confusion and you will also switch to some different languages when you will try the languages in your code editor. Explore the languages and pick one which is best for you. Don’t choose a language just because it is very popular in the tech industry. You need to choose a language you’re most comfortable with. Almost it will take 4-5 days in picking up a language.

Once you choose a language learn the fundamentals of it but if you already know the fundamentals (you might have created your project in that language) then brush up on it. It has been seen that a lot of people forget the basic things of their chosen language. So you need to make sure that you have a good command of your chosen language. Learn the basic syntax, give some online tests, and remember the basic things of your chosen language. It may take around one week or 7 days to learn the fundamentals of your language.

Few things you should remember are…

  • Reading/Writing from/to files.
  • Reading input from the console.
  • Split strings,2D array implementation and how to use it.
  • Very basics things of language such as in C/C++ handling null-terminated strings.
  • A lot of companies such as Lyft and Salesforce have a slight difference in their hiring procedure. They want the candidate to write code and solve the problems on a laptop. You will have to write the complete program and your code should pass the given test cases. You may have to work on command line arguments or you may have to parse the CSV or text files.
  • Other companies such as Google, Amazon, or Microsoft use a whiteboard. So it’s good that you know the basics of your language to handle both of the coding scenarios in your interview. So almost it will take 10 days to make a decision that which language is best for you and you’re comfortable with.

Java Basics Questions Day 1 to Day 10

Question1 --> Java Program to Read The Number From Standard Input .?

Question2 --> Java Program to Get Input from the User .?

Question3 --> Java Program to Multiply Two Floating-Point Numbers. ?

Question4 --> Java Program to Swap Two Numbers .?

Question5 --> Java Program to Add Two Binary Strings ?

Question6 --> Java Program to Add Two Complex numbers ?

Question7 --> Java Program to Check Even or Odd Integers ?

Question8 --> Java Program to Find Largest Among 3 Numbers ?

Question9 --> Java Program to Find LCM of 2 numbers ?

Question10 --> Java Program to Find GCD or HCF of 2 numbers ?

Question11 --> Java Program to Display All Prime Numbers from 1 to N ?

Question12 --> Java Program to Check Leap Year ?

Question20 -->--> Java Program to Check Armstrong Number between Two Integers ?

Question14 --> Java Program to Check whether the input number is a Neon Number ?

Question15 --> Java Program to Check whether input character is vowel or consonant ?

Question16 --> Java Program to Find Factorial of a number ?

Question17 --> Java Program to Find Even Sum of Fibonacci Series Till number N ?

Question18 --> Java Program to Calculate Simple Interest ?

Question19 --> Java Program to Calculate Compound Interest ?

Question20 --> Java Program to Find the Perimeter of a Rectangle ?

Python Basics Questions Day 1 to Day 10

Question1 --> Python program to add two numbers ?

Question2 --> Maximum of two numbers in Python ?

Question3 --> Python Program for factorial of a number ?

Question4 --> Python Program for simple interest ?

Question5 --> Python Program for compound interest ?

Question6 --> Python Program to check Armstrong Number ?

Question7 --> Python Program for Program to find area of a circle ?

Question8 --> Python program to print all Prime numbers in an Interval ?

Question9 --> Python program to check whether a number is Prime or not ?

Question10 --> Python Program for n-th Fibonacci number ?

Question11 --> Python Program for How to check if a given number is Fibonacci number?

Question12 --> Python Program for n\’th multiple of a number in Fibonacci Series

Question13 --> Program to print ASCII Value of a character

Question14 --> Python Program for Sum of squares of first n natural numbers

Question15 --> Python Program for cube sum of first n natural numbers

C++ Basics Questions Day 1 to Day 100

Question1 --> C++ Program to Print “Hello, World!”.

Question1 --> C++ Program to Add Two Integers.

Question1 --> C++ Program to Swap Values of Two Variables.

Question1 --> C++ Program to Multiply two Floating Point Numbers.

Question1 --> C++ Program to perform all arithmetic operations.

Question1 --> C++ Program to convert feet to meter.

Question1 --> C++ Program to convert celcius to farenheit.

Question1 --> C++ Program to convert farenheit to celcius.

Question1 --> C++ Program to find the Size of data types.

Question1 --> C++ Program to Print ASCII Value.

Question1 --> C++ Program to Calculate Area of Circle.

Question1 --> C++ Program to Calculate Area of Square.

Question1 --> C++ Program to Calculate Area of Rectangle.

Question1 --> C++ Program to convert days to years, weeks and days.

List of C++ language string programs

Question1 --> Write C++ program to concatenate two strings

Question2 --> Write C++ program to find string length

Question3 --> Write C++ program to convert a string to Lower case

Question4 --> Write C++ program to convert a string to Upper case

Question5 --> Write C++ program to change string to upper case without strupr

Question6 --> Write C++ program to change string to lower case without strlwr

Question7 --> Write C++ program to reverse a string enter by user

Question8 --> Write C++ program to count number of alphabets, digits and special characters in string

Question9 --> Write C++ program to compare two strings using strcmp

List of all conditional programs in c++ language

Question10 --> C++ Program to check whether an integer entered by the user is odd or even

Question11 --> Question1 --> C++ Program to find the largest number among three number.

Question12 --> C++ Program to Find the Largest Number using Conditional Operator.

Question13 --> C++ Program to find the Largest among Three Variables using Nested if.

Question14 --> C++ program to check leap year using conditional Operator.

Question15 --> C++ program to check alphabets using conditional operator.

Question16 --> C++ program to check number is positive, negative or zero.

Question17 --> C++ program to check uppercase or lowercase alphabets.

Question18 --> C++ program to check entered character vowel or consonant.

Question19 --> C++ program to check whether a character is alphabet, digit or special character.

Question20 --> C++ program to print day name of week.

Question21 --> C++ program to accept two integers and check whether they are equal or not.

Question22 --> C++ program to detrermine a candidate’s age is eligible for casting the vote or not.

Question23 --> C++ program to find the eligibility of admission for an engineering course based on the criteria.

Question24 --> C++ program to calculate the total marks, percentage and division of student.

Question25 --> C++ program to enter month number and print number of days in month.

Question26 --> C++ program to count total number of notes in entered amount.

Question27 --> C++ program to check whether a triangle can be formed by the given value for the angles.

List of C++ Language Loop Programs with Examples

Question28 --> Write C++ program to print alphabets from a to z

Question29 --> Write C++ program to print ASCII values of all characters

Question30 --> Write C++ program to print multiplication table of a given number

Question31 --> Write C++ program to print all natural numbers in reverse order

Question32 --> Write C++ program to print sum of digits enter by user

Question33 --> Write C++ program to find sum of even numbers between 1 to n

Question34 --> Write C++ program to find sum of odd numbers between 1 to n

Question35 --> Write C++ program to swap first and last digit of a number

Question36 --> Write C++ program to find the sum of first and last digit of any number

Question37 --> Write C++ program to find first and last digit of any number

Question38 --> Write C++ program to calculate product of digits of a number

Question39 --> Write C++ program to reverse a number using while & for loop

Question40 --> Write C++ program to calculate power using while & for loop

Question41 --> Write C++ program to find factorial of any number

Question42 --> Write C++ program to check whether a number is Armstrong number or not

Question43 --> Write C++ program to find Armstrong numbers between 1 to n

Question44 --> Write a C++ program to calculate compound Interest

Question45 --> Write a C++ program to check a enter number is Prime number or not using while & for loop

Question46 --> Write a C++ program to check whether a number is palindrome or not

Question47 --> Write C++ program to print number in words

Question48 --> Write C++ program to find HCF of two numbers

Question49 --> Write C++ program to find LCM of two numbers

List of Switch case C++ programs with an examples

Question50 --> Write C++ program to print number of days in a month using switch case

Question51 --> Write C++ program to print day of week name using switch case

Question52 --> Write C++ program to create calculator using switch Statement

Question53 --> Write C++ program to check even or odd number using switch case

Question54 --> Write C++ program to check vowel or consonant using switch case

Question55 --> Write C++ program to print gender (Male/Female) program according to given M/F.

Question56 --> Write C++ Program to find maximum number using switch case.

List of c++ language function and recursion programming exercises

Question57 --> Write C++ program to check even or odd using functions

Question58 --> Write C++ to check prime and armstrong numbers using function

Question59 --> Write C++ program to find cube of a number using function

Question60 --> Write C++ Program to convert binary number to decimal

Question61 --> Write C++ Program to convert decimal number to binary using function

Question62 --> Write C++ program to find Length of the String by passing String/Character

Question63 --> Write C++ program to print all strong numbers between 2 numbers

Question64 --> Write C++ program to find prime numbers in given range using functions

Question65 --> Write C++ program to find diameter, circumference and area of circle using function

Question66 --> Write C++ program to print perfect numbers between given interval using function

Question67 --> Write C++ program to find power of a number using recursion

Question68 --> Write C++ program to find sum of natural numbers in given range using recursion

Question69 --> Write C++ program to print even or odd numbers in given range using recursion

Question70 --> Write C++ program to find reverse of a number using recursion

Question71 --> Write C++ program to find LCM of two numbers using recursion

Question72 --> Write C++ program to find HCF of two numbers using recursion

Question73 --> Write C++ program to print elements of array using recursion

Question74 --> Write C++ program to find sum of array elements using recursion

Question75 --> Write C++ program to generate nth fibonacci term using recursion

Question76 --> Write C++ program to find factorial of a number using recursion

Question77 --> Write C++ program to check palindrome number using recursion

Question78 --> Write C++ program to find maximum and minimum elements in array using recursion

List of C++ language Pointer Exercise

Question79 --> Write C++ program to swap two numbers using pointers

Question80 --> Write C++ program to add two numbers using pointers

Question81 --> Write C++ program to Sum of Array Elements using Pointers

Question82 --> Write C++ program to find length of string using pointer

Question83 --> Write C++ program to copy one string to another string using pointer

Question84 --> Write C++ program to concatenate two strings using pointer

Question85 --> Write C++ program to print the elements of the array in reverse order using a pointer

List of C++ language array programs with an examples

Question86 --> Write a C++ program to print all negative elements in an array

Question87 --> Write C++ program to count total number of negative elements in array

Question88 --> Write C++ program to read and print elements of array

Question89 --> Write C++ program to find sum of all elements of an array

Question90 --> Write C++ program to count even and odd elements in an array

Question91 --> Write C++ program to find maximum and minimum element in array

Question92 --> Write C++ program to insert an element in array

Question93 --> Write C++ program to print all unique element in an array

Question94 --> Write C++ program to sort an array in ascending order

Question95 --> Write C++ program to copy all elements of one array to another

Question96 --> Write C++ program to count number of each element in an array

Question97 --> Write C++ program to delete all duplicate elements from an array

Question98 --> Write C++ program count total duplicate elements in an array

Question99 --> Write C++ program to merge two sorted array

Question100 --> Write C++ program to put even and odd elements of array in two separate array

Question101 --> Write C++ program to find reverse of an array

Question102 --> Write C++ program to left rotate an array

Question103 --> Write C++ program to right rotate an array

List of C++ language matrix programs with an examples

Question104 --> Write C++ Program to Add Two Matrices

Question105 --> Write C++ Program to Multiply Two Matrices

Question106 --> Write C++ Program to check whether two matrices are equal or not

Question107 --> Write C++ Program to Find the Transpose of a given Matrix

Question108 --> Write C++ Program to Find sum of each row and columns of a matrix

Question109 --> Write C++ Program to Find the Frequency of Odd & Even Numbers in the given Matrix

Question110 --> Write C++ Program C program to interchange diagonals of a matrix