Most students and even professional want to learn programming but struck at some level or other. Here we have provided programming questions from very easy to difficult level. These are conceptual questions and would be applicable for any computer programming language. Here they have been coded using C but any programming language can be used.
[toggle title=”Level-1″ open=”true or false” icon=”user-1″]
- Hello world
- Print Integer
- Addition
- Odd or Even
- Add, subtract, multiply and divide
- Check vowel
- Leap year
- Add digits
- Factorial
- HCF and LCM
- Decimal to binary conversion
- ncR and nPr
- Add n numbers
- Swapping
- Reverse number
- Palindrome number
Source: http://www.programmingsimplified.com
[/toggle]
[toggle title=”Level-2″ open=”true or false” icon=”user-1″]
- Print Pattern
- Diamond
- Prime numbers
- Find armstrong number
- Generate armstrong number
- Fibonacci series
- Print floyd’s triangle
- Print pascal triangle
- Addition using pointers
- Maximum element in array
- Minimum element in array
- Linear search
- Binary search
- Reverse array
- Insert element in array
- Delete element from array
- Merge arrays
Source: http://www.programmingsimplified.com
[/toggle]
[toggle title=”Level-3″ open=”true or false” icon=”user-1″]
- Bubble sort
- Insertion sort
- Selection sort
- Add matrices
- Subtract matrices
- Transpose matrix
- Multiply two matrices
- Print string
- String length
- Compare strings
- Copy string
- Concatenate strings
- Reverse string
- Find palindrome
- String to integer
- Delete vowels
- C substring
- Sort a string
- Remove spaces
- Change case
- Swap strings
[/toggle]
[toggle title=”Level-4″ open=”true or false” icon=”user-1″]
- Character’s frequency
- Anagrams
- Read file
- Copy files
- Merge two files
- List files in a directory
- Delete file
- Random numbers
- Add complex numbers
- Print date
- Get IP address
- Shutdown computer
[/toggle]
[toggle title=”Level-5″ open=”true or false” icon=”user-1″]
- Fix loop in a sorted linked list
- Implement Stack using two Queues
- Implementing a Queue using two Stacks
- Array implementation of Queue data structure
- Singly linked list implementation of Queue
Source : ritambhara.in. One can start with each question mentioned on this website.
[/toggle]
[toggle title=”Level-6″ open=”true or false” icon=”user-1″]
[/toggle]
Once you can write all these program on your own. Then you can start looking at below mentioned resources for more programming problem related to Interview Questions and Competitive programming.
In case you are not aware about competitive programming and how useful it can be for your career, then it would be good to read about Success Stories of Computer Science Students.
Stay Motivated and Keep Learning. Comment below and Let us know if you find this useful.