Here are a couple, some I have been asked in interviews, some I made up on the spot. Most of them are conceptual but it's not uncommon for interviewers to ask conceptual questions, especially to beginners.For an entry level position, it should be a learning period for a coder. However you should judRead more
Here are a couple, some I have been asked in interviews, some I made up on the spot. Most of them are conceptual but it’s not uncommon for interviewers to ask conceptual questions, especially to beginners.For an entry level position, it should be a learning period for a coder. However you should judge him whether he has basic knowledge of coding/programming. Here are some of the coding round questions for freshers in c
What is object-oriented programming? Why is this paradigm so useful for software design?
What are the differences between static and dynamic typed languages? What are the advantages/disadvantages of both?
What is a depth first search? What is a breadth first search? Which search would be better for, say, finding directions using a map/navigation app?
What is big O notation? Why is it useful for programmers?
Write a program that prints the first 100 prime numbers. What is a way that you can speed up this task? (The 2nd part is more of a math question than a programming one. Math skills are usually a plus when hiring programmers, but not a must.)
1. What’s debugging? Give an example why debugging is important.
(This question will test whether he/she believes in quality)
2. What’s an API? Share a use case for any third party API you used in any of your programs.
(This question will test his/her knowledge of software architecture)
3. How do you manage writing a program having more than 1000 lines of code?
(This question will test whether he/she is an organized coder)
4. Do you think OOP is a good coding methodology? Why or why not?
(This question will test whether he/she understands importance of using good programming styles)
5. For a large enough program, would you consider using a functions library or would you prefer coding everything by yourself?
(This question will test whether he/she believes in collaboration and reusability)
To me I think these are few of the important areas of coding knowledge for a fresher to know. These are some of the coding round questions for freshers in c.
Solving a coding problem on Hackerrank can be done in several steps: 1. Read the question carefully and make sure you understand what is being asked. 2. Break down the specific parts of the question and determine what data structures, algorithms, or other techniques may be used to solve it. 3. CreatRead more
Solving a coding problem on Hackerrank can be done in several steps:
1. Read the question carefully and make sure you understand what is being asked.
See less2. Break down the specific parts of the question and determine what data structures, algorithms, or other techniques may be used to solve it.
3. Create a plan for solving the problem based on your research from step 2.
4. Write code to test your solution and make sure it works as expected for all inputs and edge cases that are applicable to the problem at hand.
5. Check for optimization opportunities around runtime complexity (time) or memory usage (space).
6. Tune your solution until you get an acceptable result based on any given constraints stated in the problem description (e.g., execution time limit).