Answer:
algorithm
original = float(raw_input("Enter initial balance: "))
interest = float(raw_input("Enter promised return: "))
expenses = float(raw_input("Enter monthly expenses: "))
interest = interest / 100 / 12
month = 0
balance = original
if balance * interest - expenses >= 0:
print "You don't need to worry."
else:
while balance + balance * interest - expenses >= 0: # negation of the if condition
balance = balance + interest * balance # in one month
balance = balance - expenses
month = month + 1
print month, balance
print month / 12, "years and", month % 12, "months"
In multi-level inheritance one class inherits how many classes?
Answer:
Only one class
Explanation:
The classes will inherit only from one class. This will continue as each class inherits only one class. There should not be any class that inherits from two or more classes or which have more than one subclass.
Which statements reflect your experience with studying? Check all that apply.
Answer:
The end of an experience is a great time to reflect on your learning. With every research experience you will gain new skills, learn more about the type of environment you enjoy being in, further explore your strengths and interests, and test out your motivation to further study or pursue a career in a field or discipline.
Explanation:
HELP AS SOON AS YOU CAN!!! what word best describes an appropriate study area?
Answer:
Quiet
Explanation:
Really anywhere thats quiet you can just sit down and study. For example a library
C++
Set hasDigit to true if the 3-character passCode contains a digit.
#include
#include
#include
using namespace std;
int main() {
bool hasDigit;
string passCode;
hasDigit = false;
cin >> passCode;
/* Your solution goes here */
if (hasDigit) {
cout << "Has a digit." << endl;
}
else {
cout << "Has no digit." << endl;
}
return 0;
Answer:
Add this code the the /* Your solution goes here */ part of program:
for (int i=0; i<3; i++) { //iterates through the 3-character passCode
if (isdigit(passCode[i])) //uses isdigit() method to check if character is a digit
hasDigit = true; } //sets the value of hasDigit to true when the above if condition evaluates to true
Explanation:
Here is the complete program:
#include <iostream> //to use input output functions
using namespace std; // to identify objects like cin cout
int main() { // start of main function
bool hasDigit; // declares a bool type variable
string passCode; //declares a string type variable to store 3-character passcode
hasDigit = false; // sets the value of hasDigit as false initially
cin >> passCode; // reads the pass code from user
for (int i=0; i<3; i++) { //iterate through the 3 character pass code
if (isdigit(passCode[i])) // checks if any character of the 3-character passcode contains a digit
hasDigit = true; } //sets the value of hasDigit to true if the passcode contains a digit
if (hasDigit) { // if pass code has a digit
cout << "Has a digit." << endl;} //displays this message when passcode has a digit
else { //if pass code does not have a digit
cout << "Has no digit." << endl;} //displays this message when passcode does not have a digit
return 0;}
I will explain the program with an example. Lets say the user enters ab1 as passcode. Then the for loop works as follows:
At first iteration:
i = 0
i<3 is true because i=0
if (isdigit(passCode[i]) this if statement has a method isdigit which is passed the i-th character of passCode to check if that character is a digit. This condition evaluates to false because passCode[0] points to the first character of pass code i.e. a which is not a digit. So the value of i is incremented to 1
At second iteration:
i = 1
i<3 is true because i=1
if (isdigit(passCode[i]) this if statement has a method isdigit which is passed the i-th character of passCode to check if that character is a digit. This condition evaluates to false because passCode[1] points to the second character of pass code i.e. b which is not a digit. So the value of i is incremented to 1
At third iteration:
i = 2
i<3 is true because i=2
if (isdigit(passCode[i]) this if statement has a method isdigit which is passed the i-th character of passCode to check if that character is a digit. This condition evaluates to true because passCode[3] points to the third character of pass code i.e. 1 which is a digit. So the hasDigit = true; statement executes which set hasDigit to true.
Next, the loop breaks at i=3 because value of i is incremented to 1 and the condition i<3 becomes false.
Now the statement if (hasDigit) executes which checks if hasDigit holds. So the value of hasDigit is true hence the output of the program is:
Has a digit.
explain the evolution of computers
Answer:
vintage computers
Computers have changed drastically since the 1930s. AP
From the 1930s to today, the computer has changed dramatically.
The first modern computer was created in the 1930s and was called the Z1, which was followed by large machinery that took up entire rooms.
In the '60s, computers evolved from professional use to personal use, as the first personal computer was introduced to the public.
In the 1980s, Apple introduced its first computer, the Macintosh, and has dominated the computer industry ever since with laptops and tablets.
Visit Insider's homepage for more stories.
Although computers seem like a relatively modern invention, computing dates back to the early 1800s.
Throughout computing history, there has not been a lone inventor or a single first computer. The invention of the computer was incremental, with dozens of scientists and mathematicians building on their predecessors. The modern computer, however, can be traced back to the 1930s.
The 1930s marked the beginning of calculating machines, which were considered the first programmable computers.
computer in the 1930s
A calculating machine in the 1930s. AP
Konrad Zuse created what became known as the first programmable computer, the Z1, in 1936 in his parent's living room in Berlin. He assembled metal plates, pins, and old film, creating a machine that could easily add and subtract. Although his early models were destroyed in World War II, Zuse is credited with creating the first digital computer.
In the 1940s, computers took up entire rooms, like the ENIAC, which was once called a "mathematical robot."
computer room vintage
A computer room. AP
John Mauchly created the ENIAC during World War II to help the Army with ballistics analytics. The machine could calculate thousands of problems each second. The large-scale ENIAC weighed 30 tons and needed a 1,500-square-foot room to house the 40 cabinets, 6,000 switches, and 18,000 vacuum tubes that comprise the machine.
Some call this invention the beginning of the computer age.
In the 1950s, computers were strictly used for scientific and engineering research, like the JOHNNIAC, which was once described as a "helpful assistant" for mathematicians.
A man working at a computer in the '50s. AP
The JOHNNIAC was completed in 1954 and was used by RAND researchers. The massive machine weighed just over two tons with over 5,000 vacuum tubes. This early computer operated for 13 years or 51,349 hours before being dismantled.
In the 1960s, everything changed when the Programma 101 became the first desktop computer sold to the average consumer.
Programma 101. Pierce Fuller/ Wikimedia Commons
Up until 1965, computers were reserved for mathematicians and engineers in a lab setting. The Programma 101 changed everything, by offering the general public a desktop computer that anyone could use. The 65-pound machine was the size of a typewriter and had 37 keys and a printer built-in.
The Italian invention ushered in the idea of the personal computer that would last to this day.
As personal computers became popular in the 1970s, the Xerox Alto helped pave the way for Steve Jobs' Apple.
Xerox Alto. Francisco Antunes/ Flickr
The Xerox Alto was created in the '70s as a personal computer that could print documents and send emails. What was most notable about the computer was its design, which included a mouse, keyboard, and screen. This state-of-the-art design would later influence Apple designs in the following decade.
The Alto computers were also designed to be kid-friendly so that everyone — no matter the age — could operate a personal computer.
In the '80s, Apple's Macintosh was described as a game-changer for the computer industry.
The Macintosh. Raneko/ Flickr
When Steve Jobs introduced the first Macintosh computer in 1984, Consumer Reports called it a "dazzling display of technical wizardry." Like the Xerox Alto, the Macintosh had a keyboard, a mouse, and a small 9-inch screen. The computer — which weighed in at 22 pounds and cost $2,495 — was applauded for its interface of windows and icons.
this is very long chapter cannot be type here so please watch video regarding this or search it in Google. I would have definitely helped you but it is not possible to type and help you , it is so long chapter that it might consume 15 to 25 pages to explain it .
Don't think and take my suggestion negatively. I am really sorry.
What is the impedance mismatch problem? Which of the three programming
approaches minimizes this problem?
Answer:
The problem that created due to the difference in the model of programming language and the database model.
Explanation:
The practical relational model has three components which are as follows
1. Attributes
2. Datatypes
3. Tuples
To minimize this problem
1. We switch low pass L-Network to high pass L-network
2. We switch high pass L-Network to low pass L-network
3. We use the impedence matching transformer
How to chnage email adresss on slate from tophat?
Answer:
First visit the Tophat website on https://tophatblue.com.
To access and manage your Slate account on Slate:
Log in to the server with your username and password. Click your profile picture or your initials and select My Account and then select Profile.
Under the profile, you will see the following profile information: You can verify and edit them.
- Name
- Username
- Set a new password
To verify or edit your email address, click Email.
Upon verification of your email by the Slate server, a check appears alongside it.
Should you need another verification email, select the Verify email option.
Which of the following is not an advantage of a flowchart?
a) Better communication
b) Efficient coding
c) Systematic testing
d) Improper documentation
Answer:
d) Improper documentation
Explanation:
A flowchart is a type of diagram in which it presents the flow of the work or how the process is to be followed. It is a diagram that represents an algorithm that defines step by step approach to solving the task. In this, there are various boxes that are linked with the arrows
There are various advantages like in this, there is a better communication, coding is to be done in an efficient way, system could be tested also there is a proper documentation
hence, the correct option is d
Which of the following is not an advantage of a flowchart?
a) Better communication
b) Efficient coding
c) Systematic testing
d) Improper documentationCompare and contrast two fundamental security design principles. Analyze how these principles and how they impact an organizations security posture.
Answer: D
The Ruined Man Who Became Rich Again Through a Dream
An adaptation of a story from 1,001 Arabian Nights
Once there lived in the city of Chongqing a very wealthy man who lost all his belongings and his treasures and became very poor. He was so poor that he could only earn his living by laboring day and night. One night, extremely late, he lay down to rest. He was exhausted, dejected, and sick at heart. He fell into a deep sleep and dreamt that a wise old soul came to him and said, "Your fortune is in the city of Beijing; go there and seek it."
The next day, he set out for Beijing. He arrived there deep into the night and he lay down to sleep for a bit in a hostel. Presently, as fate would have it, a company of thieves entered the hostel. They made their way into the house that adjoined the hostel. Soon, the people of the house, aroused by the noise, awoke and cried out, "thieves, thieves!" An alarm was raised and the chief of the police came to their aid with his officers. The robbers made off; but the police entered the hostel and found the man from Chongqing asleep there. They cast him into prison, where they kept him for three days. The chief of police sent for him and said, "Where did you come from?"
"From Chongqing," whispered the man.
"And what brought you to Beijing?" asked the chief.
"I saw in a dream an old soul who said to me, 'Thy fortune is at Beijing; go there at once to find it.' But, when I came here, the fortune that I was promised proved to be an arrest and a jail stay."
The chief of the police laughed until he showed his white, wide, broad teeth. He said to the man from Chongqing, "O man of little wit! Three times have I seen an old soul in a dream who said to me, 'There is a fashionable house in Chongqing, with a fountain in the front garden. Under the fountain there is buried treasure— a great sum of money. Go there and take it.' Of course I did not go. You, on the other hand, you of little wit, have journeyed from place to place, on the faith of a dream, which was but an illusion of sleep."
Then the chief of police gave the man from Chongqing money, saying, "This is to help you get back to your native land."
Now, the house that the chief described was the man's very own house in Chongqing! When he traveled home, he immediately dug underneath the fountain in his garden and discovered a great treasure! He received an abundant fortune in his own yard!
Which of these events from the story best shows the conflict?
The next day, he set out for Beijing.
Soon, the people of the house, aroused by the noise, awoke and cried out, "thieves, thieves!"
The robbers made off; but the police entered the hostel and found the man from Chongqing asleep there.
The chief of the police laughed until he showed his white, wide, broad teeth.Explanation:
Answer:
Explanation:
A way of making a tree diagram is through the use of fundamental counting principle.A fundamental counting principle is a much easier way of finding the possible outcomes in a sample space.The two ways has the same outcome.The difference is that it’s easier to find the possible outcomes in a sample space using the fundamental counting principle compared to the tree diagram.
During the Inspect and Adapt event, how are reflection, data collection, problem solving, and identification of improvement actions used?
Hello. This question is incomplete. The full question is:
During the Inspect and Adapt event, how are a reflection, data collection, problem-solving, and identification of improvement actions used?
a. To help the team bond and work more efficiently together
b. To enhance and improve the innovation and planning processes
c. To evalutate better implementation steps
d. To increase the quality and reliability of the next PI
Answer:
d. To increase the quality and reliability of the next PI
Explanation:
During the event Inspect and adapt, reflection, data collection, problem solving and identification of improvement actions are used to increase the quality and reliability of the next IP. This allows the organization and establishment of a high quality IP with considerable efficiency that will allow a good functioning of the system and the optimization of its reliability, because it allows possible problems to be located and resolved quickly, leaving the exit free and functional.
Where must virtualization be enabled for VM (virtual machine) software to work?
a) Windows Control Panel
b) BIOS/UEFI
c) TPM Chip
d) Jumper
Answer:
b) BIOS/UEFI
Explanation:
Virtualization can be defined as a technique used for the creation of a virtual platform such as a storage device, operating system, server, desktop, infrastructure or computing resources so as to enable the sharing of resources among multiple end users. Virtualization is usually implemented on a computer which is referred to as the "host" machine.
Generally, virtualization must be enabled in the BIOS/UEFI for VM (virtual machine) software to work.
BIOS is an acronym for Basic Input/Output System while UEFI is an acronym for Unified Extensible Firmware Interface. BIOS/UEFI are low-level software that serves as an intermediary between the operating systems and the computer's firmware or hardware components. The UEFI is actually an improvement of the BIOS and as such is a modernized software.
Basically, the BIOS/UEFI is a software which is an essential tool or feature which must be enabled to link the virtual machine with the hardware components of the computer.
definition of asymptotic analysis
What are the four principal services provided by S/MIME?
Answer:
Explanation:
Secure/Multipurpose Internet Mail Extensions, is a technology that permits you to encrypt your emails. S/MIME is based on asymmetric cryptography to protect your emails from unauthorized access. It also allows you to digitally sign your emails to verify you as the legitimate sender of the message, making it an effective weapon against many phishing attacks.
The four principal services presented by S/mime includes ;
Authentication, Non-repudiation of origin utilizing digital signatures, Message Integrity and message Privacy.
Principles act as a guard in any system. The four principal services offered by S/MIME are authentication, non-repudiation of origin, message integrity, and message privacy.
S/MIME are known to carry out cryptographic security services for electronic messaging applications. Their functions includes;
Authentication. Message integrity. Non-repudiation of origin (using digital signatures) Privacy etc.They make sure that an email message is sent by an authentic sender and gives encryption for incoming and outgoing messages.
Learn more from
https://brainly.com/question/14316095
In real-world environments, risks and their direct consequences will most likely span across several domains. However, you selected only the domain that would be most affected. What was the primary domain impacted by the risk, threat, and vulnerability?
Answer: LAN to WAN domain
Explanation:
The following are the common threats to LAN to WAN domain:
Unauthorized port scanning.
Unauthorized probing.
The vulnerability of operating system, internet protocol, router, and firewall.
Vulnerable to malicious attacks.
Vulnerable to denial of service attack.
Vulnerable to network trafficking.
Vulnerable to theft of information and data.
Remote data gets compromised.
What file format can excel save files as
Answer:
.xlxs
but it supports pretty much any spreadsheet format.
1.1.5 practice: analyzing business culture
a. Recall what you have learned about positive culture and business practices in this lesson. With an
understanding that some things must change with company X, discuss ways in which Company X can
still focus on making changes but also focus on keeping positive culture practices while these changes
are being made. (1 point)
Answer:
A positive culture is an advantage when changes need to be made in the company. Making organisational changes and maintaining a positive culture a mutually complementary rather than mutually exclusive.
In a positive culture environment, people are happy and feel valued. When people feel happy and valued, it makes it easy for management to garner their buy-in cooperation when changes need to be made within the business.
In a culture that is negative, people don't feel valued and as such are always after their own interest rather than that of the company. There is also a tendency to always be on the defensive side of any change that is about to come looking out for one's self rather than what is best for the collective good. In this case, staff are much likely to sabotage new initiatives and changes rather than work to actuate them.
The obverse is true for a business with a positive culture.
Cheers!
Write a c ++ program that reads unknown number of integers from the user and stores them into a vector. The user will indicate the end of numbers by entering a 0. The program should then print out these numbers in reverse order.
Answer:
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> numberlist;
int number;
while (1) {
cout << "Enter a number: ";
cin >> number;
if (number == 0) break;
numberlist.push_back(number);
};
reverse(numberlist.begin(), numberlist.end());
for (int number : numberlist) {
cout << number << " ";
}
return 0;
}
Explanation:
There is a built-in function to reverse the contents of a vector.
which of these outcomes become more likely for someone with strong personal finance skills
Answer:
give me the outcomes
Explanation:
be a banker if thats your skill
A friend is having a problem with keeping a fish tank at the right temperature so the fish stay healthy. Describe how you could use at least one type of input and one type of output to create a physical computing device to help this friend.
Answer:
water temperature gauge sensor
Explanation:
We can connect a temperature sensor connected to the water and a heater or cooler sensor, we have created a program to check the temperature from the sensor. when the water is hotter than recommended, we turn on the refrigerator and when it is cold, we turn on the heaterso correct answer is water temperature gauge sensor
Which OS function does a CLI fulfill? A User interface B Running applications C Hardware interface D Booting
Answer:
User Interface
Explanation:
The function of OS in the CLI is to form the user interface. Thus, option A is correct.
What is Command Line Interface (CLI)?The command line interface is given as the application interface that has been used for the purpose of running the program, managing the files, and interacting with the computer system.
The operating system (OS) in the CLI performs the major function of following the link with the interface between the system and the user. Therefore, the function of OS in CLI is the user interface. Thus, option A is correct.
Learn more about the command-line interface, here:
https://brainly.com/question/14298740
#SPJ2
A business would use a website analytics tool for all of the following EXCEPT _____.
A. viewing the number of pages a person visited
B. viewing the number of new and returning visitors
C. viewing why someone visited your webpage
D. deciding when to increase bandwidth
Answer:
C. viewing why someone visited your webpage
Explanation:
Website analysis often referred to as Web analytics is a term that is used to describe a form of website distribution, activity, and proportion relating to its performance and functionality.
Some of the things Web analytics does include the following:
1. measures the number of pages a user or visitor viewed or assessed
2. counts the number of new and returning visitors
3. helps website administrator to know when to increase bandwidth
Hence, in this case, the correct answer is option C. viewing why someone visited your webpage
Assume for arithmetic, load/store and branch instructions a process has CPIs of 1.3, 14.9 and 5.4. On 1 processor the program will require 3*10^9 arithmetic instructions, 1.6*10^9 load/store instructions and 2*10^6 branch instructions. Assume that the processor has a 7GHz clock frequency. Assume that, as the program is parallelized to run over multiple cores, the number of arithmetic and load/store instructions per processor is divided by 0.7 x p (where p is the number of processors) but the number of branch instructions per processor remains the same. If there are 6 processors, what's the total execution time in milliseconds (you'll need to multiply your answer by 1000) (Your answer should a WHOLE NUMBER round up from 0.5, round down otherwise)
Answer:
the answer is the middle of a butt whole
Explanation:
Sanjay is giving a slideshow presentation on his entire college class and he is feeling quite nervous in order to share his presentation with the class he is trying to connect a cable from his computer to the larger video output screen but Sanjay his hands are shaking so badly from nerves that he is having trouble plug in the cable until what part of his computer the port the disk drive the cabling the hard disk Drive
What happens when convergence on a routed network occurs?
Answer:
Convergence. When a change occurs in your network topology, routing tables have to be updated. Each router will send out the contents of its routing tables to other routers. This exchange of information will happen until all routers have updated their routing tables to reflect to new network topology.
Here is source code of the Python Program to multiply all the items in a dictionary. The program output is also shown below.d={'A':10,'B':10,'C':239}tot=1for i in d: tot=tot*d[i]print(tot)
Answer:
Following are the output to this question:
Output:
23900
please find the code in the attachment file.
Explanation:
In the above-given Python code, a dictionary "d" is defined, that holds key and values, in the next step, the "tot" an integer variable is defined, that holds a value "1".
In the next step, for loop is defined, that uses the "tot" variable to multiply the dictionary value and store its value.
Outside the loop, the print method is used, that prints its values.
Technologies designed to replace operating systems and services when they fail are called what?
Answer:
Bare metal recovery.
Explanation:
Technologies designed to replace operating systems and services when they fail are called bare metal recovery.
Basically, it is a software application or program which is primarily designed to enable users to reboot the affected system and services that have failed, usually from a removable media, CD-Rom using an image file of the operating system backup.
Which of the following can indicate what careers will be enjoyable ?
Answer: c. Interests
Explanation:
A person's interests are things that they love to do because they find those things to be enjoyable for example, gaming, writing or travelling.
To find out what careers a person would find enjoyable therefore, the interests can be looked at because if the person enjoy doing those things without it even being a job then they would probably enjoy those things in a career setting as well. For instance a person who enjoys writing would probably find a career in jornalism to be enjoyable.
What is the purpose of testing a program with sample data or input?
Answer:
testing to make sure that the program is functioning as intended
Explanation:
Sample Data, Test Data, or Inputs are all used with the main purpose of testing to make sure that the program is functioning as intended. The "sample data" needs to provide a very specific output value when inserted into the program. This output value is already known beforehand, therefore if the program outputs the correct "expected" value then the program is functioning correctly.
Which of the following is true about REST?
A- In REST architecture, a REST Server simply provides access to resources and REST client
accesses and presents the resources.
B- Each resource is identified by URIs/ global IDs.
C- REST uses various representations to represent a resource like text, JSON and XML.
D- All of the above.
Answer:
D
Explanation:
REST Server simply provides access to resources and REST client accesses and presents the resources. Therefore, the correct answer is option A.
A software architectural style called representational state transfer was developed to direct the planning and creation of the World Wide Web's physical structure. REST specifies a set of guidelines for how the Web's architecture a distributed hypermedia system operating at Internet scale should function.
Therefore, the correct answer is option A.
Learn more about the REST Server here:
https://brainly.com/question/32998271.
#SPJ4
Write, compile, and test a program named PersonalInfo that displays a person's name, birthdate, work phone number, and cell phone number.
Answer:
//import the necessary libraries
using System.IO;
using System;
//Begin class definition
class PersonalInfo
{
//Begin main method
static void Main()
{
//Declare all needed variables
string name;
string birthdate;
string workphonenumber;
string cellphonenumber;
//Prompt user to enter name
Console.WriteLine("Please enter your name");
//Receive the user name and store in the name variable
name = Console.ReadLine();
//Prompt the user to enter date of birth
Console.WriteLine("Please enter your birthday (dd/mm/yyyy)");
//Receive the user date of birth and store in the right variable
birthdate = Console.ReadLine();
//Prompt the user to enter work phone number
Console.WriteLine("Please enter your work phone number");
//Receive and store the user work phone number
workphonenumber = Console.ReadLine();
//Prompt the user to enter cell phone number
Console.WriteLine("Please enter your cell phone number");
//Receive and store the user cell phone number
cellphonenumber = Console.ReadLine();
//Now display the result
Console.WriteLine("========Your Info========");
Console.WriteLine("Name: {0} ", name);
Console.WriteLine("Date of birth: {0} ", birthdate);
Console.WriteLine("Work Phone Number: {0} ", workphonenumber);
Console.WriteLine("Cell Phone Number: {0} ", cellphonenumber);
}
}
Sample Output
Please enter your name
>>Omobowale
Please enter your birthday (dd/mm/yyyy)
>>19/05/1990
Please enter your work phone number
>>08022222222
Please enter your cell phone number
>>08033333333
========Your Info========
Name: Omobowale
Date of birth: 19/05/1990
Work Phone Number: 08022222222
Cell Phone Number: 08033333333
Explanation:
The code above has been written in C#. It contains comments explaining each line of the code. Kindly go through the comments. A sample output has also been provided.
Should you need the program file, please find it attached to this response.