1. WRITE 3 ACTIVITIES AT EACH TIME MENTION (MORNING, AFTERNOON / EVENING, NIGHT) THAT YOU DO / SPEND TIME TOGETHER WITH YOUR FRIENDS.
2. DESCRIBE THE ACTIVITIES AT EACH TIME IN 7-10 SENTENCES IN A PARAGRAPH WITH RELEVANT PICTURES.
In: Computer Science
Hi!
I 'm writing a code for a doubly linked list and this is the header file
#include<iostream>
#include <string>
using namespace std;
struct node
{
int data;
node *next,*prev;
node(int d,node *p=0,node *n=0)
{
data=d; prev=p; next=n;
}
};
class list
{
node *head,*tail;
public:
list();
bool is_empty();
int size();
void print();
void search();
int search2(int el);
void add_last(int el);
void add_first(int el);
bool add_pos();
bool delete_first();
bool delete_last();
void delete_pos(int pos);
void delete_el();
void add_sorted();
};
i want to write a function that split the list into 2 list from a specific number
ex. 5 4 7 2 8
if I spilt it from number 4 it will be 5 in the first list and 7 2 8 in the second list and number 4 will go to the List that contains fewer element so first list will have 5 4 and second list 7 2 8 if the have the same number of element the number that you were separated from it goes to any list it does not matter
In: Computer Science
Suppose we are interested in bidding on a piece of land and we know one other bidder is interested. The seller announced that the highest bid in excess of $10,000 will be accepted. Assume that the competitor's bid x is a random variable that is uniformly distributed between $10,000 and $15,400.
In: Math
The proper mean lifetime of a muon is 2.2ms. Muons in a beam are traveling through a laboratory at 0.95c.
1. What is their mean lifetime as measured the laboratory?
2. How far do they travel, on average, before they decay?
Please show expressions, work, and a proper explination!!!
In: Physics
Create an ER diagram, a Relational Schema, and tables with Data, based on the following requirements:
The database will keep track of students and campus organizations.
- For each student, we will keep track of his or her unique student ID, and his or her name and gender.
- For each organization, we will keep track of its unique organization ID and the location.
- Each student in the database belongs to at least one organization and can belong to multiple organizations.
- Each organization in the database has at least one student belonging to it and can have multiple students.
- For every instance of a student belonging to an organization, we will record the student's function in the organization (e.g., president, vice president, treasurer, member, etc.).
In: Computer Science
1. Wight Corporation has provided its contribution format income statement for June. The company produces and sells a single product.
| Sales (9,600 units) | $ | 336,000 |
| Variable expenses | 144,000 | |
| Contribution margin | 192,000 | |
| Fixed expenses | 137,000 | |
| Net operating income | $ | 55,000 |
If the company sells 9,700 units, its net operating income should be closest to:
$57,000
$55,573
$58,500
$55,000
2. Krepps Corporation produces a single product. Last year, Krepps manufactured 34,080 units and sold 28,200 units. Production costs for the year were as follows:
| Direct materials | $ | 259,008 | |
| Direct labor | $ | 153,360 | |
| Variable manufacturing overhead | $ | 269,232 | |
| Fixed manufacturing overhead | $ | 443,040 | |
Sales totaled $1,494,600 for the year, variable selling and administrative expenses totaled $163,560, and fixed selling and administrative expenses totaled $224,928. There was no beginning inventory. Assume that direct labor is a variable cost.
Under absorption costing, the ending inventory for the year would be valued at:
$264,040
$194,040
$221,540
$255,540
In: Accounting
unix operating system
create the scripts in your Fedora Server Virtual Machine
1- Open the file lab1 located in the labs directory and create a script that prompts the user to enter name, address and phone #. All entered details are directed to file "info.txt" in the same directory
When display info.txt, it should look like this example:
Name: John Smith
Address: 31-10 Thomson Ave.
Phone: 718-482-0000
2- Open the file lab2 located in the labs directory and create a script to display the logged in user name and user UID
When you execute lab2, the output should look like this example:
Username: root
User ID: 0
In: Computer Science
The pipeline industry has approximately 100 companies, as compared to the motor carrier industry with more than 50,000. What are the underlying economic causes for this difference, given the fact that they both carry approximately the same volume of intercity ton-miles?
In: Operations Management
In: Psychology
Research cyber kill chains. Is this a legit "game changer" in the IR space? How so?
Give a specific example
In: Computer Science
Given the information below for HooYah! Corporation, compute the expected share price at the end of 2017 using price ratio analysis. Assume that the historical average growth rates will remain the same for 2017. (Do not round intermediate calculations. Round your answers to 2 decimal places. Exclude negative annual P/E and P/CFPS ratios from the average P/E and average P/CFPS ratio calculations. When computing annual growth rates, use a positive sign on the annual rate of change if the per share value increased in value and use a negative sign on the annual rate of change if the per share value deceased in value.)
| Year | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | ||||||
| Price | $ | 12.00 | $ | 48.50 | $ | 120.00 | $ | 197.00 | $ | 87.00 | $ | 17.50 |
| EPS | −4.00 | −3.29 | −1.80 | −0.48 | 0.06 | 0.06 | ||||||
| CFPS | −13.00 | −10.50 | −2.80 | −0.05 | 0.23 | 0.08 | ||||||
| SPS | 9.00 | 17.50 | 20.10 | 23.60 | 27.10 | 25.95 | ||||||
Share price using:
P/E ratio:
P/CF ratio:
P/S ratio:
In: Finance
PROGRAM SIMULATION. Understand the given JAVA program and write the output.
1. public class Places
{
public static void main(String args[])
{
String place[]=new String[4];
place[0]="Salmaniya";
place[1]="Salmabad";
place[2]="Isa Town";
place[3] = “Manama”
System.out.println(place[3]);
System.out.println(place[1].toLowerCase());
System.out.println(place[2].substring(4,6);
System.out.println(place[3].charAt(4));
System.out.println(place[1].equals(place[2]));
}
}
b. public class ChangeIt
{
public void doIt( int[] z )
{
z[0] = 0;
}
}
public class TestIt
{
public static void main ( String[] args )
{
int[] myArray = {1, 2, 3, 4, 5} ;
ChangeIt.doIt(myArray );
for (int j=0; j<myArray.length; j++ )
System.out.print( myArray[j] + " " ) ;
}
}
In: Computer Science
In Java, what is the advantage of using ArrayList over arrays?
Write a program to perform following operations
a. Create a class named Rectangle with two
properties “height” and “width”. Create a parameterized
constructor to initialize “height” and “width” values.
b. Write method area() to calculate and return area of
Rectangle.
c. Create an ArrayList to store Rectangle objects.
d. Create three Rectangle objects of width and height set to
(2, 3), (3, 3) and (4, 5) and add them to ArrayList.
e. Calculate and print area of all the Rectangle objects in
ArrayList. (Hint: Area = height x width)
In: Computer Science
Activity 11: JS-Loops and Functions
Task 1:
Use JavaScript for loop to print the first 5 non-zero integers on
each line.
Task 2:
Use JavaScript while loop to print the first 5 non-zero integers on
each line.
Task 3:
Use JavaScript for loop to print the first 5 even integers on each
line.
Task 4:
Write a JavaScript function to multiple two numbers and return the
result.
Task 5:
Write a JavaScript factorial that asks users to enter a positive
and return the result.
i) Without using recursion ii) Using recursion Task 6:
Use a nested for or while loop to produce a table below.
1,1 1,2 1,3 1,4 1,5
2,1 2,2 2,3 2,4 2,5
3,1 3,2 3,3 3,4 3,5
4,1 4,2 4,3 4,4 4,5
5,1 5,2 5,3 5,4 5,5
In: Computer Science
|
Calculators |
Notebooks |
|||
|
Quantity Produced |
Price of each Calculator |
Quantity Produced |
Price of each Notebook |
|
|
2018 |
5 |
$20 |
15 |
$5 |
|
2019 |
6 |
$30 |
25 |
$6 |
In: Economics