Answer:
this is python Suppose stuff
Explanation: easy
Consider the following code segment.
for (int k = 0; k < 4; k++)
{
/* missing loop header */
{
System.out.print(k);
}
System.out.println();
}
The code segment is intended to produce the following output.
0
11
222
3333
Which of the following can be used to replace /* missing loop header */ so that the code segment will work as intended?
a. for (int h = 0; h < k; h++)
b. for (int h = 1; h < k + 1; h++)
c. for (int h = 0; h < 3; h++)
d. for (int h = k; h >= 0; h--)
e. for (int h = k; h <= 0; h--)
Answer:
for (int h = k; h >= 0; h--)
Explanation:
From the list of given options, option C answers the question.
In the outer loop
Initially, k = 0
In the inner loop,
h = k = 0
The value of h will be printed once because h>=0 means 0>=0 and this implies once
To the outer loop
k = 1
The inner loop will always assume value of k;
So,
h = 1
This will be printed twice because of the condition h>=0 means 1>=0.
Since 1 and 0 are >=0; 1 will be printed twice
To the outer loop
k = 2
The inner loop
h = 2
This will be printed thrice because of the condition h>=0 means 2>=0.
Since 2, 1 and 0 are >=0; 2 will be printed thrice
To the outer loop
k = 3
The inner loop
h = 3
This will be printed four times because of the condition h>=0 means 3>=0.
Since 3, 2, 1 and 0 are >=0; 3 will be printed four times
Can someone tell me what to type up this is for my web page design class
Answer:
You have to write the HTML code as given instructions/design.
Write the below code in text file and save as test.html and run.
Explanation:
<html>
<head>
<title>
Storyboard Practice - Text Formatting
</title>
</head>
<body>
<center>
<h1>
Web Design Overview
</h1>
</center>
</body>
</html>
balance = 100
balance = ((1.05) * balance) + 100
balance = ((1.05) * balance) + 100
balance *= 1.05
print(round(balance, 2))
Answer:
huh?
Explanation:
A colon after a word in a search engine entry indicates:
A.the word is a command with a specific function.
B.the word should be excluded from the search.
C.the word MUST be included in all search results.
D.which type of logic system the search engine should use.
Answer:
The answer is A)
Explanation:
I got it right when i took the test.
A colon after a word in a search engine entry b: The word is a command with a specific function. Hence, option A is correct.
What is colon after a word?A colon is a punctuation mark that can be used to emphasize, indicate composition titles, start text lists, and start a sentence. Emphasis: Only a proper noun or the start of a full sentence should come before the first word following the colon. She had fallen head over heels for Western Michigan University.
A whole sentence almost always precedes a colon; the text that follows the colon may or may not be a simple list, another entire sentence, or even just a single word. Although it tends to be preferred in American language, a capital letter usually follows a colon in British usage.
Thus, option A is correct.
For more information about colon after a word, click here:
https://brainly.com/question/1246927
#SPJ5
John needs to create a presentation on programming languages. He begins with the earliest developed language. Which programming language
does John begin with?
A. machine language
B. assembly language
C. C++
D. Visual Basic
Answer:
Of the given choices, Assembly.
Explanation:
Assembly was one of the first fully flushed programming languages, built on paradigms built throughout the late 40's and early 50's.
FORTRAN however was the first programming language with a compiler.
A first-in first-out (FIFO) is a memory unit that stores information in such a manner that the item first in is the item first out. Show how a FIFO memory operates with three counters: a write counter WC that holds the address for the memory write operation; a read counter RCthat holds the address for the read operation; and an available storage counter ASC that indicates the number of items stored. ASC is incremented for every item stored and decremented for every item that is retrieved. The memory unit communicates with MAR and MBR.
Answer:
tews
Explanation:
In the ____ model, each computer in a network can act as a server for all the other computers, sharing files and access to devices.
Answer:
peer to peer
Explanation:
i just know
In a peer-to-peer model, each computer in a network can act as a server for all the other computers, sharing files and access to devices.
What do you mean by Computer Network?Computer Network may be defined as a type of system that significantly connects two or more computing devices with the intention of transmitting and sharing information with one another. In a more simple sense, there is an interconnection between computing devices.
In a peer-to-peer networking model, a group of computers are linked together with having equal responsibilities for the processing of data and information. Each computer is capable to initiate a command that has to be followed by the rest.
Therefore, in a peer-to-peer model, each computer in a network can act as a server for all the other computers, sharing files and access to devices.
To learn more about the peer-to-peer model, refer to the link:
https://brainly.com/question/9315259
#SPJ2
which of the following is an example of a technique used by a texture artist? A: Using multiple colors in a landscape B: Animating water to simulate rainfall C: Choosing hair color for a character D: Making concrete have a rough appearance
Answer:
A: Using multiple colors in a landscape I think
Explanation:
Answer:
I believe its D making concrete have rough appearances
Explanation:
color is not the texture artist job
Multiple Choice
Which discipline would you study to help a company have better tech support?
O information systems
O information technology
O computer engineering
O computer science
Answer:
information technology
Explanation:
correct on edge
The education discipline that helps in providing a company with technological support has been information technology. Thus, option B is correct.
What is tech support?Tech support has been the acronym for technological support. A company has been requiring the backend support that helps in resolving the issues related to the technical products.
The registered users can gain support for the products such as software, and the bugs can be resolved by the support team.
The support team has to deal with the problems related to the software and the technical bugs in the system that can be studied or solved with the knowledge of computer technology or information technology.
Thus, the discipline required for the tech support team is information technology. Hence, option B is correct.
Learn more about tech support, here:
https://brainly.com/question/21415070
#SPJ2
Making a Type I error means: _________.
a. We do not find enough evidence that there`s a difference in TV habits by gender for the class, when actually there is a difference.
b. We find evidence that there`s a difference in TV habits by gender for the class. There is a difference in TV habits by gender.
c. We do not find enough evidence that there`s a difference in TV habits by gender for the class.
d. We find evidence that there`s a difference in TV habits by gender for the class, when there is actually no difference. There is no difference in TV habits by gender.
Answer:
d.
Explanation:
Making a Type I error means we find evidence that there`s a difference in TV habits by gender for the class when there is actually no difference. There is no difference in TV habits by gender. Type 1 errors are usually seen in statistical hypothesis testing and refer to accepting a conclusion that only occurred due to lucky circumstances but are not factually correct and will likely not happen again, the same applies for the opposite where a conclusion is rejected due to an unlikely circumstance when in actuality it is a correct conclusion.
Define an average function that takes 4 arguments, calculates the average of the 4 numbers passed to it, and returns the result back to the caller. Capture the 4 values from the user in main() and pass them to the function average. Call the average function from main. Print the results returned in the main function. Call the average function three more times with three more sets of four numbers and return the results back to the caller. Save the return values in variables in main(). Pass all four return values saved in main() back to the average function as arguments to calculate the average of the averages and return the result to main() which will print the final result ( average of the averages).
Answer:
ok so basically 3 x 9 is 278
Explanation:
ok so basically 3 x 9 is 278
in the evolution of the internet which event occurred most recently ?
Answer:
The real answer is: Web 2.0 replaced the World Wide Web.
Explanation:
a p e x
The World Wide Web was succeeded by Web 2.0, which is often referred to as the internet and was the most recent development.
What is Web 2.0?Websites that emphasize user-generated content, usability, participatory culture, and interoperability for end users are known as “Web 2.0” sites.
On the internet, the greater user interaction and cooperation, more ubiquitous network connectivity, and improved communication channels are characteristics of web 2.0.
Darcy DiNucci initially used the phrase in 1999, while Tim O'Reilly and Dale Dougherty popularized it in late 2004 at the inaugural Web 2.0 Conference. A Web 2.0 website enables on the internet users to communicate and work together as co-creators of user-generated content in a virtual community through social media discussion.
Therefore, it is Web 2.0.
To learn more about the internet, refer to:
https://brainly.com/question/13308791
#SPJ6
fill in the blanks – the icons mean arranging them in a proper sequence
What are three steps to use to research relevant information on the internet? (Site 1)
Answer:
Step 1: Questioning --- Before going on the Internet, students should structure their questions. Step 2: Planning --- Students should develop a search strategy with a list of sites to investigate. Step 3: Gathering --- Students use the Web to collect and gather information.
Explanation:
there i did it for you can I get brainlyest
Answer:
Step 1: Questioning --- Before going on the Internet, students should structure their questions. Step 2: Planning --- Students should develop a search strategy with a list of sites to investigate. Step 3: Gathering --- Students use the Web to collect and gather information.
Explanation:
We may think of relationships in the E/R model as having keys, just as entity sets do. Let R be a relationship among the entity sets E1, E2, …,En. Then a key for R is a set K of attributes chosen from the attributes of E1, E2,…, En such that if (e1,e2,…,en) and (f1,f2,…,fn) are two different tuples in the relationship set for R, then it is not possible that these tuples agree in all the attributes of K. Now, suppose n=2; that is, R is a binary relationship. Also, for each I, let Ki be a set of attributes that is a key for entity set Ei. In terms of E1 and E2, give a smallest possible key for R under the assumption that:_________.1. R is many-many
2. R is many-one from E1 to E2.
3. R is many-one from E2 to E1.
4. R is one-one.
Explanation:
1
R is many - many;
in this case we have that E1 is not what should be used to determine E2 and in this same way, W2 is not what should determine E1. So non of these can be a key on its own.
2.
R is many-one from E1 to E2
in this case there are 2 tuples (f1,f2) and (e1,e2) which have to be the same if they have the same key attribute for E1. All of them are the same so all the pairs are the same.
3.
R is many-one from E2 to E1:
the explanation for this is is almost the same with that of b. we apply the same logic. since for all keys, all pairs and sets are the same.
4.
R is one-one:
E1 is what determines E2 and likewise, E2 is what determines E1. irrespective of the key that is used, key K is going to the same value of n.
We need a program to calculate future cost of a loan taken by a user. The financial institution charges the following interest rates for loans. The user inputs are the amount of loan desired, the loan period (number of years), and the number of compounding per year. Your program should determine the interest rate based on the amount of the loan. Your program should calculate the future dollar amount of this loan. The total amount of interest at the end of the loan period. Your program should incorporate a looping structure so that the user could check out many loan scenarios. You need to determine how to stop the loop. Interest rate schedule is per following schedule: Loan < 10k rate = 2% 10k =
Answer:
Follows are the code to this question:
#include<iostream>//defining the header file
#include<cmath>//defining the header file
using namespace std;
int main() //defining main method
{
double p,a,r;//defining double variable
int n,t;//defining integer variable
bool flag = true;//defining bool variable flag
while(flag) //defining while loop for input value
{
cout<<"Enter Present Worth: ";//print message
cin>>p;//input value in p
cout<<"Enter number of compounding: ";//print message
cin>>n;//input value in n
cout<<"Enter Loan Period: ";//print message
cin>>t;//input value in t
if (p<10000)//defining if block that check principle value is graeter then 10000
{
r = 0.02;//defining r varaible that store 0.02 value
}
else if (p>=10000 && p<=50000)//defining else if that value of p is in 10000 to 50000
{
r = 0.05;//defining r varaible that store 0.05 value
}
else if (p>50000)//defining else if that value of p is in 50000
{
r = 0.07;//defining r varaible that store 0.07 value
}
a = p*pow((1 + r/((double)n)), n*t);//defining formula for calculate A
cout<<"\nInterest Rate of Loan: "<<r<<endl;//print r rate value
cout<<"Future Worth: $"<<a<<endl;//print A value
cout<<"Total Interest: $"<<(a-p)<<endl<<endl;//print total interest value
char c;//defining char variable c
cout<<"Do you want to check for more loans(Press 'Y' for yes, otherwise press any other key): ";//print message
cin>>c;//input char value
if (c!= 'Y' && c!= 'y')//define if block that check c value is not equal to y
flag = false;//use flag that hold value false
}
cout<<"Thank you!!!"<<endl;//print message
return 0;
}
Output:
please find the attched file.
Explanation:
In the code, inside the main method three double variables "p, a, and, r", two integer variable "n and t", a bool variable is defined, in which double variable "p, n, and t" is used to input the value from the user-end.
In the next step, a condition statement has used that check the p-value and set the value according to the "p" variable value.The formula is used that calculates the value and prints its value, and uses a char variable that takes input "y" for again run the code or input other value to exit the program.Which is smaller - 1 PB or 1,000 TB? *
1 PB
1,000 TB
O They're equal
PLEASE HELP 10points
Answer:
they are all equal
Explanation:
I did this before
Think about what your living room or bedroom will look like in 25 years. (One Paragraoh) Describe the technology and devices that will exist. Dream big, but be realistic. Who can guess the future?
Answer:
I think that there wont be much of a difference, other people might think there will be a big difference and get their hopes up. They will fail drastically multiple times. We will still be playing on our pcs at home or xbox. We will still have different varieties of xbox, video cards, ram, mother boards, and hard drives and all. Internet speeds will be through the roof.
Explanation:
in a company you are in charge of system maintainance. Justify with 5 reasons why your role is key
Answer:
As u are the in charge of system maintainance u have to maintain safety and security to the system.as the system maintainance is a very big role and u can say it is the key to ur company or to ur work.
Your program will choose a random 4 digit number as the secret number. Your program must prompt the user to enter a 4 digit number as their guess. The program will respond with a message indicating how many of the digits in the user's guess are the same as the digit in the same position in the secret number. For example, if the secret number is 3749, and the user's guess is 9753, then the program would respond with the message You matched 1, because only one of the digits (the 7) in the user's guess is the same as the digits in the same position in the secret number. The program will allow the user to continue to enter guesses until they guess the correct secret number. mere presente la memories more than more than After the user has entered the secret number, the programevill output a count of the total number of guesses the user took to find the secret number. Then the program will ask the user if they would like to play again. If the user answers "yes", then the program will choose another random 4 digit number and play continues as described above. Here's an example interaction (user input in bold): ----- MASTERMIND ----- Guess the 4 digit number! Guess 1: 0000 You matched 0 Guess 2: 1111 You matched 1 Guess 3: 1234 You matched 1 Guess 4: 2444 You matched 2 Guess 5: 1442 You matched 4 Congratulations! You guessed the right number in 5 guesses. Would you like to play again (yes/no)?
Answer:
Written in Python
import random
#randnum = str(random.randint(999, 9999))
tryagain = "Yes"
while tryagain == "Yes":
randnum = "1234"
trys = 1
guess = input("Guess: ")
count = 0
while not count == 4:
for i in range(0,4):
if randnum[i] == guess[i]:
count = count + 1
if not count == 4:
print("You match "+str(count))
guess = input("Guess: ")
trys = trys + 1
else:
print("Congratulations, you match at "+str(trys))
trys = 1
tryagain = input("Start? (Yes/No): ")
Explanation:
I've added the full source code as an attachment where I used comments as explanation
what type of model does the Web use?
Answer:
Microsoft, Firefox, Google, and Office onenote webisite
Explanation:
cause they are a model
Who could vote in the first democracy?
A.
Everyone
B.
Citizens
C.
Adults
D.
Women
Correct Answer: citizens
3.24 LAB: Seasons
Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month and an int to represent the day.
Ex: If the input is:
April 11
the output is:
Spring
In addition, check if the string and int are valid (an actual month and day).
Ex: If the input is:
Blue 65
the output is:
Invalid
The dates for each season are:
Spring: March 20 - June 20
Summer: June 21 - September 21
Autumn: September 22 - December 20
Winter: December 21 - March 19
270738.1591718
import java.util.Scanner;
public class LabProgram {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
int inputYear;
boolean isLeapYear;
isLeapYear = false;
inputYear = scnr.nextInt();
/* Type your code here. */
}
}
Answer:
Seasons Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month and an int to represent the day. Ex: If the input is: April 11 the output is: Spring In addition, check if the string and int are valid (an actual month and day). Ex: If the input is: Blue 65 the output is: Invalid Invalid The dates for each season are: Spring: March 20 - June 20 Summer: June 21 - September 21 Autumn: September 22 - December 20 Winter: December 21 - March 19 LAB ACTIVITY 3.24.1: LAB: Seasons 0/10 main.cpp Load default template... 1 #include eam> 2 #include <string> 3 using namespace std; 4 5 int main() 6 string inputMonth; 7 int inputDay; 8 9 cin >> inputMonth; 10 cin >> inputDay; 11 12 /* Type your code here. */ 13 14 return; 15 }
What is a browser?
software that enables individual computers to access Web sites on the World Wide Web through a graphical user interface
text that contains hyperlinks, which are connections to other data such as documents or web pages
a service that is available over the Internet
another term for web-based applications
Answer:
software that enables individual computers to access Web sites on the World Wide Web through a graphical user interface
Explanation:
Answer:
software that enables individual computers to access Web sites on the World Wide Web through a graphical user interface
Explanation:
A friend of yours is analyzing data collected on the response time to emergency calls. They are unsure about statis have asked for your advice:
Friend: I have got data on the response time to emergency calls for a random sample of 60 emergency responses. I've been asked to report some numbers to describe the center and spread of this data. Apparently there are several ways to do that and I am unsure which method I should use. I've looked at the data and it seems that the response times are fairly evenly spread around a time of 5 minutes. How should I best report the center and spread of this data?
You respond to your friend saying that, in this case, it is best to report the:____.
a. mean, minimum and maximum values.
b. median and interquartile range.
c. mean and standard deviation.
d. variance.
e. mode and range.
f. mean only.
Answer:
c. mean and standard deviation.
Explanation:
You respond to your friend saying that, in this case, it is best to report the mean and standard deviation. The mean will provide the best representation of the average based on the data that is provided. Meaning that response time that occurs the most often from all the data that was provided. While the standard deviation tells us, by how much the rest of the data is separated from the calculated average value.
New trends and tools are continuously emerging in the field of digital media. Discuss the advantages of these trends and tools for a digital media professional.
Answer:
There are multiple ways of being recognized and known, if new trends are emerging, people will try and get the most out of it so they can be recognized. Another reason is that people can try new things, it could be a new hobby, a new liking or just something they might want to share meaning it gets more attention
Explanation:
What would you do if you noticed a glass bottle of apple juice fell from a shelf and spilled in the aisle? What steps would you take to make sure no one got hurt?
answer/Explanation:
I would first put up a caution sign about the floor being wet. I would then carefully pick up the broken bottle. I would then mop up the spilled juice and make sure I had swept up all the tiny pieces of glass. I would leave the caution sign up while the floor was drying so that customers would know to be careful while walking down that aisle.
Write an application that displays every perfect number from 1 through 1,000. A perfect number is one that equals the sum of all the numbers that divide evenly into it. For example, 6 is perfect because 1, 2, and 3 divide evenly into it, and their sum is 6; however, 12 is not a perfect number because 1, 2, 3, 4, and 6 divide evenly into it, and their sum is greater than 12.
Answer:
Written in Python
for num in range(1,1001):
sum=0
for j in range(1,num+1):
if num%j==0:
sum = sum + j
if num == sum:
print(str(num)+" is a perfect number")
Explanation:
This line gets the range from 1 to 1000
for num in range(1,1001):
This line initializes sum to 0 for each number 1 to 1000
sum=0
This line gets the divisor for each number 1 to 1000
for j in range(1,num+1):
This following if condition line checks for divisor of each number
if num%j==0:
sum = sum + j
The following if condition checks for perfect number
if num == sum:
print(str(num)+" is a perfect number")
The K-Means algorithm terminates when:_______
a. a user-defined minimum value for the summation of squared error differences between instances and their corresponding cluster center is seen.
b. the cluster centers for the current iteration are identical to the cluster centers for the previous iteration.
c. the number of instances in each cluster for the current iteration is identical to the number of instances in each cluster of the previous iteration.
d. the number of clusters formed for the current iteration is identical to the number of clusters formed in the previous iteration.
Answer:
b. the cluster centers for the current iteration are identical to the cluster centers for the previous iteration.
Explanation:
K-mean algorithm is one of the mot widely used algorithm for partitioning into groups of k clusters. This is done by partitioning observations into clusters which are similar to each other. When using k-mean algorithm, each of the different clusters are represented by their centroid and each point are placed only in clusters in which the point is close to cluster centroid.
The K-Means algorithm terminates when the cluster centers for the current iteration are identical to the cluster centers for the previous iteration.
The K-Means algorithm terminates when:_
B. the cluster centers for the current iteration are identical to the cluster centers for the previous iteration.
According to the given question, we are asked to show when the K-Means algorithm terminates and the conditions which must be observed before this happens.
As a result of this, we can see that the K-mean algorithm has to do with dividing and organising k clusters of data which have similarities to each other and are denoted by a centroid.
With this in mind, we can see that the algorithm terminates when the cluster centers for the current iteration are identical to the cluster centers for the previous iteration.
Therefore, the correct answer is option B
Read more here:
https://brainly.com/question/15016224
Which one of these stores more data than a DVD ?
Floppy
CD Rom
Blue Ray Disk
Red Ray Disk
Submit
Answer:
Blue Ray Disk
Explanation: