Posts

Showing posts from February, 2019

Tute 2 Answers

Image
1. What is the need for VCS? Version control systems are a category of software tools that help a software team manage changes to source code over time. Version control software keeps track of every modification to the code in a special kind of database. If a mistake is made, developers can turn back the clock and compare earlier versions of the code to help fix the mistake while minimizing disruption to all team members. For almost all software projects, the source code is like the crown jewels - a precious asset whose value must be protected. For most software teams, the source code is a repository of the invaluable knowledge and understanding about the problem domain that the developers have collected and refined through careful effort. Version control protects source code from both catastrophe and the casual degradation of human error and unintended consequences. Software developers working in teams are continually writing new source code and changing existing source code. T...

Tute 1 Answers

1. Compare and contrast declarative and imperative paradigms?  A programming paradigms is a style, or “way,” of programming. Declarative Paradigms Declarative is a programming paradigm, that expresses the logic of a computation without describing its control.  Programming by specifying the result you want, not how to get it. example : - var results = collection . Where ( num => num % 2 != 0 ); Imperative Paradigms Imperative programming  is a programming paradigm that uses statements that change a program’s state.  Programming with an explicit sequence of commands that update state. example:- List <int> collection = new List <int> { 1 , 2 , 3 , 4 , 5 }; List <int> results = new List <int> (); foreach ( var num in collection ) { if ( num % 2 != 0 ) results . Add ( num ); } 2. Discuss the difference between procedural programming and functional programming? Funct...