PHP · Web Development

Questions & Answers

What is the difference between MySQL & SQLite & PostgreSQL?

What is the diference between AngularJs & React?

What is the difference between OAuth Client Profiles ?

1 – web server
2 – user agent
3 – native application
4 – autonomous client

What is the difference between Bearer Access Token and Mac Access Token?

Explain the What & How of JWT Authentication?

What is the difference between Partitioning and Indexing?

What is the difference between Vertical & Horizontal Partitiong?

What is the difference between Vertical Partitioning & Normalization ?

What are the types of partitioning?

List
Range
Hash
Composite

What is the difference between Abstraction & Leverage in OOP?

What are database nested transactions?

What is the difference between $_SERVER[‘SERVER_NAME’] & $_SERVER[‘HTTP_HOST’]?

What is the difference between $ composer install and $ composer update?

What is the difference between composer.json and composer.lock?

What is the difference between Symmetric Key Encryption and Public-Private Key
Encryption
?

Symmetric Key Encryption uses the same key to encrypt and decrypt the message. If the key was
revealed by a middle-man, all the communications can be intercepted.
Public Private Key Encryption uses a public key to encrypt a message, but only a secured
private key can be used to decrypt the message.

Symmetric Key Encryption insecure fast
Public Private Key Encryption secure slow

A fast & secure approach

  1. Encrypt the symmetric key using a public key
  2. Share the encrypted symmetric key with the other party
  3. Encrypt the message using the symmetric key

What is the difference between Test Cases and User Acceptance Testing (UAT)?

Test Cases are written from the use cases and user stories of the system usually found in details in
the Software Requirements Specification (SRS).
User Acceptance Testing (UAT) is concerned with testing the User Experience delivered by the
software to the end-users and stake-holders. Test Cases used in the previous stage could be reused
for UAT. However, it is preferable to let the end-users interact with the system without a
prescribed instruction set to lead their judgement.

What is Regression Testing & Regression Bug?

Regression Testing is the process of testing the system after an update, an upgrade or even a
refactoring. The bugs found during this phase are called Regression Bug.

Describe the Testing Pyramid

What does SOLID stand for?

S := Single Responsibility Principle
O := Open-Closed Principle
L := Liskov Substitution Principle
I := Interface Segregation Principle
D := Dependency Inversion Principle

What is the usage of the following HTTP headers Content-Type & Content-Disposition?

Content-Type specifies the type of the content served in the document. The value is type /
sub-type. The type takes one of seven values: text, message, audio, video, image, multipart or
application. Non-standard values could be communicated between the server and agent prefixed with
X-
Content-Disposition suggests a default file name of the served file if the browser
(user-agent) decides to save the file.

18 – What is the difference between Static Code Analysis and Dynamic Code Analysis?

Static Code Analysis is the process of code inspection before either interpretation or
compilation. It helps in finding coding style violations, dead code and code duplicates [ exact –
similar – gap ].
Dynamic Code Analysis is usually run during the run-time and uses techniques such as
reflection, dependency injection.

What is the difference between PHP functions array_merge, array_replace, and using + operator with arrays?

What is the difference between chmod a+x and chmod 775?

The former changes only the execute attribute for all without touching the bits of other attributes.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s