50 Programming Interview Q & A Flashcards
Learn to verbal general programming concepts to prepare for technical interview
What is Computer programming?
Programming is the process of taking an algorithm and encoding it into a notation, a programming language, so that it can be executed by a computer. Although many programming languages and many different types of computers exist, the important first step is the need to have the solution. Without an algorithm there can be no program.
What is computer science?
Computer science is the study of problems, problem-solving, and the solutions that come out of the problem-solving process. Given a problem, a computer scientist’s goal is to develop an algorithm, a step-by-step list of instructions for solving any instance of the problem that might arise.
What are algorithms?
Algorithms are finite processes that if followed will solve the problem or accomplish a particular task. Algorithms are solutions. An algorithm should be clear, finite and effective.
What is a full-stack developer?
A full stack developer is the culmination of all of the different phases of web development: the front-end, the back-end, and the database. Being proficient in each of those areas is what makes a full stack developer!
How does programming work?
Programming contains a set of instructions for the computer to perform different tasks. In fact, those instructions are executable commands, each having a different purpose.
What is debugging?
Debugging is the process of finding and removing errors in a program. In this process, the program is thoroughly checked for errors. Then errors are pointed out and debugged.
What is the front-end?
The Front End, also referred to as the client-side, is where the user interacts with your web application. The front end development will always use the same three languages: HTML, CSS, and JavaScript.
What are some front end libraries and frameworks?
The front end can also include JavaScript libraries and frameworks such as jQuery, AngularJS, ReactJS, and BackboneJS, all of which require quite a bit of code and allows front end developers to create extremely complex, interactive and dynamic web applications!
Name different types errors which can occur during the execution of a program?
There are three types of errors which can occur during the execution of a program:
- Syntax Errors
- Runtime Errors
- Logical errors
When does a syntax error occurs?
A syntax error occurs when the program violates one or more grammatical rules of the programming language. These errors are detected at compile time, i.e., when the translator (compiler or interpreter) attempts to translate the program.
When does a runtime error occurs?
A runtime error occurs when the computer is directed to perform an illegal operation by the program such as dividing a number by zero. Runtime errors are the only errors which are displayed immediately during the execution of a program. When these errors occur, the computer stops the execution of the programming and can display a diagnostic message that will help in locating the error.
When does a logical error occurs?
The logical error happens when a program implements a wrong logic and produces an incorrect result or unexpected behavior. The translator (compiler or interpreter) does not report any error message for a logical error. These errors are the most difficult to locate.
What is flowchart?
The flowchart is a pictorial representation of a program which helps in understanding the flow of control and data in the algorithm.
What do you understand by the term “Maintain and update the Program”?
Program maintenance is an ongoing process of upgrading the program to accommodate new hardware or software requirements and introducing minor or great improvements. Essentially, it is the expansion, updating and improvement of a program after its installation.
What are variables?
Variables are named memory locations (memory cells) which are used to store program’s input and its computational results during program execution. As the name suggests, the value of a variable may change during the program execution.