4.3 lesson practice phython

Answers

Answer 1

Answer:

user input loop

count variable

user input

Explanation:

these are you answers


Related Questions

why does a computer system need memory​

Answers

Explanation:

Computer memory is a temporary storage area. It holds the data and instructions that the Central Processing Unit (CPU) needs.

Shortcuts will help you complete spreadsheet tasks more efficiently. Select each of the following that is a shortcut.

Answers

Answer:

https://quiz let.com/331278088/excel-exam-1-flash-cards/

Explanation:

delete the space in quizlet

A business wants to evaluate how much they're spending on their customers, versus how much their customers go on to spend. If they want to see how much a customer will spend during the time they're a customer, that measurement would be?

Answers

Since the business wants to evaluate how much they're spending on their customers, versus how much their customers go on to spend. The measurement that a business would use to evaluate how much a customer will spend during the time they are a customer is called Customer Lifetime Value (CLV).

What is Customer Lifetime Value (CLV)?

CLV is a prediction of the net profit attributed to the entire future relationship with a customer. It is calculated by multiplying the average value of a sale by the number of repeat transactions and the average retention time.

Therefore, based on the above, CLV can be used to identify which customers are the most valuable to a business and to allocate resources accordingly.

Learn more about business from

https://brainly.com/question/28464469

#SPJ1

Describe what social engineering is and explain its existence and prevalence.
Explain why SE is an important part of an information technology security course.
Perform statistical research in the social engineering area providing the following: (1) Describe the current percentage of cyber attacks relying on social engineering and the percentage of attacks from both internal and externa sources; and (2) Describe how these percentages impact the current corporate social engineering incident response effort.
Discuss employee and management responsibilities with regard to information security and combating SE. Make sure your work clarifies your opinion as to who carries more responsibility for preventing SE-the employees or management. Provide examples to back up your statements.

Answers

Social engineering is a tactic used by attackers to manipulate individuals into divulging sensitive information or performing actions that may be harmful to the organization.

Social engineering attacks exploit human psychology, emotions, and trust to trick people into revealing sensitive information or performing actions that they otherwise wouldn't. The attacks can take many forms, such as phishing emails, phone scams, pretexting, and baiting.

What is social engineering?

The prevalence of social engineering attacks has increased in recent years, as attackers have become more sophisticated and creative in their methods.

According to the Verizon Data Breach Investigations Report (DBIR) in 2020, social engineering is used in 84% of successful cyber attacks and the most common form of social engineering is phishing. It is also reported that around 30% of phishing messages are opened and 12% of recipients click on the malicious link.

When it comes to combating social engineering, both employees and management carry some level of responsibility. Employees are the first line of defense and play a vital role in protecting the organization's sensitive information. They should be educated and trained on how to identify and avoid social engineering attacks. Management, on the other hand, is

Learn more about social engineering  from

https://brainly.com/question/29024098

#SPJ1

Directions :: Write a Ship class. Ship will have x, y, and speed properties. x, y, and speed are integer numbers. You must provide 3 constructors, an equals, and a toString for class Ship.



One constructor must be a default.

One constructor must be an x and y only constructor.

One constructor must be an x, y, and speed constructor.

Provide all accessor and mutator methods needed to complete the class.

Add a increaseSpeed method to make the Ship speed up according to a parameter passed in.

Provide an equals method to determine if 2 Ships are the same(i.e. in the same location).

You also must provide a toString() method.

The toString() should return the x, y, and speed of the Ship.



In order to test your newly created class, you must create another class called ShipRunner. There you will code in the main method and create at least 2 Ship objects (although you can create more if you like), using the constructors you created in the Ship class. Then you will print them out using the toString method and compare them with the equals method.



I'm trying to make an equals method I just don't know how to​

Answers

Answer: Assuming this is in the java language.. the equals() would be

Explanation:

