Answer:
Find the explanation below.
Explanation:
The six leadership styles described by Daniel Goleman are the;
1. Authoritative: This is applied when the leader wants to motivate a team to achieve greater heights. For example, in a group where the leader expects his team members to complete a project at a specific time, he comes up with an idea of how they can meet the goal. He tells the group excitedly about this idea. The group in turn now shares this same excitement and gets to work applying the new ideas.
2. Coaching: This is used by the leader to encourage employees who lack motivation. Imagine that an employee known to be efficient at his work is finding it difficult to reach a sales goal. The leader observes this and encourages him, showing him better ways to improve his sales skills. He applies the idea and gets better at his job.
3. Affiliative: The affiliative leader seeks to resolve conflict by connecting people and building their spirits. In a case where the team members are feeling downcast because their well-loved boss is transferred to another branch, the new affiliative leader builds their spirit and helps them get back to work.
4. Democratic: This is needed when the leader seeks opinions from his subordinates. If the company is seeking to make changes to be at par with a competitor, the democratic leader welcomes a variety of opinions from his subordinates on new ways to improve their products and services.
5. Pacesetting: This type of leader leads the way and shows good example. After the leader has shown the group new ways to improve their sales, he applies the same approach in his marketing and has significant results.
6. Coercive: The leader applies this with difficult employees. In a situation whereby an employee has been encouraged on how to improve his skills but he still shows no much improvement, the coercive leader authoritatively tells him to make the needed effort since his job is on line. He shows signs of improvement and the leader uses lighter measures to calm his fears.
Answer:
No for GOTO
Yes for Pointer
Explanation:
<u>GOTO statement</u>
This declaration is used to pass control to the program's marked declaration. The label is the valid identifier and is positioned just before the declaration from which the control is transmitted.
It becomes hard to trace a program's control flow, making it hard to comprehend the program logic. Any program in C language can be written without using a GOTO statement.
<u>Pointers</u>
A C # pointer is nothing but a variable holding another type of memory address. However, in C # pointer only the memory address of the value types and arrays can be declared.
C # supports pointers to a restricted extent. Unlike reference kinds, the default trash collection system does not track pointer kinds. Pointers are not allowed to point to a type of structure containing a type of reference or a type of reference.
During the garbage collection process, the C #garbage collector can move objects in memory as they wish. The C #offers a unique fixed keyword for telling Garbage Collector not to move an item. This implies that the place of the value kinds referred to is fixed in memory. This is called pinning in C #.
Answer:
Following are the code in the java language
numBers = scnr.nextInt ( ) ;
Here scnr is an instance of scanner class .
Explanation:
In this code, we take the input by using the object of Scanner class i.e "scnr". The scanner class in the java programming language is used for taking the input by the user. The scnr.nextInt ( ) is taking the input which is stored in the "numbers" variable.
So the whole program is looking like that
import java.util.*; // import package
public class Main
{
public static void main(String[] args) // main function
{
int numBers; // variable declaration
Scanner scnr=new Scanner(System.in); // create the instance of scanner class
numBers=scnr.nextInt( ) ; // taking input
System.out.println(numBers); // display the value of numBers
}
}
Output:
78
78
Answer:
perception i do believe is the answer