50 Programming Interview Q & A Flashcards

Learn to verbal general programming concepts to prepare for technical interview

1
Q

What is Computer programming?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is computer science?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are algorithms?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a full-stack developer?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does programming work?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is debugging?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the front-end?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some front end libraries and frameworks?

A

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!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name different types errors which can occur during the execution of a program?

A

There are three types of errors which can occur during the execution of a program:

  • Syntax Errors
  • Runtime Errors
  • Logical errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When does a syntax error occurs?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When does a runtime error occurs?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

When does a logical error occurs?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is flowchart?

A

The flowchart is a pictorial representation of a program which helps in understanding the flow of control and data in the algorithm.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What do you understand by the term “Maintain and update the Program”?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are variables?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are reserved words?

A
Reserved words or keywords are the words, which have predefined meanings. They have predefined uses and cannot be used or redefined for any other purpose in a programming language.
Examples:
  IF
  ELSE
  THEN
17
Q

What are loops?

A

The loop is a structure which can repeat a set of statements up to a fixed number of times or until a certain criterion is satisfied.

18
Q

Name different types of loops.

A

Different types of loops are

  • FOR…NEXT Loop
  • WHILE…WEND Loop
  • Nested Loop
19
Q

What is continuous integration?

A

Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early.

By integrating regularly, you can detect errors quickly, and locate them more easily.

20
Q

What are some benefits of continuous integration?

A

Continuous Integration brings multiple benefits to your organization:

No long and tense integration (save time)
Increase visibility enabling greater communication
Catch issues early and nip them in the bud
Spend less time debugging and more time adding features
Build a solid foundation
Stop waiting to find out if your code’s going to work
Reduce integration problems allowing you to deliver software more rapidly
21
Q

What is PTC Integrity?

A

PTC Integrity Lifecycle Manager (formerly MKS Integrity) is a software system lifecycle management (SSLM) and application lifecycle management (ALM) platform developed by MKS Inc. and was first released in 2001. The software is client/server, with both desktop (java/swing) and web client interfaces. It provides software development organizations with a collaborative environment in which they can manage the end-to-end processes of development, from requirements management, engineering change management, revision control, and build management to test management and software deployment as well as associated reports & metrics.

22
Q

What does PTC Integrity allow development teams to do?

A

PTC Integrity Lifecycle Manager (Integrity LM or ILM) allows software development teams to track all aspects of their work, including work items, source control, reporting, and build management, in a single product.