Posts

Showing posts from February, 2019

The benefits of CDNs

There are many advantages of Content Delivery Networks. Your server load will decrease. As a result of, strategically placed servers which form the backbone of the network the companies can have an increase in capacity and number of concurrent users that they can handle. Essentially, the content is spread out across several servers, as opposed to offloading them onto one large server. Content Delivery will become faster. Due to higher reliability, operators can deliver high-quality content with a high level of service, low network server loads, and thus, lower costs. Moreover, jQuery is ubiquitous on the web. There’s a high probability that someone visiting a particular page has already done that in the past using the Google CDN. Therefore, the file has already been cached by the browser and the user won’t need to download again. Segmenting your audience becomes easy. CDNs can deliver different content to different users depending on the kind of device requesting the c...

Discuss the use of staging area and Git directory

Image
The basic  Git  workflow goes something like this: You modify files in your working  directory . You  stage  the files, adding snapshots of them to your  staging area . You do a commit, which takes the files as they are in the  staging area  and stores that snapshot permanently to your  Git directory .

Git and GitHub, are they same or different? Discuss with facts

Git  is a revision control system, a tool to manage your source code history.  GitHub  is a hosting service for  Git  repositories. So they are not the same thing:  Git  is the tool,  GitHub  is the service for projects that use  Git . Git is a free and open source distributed  version control system  designed to handle everything from small to very large projects with speed and efficiency. GitHub is a  web-based  Git repository  hosting service , which offers all of the distributed revision control and Source Code Management (SCM) functionality of Git as well as adding its own features. GitHub provides access control and several collaboration features such as wikis, task management, and bug tracking and feature requests for every project. You don't need GitHub to use Git . GitHub allows you to: Share your repositories with others. Access other user's repositories. Store remote copies ...

Compare and contrast the Git commands, commit and push

The " commit "  command  is used to save your changes to the local repository. This store a new snapshot(latest status) of the project's state in the VCS history. You have to  explicitly tell  Git  which changes you want to include in a  commit  before running the " git commit "  command . This means that a file won't be automatically included in the next  commit  just because it was changed. The " push " command is used to transfer the last commit(s) to a remote server. 

Differentiate the three models of VCSs, stating their pros and cons

Let's we identify the three models of Version Control Systems,   In Local Version Control Systems the version database  and the project file are in the same computer. This is the oldest version control system. In Centralized Version Control System, the version database is stored in central VCS server. When developers want to make change project files, they get that files to their computers and change it. In Distributed Version Control System, the version database is installed to server computer and client computer both. 

What is the need for VCS?

Version Control Systems(VCS) are a software tools that help a software team to manage changes to source code over time. Version Control Software keeps track of every modification to the source. IF a mistake is made.... developer can turn back the clock. compare earlier versions of the code to help fix the mistake. minimizing disruption to all team members. When using VCS the team can, Everybody on the team is able to work absolutely freely on any file at any time. The VCS will later allow you to merge all the changes in to a common version. A VCS acknowledges that there is only one project. If the project is damaged it can restore previous versions. You can take Backup of your projects.

Discuss the key features of Object Oriented Programming

The key features of the OOP are, Data Abstraction This meaning is hide the implementation details and represent the important details.This Will separate interface and implementation.  Encapsulation This describe the idea of bundling data and methods that work on that data within one unit. For example class in Java. Information Hiding The process of hiding details of an object or function. This reduce complexity of the program. Inheritance This will enable new objects to take from properties of another class.  Polymorphism Polymorphism is ability to redefine methods for derived classes.

Discuss the difference between procedural programming and functional programming

Image
There are several differences in Procedural and Functional programming. Procedural: The output of a routine does not always have a direct correlation with the input. Everything is done in specific order. Execution of a routine may have side effects.  Tends to emphasize implementing solutions in a linear fashion. Functional: The output routine often recursive. Always return the same output for given input. Order of evaluation is usually undefined. There are no operation have side effects. Good fit for parallel execution.