The error in this program above is that All the blocks should be in one connected stack to function.
What are the errors in a program?In the act of developing a programs there are some kinds of error that can take place such as syntax errors, logic errors and others.
Note that in the program above, The error in this program above is that All the blocks should be in one connected stack to function and thus there is an error.
Learn more about program from
https://brainly.com/question/1538272
#SPJ1
On September 1, Year 1, a company paid an $21,600 premium on a 36-month insurance policy for coverage beginning on that date. Refer to that policy and fill in the blanks in the following table.
Coverage is a prison agreement between the coverage company (the insurer) and the person(s), business, or entity being insured (the insured). Reading your coverage facilitates you to confirm that the coverage meets your desires and that you apprehend your and the coverage company's duties if a loss occurs.
Read more about the insurance:
https://brainly.com/question/25855858
#SPJ1
What data type does the in operator return?
[tex]\huge\red{Hi!}[/tex]
The Operator data type is any expression that is parsed and returns a value, such as tod() , gui() , rtecall() , = (comparison). An operator is a special symbol or function commonly used in expressions.
Write a program to convert kilometers/hr to miles/hr. The program should produce a table of 10 conversions, starting at 60 km/hr and incremented by 5 km/hr. The display should have appropriate headings and list each km/hr and its equivalent miles/hr value. Use the relationship that 1 kilometer = 0.6241 miles. Implement this program using the FOR loop. Sample output is given below: write a c++ programe Page 1 of 2 I KM per hour Miles per hour 60 37.4460 65 40.5665 70 43.6870 46.8075 80 49.9288 85 53.0485 90 56.1690 95 59.2895 100 62.4100 105 65.5305
Answer:
#include <iostream>
using namespace std;
int main()
{
float speed_in_km_per_hr = 60;
// Output table head
cout << "km/hr miles/hr." << endl;
for (int i = 0; i < 10; i++)
{
// Convert KM/hr to miles/hr
float speed_in_miles_per_hr = speed_in_km_per_hr * 0.6241;
// Output speeds
cout << speed_in_km_per_hr << " " << speed_in_miles_per_hr << endl;
// Increase by 5
speed_in_km_per_hr = speed_in_km_per_hr + 5;
}
return 0;
}
Explanation:
What is the output?
>>>import time
>>>time.localtime()
a. the number of seconds since the epoch
b. the user's time zone
c. the date
d. the time
e. the time-zone offset
It is a select all that apply type of question
Answer:
a. the number of seconds since the epoch
Explanation:
time.localtime(), returns the number of seconds since the epoch if no argument is passed oyherwise it return struct_time in local time if you pass in seconds since epoch
9.2.8 last names codehs
Using the knowledge of computational language in python it is possible to write a code that tries to organize the names in an assorted way and any name can be included.
Writing code in python:names_list = []
for i in range(0, 5):
names_list.append(input("Name: "))
sorted_last_names = sorted([name.split()[-1] for name in names_list])
print(sorted_last_names)
See moer about python at brainly.com/question/18502436
#SPJ1
The code __ will display the filename of the current workbook.
Which of these agents of education empowers the other..........
A. Family
B. SCHOOL
C. Media
D. Church
Answer:
B. school
Explanation:
Because the school is where you learn and gain knowledge
Which two extensions in scratch are correctly matched to their accessibility goals
A. Pen extension
B. Translate extension
C. Video sensing extension
D. Text to speech extension
Choose two answers
The two extensions in scratch are correctly matched to their accessibility goals Translate extension and Text to speech extension.
What are Scratch Extensions?Scratch extensions are known to be used in an interface with external hardware and information outside of the Scratch website via new blocks.
Note that The two extensions in scratch are correctly matched to their accessibility goals Translate extension and Text to speech extension.
Learn more about scratch from
https://brainly.com/question/25720264
#SPJ1
i need help someone please !!
Work samples can be printed or placed on the web and should be appropriate for the job you are appyling for.
What is a work sample?This is a sample such as a document that shows the interviewer the skills of the candidate to complete specific task. For example if the candidate is applying to a editor position, he/she can bring a sample of edition.
What are the characteristics of work samples?This should be done by the candidate.It should be relevant to the job applied.It can be online or printed.Learn more about sample in: https://brainly.com/question/11045407
#SPJ1
Copy and paste your code from the previous code practice. If you did not successfully complete it yet, please do that first before completing this code practice.
After your program has prompted the user for how many values should be in the array, generated those values, and printed the whole list, create and call a new function named sumArray. In this method, accept the array as the parameter. Inside, you should sum together all values and then return that value back to the original method call. Finally, print that sum of values.
The code practice illustrates the following concepts:
Arrays or ListsMethods or FunctionsThe program in PythonThe program written in Python, where comments are used to explain each action is as follows:
#This imports the random module
import random
#This defines the sumArray method
def sumArray(myList):
#This initializes the sum to 0
isum = 0
#This iterates through the list
for i in myList:
#This adds the array elements
isum+=i
#This returns the sum
return isum
#This gets the number of values
n = int(input("Number of values: "))
#This initializes the list
myList = []
#This iterates from 0 to n - 1
for i in range(n):
#This populates the list
myList.append(random.randint(0,100))
#This prints the list
print(myList)
#This calls the sumArray method
print(sumArray(myList))
Read more about Python programs at:
https://brainly.com/question/24833629
#SPJ1
Select the skill that matches the following definition.
treating others the way you want to be treated regardless of ethnicity, religion, gender, or orientation:
work ethic
integrity
respect
leadership
Answer: Respect
Explanation: Treat others with respect if you want to be treated with respect
What is the value of this expression:
‘there' == 'here'
Answer: undefined
Explanation:
just gonna answer it instead of it being a comment
The primary memory consists
.... and ...
a) Pendrive b) Hard Disk c) RA
d) Scanner e) ROM
Answer:
RAM and ROM
Explanation:
Primary memory is random access memory that a processor or computer accesses first or directly. It enables a processor to access running execution apps and services stored in a specified memory address.
Answer:
ROM and RAM (c And e)
I need help with some homework. I would like to know what is the easiest way to reach out.
A large global retail corporation has experienced a security breach, which includes personal data of employees and customers.
What would Accenture offer as the best solution to ensure enhanced security in the future?
The act that Accenture would offer as the best solution to ensure enhanced security in the future is Data Protection program.
What is Accenture about?In Keeping client data protected, Accenture’s Information Security Client is known to be well built up with Data Protection program that can help client teams with a good approach and the security controls, etc.
Therefore, The act that Accenture would offer as the best solution to ensure enhanced security in the future is Data Protection program.
Learn more about Accenture from
https://brainly.com/question/25682883
#SPJ1
PART 2 - Exercise 2 - Programming Assignment
Case study:
An event company asks you to design the data structure and program prototype for their running event system. The participant for the running event is expected to reach more than 1000 in various categories. You decided to use hashing function method to store the information for each participant's BIB number in the hash table.
To begin the problem solving, suppose that 10 registered runners need to be stored. The sample BIB number of the runners are: 101, 102, 103, 104, 107, 111, 121, 217, 157, and 185. Apart from BIB number, participant information also contains a name (string), category (int) -e.g., men open (1), women open (2)), and runtime (int). The default value for runtime is 0 (represent 0 minutes).
Suppose that a linked list is used as
a data structure for the hash table, create a program that a. Implement the hashing functions for this problem. You can accept up to 10 inputs from the user or read from a formatted text file of participant information.
b. Create the hashing function that will handle any collision as chaining.
c. Find a bib number and print out the information
d. Print out the content of the linked hash table.
Suppose that a linked list is used as a data structure for the hash table, create a program that includes steps his application counts the number of phrases in documents decided on via way of means of the user #include.
What is Programming?It is the manner of making hard and fast commands that inform a pc the way to carry out a task. Programming may be finished the usage of lots of pc programming languages, inclusive of JavaScript, Python, and C++.
This application counts the quantity of phrases in documents decided on via way of means of the user.#include #include #include the usage of namespace std; //Function 1 int count(string word)go back word.size();}//Function 2int vowel(string word)> filename;//Open the {input|enter">enter file.inputfile.open(filename.c_str()); cout<<"nWord listing after format";cout<<"n____nn"; //If the file succesfully opened, process it.if (inputfile).Read more about program :
https://brainly.com/question/1538272
#SPJ1
Manny has drafted an email message and configured a delivery option "Do not deliver before: 5:00 P.M. and today's date." He shuts down his computer and leaves for the day at 4:30 p.m. What will happen at 5 p.m.?
The message will be delivered from the server.
The message will be delivered from Manny’s computer.
The message will remain in Manny’s outbox until the computer is started and the Outlook program is started the next day.
The message will remain in Manny’s outbox until the computer is started, and he will be prompted to send.
In this scenario: C. the message will remain in Manny’s outbox until the computer is started and the Outlook program is started the next day.
What is Microsoft Outlook?Microsoft Outlook simply refers to an e-mail and task management software application that is designed and developed by Microsoft Inc., so as to avail end users an ability to send electronic messages, schedule and plan their work activities on a timely basis.
Based on the time schedule, what would happen is that: C. the message will remain in Manny’s outbox until the computer is started and the Outlook program is started the next day.
Read more on Microsoft Outlook here: https://brainly.com/question/1538272
#SPJ1
Write a for loop that displays the following numbers exactly like this (you must use a loop):
3 7 11 15 19
Hint: notice the pattern of the numbers
Answer:
I will use c++ for this...
#include <iostream>
using namespace std;
int main() {
int num = 0;
int curr = 0;
for (int i = 0; i<5; i++) {
num = 3 + curr;
cout << num << " ";
curr += 4;
}
}
public class Pyramid {
public static void main(String[] args) {\
int h = 7;
System.out.println("Pattern A");
for(int i = 1; i <= h; ++i)
{
for(int j = 1; j <= i; ++j) {
System.out.print("+");
}
System.out.println();
}
System.out.println();
System.out.println("Pattern B");
for (int i = 1; i<=h; ++i)
{
for(int j = h; j >=i; --j){
System.out.print("+");
}
System.out.println();
}
}
}
What is the trick in this code is using a nested for loop?The trick in this code is using a nested for loop
The outer for loop runs from i = 0 to the height of the triangle (in this case 7)
The inner for loop which prints the (+) sign runs from j = 0 to j<=i
It prints the + using the print() function and not println()
In the pattern B the loop is reversed to start from i = height
Time and space are examples of an infinite loop, but I would also include human life. The water cycle is an example of a while loop since it will continue as long as the earth and water do. But the planet Earth probably won't last forever.
For loop: As the previous commenter noted, someone who works hard every month would be regarded as a for loop.
To learn more about infinite loop ,for loops, while loops refer to:
brainly.com/question/13148070
#SPJ7
Determine whether the compound condition is True or False.
2 <3 and 5 <1
3 <3 or 1 ≤1
not (2 == 3)
The given compound conditions would be considered true or false as follows:
2 <3 and 5 <1 is false.3 <3 or 1 ≤1 is true.not (2 == 3) is true.How do you know if a statement is true or false?A statement is said to be true if what it shows is the case, and it is false if what it shows is not the case.
Based on what is given above, The given compound conditions would be considered true or false as follows:
2 <3 and 5 <1 is false.3 <3 or 1 ≤1 is true.not (2 == 3) is true.Learn more about 'Compound Condition' from:
https://brainly.com/question/18450679
#SPJ1
A diagram of a ten-node network that uses ten routers
The diagram of the of a ten-node network that uses ten routers is given in the image attached.
What is a node in a network?A network node is known to be be seen as the kind of connection point that is seen amidst some network devices such as routers, printers, etc.
Note that they are known to often receive and send data from one network or endpoint to another.
Therefore, The diagram of the of a ten-node network that uses ten routers is given in the image attached.
Learn more about routers from
https://brainly.com/question/24812743
#SPJ1
Which statement best describes how the programming layer of abstraction in
a computing system functions?
A. It processes data using switches.
B. It allows computers to make animations.
C. It provides an interface for users to input data.
D. It processes data to perform computations.
The statement that best describes how the programming layer of abstraction in a computing system functions is that It provides an interface for users to input data.
What is the abstraction about?In computer science, an abstraction layer is known to be full generalization of a kind of concept or algorithm, that is seen far from any particular implementation.
Note that generalizations is due to a lot of similarities that are best contained by models that shows similarities present in a lot of specific implementations.
Therefore, The statement that best describes how the programming layer of abstraction in a computing system functions is that It provides an interface for users to input data.
Learn more about abstraction from
https://brainly.com/question/7994244
#SPJ1
why charles babbage father of computer?
Answer:
Due to basic concepts of Computer.
Explanation:
Charles Babbage Gave the basic concepts of Computer ( input , process and output) and he also used it in his computer. so charles Babbage is father of computer science.
At a murder scene, you have started making an image of a computer’s drive. You’re in the back bedroom of the house, and a small fire has started in the kitchen. If the fire can’t be extinguished, you have only a few minutes to acquire data from a 10 GB hard disk. Discuss your options for preserving the data
To preserve data, If you've previously emptied the RAM and registry, you may simply disconnect the power from the rear of the PC and remove the drive from the case; otherwise, if you want to save the entire system, you can carry the entire case with you.
What is a hard disk?A hard disk drive or hard drive is a storage device that store data in an electronic device.
Thus, to preserve data, If you've previously emptied the RAM and registry, you may simply disconnect the power from the rear of the PC and remove the drive from the case; otherwise, if you want to save the entire system, you can carry the entire case with you.
Learn more about hard disk
https://brainly.com/question/14504942
#SPJ1
Write an if-else statement that determines whether the variable points is outside the range of 9 to 51. If points is outside the range,
"Invalid Points" should be displayed. Otherwise, "valid Points" should be displayed.
Answer: Using Python
Explanation:
num = int(input("Enter number > "))
if num in range (9, 52):
print("Valid Points")
else:
print("Invalid Points ")
The two types of Desktop Publisher (DTP) frames for entering information are ... and ...
Answer:
digital pages and virtual paper pages
The two types of Desktop Publisher (DTP) frames for entering information are digital pages and virtual paper pages.
What do you mean by Desktop publishing?Desktop publishing may be defined as the process of creating or manufacturing documents through the utilization of page layout software on a personal computer. It may be characterized as the utilization of personal computers in order to design books and booklets that are intended to be printed by inkjet or laser printers.
There are two types of pages that are used for the same intention of designing books, booklets, documents, etc. These pages are known as digital pages and virtual pages. Both these pages are used for specific functions in order to allow users, businesses, and other organizations, to self-publish a wide variety of content.
Therefore, digital pages and virtual pages are the two types of Desktop Publisher (DTP) frames that are used for entering information.
To learn more about Desktop publishing, refer to the link:
https://brainly.com/question/7221406
#SPJ2
1) What is Database? List its Uses.
Answer:
a database stores a large sum of data
Explanation:
its used to keep track of things like student names bank accounts and other things
What's good computing?
Answer:
1.Use passwords that can't be easily guessed, and protect your passwords.
2.Minimize storage of sensitive information.
3.Beware of scams.
4.Protect information when using the Internet and email.
5.Make sure your computer is protected with anti-virus and all necessary 6.security "patches" and updates.
7.Secure laptop computers and mobile devices at all times: Lock them up or carry them with you.
8.Shut down, lock, log off, or put your computer and other devices to sleep before leaving them unattended, and make sure they require a secure password to start up or wake-up.
9.Don't install or download unknown or unsolicited programs/apps.
Secure your area before leaving it unattended.
10.Make backup copies of files or data you are not willing to lose.
Explanation:
can u please help me solve this
Alice has twice as many pencils as Cara. Leon has three more pencils than Alice. The three children have a total of 58 pencils.
What are the no. of pencils?
The no. of pencils are there totally as the 11.
Read more about the basic maths:
https://brainly.com/question/19493296
#SPJ1
What effect have computers had on your life?
Answer:
they are both a pain and a help
Explanation:
Computers can and do make life easier with access to more things ,in a simpler way and they are necessary for the way we live but sometimes they can cause stress, maby from what is on them or even things as simple and the responsibility of having one. Personally I do think they are more helpful than a stress creator.
Which measure is best to use to avoid outliers from corrupting the average?
A measure which is best to use to avoid outliers from corrupting the average is: C. mode.
What is an outlier?An outlier can be defined as a numeral that is either unusually too small or large in comparison with the overall pattern of the numerals contained in a data set.
In Statistics, mode is a measure which is best to use to avoid outliers from corrupting the average because it takes into consideration the most frequently occurring numerals in a data set.
Read more on outlier here: brainly.com/question/10600607
#SPJ1