public boolean equals(Object o){

   if(o == this){

        return true;

   }

   if (!(o instanceof Ship)) {

     return false;

   }

   Ship s = (Ship) o;

   return s.x == this.x && s.y == this.y && s.speed == this.speed;

 }

differentiate between RAM and ROM​

Answers

Explanation:

RAM is a volatile memory that temporarily stores the files you are working on.

ROM is a non-volatile memory that permanently stores instructions for your computer.

RAM stands for random access memory, that is volatile memory that TEMPORARILY stores the files you are working on. On the other hand ROM stands for read-only memory, it is non-volatile memory that PERMANENTLY stores instructions for your computer.

ram play volleyball
simple past​

Answers

Ram played volleyball.

here's your answer..

Write a java program that asks the student for his name and the month in which he/she was born. Students are then divided into sections, according to the following: Section A: Name starts between A - E Born between months 1 - 6 Section B: Name starts between F - L Born between months 1 - 6 Section C: Name starts between M - Q Born between months 7 - 12 Section D: Name starts between R - Z Born between months 7 - 12

Answers

Answer:

import java.util.Scanner;

public class SectionAssignment {

 public static void main(String[] args) {

   // Create a scanner object to read input

   Scanner input = new Scanner(System.in);

   

   // Prompt the student for their name

   System.out.print("Enter your name: ");

   String name = input.nextLine();

   

   // Prompt the student for the month they were born

   System.out.print("Enter the month you were born (1-12): ");

   int month = input.nextInt();

   

   // Assign the student to a section based on their name and birth month

   String section = "";

   if (name.charAt(0) >= 'A' && name.charAt(0) <= 'E' && month >= 1 && month <= 6) {

     section = "A";

   } else if (name.charAt(0) >= 'F' && name.charAt(0) <= 'L' && month >= 1 && month <= 6) {

     section = "B";

   } else if (name.charAt(0) >= 'M' && name.charAt(0) <= 'Q' && month >= 7 && month <= 12) {

     section = "C";

   } else if (name.charAt(0) >= 'R' && name.charAt(0) <= 'Z' && month >= 7 && month <= 12) {

     section = "D";

   } else {

     section = "Invalid";

   }

   

   // Print the student's section assignment

   System.out.println("Your section is: " + section);

 }

}

Complete the sentence.

The internet is an example of a ___ .

Answers

I’m going to assume it’s wan

Answer:

wan

Explanation:

Which of the following devices can store large amounts of electricity, even when unplugged?
LCD monitor
DVD optical drive
CRT monitor
Hard disk drive

Answers

Even when unplugged, a CRT (Cathode Ray Tube) monitor can store a lot of electricity. The capacitors within CRT monitors can store enough power to be fatal, thus you should never open one.

What does CRT stand for?

An electron beam striking a phosphorescent surface creates images in a cathode-ray tube (CRT), a specialized vacuum tube. CRTs are typically used for desktop computer displays. The "picture tube" in a television receiver is comparable to the CRT in a computer display.

What characteristics does CRT have?

Flat screen, touch screen, anti-reflective coating, non-interlaced, industrial metal cabinet, and digital video input signal are typical features of CRT monitors. As opposed to the typically curved screen found in most CRT displays, the monitor's screen can be (almost) flat.

To learn more about CRT monitors visit:

brainly.com/question/29525173

#SPJ1

Answer:

CRT monitor

Explanation:

A cathode ray tube (CRT) monitor can store large amounts of electricity, even when unplugged. You should never open a CRT monitor, as the capacitors within the CRT can store enough electricity to be lethal.

LCD monitors do not use large capacitors and are much safer to work on than CRT monitors (although the CCFL backlight has mercury vapor in it, which could be harmful if the tube is broken).

DVD optical drives and hard disk drives do not store electricity in sufficient quantity to be harmful.

how do you create and Make video games for video game consoles

Answers

Answer:

Step 1: Do Some Research & Conceptualize Your Game. ...

Step 2: Work On A Design Document. ...

Step 3: Decide Whether You Need Software. ...

