As a leader or manager when conducting a job interview the vetting of an individual revolves around their experience and education. If the candidate can convince that leader or manager that they hold the right balance of experience and education then great they are hired. Should personality also be considered along with experience and education? Why or why not? Please explain fully with detail and examples.
In: Operations Management
I want to know the details interpretation of this code for my interview preperation on this code. This is A* algorithm in c++
#include<bits/stdc++.h>
using namespace std;
#define DISCONNECTED -1
int num_of_node,num_of_edge,graph[30][30],pathCost[30];
void init_Heuristic();
struct Node{
int from,to;
int cost;
};
struct CompareNode{
bool operator()(Node& n1, Node&
n2){
if(n1.cost >
n2.cost)return true;
return false;
}
};
map<int,int>Heuristic;
priority_queue<Node, vector<Node>, CompareNode>
PQ;
vector<Node>path;
void AStarSearch(int source,int destination){
init_Heuristic();
for(int i = 1; i <= num_of_node; i++){
if(graph[source][i] !=
DISCONNECTED){
Node n;
n.from = source;
n.to = i;
n.cost = graph[source][i] + Heuristic[i];
pathCost[i] = graph[source][i];
PQ.push(n);
}
}
while(!PQ.empty()){
Node tmp =
PQ.top();
path.push_back(tmp);
if(tmp.to ==
destination)break;
PQ.pop();
for(int i = 1; i <=
num_of_node; i++){
if(graph[tmp.to][i] != DISCONNECTED){
Node n;
n.from = tmp.to;
n.to = i;
n.cost = pathCost[tmp.to] + graph[tmp.to][i] + Heuristic[i];
pathCost[i] = pathCost[tmp.to] + graph[tmp.to][i];
PQ.push(n);
}
}
}
}
int main(){
int a,b,c,source,destination;
cout << "Enter Node: " <<
endl;
cin >> num_of_node;
cout << "Enter Edge: " <<
endl;
cin >> num_of_edge;
for(int i=1; i<=num_of_node; i++)
for(int j=1; j<=num_of_node; j++)
graph[i][j] = DISCONNECTED;
for(int i = 0; i < num_of_edge;
i++){
cin >> a >>
b >> c;
graph[a][b] = c;
}
cout << "Enter source: " <<
endl;
cin >> source;
cout << "Enter destination: " <<
endl;
cin >> destination;
AStarSearch(source,destination);
for(int i = 0; i < path.size(); i++)
cout <<
path.at(i).from << " -> " << path.at(i).to <<
" = " << path.at(i).cost << endl;
return 0;
}
void init_Heuristic(){
///straight line distance ///
Heuristic[1] = 10;
Heuristic[2] = 5;
Heuristic[3] = 0;
Heuristic[4] = 13;
}
In: Computer Science
1. Experts will tell you that it is important to "prepare" for an interview. What type of preparation should you do?
Summarize the information and add your thoughts to what the experts say. Be sure to also include your interviewing preparation experiences.
2. What types of retail sales are included in your channel strategy for your Course Project? How will culture in the host market influence international personal selling?
In: Operations Management
You are called in for a job interview at a local diner where you will wait tables for extra cash to help pay your way through college. As you enter the diner, you overhear the manager denying an application to a woman who is considered by society to be overweight. Construct a short impromptu talk that you would have with the manager with regard to this situation.
In: Psychology
In: Nursing
You have an interview for a junior management accounting role with a medium sized IT firm which has plans to list on the ASX. The interviewer informs you of a debate within the firm about whether or not to produce ‘corporate responsibility’ reports. She asks you what your opinion on the issue is. How would you respond?
In: Accounting
Raider Red Construction entered into a contract to build a commercial building for $3,600,000. Raider Red Construction uses the percentage-of-completion method for recognizing revenue on the project. Construction began in September of 2018 and the building was completed in June of 2020. The company provided the following additional information on the project.
| 2018 | 2019 | 2020 | |
| Costs incurred to date | $ 725,000 | $ 2,100,000 | $ 3,400,000 |
| Estimated costs to complete | $ 2,175,000 | $ 1,400,000 | $ - |
| Billings during the year | $ 800,000 | $ 1,650,000 | $ 1,150,000 |
| Cash collected during the year | $ 450,000 | $ 1,900,000 | $ 1,200,000 |
Instructions:
(1.) Prepare the journal entries for the balance sheet in each year of the project.
In: Accounting
A company purchased equipment for $400,000 which was estimated to have a useful life of 14 years with a salvage or residual value of $22,000 at the end of that time. Depreciation has been recorded for 2 years on a straight-line basis. In 2020 (year 3), it is determined that the total estimated life should be 17 years with a residual or salvage value of $16,000 at the end of that time.
What is the net book value a the time of the change? write out the number, include a comma where appropriate, do not include decimals, do not use a dollar sign (i.e. 200,000)
What is depreciation expense for 2020?
In: Accounting
X Company uses an activity-based costing allocation system. On January 1, 2020, its accountant budgeted the following costs and cost drivers for three of the activities that are used in the ABC system:
| Activity | Budgeted cost | Cost driver |
| Assembly | $79,000 | 90,400 parts |
| Packaging | $47,400 | 14,600 finished units |
| Purchasing | $31,600 | 4,700 purchase orders |
In May of 2020, 600 units of Product C were finished, requiring
$13,300 of direct materials, 4,000 direct labor hours, 1,382 parts,
and 49 purchase orders.
How much of the three activity costs was allocated to Product
C?
In: Accounting
The Swifty Corporation issued 10-year, $4,080,000 par, 7% callable convertible subordinated debentures on January 2, 2020. The bonds have a par value of $1,000, with interest payable annually. The current conversion ratio is 13:1, and in 2 years it will increase to 20:1. At the date of issue, the bonds were sold at 98. Bond discount is amortized on a straight-line basis. Swifty’s effective tax was 20%. Net income in 2020 was $10,950,000, and the company had 1,830,000 shares outstanding during the entire year.
Compute both basic and diluted earnings per share.
In: Accounting