4.8 Code Practice: Question 2

Answers

Answer 1

Answer:

for y in range(88, 43, -4):

   print(y, end=" ")

Explanation;

yw


Related Questions

Use the factorial operation to evaluate 4!.

24

1

4

10

Answers

Answer:

4! = 4 x 3 x 2 x 1

= 24

Answer is 24.

Answer:

24

Explanation:

EDGE 2022

Jack is using a document that has multiple references to his company as Company ABC, LLC. He would like to change these values to CompanyABC, LLC. What is the easiest way to do this?

Answers

Answer:

C. Press CTRL to access the Find and Replace dialog box.

Explanation:

yuh yuhuhu edge 2020 gang gang

Write a program to enter a number and test if it is greater than 45.6. If the number entered is greater than 45.6, the program needs to output the phrase Greater than 45.6.

Answers

Here is the solution. Let me know if you have any question

what is the meaning of .com in computer​

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The terms ".com" is the most common term that you see at the end of the domain name. This term is most widely used in computers and in websites. The dot com ".com" is a suffix and most common suffix in website addresses.

Furthermore, the term ".com" is short for a commercial for many educational, personal, profit, and non-profit websites. The reason behind using .com as a suffix in a website name is that it is most common and recognizable.

You can buy a website domain with dot com ".com" suffix from many website hosting companies. The companies that using dot com in their website name they are mostly doing business on the internet.

what is the difference between MAC address and IP address?
Thanks in advance

Answers

Answer:

MAC Address ensure that physical address of the computer is unique.

IP Address is a logical address of the computer and is used to uniquely locate computer connected via a network.

4.9 Code Practice: Question 2
Instructions
Write code using the range function to add up the series 20, 30, 40, ... 90 and print the resulting sum each step along the way.

Expected Output
20
50
90
140
200
270
350
440

Answers

total = 0

for x in range(20,91,10):

   total += x

   print(total)

I hope this helps!

Answer:

sum = 0

for i in range (20, 91, 10):

  sum += i

  print(sum)

If you draw strength from video games, how?

Answers

Answer:

I really dont know

Explanation:

Thank u for the pts tho < :)


Help me please I need the correct answe

Answers

Pretty much, yeah.

if it's wrong just pick false.

Do you think the fact that the cyclist has raised nearly half a billion dollars for a cancer foundation makes what he did any less immoral? Should his sponsors have considered this fact before pulling their contracts with him? Explain your answers.

Answers

Answer:

1. No, I do not think that the fact that the cyclist raised nearly half a billion dollars for a cancer foundation made what he did less immoral.

2. No. The sponsors were right in not considering this fact before pulling their contracts with him.

(Find the Explanations below)

Explanation:

Lance Armstrong is a Cyclist who suffered cancer at the young age of twenty. He survived the ordeal and went ahead to form a foundation known as the Livestrong Foundation which helped cancer patients obtain medical help. He was accused of doping by the United States Anti-doping agency. This led to the withdrawal of sponsorships by several organizations.

1. The fact that the cyclist fought a good cause by raising millions of dollars to fight cancer, does not make what he did any less immoral because it was his fame and the supposed integrity that he possessed that first attracted the recognition and sponsorships to him. Engaging in an illegal act to win his games and stay on top was morally wrong and it corrupted the trust that was placed in him. His career as a cyclist was the base that gave him his voice.

2. The sponsors should not have considered the fact that he raised a lot of money for the cancer cause because the wrong act of engaging in doping was morally wrong, and if the spnsors remained with him, it would be as if they supported this act. Not withdrawing their sponsorships, would also tarnish the image of the organizations.

What does a file association specify?
A) the software needed to open a file

B) the file’s author

C) the file’s directory path

D) a list of related files

Answers

Answer:

A) the software needed to open a file

Explanation:

The software needed to open a file is specified by file association. Option A is correct.

What is the file association?

A file association in computing links a file with an application that may open it. A file association more frequently links a group of files to the appropriate program. The file association identifies the program required to open a file.

The practice of capitalizing the first letter of each word in a name. Specifies the program that the Windows operating system should use to open the file. Windows' method of associating a program name extension with a file name.

Under this, Extensions are crucial since they inform the computer about the file's icon and the program that may open it. Like, a file with the extension “doc” indicates to your computer that it is a Microsoft Word file.

Therefore, option A is correct.

Learn more about the file association, refer to:

https://brainly.com/question/14287892

#SPJ2

The most commonly used auxiliary storage device(s) is/ are _____.
a.
floppies and tapes
b.
a filing cabinet
c.
hard disks and floppies
d.
tapes and hard disks

Answers

Answer: A

Explanation:

Taylor needs to remove the text to the left of his cursor. Which of the following keys should he press?

Answers

Answer:

bacspace not delete

Explanation:

delete erases on the right not left

Backspace he should press to remove the text to the left of his cursor.

What is cursor?

A cursor is an indicator used in computer user interfaces to show the current position for user interaction on a computer monitor or other display device that responds to input from a text input or pointing device. Because of its usage resemblance to a pointing stick, the mouse cursor is also known as a pointer. Cursor is a Latin word that means "runner." The transparent slide engraved with a hairline that is used to mark a point on a slide rule is known as a cursor. By example, the word was later transferred to computers. On November 14, 1963, while attending a computer graphics conference in Reno, Nevada, Douglas Engelbart of the Augmentation Research Center (ARC) expressed his desire to pursue his goal of developing both software and hardware computer technology to "augment" human intelligence by pondering how and where to adapt the underlying principles of the planimeter to inputting X- and Y-coordinate data.

To learn more about cursor
https://brainly.com/question/12406758

#SPJ2

Please I need 26 examples of hybrid search engines?

Answers

Answer:

Google, Bing, Yahoo, Yandex, Duck Duck Go!, Baidu, Ask, Naver, Alta Vista, Hotbot, AOL, AllTheWeb, Exite, Mahalo.

Which statement about technology before the invention of the printing press is true?

Answers

Answer: See explanation

Explanation:

You didn't give the options to the question and I searched and couldn't find the particular question.

Here, are some of the things about technology before the invention of the printing press.

1. Before printing press, monks copied books such as bibles as they'll copy calligraphy and illustrations in order for them to spread the messages in the Bible across to people.

2. Before printing press, oral communication was the way that people communicated with each other.

3. Drawings and writings were done by hand before printing press.

4. Before the invention of printing press, in order to transcribe books, different materials that were used include wax, parchment, clay and papyrus.

anyone 13 i a boy 13 pan

Answers

Answer:

RATED- SUS

Explanation:

Question # 1
Multiple Select
You already now about some collections. Which of the following is a type of collection in Python? Select 2 options.

group

dataset

ordered set

list

deque

Answers

Answer:dataset

Explanation:

data set because it is kida a set

Answer:

A list, and a deque.

Explanation:

Why am i right? Because i am.. TRUST ME ITS RIGHT YW EVERYONE! :3

import java.util.Scanner;

public class PigLatin {
public static void main(String args[]) {
Scanner console =new Scanner(System.in);
System.out.println("Please enter a word");
String phrase=console.nextLine();

System.out.println(eachWord(phrase));
}

public static String eachWord(String phrase) {
String help[]=phrase.split(" ");

for(int i=0; i
if (help[i].charAt(0) == 'a'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'e'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'i'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'o'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'u'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'A'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'E'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'I'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'O'){
return help[i] + "-ay";
}
if (help[i].charAt(0) == 'U'){
return help[i] + "-ay";
}
else {
return help[i].substring(1)+"-"+help[i].charAt(0)+"ay";
}

}
return "aoujbfgaiubsgasdfasd";
}

I need help with this Pig Latin Program. I want to split the string so each word can run through the method eachWord. I don't know how to revamp this!

Answers

Answer:b

Explanation:

I took quiz

Answer:

uuuuuuuuuuhhm

Explanation:

CODE!

The amount of data that can be stored on a disk depends in part on_____.
a.
the number of tracks on the disk
b.
the thickness of the magnetic coating
c.
none of the above
d.
the rotational speed of the disk

Answers

to what it seems like, it’s d

//TO-DO: Fill in the Authors Name Here//TO-DO: Fill in the current date here//CS1428 Lab//Lab 10//Description: this program will find letter grades from 5 number grades#include using namespace std;double getAverage(double g[], const int SIZE){ double total = 0; for(int i = 0; i < SIZE; i++) { total += g[i]; } return total / SIZE;}void getGrades(double g[], const int SIZE){ cout << "Please enter 5 grades:" << endl; for(int i = 0; i < SIZE; i++) { cin >> g[i]; }}// TODO: Complete function definitionsint main(){ const int SIZE = 5; double grades[SIZE], average; int numberOfAs = 0, numberOfBs = 0, numberOfCs = 0, numberOfDs = 0, numberOfFs = 0; //TODO: Add function calls return 0;}

Answers

Answer:

countLetterGrades:

void countLetterGrades(double grades[], const int SIZE, int &numberOfAs,int &numberOfBs,int &numberOfCs,int &numberOfDs,int &numberOfFs) {

for(int i = 0; i < SIZE; i++){

if(grades[i]>85){numberOfAs++;}

else if(grades[i]>75){numberOfBs++;}

else if(grades[i]>65){numberOfCs++;}

else if(grades[i]>55){numberOfDs++;}

else{ numberOfFs++;}

}

}

printData:

void printData(double average, int numberOfAs,int numberOfBs,int numberOfCs,int numberOfDs,int numberOfFs)

{

cout<<"Average: "<<average<<endl;

cout<<"Number of A's: "<<numberOfAs<<endl;

cout<<"Number of B's: "<<numberOfBs<<endl;

cout<<"Number of C's: "<<numberOfCs<<endl;

cout<<"Number of D's: "<<numberOfDs<<endl;

cout<<"Number of F's: "<<numberOfFs<<endl;  

}

Explanation:

Your question is poorly formatted. (See attachment for proper presentation of question)

------------------------------------------------------------------------------------------------------------

The first step is to go to the main function and replace

//TODO: Add function calls

with the following 4 lines of code:

getGrades(grades,SIZE);

average = getAverage(grades,SIZE);

countLetterGrades(grades, SIZE, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);

printData(average, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);

------------------------------------------------------------------------------------------------------------

1. getGrades(grades,SIZE);

This calls the getGrade functions; The getGrade function is where the user inputs 5 grades for a student

2. average = getAverage(grades,SIZE);

Next, is to get the average of the input grades. This is done using the above and the average is stored in variable average

3. countLetterGrades(grades, SIZE, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);

Next, is to get letter grade of each number grade. This is done using countLetterGrades function.

4. printData(average, numberOfAs,numberOfBs,numberOfCs,numberOfDs,numberOfFs);

The above 3 functions populate data for average, numberofAs to numberofFs; This values are passed to printData function to to display program output.

------------------------------------------------------------------------------------------------------------

Next complete countLetterGrades and printData functions as seen in the answer section.

For clarity, see the attached cpp file for line by line explanation of the complete code

__ allow(s) users with mobility issues to control the computer with their voice.

Speech input software

Tracking devices

Head pointers

Text-to-speech

Answers

Answer:

Speech input device

Explanation:

I think this is the answer

Answer: speech input software

Explanation: got it right on edgen

[Files, for loops, exceptions; 20pt] Using a for loop, write a function called countWord(). It takes 2 parameters: The name of a text file (e.g. gettysburg.txt that is included with this test) and a word to be searched within that file. Your code should return the number of times the given word appears in the file. Capitalization should not matter. Make certain to handle file exceptions gracefully.

Answers

def countWord(name, word):