Step 4: Start Programming. ...

Step 5: Test Your Game & Start Marketing

Answer:

tbh- I don't really know- but just wanted to say- I HOPE YOU HAVE AN AMAZING DAY!

Write the Holiday Date of the following holidays:
1. Bonifacio Day –
2. Christmas Day –
3. Rizal Day –
4. Day of Valor –
5. Labor Day –
6. Independence Day –
7. New Year’s Day –
8. People Power Day –
9. Ninoy Aquino Day –
10. All Saint’s Day –

Answers

Answer:

1. November 30

2. December 25

3. December 30

4. April 9

5. September 1

6. (depends)

7. January 1

8. February 25

9. August 21

10. November 1

Explanation:

List 2 or 3 visual aids that you might use during a speech on "Technology in the Classroom" (or a topic of your choosing) to illustrate your main points, and explain exactly how you plan to use them. (Site 1)

Answers

Answer:

Graphs or charts: I would use graphs or charts to illustrate the trend of technology usage in the classroom over time. For example, I could show a line graph that compares the percentage of classrooms that had no technology, limited technology, or full technology access in the past decade. This would allow the audience to see the increasing trend of technology adoption in the classroom and better understand the impact that technology is having on education.

Photos or videos: I would use photos or videos to provide concrete examples of how technology is being used in the classroom to enhance teaching and learning. For example, I could show a video of a teacher using a virtual reality headset to take her students on a virtual field trip to a museum, or I could show a series of photos of students using tablets or laptops to complete assignments and collaborate with their peers. These visual aids would help the audience to better understand the specific ways in which technology is being used in the classroom and how it is benefiting students and teachers.

Infographic: I would use an infographic to present a summary of the main points of my speech in a visually appealing and easy-to-understand format. The infographic could include bullet points or graphics that highlight the key benefits of technology in the classroom, such as increased engagement, improved learning outcomes, and enhanced collaboration. By presenting the information in this way, I could help the audience to quickly grasp the main points of my speech and better retain the information.

protocol layering can be found in many aspect of our lives such as air travelling .imagine you make a round trip to spend some time on vacation at a resort .you need to go through some processes at your city airport before flying .you also need to go through some processes when you arrive at resort airport .show the protocol layering for round trip using some layers such as baggage checking/claiming,boarding/unboard,takeoff/landing.​

Answers

Answer:

Baggage checking/claiming:

Check in at the city airport and check your baggage

Claim your baggage at the resort airport


Boarding/unboarding:

Board the plane at the city airport

Unboard the plane at the resort airport


Takeoff/landing:

Takeoff from the city airport

Land at the resort airport

Takeoff from the resort airport

Land at the city airport

The ability of a language to let a programmer develop a program on a computer system that can be run on other systems is called ________. This usually requires the program to be recompiled on each type of system, but the program itself may need little or no change.

Answers

Answer:

Virtual Machine

Explanation:

Example: JVM

Html is an improved version of________

Answers

Answer: SGML

STANDARD GENERALISED MARKUP LANGUAGE

Please mark as brainliest if answer is right

Have a great day, be safe and healthy  

Thank u  

XD  

Answer:

Hey mate.....

Explanation:

This is ur answer......

HTML is an improved version of SGML!

Hope it helps!

Brainliest pls!

Follow me! :)

• Describe the core components and terminology of Group Policy.

Answers

The core components and terminology of the group policy are directory services and file sharing.

What is the group policy component?

A GPO is a virtual object that stores policy-setting information and consists of two parts: GPO's and their attributes are saved in a directory service, such as Active Directory.

It essentially provides a centralized location for administrators to manage and configure the settings of operating systems, applications, and users.

File share: GPO's can also save policy settings to a local or remote file share, such as the Group Policy file share.

Therefore, the group policy's main components and terminology are directory services and file sharing.

To learn more about the group policy component, visit here:

https://brainly.com/question/14275197

#SPJ1

What is the output of the following code segment?

String[] cs = "Bill Gates and Paul Allen founded Microsoft on April 4, 1975.".split(" ");

System.out.println(cs[6].charAt(5));

Answers

Answer:

o

Explanation:

Modify array elements using other elements.
Write a loop that sets each array element to the sum of itself and the next element, except for the last element which stays the same. Be careful not to index beyond the last element.
Ex: Initial scores: 10, 20, 30, 40
Scores after the loop: 30, 50, 70, 40
The first element is 30 or 10 20, the second element is 50 or 20 30, and the third element is 70 or 30 40. The last element remains the same.
1 include ciostream
2 using namespace std;
3
4 int maino
5 const int SCORES SIZE - 4;
6 int bonus Scores[SCORES SIZE);
7 int i;
8
9 for (i = 0; i 10 cin >> bonus Scores[i];
11 >
12
13 /Your solution goes here
14
15 for (1-; i < SCORES.SIZE; ++) {
16 cout << bonus Scores[1] << " ";
17
18 cout << endl;

Answers

Answer:

Complete the code using:

   for (i = 0; i <SCORES_SIZE-1; i++) {

       bonus_Scores[i] = bonus_Scores[i] + bonus_Scores[i+1];

   }

Explanation:

This iterates through all elements of the list except the last

   for (i = 0; i <SCORES_SIZE-1; i++) {

This adds the current element to the next, the result is saved in the current list element

       bonus_Scores[i] = bonus_Scores[i] + bonus_Scores[i+1];

   }

See attachment for complete code

Next, you begin to clean your data. When you check out the column headings in your data frame you notice that the first column is named Company...Maker.if.known. (Note: The period after known is part of the variable name.) For the sake of clarity and consistency, you decide to rename this column Company (without a period at the end).

Assume the first part of your code chunk is:

flavors_df %>%

What code chunk do you add to change the column name?

Answers

Answer:

You can use the rename function to change the column name. Here is an example code chunk:

flavors_df %>%

rename(Company = Company...Maker.if.known.)

This will rename the Company...Maker.if.known. column to Company. Note that the old column name is surrounded by backticks () because it contains a period, which is a special character in R. The new column name, Company`, does not need to be surrounded by backticks because it does not contain any special characters.

Explanation:

The method of presentation refers to the planning process for the presentation. the information chosen for the presentation. how the presentation topic will be introduced. how the presentation will be delivered.

Answers

Yes, the method of presentation refers to the planning process for the presentation, the information chosen for the presentation, how the presentation topic will be introduced, and how the presentation will be delivered. It encompasses all aspects of creating and delivering a presentation, including the organization and structure of the information, the visual aids that will be used, and the delivery style and techniques of the presenter.

The planning process includes determining the purpose and goals of the presentation, as well as identifying the target audience and the specific information that will be most relevant and engaging to them.

The information chosen for the presentation should be relevant to the topic and purpose, it should be concise, accurate, and should be supportive of the overall message of the presentation.

The introduction should be clear and concise, it should grab the attention of the audience, and it should provide a preview of the key points that will be covered in the presentation.

The delivery of the presentation can include the use of visual aids, such as slides, videos, images, and handouts, and the presenter should be prepared to speak confidently and to answer questions from the audience. Additionally, the presenter should try to adapt to their audience and the environment of the presentation.

What is Accenture's approach when it comes to helping our clients with security?​

Answers

Answer: Once actual project work starts, the CDP approach is implemented across all active contracts, helping Accenture client teams work with clients to drive a security governance and operational environment that addresses the unique security risks of each client engagement.

Explanation: Hopefully this helps you (Don't know if this is the right answer pls don't report if it is the wrong answer)

To protect your online privacy, you should not?
A. be careful when talking to strangers online.
B. use an antivirus software.
C. download updates for mobile devices and computers.
D. use the same password for every account.

Answers

Answer:

Your answer to this will be D) Use the same password for every account.

Explanation:

This is the only option you should not do. If someone gets access or hacks into one of your accounts, and all accounts to anything are the same password they will have all of your accounts.

Write a procedure ConvertToBinary that takes an input as a number from 0 to 16 (including 0 but not 16) and converts it to a binary number. The binary number should be returned as a list.

Answers

Sure, here's an example of a Python function that converts a decimal number to binary and returns the result as a list:

def ConvertToBinary(decimal):

binary = []

while decimal > 0:

remainder = decimal % 2

binary.append(remainder)

decimal = decimal // 2

return binary[::-1]

The function takes in an input decimal which is a number between 0 and 16 (not including 16) and uses a while loop to repeatedly divide the decimal number by 2 and take the remainder. The remainders are then appended to a list binary. Since the remainders are appended to the list in reverse order, the result is reversed by slicing the list [-1::-1] to give the proper order.

You can also add a check to make sure that the input is within the required range:

def ConvertToBinary(decimal):

if decimal < 0 or decimal >= 16:

return None

binary = []

while decimal > 0:

remainder = decimal % 2

binary.append(remainder)

decimal = decimal // 2

return binary[::-1]

this way you can make sure that the input provided is within the allowed range.

state five fonction of THE operating system​

Answers

Answer:

An operating system has three main functions: (1) manage the computer's resources, such as the central processing unit, memory, disk drives, and printers, (2) establish a user interface, and (3) execute and provide services for applications software.

Memory Management.

Processor Management.

Device Management.

File Management.

Security.

Control over system performance.

Job accounting.

Error detecting aids.

Which benefits does the cloud provide to start-up companies without acccess to large funding

Answers

Answer:Among other things, the fact that anyone can connect to such a server from their home and work on something remotely

Explanation:

Alvin has designed a storyboard using the following technique. Which storyboard technique did he use?

A.
hierarchical
B.
linear
C.
webbed
D.
wheel

50 Points <3

Answers

Answer:

D. Wheel storyboard

Explanation:

The wheel method is like spokes connected to a main hub.

What are examples of the major macro actions? Check all that apply.
A) create new records
B) open and close forms
C) open database objects
D) lock databases from changes
E) prevent users from viewing data
F) navigate through records
G) import and export data

Answers

Answer:

A)create new records

B)open and close forms

C)open database forms

F)navigate through records

G)import and export data

Explanation:

Correct on Edge

Code to be written in Python
Correct answer will be awarded Brainliest

In this task, we will be finding a possible solution to number puzzles like 'SAVE' + 'MORE' = 'MONEY'. Each alphabet represents a digit. You are required to implement a function addition_puzzle that returns a dictionary containing alphabet-digit mappings that satisfy the equation. Note that if there are multiple solutions, you can return any valid solution. If there is no solution, then your function should return False.


>>> addition_puzzle('ANT', 'MAN', 'COOL')
{'A': 8, 'C': 1, 'L': 9, 'M': 6, 'N': 7, 'O': 5, 'T': 2}

>>> addition_puzzle('AB', 'CD', 'E')
False
Explanations:

ANT + MAN = COOL: 872 + 687 = 1559
AB + CD = E: The sum of two 2-digit numbers must be at least a two-digit number.

Your solution needs to satisfy 2 conditions:

The leftmost letter cannot be zero in any word.
There must be a one-to-one mapping between letters and digits. In other words, if you choose the digit 6 for the letter M, then all of the M's in the puzzle must be 6 and no other letter can be a 6.
addition_puzzle takes in at least 3 arguments. The last argument is the sum of all the previous arguments.

Note: The test cases are small enough, don't worry too much about whether or not your code will run within the time limit.

def addition_puzzle(*args):
pass # your code here

Answers

Answer:

Here is one possible solution to this problem in Python:

from itertools import permutations

def addition_puzzle(*args):

 # Get all permutations of the digits 0-9

 digits = list(range(10))

 all_permutations = list(permutations(digits))

 # Iterate through each permutation

 for perm in all_permutations:

   # Create a dictionary mapping each alphabet to a digit

   mapping = {alphabet: digit for alphabet, digit in zip(args[0], perm)}

   if all(mapping[alphabet] != 0 for alphabet in args[0]):

     # Check if the sum of the numbers is equal to the last argument

     num1 = int(''.join(str(mapping[alphabet]) for alphabet in args[1]))

     num2 = int(''.join(str(mapping[alphabet]) for alphabet in args[2]))

     if num1 + num2 == int(''.join(str(mapping[alphabet]) for alphabet in args[3])):

       return mapping

 # If no solution is found, return False

 return False

print(addition_puzzle('ANT', 'MAN', 'COOL'))

print(addition_puzzle('AB', 'CD', 'E'))

Explanation:

This solution first generates all possible permutations of the digits 0-9 using the permutations function from the itertools module. Then, it iterates through each permutation and creates a dictionary mapping each alphabet to a digit. It checks if the leftmost letter in any word is not zero and if the sum of the numbers is equal to the last argument. If both conditions are satisfied, it returns the mapping. If no solution is found after iterating through all permutations, it returns False.

Identifying the Location of the Property Sheet
es
When active, where is the Property Sheet located?
o to the left of the tables and reports
O above the tables and reports
O to the right of the tables and reports
O below the tables and reports
We

Answers

Answer: C) To the right of the tables and reports

Other Questions
If 4, x, y, 108 are the consecutive terms of a G.P., find x and y. The pattern 7, 21, 63, 189, ________ follows the rule multiply by 3. What is the next number in the pattern?Group of answer choices246321456567 What is the solution of 2x 3 7? Please help me please I only have a couple hours left and this is taking soooo much time What is the formula to find the perimeter of a pentagon All of these terms below are associated with workers and management EXCEPT:a. Haymarket Squareb. Clayton Anti-Trust Actc. Dawes Severalty Actd. Pullman Strike HELP ME PLEASE!!! PLEASE SOLVE NUMBER 10!! THIS TEST IS TIMED!! I WILL MARK YOU BRAINLIEST!! What can you do to advocate as an individual and as a student? What type of stained glass window was invented during the Gothic period?a.multi-colored windowb.rose windowc.oval windowd.none of the above sedimentary rocks are formed due to the (4 points) group of answer choices cooling of magma weathering of rocks changes in pressure changes in temperature ABC is reflected across the y-axis. The result is labeled DEF. What must be true of angles A and D?A is onehalf of D.A is twice D.The angles are congruent. 7.The diagram below represents the flow of energy through a food chain.5,000 units of energy50 units of energy500 units of energy5.0 units of energyIf 5,000 units of energy are available from the producers, how much energy will be available to the secondary consumers?Science not biology Which best describes which careers would work in offices? O Marketing Information Management and Research, Distribution and Logistics, and Marketing Communications and Promotion employees can work in offices. All Marketing, Sales, and Service employees can work in offices. All Marketing, Sales, and Service employees except those in Management and Entrepreneurship can work in offices. O Sales and Service employees work in offices, but Marketing employees do not. pls help me Please help I have a learning disablityFind the value of x that makes a true statement. 24 + x = 24 x = A nurse evaluates whether a middle-age client with chronic back pain has been performing the different exercises and physiotherapy procedures recommended by the physician. What would the nurse most likely use to evaluate the client Find the area.A. 156 ftB. 126 ftC. 80 ftD. 39 ft Someone plzzz helpppp meeee The boy in the striped pajamas features a number of dramatic conflicts. choose one of the conflicts described thus far and complete the conflict dissection chart below with as much detail as possible. Characters involved. setting (time,place) problem (details of the conflict) solution/resolution Which was not a direct cause of the Great Depression?bank failuresthe stock market crashmass productiondecline in farming prices How many moles of C02 are needed to fill an 0.125 m3 tank to a pressure of 1330.0 atm at 29.0 C (Celsius)please include procedure if you can