Answer:
To answer this question, i prepared a pseudocode and a program written in python;
Pseudocode begins here:
1. Start
2. Input montlySales
3. If monthlySales < 100000
3.1. Display Nothing
4. Else
4.1 Display “You earned a $5000 bonus!”
4.2 If monthlySales > 1.25 * 90000
4.2.1 Display “All employees get one day off!”
5. Stop
Python Program starts here (See attachment for proper view of the program):
#Prompt user for input
monthlySales = float(input("Monthly Sales: "))
#Check monthlySales
if monthlySales < 100000:
print("")
else:
print("You earned a $5,000 bonus")
if monthlySales > 1.25 * 90000:
print("All Employees get the day off")
Explanation:
To answer this question, a conditional if statement is needed.
The pseudocode (and the program) starts by prompting user for input;
Then, the user input is first compared with 100,000
If it's less than 100,000; then nothing is displayes
However, if it is at least 100,000
"You earned a $5,000 bonus" is displayed
It further checks if the user input is greater than 125% of 90,000
If yes, "All Employees get the day off" is displayed else, nothing is displayed.
The pseudocode (and the program) stops execution, afterwards
Answer:
B.
Explanation:
In Javascript, the if should have a condition attached to it with parenthesis and curly braces.
Answer:
Human visual behavior often includes searching, scanning, and monitoring.
While it should be possible to moderate the performance of these tasks based on the dimensions used in the table, it is often useful to analyze these situations using Signal Detection Theory (SDT).
Three suggestions for my favourite search engine that includes search are:
1. ensure that search results are graded according to the following categories using different colours:
These can help the users identify more easily the results to spend more time on. This categorisation can be done using colours. This is because of the way the eye functions. Unlike a camera snapshot, for example, the eye does not capture everything in a scene equally, but selectively picks out salient objects and features from the current context, and focuses on them so they can be processed in more detail.
2. Another suggestion is that attention needs to be paid to where people look most of the time. It is not out of place for people to instinctively avoid search results that have dollar signs or currency signs especially when they are not searching for a commercial item.
3. Lastly in displaying results that have images, it best to use sharp images. The theory suggests with respect to contrast, clarity and brightness that sharper and more distinct objects appear to be nearer, and duller objects appear to be farther away. To elicit the interest of the reader, targeted results or information from search engines must make use of the factors of contrast, clarity and brightness.
Cheers!
Answer:
See the table attached for complete solution to the problem.
Answer:
function Enlistee( name, number ){
constructor( ){
super( ) ;
this.name= name;
this.number= number;
this.Private= ( platoonNumber, yearOfService ) =>{
this.platoonNumber = platoonNumber;
this.yearOfService = yearOfService;
}
}
}
Explanation:
In Javascript, OOP ( object-oriented programming) just like in other object oriented programming languages, is used to create instance of a class object, which is a blueprint for a data structure.
Above is a class object called Enlistee and subclass "Private" with holds data of comrades enlisting in the military.
Answer:
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
double side, height;
cout<<"Enter the length of one of the sides of the base: ";
cin>>side;
cout<<"Enter the height: ";
cin>>height;
double area = side * side;
double volume = area * height / 3;
cout<<"The area of the base of the pyramid is: "<<area<<endl;
cout<<"The height of the pyramid is: "<<height<<endl;
cout<<"The volume of the pyramid is: "<<fixed<<setprecision(2)<<volume<<endl;
return 0;
}
Pseudocode:
Declare side, height
Get side
Get height
Set area = side * side
Set volume = area * height / 3
Print area
Print height
Print volume
Explanation:
Include <iomanip> to have two decimal places
Declare the side and height
Ask the user to enter side and height
Calculate the base area, multiply side by side
Calculate the volume using the given formula
Print area, height and volume (use fixed and setprecision(2) to have two decimal places)
On the Internet
In a home
In a hospital
Answer:
(b) On the Internet
Explanation:
Peer-to-Peer or P2P network is a networking technology that allows several network devices to share resources and exchange resources and directly communicate with each other.
In P2P network , all the computers and devices are part of the network are called as peer.
Peer-to-Peer is used to share processing power, network bandwidth or disk storage space. But most common use of peer-to-peer is sharing of files on internet.
Answer:
in a home is the correct answer