Answer:
Abstract
Objective Through a descriptive study, we determined the factors that influence the decision-making process for allocating funds to HIV/AIDS prevention and treatment programmes, and the extent to which formal decision tools are used in the municipality of KwaDukuza, South Africa.
Methods We conducted 35 key informant interviews in KwaDukuza. The interview questions addressed specific resource allocation issues while allowing respondents to speak openly about the complexities of the HIV/AIDS resource allocation process.
Write in Java:
Given a long integer representing a 10-digit phone number, output the area code, prefix, and line number using the format (800) 555-1212.
Ex: If the input is:
8005551212
the output is:
(800) 555-1212
Hint: Use % to get the desired rightmost digits. Ex: The rightmost 2 digits of 572 is gotten by 572 % 100, which is 72.
Hint: Use / to shift right by the desired amount. Ex: Shifting 572 right by 2 digits is done by 572 / 100, which yields 5. (Recall integer division discards the fraction).
For simplicity, assume any part starts with a non-zero digit. So 0119998888 is not allowed.
LabProgram.java:
import java.util.Scanner;
public class LabProgram {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
long phoneNumber;
// Add more variables as needed
phoneNumber = scnr.nextLong();
/* Type your code here. */
}
}
import java.util.Scanner;
public class LabProgram {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
long phoneNumber;
phoneNumber = scnr.nextLong();
long areaCode = phoneNumber/10000000;
long prefix = (phoneNumber/10000)%1000;
long lineNumber = phoneNumber%10000;
System.out.println("("+areaCode+")"+prefix+"-"+lineNumber);
}
}
I hope this helps!
What is the purpose of the Microsoft® PowerPoint® application? to design publications such as newsletters and brochures to create documents such as business letters and resumés to develop presentations for business meetings to design a company employee database
Answer:
The first one
Explanation:
The main purpose of MS PowerPoint is to enable the user to create dynamic, informational slides through the use of text, graphics, and animation.
The purpose of PowerPoint is to act as a visual aid as a presenter goes along presenting their option, ideas, sales pitch, etc. Make sure to not make your slides too wordy and concentrate on adding only basic bullet points.
Answer:
to develop presentations for business meetings
Explanation:
Any of the other options will be used in Word, Excel and Publisher.
But Power Point is mainly for presentations and not newsletters and other.
We wish to produce a graphic that is pleasing and easily readable. Suppose we
make the background color pink. What color text font should we use to make
the text most readable? Justify your answer.Assume that the color Pink is obtained by mixing equal amounts of Red and White. Use the RGB color model and assume that the amount of each primary color in the model is described in the interval [0 255]. Describe the color of the text font you would choose using these conventions.
Answer:
light color
Explanation:
When we will mix equal amounts or equal quantities of the color red and the color white, we will get the color reddish pink. It is popularly called as the SOFT RED and the color code of this color is RGB (255, 128, 128).
Since, red color + white color = 0.5 RGB(255, 0, 0) + 0.5RGB(255, 255, 255)
= RGB (255, 128, 128)
According to me, the color white will best suit as the text color that can be used for a background having RGB(255, 128, 128). Because the color looks more red and not that pink, so it wise to use a light tone color for the natural reading purpose. Hence, it will not give strain to the eyes.
Right now I have an i5 2400 and a PYN XLR8 gaming GTX 1650 Super, my CPU is too weak for 1080p gaming, what CPU should I get that has a B75 LGA 1155 socket, or Overclock it if so how many GHz should I overclock it to
(I only have a stock cooler)
Answer:
if its a number you need 5600GHz but im not to sure
Explanation:
Answer:
answer
Explanation:
if it a number you need 5600GHz but it not I'm not sure
in the middle of the iteration, how should a team handle requirement changes from the customer
Answer:
Team may take up the changes in flight after discussing the overall impact with the Product owner
Explanation:
In the middle of the iteration, one of the best ways a team should handle requirement changes from the customer is to take up the changes in flight after discussing the overall impact with the Product owner.
This will make the customer well aware of the advantages and disadvantages that come with changes in the requirement, such that, the customer will be surprised about the final outcome of the iteration.
In the Allow list box in the Data Validation dialog box,the _____ option means that the cell will accept only times.A) ChronologyB) ClockC) TimeD) Calendar
Answer:
C) Time
Explanation:
Given that Data validation is a feature in Microsoft Excel in which a user used to specify or determines the type of value or characters that can be typed or entered into a cell.
For example, using data validation to ensure a value of a number is whole numbers, or to ensure character entry is less than 25 characters.
Hence, in this case, the correct answer is the TIME option, will only result in cell accepting only times.
Consider a distributed denial of service (DDOS) attack, Assume the attacker has compromised a number of broadband connected computers to use as zombie systems. If the ISP provides a maximum uplink data rate of 512 Kbps in ADSL, what is the maximum number of 512-byte ICMP echo request (ping) packets a single zombie computer can send per second? How many such zombie systems would the attacker need to flood a target server in an organization that has
a. A Fast Ethernet.
b. A Gigabit Ethernet.
Answer:
A ) 200 Zombie systems
B ) 200 Zombie systems
Explanation:
maximum uplink data rate : 512 kbps = 512 * 1000 * 8 = 4096000 bits/sec
Determine the number of 512 byte ICMP echo packets = 512 * 8 = 4096 bits
hence the maximum number of 512-byte ICMP echo request (ping) packets a single zombie computer can send per second = 400 packets/sec
i.e. for 512kbps = 400 packets/sec
Determine the number of Zombie systems that the attacker will need to flood a target server
A) For a fast ethernet
A fast ethernet = 100 mbps
The number of Zombie systems needed = 1 zombie system * 200
and 1 zombie system = 512 kbps
therefore for a Fast ethernet the number of zombies systems needed = 200
B) For A Gigabit Ethernet
same as a fast ethernet system i.e. = 200
A server process in Host B has a welcoming socket at port 977. What will trigger the server process to create a connection socket?
Answer:
Explanation:
This connection socket will be created when Host B receives a TCP SYN segment that contains the destination port number 977. This means that there is data that is trying to enter through that port number, as a welcoming socket this destination is available and when data requests access through it the OS creates a connection socket using Host B in order to allow access to the TCP SYN segment.
If process P0 is switched to process P1, state for P0 will be saved into ____, and state from ___ will be reloaded.
Answer:
1. PCB0
2. PCB1
Explanation:
Given that PCB is often referred to as Process Control Block, is a form of data structure that is applicable and utilized by the computer operating systems to store all the information concerning a process.
This process is carried out in a way that when Process P0 is initialized, the operating system established a related process that takes the computer processing unit from Process P0 and allocates it to Process P1, the Operating System, in turn, will save P0's PCB, and then reload P1's PCB.
Hence, If process P0 is switched to process P1, the state for P0 will be saved into "PCB0" and the state from "PCB1" will be reloaded.
jibran has made a presentation on save environment for a competition. his teacher suggested some changes.which view should be using following changes
Answer:
Jibran has set up five slides in his new presentation and is ready to enter some text. He wants to focus on entering text without having to think about other PowerPoint elements such as graphics, pictures, sound, and animation. The best method for Jibran to enter text is by using which feature of Microsoft PowerPoint?
what is the norm that psychoanalysis of Freud deviates?
Answer:
Freud deviates from the norm of current mainstream psychology which has more or less lost its way - if it ever had one - under the influence of the same pressures which produce our dysfunctional politics and our troubled societies at large (technological change, globalisation, and so on).
Explanation:
Creds to Quora
Write the function which takes an arbitrary real number p , and returns true if the numeber is equals to some power of 2, i.e. p=2n for some n . Your task is to implement a recursive function power_of_2 withount using loops and library functions.
def power_of_2(p):
if p == 2:
return True
elif p < 2:
return False
return power_of_2(p/2)
print(power_of_2(32))
The function keeps dividing the number by 2 until it is equal to 2 or the number ends up being less than 2. If at some point the number is equal to 2, it is a power of 2 otherwise it's not a power of 2.
Looking at the response vehicles (pictured above), explain two options you have in order to abide by the Move Over law,
Answer: two options I have in order to abide by the move over law is to either move over or slow down. You must move over a lane away from stationary emergency vehicles if it is safe to do so. If it is not safe to do so then the driver must proceed with due caution, with a safe speed for road conditions.Until the driver has passed the emergency vehicle.
Explanation:Let me know if this helped! (:
Answer:
two possible options in order to abide by the move over law would be to either move over to a different lane (one lane away or more) or slow down.
Explanation:
1) ¡(X && Y )&& !X || W && Z
2) W || !(X || Z && Y)
3) !X || !Y || Z && X && !Y
4) X || Y || X && !Z && !Y
Answer:
???
Explanation:
Answer:
uhh
Explanation:
you spammed random stuff?
Armstrong Numbers Programming challenge description: An Armstrong number is an n-digit number that is equal to the sum of the nth powers of its digits. Determine if the input numbers are Armstrong numbers. Input: Your program should read lines from standard input. Each line has a positive integer. Output: Print out True if the number is an Armstrong number, or False if not. Test 1 Test Input 351 Expected Output False
Answer:
Written in Python
number = int(input("Enter a number: "))
computesum = 0
lent = len(str(number))
for digit in str(number):
computesum += int(digit)**lent
if number == computesum:
print("true")
else:
print("false")
Explanation:
This line prompts user for Input input
number = int(input("Enter a number: "))
This line initialises the sum of the nth power of the digits to 0
computesum = 0
This line gets the length of input (i.e. number of digits)
lent = len(str(number))
The following iteration iterates through the digit to check for Armstrong numbers
for digit in str(number):
computesum += int(digit)**lent
This checks if the input number equals the computed sum
if number == computesum:
print("true") --- if yes, "true" is printed
else:
print("false") --- if otherwise, "false" is printed
See attachment for complete program in its right format
What is the main advantage of using a WYSIWYG("what you see is what you get")editor when constructing a website
A.only one programming language is required
B.websites may have more professional construction
C.knowledge of HTML is not required
D.Website templates are not necessary
Answer:
c
12121212121212121212121212121221212121212121212
A new version of your operating system is released with several changes made to the transport layer protocols. Specifically, TCP has been removed completely but UDP was not changed. What specific changes must be made to your application to accomodate these changes?
Answer:
Throughout the description section down, the overview and per the instance.
Explanation:
Throughout terms of communicating and maintaining a link between the application as well as the network, TCP protocols were essential. The program would not be linked or activated if the TCP has indeed been fully disabled. The essential TCP protocol that enables the application to be linked from over network become HTTP as well as HTTPS. Almost all of the significant protocols needed to operate some programs are based primarily on TCP protocols. Besides, as SSH would not operate as a TCP protocol, the OS would not be remotely linked.Therefore, that would also make it impossible for all the administrators to operate upon this system.
A user creates a GPO. What do you need to do for that user to manage his or her GPO that he or she created?
Answer: Nothing should be done.
Explanation:
Group Policy helps in the provision of a centralized management of operating systems, and applications. It should be noted that a group policy object (GPO) is simply referred to as the configurations involving the group policy.
Nothing should be done to manage the GPO created. When the permission to create a GPO has been given to someone, it means that they can also manage the GPO therefore, nothing needs to be done anymore.
uestion
7. If you want to learn how to perform an action, which feature of the Excel window should you use?
A. Quick Access toolbar
B. Tell Me box
C. Status bar
D. File tab
Please help ASAP
You are troubleshooting an issue where a PC can reach some hosts on the Internet (using either DNS name or IP address), while several other hosts on the Internet are not reachable. From the PC you can Ping all devices on your local subnet. What is most likely causing the problem?
The options are missing from the question,below are the options to choose from;
A) incorrect (or missing) routes in a routers routing table
B) incorrect DNS configuration on the PC
C) incorrect default gateway configuration on the PC
D) duplicate IP addresses on your LAN
Answer: The correct answer to the question is option A
INCORRECT (OR MISSING) ROUTES IN A ROUTERS ROUTING TABLE.
Explanation: When it is possible for a PC to ping some devices but not actually all,we can then make an assumption that either it has a wrong subnet that is configured or the router from the path to the remote device actually has an incorrect or a missing routes to the device.
Write a function named getResults that accepts radius of a sphere and returns the volume and surface area. Call this function with radius = 3.5 , and display results in one decimal format.
volume = 4/3 * pi * r ^ 3
Surface Area = 4pi * r ^ 2
Python
def getResults():
radius = float(input())
pi = 3.1415
volume = 4/3 * pi * radius ** 3
surfaceArea = 4*pi * radius ** 2.0
print (volume)
print (surfaceArea)
getResults()
C#:
public static void Main(string[] args)
{
getResults(Convert.ToDouble(Console.ReadLine()));
}
public static double[] getResults(double radius)
{
double radiusObj = radius;
double volume = 1.33333333333 * Math.PI * Math.Pow(radiusObj, 3);
double surfaceArea = 4 * Math.PI * Math.Pow(radiusObj, 2) ;
double[] surfaceAndVolume = { volume, surfaceArea };
Console.WriteLine(volume.ToString());
Console.WriteLine(surfaceArea.ToString());
return surfaceAndVolume;
}
Java:
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
getResults(scanner.nextDouble());
}
public static double[] getResults(double radius)
{
double radiusObj = radius;
double volume = 1.33333333333 * Math.PI * Math.pow(radiusObj, 3);
double surfaceArea = 4 * Math.PI * Math.pow(radiusObj, 2) ;
double[] surfaceAndVolume = { volume, surfaceArea };
System.out.println(volume);
System.out.println(surfaceArea);
return surfaceAndVolume;
}
13 List five examples of functionality that can be added when using express
cards?
Answer:
This Answer Was Pasted Over From ayushisingh5
Explanation:
ExpressCards can connect a variety of devices to a computer including mobile broadband modems (sometimes called connect cards), IEEE 1394 (FireWire) connectors, USB connectors, Ethernet network ports, Serial ATA storage devices, solid-state drives, external enclosures for desktop-size PCI Express graphics cards and ...
help plz!!!!!!!!!! neeeeeeeeeeeeeeeeeeeeeeeeeeeeeedddddddddddd heeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeelllllllllppppppppppppppppppppppppppppppppppppppppppppppppppppppp
Answer:
how to those with other people is so good if you have
Answer:
for what what is your questions
What is the difference between a spreadsheet and word processing software?
Only one can calculate numeric data.
Only one can display graphs and charts.
Only one can organize data.
Only one can present text and numeric data.
Answer:
Only one can calculate numeric data.
Explanation:
Both spreadsheet and word processing software can display graphs and chats.
Both spreadsheet and word processing software can organize data through cells and tables respectively.
Both spreadsheet and word processing software can present text and numeric data.
Answer:
Only one can calculate numeric data.
Explanation:
Which kind of storage has a spinning platter?
magnetic hard disk
O server
O solid state hard disk
O cloud
Answer:
Magnetic hard disk
Explanation:
The type of storage that has a spinning platter is called MAGNETIC HARD DISK reason been that MAGNETIC HARD DISK are made up of one or more disks that are been covered with a magnetic coasting or magnetic material to help store information or data permanently on a desktop or a computer and lastly this type of disks help to read data and as well write and rewrite data.
Help very please??????
Answer:
Z = 100
C = 200
School = "Emirates American School"
print(Z,C,School)
x = 5
y = 5
output = (x == y)
print(output)
txt = "I study at {}"
print(txt.format(School))
print(School.upper())
what CSS properties will you need for your page
Answer:
border-radius.
box-shadow.
text-shadow.
text-stroke.
Multiple Backgrounds.
background-size.
text-overflow.
Flexible Box Model.
Explanation:
You need to be familiar with at least some of these kinds of CSS.
Look at the picture, list down the things you must do to make it more organize
Answer:
The electrical cable
Explanation:
The most dangerous is the electrical cable to be organised as much as you can as in case any damage or not double insulation could cause a harm to the people.
meaning of leanness in organization
Q1 To remove filter
Option1: Click the Filter option of the Sort & Filter button in the Editing group on the HOME
Option2: Click the Filter option in the Sort & Filter group on the DATA tab.
Option3: Both 1 and 2
Option4: Pres DELETE
Answer:
Click DATA, Look for "Sort & Filter", Click Filter Box (right above "Sort & Filter"). Done.
Answer:
add a picture pls
Explanation: