Reference Versus Value

What is the difference between reference and value? How can we ‘pass by reference’ versus ‘pass by value’?

#include <iostream> 
 
using namespace std; 
 
// CALL BY VALUE is the default way of passing parameters 
// in C/C++: the parameter is a COPY of the original, so 
// the function can't change the original. 
int changeByValue(int x, int amount); 
 
// CALL BY REFERENCE is indicated by the (&) after the type 
// of the parameter. It means the parameter is initialized 
// as a reference (aka a pointer) to the original value,  
// so it can change the original. 
int changeByRef(int& x, int amount); 
 
int main(){   
    int x = 10; 
    changeByValue(x, 23);   
    cout << "x = " << x; 
    changeByRef(x, 23); 
    cout << "x = " << x; 
    return 0; 
} 
 
int changeByValue(int x, int amount) {
    x = x + amount;   
    return x; 
} 
 
int changeByRef(int& x, int amount) {   
    x = x + amount;   
    return x; 
} 

Group Dynamics

In this lesson, we’ll explore what group dynamics are, and why they matter to our business and information systems. Then, we’ll discuss some examples of poor group dynamics, and outline some tools that you can use to deal with those situations. Handout: PDF

How well do the people in your team get along? Do they trust each other? How important are trust and respect to productivity? What impact does the quality of your team relationships have on the performance of your business? How well do you leverage the full potential of your team members? To what extent are you encouraging your team members’ diverse perspectives, skills, and experience?

Systems Development Life Cycle

What are the phases of the SDLC and why are they important? Handout: PDF

System development is the process of planning, creating, testing, deploying and maintaining a business information system. The idea of a system applies to any range of hardware (a physical device used in or with your system; e.g., the hard drive of your computer) or software (any intangible device; e.g., computer programs or procedures that perform some task on a computer system).

Pagination


© 2020. Some rights reserved.