   try:

       f = open(name, "r")

       lst = ([])

       w = ""

       for x in f.readlines():

           w += x.lower()

       lst = w.split()

       f.close()

       return lst.count(word)

   except FileNotFoundError:

       print("Please create a file or use the name of an existing text file.")

print("Your word appears", countWord("gettysburg.txt", "random"), "time(s)")

The text file I used for testing looks like:

random words

random words

I'm putting random words in here

random

this is random

RaNdOm

I didn't really know what exceptions your professor is looking for so I just used the file not found one. Best of luck.

if you put your tik down below I'll tell them to follow

Answers

Answer:

oreo._.thecat7

Explanation:

...................

Answer

I dont have a acc !

Exp

bc i dont like that app a lot

_______are a set of track sectors, ranging from 2 to 32 or more, depending on the formatting scheme in use.

a.
Cylinders
b.
Track sectors
c.
Tracks
d.
Cluste

Answers

Answer:

Clusters

if thats incorrect than Cylinders

why are media conductors needed in computer network?​

Answers

Answer:

Transmission media connectors attach directly to the medium itself and serve as the physical interface between cabling and network nodes.

Explanation:

Answer:

masamstha 31 is correct hope it's help you have a good day

Write the code in python to ask the user to input two integers. Your program will then print the greatest common divisor of the two integers. Look at the math module for a function that will help you find the greatest common divisor.

Answers

import math

num1 = int(input("Enter a number: "))

num2 = int(input("Enter a number: "))

print(math.gcd(num1, num2))

The gcd() - greatest common divisor function, which is part of the math module works perfectly in this situation.

Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be. What kinds of errors does Erin need to fix?
logic errors
database errors
debugging errors
syntax errors

Answers

Answer:

A simple syntax error :)

"A character or string incorrectly placed in a command or instruction that causes a failure in execution."

Good luck! Hope this helped! :D

The kinds of errors does Erin need to fix is a simple syntax error.

What is syntax error?

Syntax is a character or string when incorrectly placed in a command or instruction results in failure while executing.

Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be.

The correct way to remove syntax error is putting colon and semicolon on the right place.

Learn more about syntax error.

https://brainly.com/question/18271225

#SPJ2

Shira’s Shoes sold 875,000 pairs of sandals in June, which was 70% of the total number of shoes sold. How many shoes did the company sell in June? Analyze Emily’s calculations. What error did she make?

Answers

Explanation:

Emily solved for a part when she should have solved for the whole. 875,000 should be the numerator of the equivalent ratio. 70 x 12,500 is 875,000. So the answer is 100 x 12,500 which is 1,250,000.

Answer:

Emily solved for a part when she should have solved for the whole. 875,000 should be the numerator of the equivalent ratio. 70 x 12,500 is 875,000. So the answer is 100 x 12,500 which is 1,250,000.

Which of the following is an example of a database?
A. the names and ages of children
B. the title of a book
C. a word that rhymes with bat
D. the name of the most recent U. S. president

Answers

A. The names and ages of children

Answer:

the names and ages of children

What is used to give credit to the source from which information is obtained?
a citation
linkage
plagiarism
a format

Answers

a citation gives credit to the source

Answer:

a citation

Explanation:

What is another name for a numbered list

Answers

Answer:

Another name for a numbered list is a list

Other Questions
Describe four skills that can distribute to effective communication. The twenty-sixth amendment protect voting rights for ___?A. all racesB. the elderlyC. young peopleD. women Find the slope of the line (4,2) (-3,-2) The Texans were hoping to gain support from _______________ by creating the Declaration of the People.a.other Mexican citizensb.the United Statesc.all settlers in Texasd.the Mexican authorities Historically, a factory has been able to produce a very specialized nano-technology component with 35% reliability, i.e., 35% of the components passed its quality assurance test. They have now changed their manufacturing process and hope that this has improved the reliability. To test this, they took a random sample of 24 components produced using the new process and found that 13 components passed the test. If you do a hypothesis test to see if the new manufacturing process is more reliable, does this observation give you enough evidence to reject the null hypothesis at 5% level of significance? (Suggestion: Use Microsoft Excel for your calculations.)The table below shows the probability of observing number of components (X) passing the test out of 24 components, if the reliability is 35%.X Probability0 0.00001 0.00042 0.00263 0.01024 0.02895 0.06226 0.10617 0.14708 0.16829 0.161010 0.130011 0.089112 0.052013 0.025814 0.010915 0.003916 0.001217 or more 0.0004A) NoB) Yes _____ are limits set so a thesis statement is not too broad or narrow Standers Divergent views None of theseClinchersParameters :What were the benefits of living in a permanent village likeCatal Huyuk? b) A quadrilateral has no pairs of parallel sides.What two shapes could it be? which situation can be represented by the expression -27 4/5+50? The Republic of Yuck is a simple economy with no government, no taxes, and no imports and exports. Yuckers (citizens of Yuck) are creatures of habit. They have a rule that everyone saves exactly 22 percent of income. Assume that planned investment is fixed and remains at 67 billion Yuck dollars.Expert economists of the Republic of Yuck have estimated the following:Real GDP (Y) 192 billion Yuck dollarsPlanned Investment Spending (U): 67 billionYuck dollars You are asked by the business editor of the Weird Herald, the local newspaper, to predict the economic events of the next few months.Based on the information given above you predict that the inventories will _____ and output will _____ ,a. stay unchangedb increasec. decrease **************PLEASE HELP ASAP*********Jane Roe sued the state of Texas because she wanted A to avoid an illegal activityB to secure her privacy rights. C to challenge the Ninth Amendment. D to have a state law declared unconstitutional. The planes LA534 and LA639 are coming in for a landing on the same runway which means they are each lowering their altitude. Note that LA534 is traveling at twice the speed of LA 639. What must they do to keep from crashing into each other on the runway What type of mood is created in this excerpt from "The Raven" by Edgar Allan Poe?Back into the chamber turning, all my soul within me burning,Soon again I heard a tapping something louder than before."Surely," said I, "surely that is something at my window lattice;Let me see, then, what thereat is and this mystery exploreLet my heart be still a moment and this mystery explore;-Tis the wind and nothing more.O mysterioustragicO O O O Ohopelesslonelyfearful simplify this expression: 5 + 2b - 2 Censorship: Who Should Decide What Young People Read?(Take a Stand!!!)Support your position with clear reasons and specific examples. Follow the debate guidelines discussed in class.access | civil | despite | integrate | promoteCensorship: Who Should Decide What Young People Read?(Take a Stand!!!)Support your position with clear reasons and specific examples. Follow the debate guidelines discussed in class.access | civil | despite | integrate | promote a sample of lead had a mass of 150 g. The molar mass of lead is 207.19 g. How many moles of lead does the sample contain? which of the following is the name given to the pairs of valence electrons that do not participate in bonding in diatomic oxygen molecule? A. unvalenced pair B. outer pair C. inner pair D. unshared pair How does the repetition in each stanza shape the meaning of Part I of "The Highwayman"? The repetition of the words riding, twinkle, daughter, or moonlight reinforces the highwayman's priorities. The repetition of the words galleon, breeches, cobbles, and cascade emphasizes the dreary setting. The repetition of the words inn-door, cocked-hat, to-night, and love-knot shows what is important to the landlord. The repetition of the words trees, wrinkle, window, and perfume shows what is important to Bess. go for a daily dice roll walk. -1 1/5 + -3/5 = ? please help asap