4.15 LAB: Password modifier

4.15 LAB: Password Modifier

Answers

Answer 1

I've included my code in the picture below. Best of luck.

4.15 LAB: Password Modifier
Answer 2

The program written modifies inputted password, replacing certain characters to make it stronger. The program is written in python 3 thus ;

password = input("Set your password : ")

#accepts input from user meant for password

modified_password = ''

#initialize an empty string to hold the modified password

for val in password:

#loop through each password value

if val == 'i':

modified_password += "!"

elif val == 'a':

modified_password += ''

elif val == 'm' :

modified_password += 'M'

elif val == 'B' :

modified_password +='8'

elif val == 'o':

modified_password += '.'

else :

modified_password += val

#checks for certain values in the input and replaces them, with the output assigned to the modified password variable

print(modified_password+"q*s")

Sample run of the modified password with the string "q*s" concatenated at the end.

Learn more :https://brainly.com/question/15086326

4.15 LAB: Password Modifier
4.15 LAB: Password Modifier

Related Questions


This the code from the last post I did

Answers

import java.util.Scanner;

public class JavaApplication86 {

   

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       int x = 0, c = 0, sum = 0;

       while (true){

           x = scan.nextInt();

           System.out.println("You entered: "+x);

           if (x == -1){

               break;

           }

           sum += x;

           c++;

       }

       System.out.println("The sum is "+sum);

       System.out.println("You entered "+c +" numbers");

   }

   

}

This works for me. Instead of subtracting one from c and adding one to sum, I used an if statement to break away from the while loop if the entered number is -1.

Which two statements are true about an OS?

translates the user’s instructions into binary to get the desired output
-needs to be compulsorily installed manually after purchasing the hardware
-is responsible for memory and device management
-delegates the booting process to other devices
-is responsible for system security

Answers

The correct answers are A and C
Please give me brainless

Answer:

See answers below :)

Explanation:

-is responsible for memory and device management

-is responsible for system security

With _____, rather than automation, humans are in the decision loop, with machines rapidly executing the approved tasks.

Answers

Answer:

artificial intelligence

Explanation:

Remember, the term Artificial intelligence in simple words refers to a technology that enables machines (such as computers) to make decisions, plan activities, and execute tasks.

So in a sense, with widespread usage of artificial intelligence, humans would no longer play active roles in executing tasks but the machines will; doing so rapidly.

Which of the following tools can be used to aggregate relational data from multiple sources?
A.)Power Pivot
B.)PivotTables
C.)Get & Transform

Answers

Answer:

ApOWER PIVOT

Explanation:

The tools that can be used to aggregate relational data from multiple sources is Power Pivot.

Data aggregation is the known as putting or gathering of data and presenting a summary form of it.

The data can be gathered from multiple data sources with the intent of combining these data sources into a summary for data analysis.

conclusively, Data warehouses gives users room to run queries, compile reports, generate analysis, and retrieve data in a consistent format.

Learn more from

https://brainly.com/question/21263038

A file named numbers.txt contains an unknown number of lines, each consisting of a single positive integer. Write some code that reads through the file and stores the largest number read in a variable named maxvalue.
** PYTHON**

Answers

f = open("numbers.txt", "r")

lst = [int(x) for x in f.read().splitlines()]

maxvalue = max(lst)

This works for me. Best of luck. If you want to test the code in an ide, use print(maxvalue) at the end of the code to see the value of your maxvalue variable.

The Fibonacci sequence is a famous sequence in mathematics. The first two elements are defined as 1, 1. Subsequent elements are defined as the sum of the preceding two elements. For example, the third element is 2 (=1+1), the fourth element is 3 (=1+2), the fifth element is 5 (=2+3), and so on.

Required;
Use a for loop to create a vector which contains the first 50 Fibonacci numbers.

Answers

Answer:

Written using C++

#include <iostream>  

#include <vector>  

using namespace std;  

int main() {  

vector<int> fibb;  

int n1 = 0;

int n2 = 1;

int temp;

for (int nm= 0; nm < 50;nm++) {

 fibb.push_back(n1);

 temp = n1 + n2;

 n1 = n2;

 n2 = temp;

}

for (int nm= 0; nm < 50;nm++) {

{

 cout<<fibb.at(nm)<<" ";

}

return 0;  

}

Explanation:

#include <iostream>  

#include <vector>  

using namespace std;  

int main() {  

This line declares the vector as integer

vector<int> fibb;  

This line initializes the first term to 0

int n1 = 0;

This line initializes the second term to 1

int n2 = 1;

This line declares a temporary variable

int temp;

The following iteration populates the vector with first 50 Fibonacci series

for (int nm= 0; nm < 50;nm++) {

This push an entry into the vector

 fibb.push_back(n1);

The following generate the next Fibonacci element

 temp = n1 + n2;

 n1 = n2;

 n2 = temp;

}

The following iteration prints the generated series

for (int nm= 0; nm < 50;nm++) {

 cout<<fibb.at(nm)<<" ";

}

return 0;  

}

PLZZZZZZZZZZZZZZZ HELP ME OUT!!!!! I SICK AND TIRED OF PEOPLE SKIPING MY QUESTION WHICH IS DUE TODAY!!!!ANSWER THEM ALL PLZ

DIABETES: What causes this condition? *

DIABETES: What are the symptoms of this condition? *


DIABETES: Does this condition explain why Elisa may be tired? (Why or why not?) *

DIABETES: Which molecule is most likely affected by this condition: oxygen, glucose, or amino acids? *

ANEMIA: What causes this condition? *

ANEMIA: What are the symptoms of this condition? *

ANEMIA: Does this condition explain why Elisa may be tired? (Why or why not?) *


ANEMIA: Which molecule is most likely affected by this condition: oxygen, glucose, or amino acids? *

Answers

Answer:

Explanation:

Being overweight, eating unhealthy, and not exercising can cause diabetes.

Some symptoms of diabetes are being sleepy, being very thirsty, losing weight without trying to, being very hungry, having dry skin, and your hands or feet being numb are some symptoms.

This conditions does explain why Elsa may be tired because tiredness is a symptom of diabetes.

Glucose is most likely affected by diabetes.

Having a shortage of iron in your body causes anemia

Symptoms of anemia are weakness, fatigue, shortness of breath, pale skin, chest pain, and dizziness.

Anemia may be the reason Elisa is tired because it causes fatigue and weakness.

Oxygen is most likely affected by anemia.

Wake up to reality. Nothing ever goes as planned in this world. The longer you live,the more you realize that only pain, suffering and futility in this reality.

what show is this from correct answer gets brainly (i already know what show its from)​

Answers

Answer:

Naruto

Explanation:

Madara Uchiha said that TwT

-LavenderVye

What is the character missing in the line of code below that is part of the pseudocode outline of a program?
______ Get the user's height.

Answers

Answer:

# Get the user's height.

Explanation:

The answer is #

Answer: #

Explanation: got it right on edgen

Write a program that uses the conversion specifier g to output the value 9876.12345. Print the value with precisions ranging from 1 to 9.

Answers

Answer:

Written in C++

#include <stdio.h>

int main(){

   double value = 9876.12345;

   printf("1: %.1g\n", value);

   printf("2: %.2g\n", value);

   printf("3: %.3g\n", value);

   printf("4: %.4g\n", value);

   printf("5: %.5g\n", value);

   printf("6: %.6g\n", value);

   printf("7: %.7g\n", value);

   printf("8: %.8g\n", value);

   printf("9: %.9g\n", value);

   return 0;

}

Explanation:

This declares and initializes value as double

   double value = 9876.12345;

This prints the first precision

   printf("1: %.1g\n", value);

This prints the second

   printf("2: %.2g\n", value);

This prints the third

   printf("3: %.3g\n", value);

This prints the fourth

   printf("4: %.4g\n", value);

This prints the fifth

   printf("5: %.5g\n", value);

This prints the sixth

   printf("6: %.6g\n", value);

This prints the seventh

   printf("7: %.7g\n", value);

This prints the eight

   printf("8: %.8g\n", value);

This prints the ninth

   printf("9: %.9g\n", value);

The precision is printed using the following syntax: printf("%.ag\n", value);

Where a represents the number of digits to print

Give the pseudocode of a data structure that supports the stack push and pop operations, and a third operation findMin, which returns the smallest element in the data structure, all in O(1) worst-case time.

Answers

Answer:

start Stack push:

IF stack is full

   return NULL

ENDIF

stack_top = stack_top + 1

stack[ stack_top] = data

end

start stack pop:

IF stack is empty

   return NULL

ENDIF

data = stack[ stack_top]

stack_top = stack_top - 1

end

start stack findMin:

SORT stack in ascending order

min = stack[0]

RETURN min

end

Explanation:

Pseudocode is the description of an algorithm to be used to implement a program code. The pseudocode above describes the step by step implementation of the stack data structure 'push', 'pop', and a new 'findMin' function. The findMin function sorts and gets the minimum value of the elements in the stack. The push and pop operators add and remove items from a stack.

The pseudocode of all three functions does not iterate over the stack element, but gets the constant values of an item in the stack, giving it a time complexity of 1 (O(1) in big-O notation).

Which statements are true about different software?

You can use a word processor to write, edit, print, and perform a variety of modifications on a document. Word processors work with entirely text-based documents without images or video. Spreadsheet programs enable users to perform statistical functions and create charts and graphs for data analysis. Managers can use database software to discuss financial performance with the help of slideshows. Graphics software, audio- and video-editing software, and media players are all examples of system software.

Answers

Answer:

You can use a word processor to write, edit, print, and perform a variety of modifications on a document.

Spreadsheet programs enable users to perform statistical functions and create charts and graphs for data analysis.

Explanation:

Took the test

Define a method pyramidVolume with double parameters baseLength, baseWidth, and pyramidHeight, that returns as a double the volume of a pyramid with a rectangular base.

Answers

Answer:

double pyramidVolume(double baseLength, double baseWidth, double pyramidHeight)

{

  return baseLength * baseWidth * pyramidHeight / 3.0;

}


To identify a document as a template, you will need to change the file type in the_____ dialog box.

A. Options

B. Save As

C. References

D. Template

Answers

Answer:

A) options this is correct

Explanation:

Answer:

The answer is definitely option A

Explanation:

I need help with my previous question please

Answers

I can’t find your previous question :(

Write a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. Then, get the last value from the input, and output all integers less than or equal to that value.

Answers

lst = input().split()

lst.pop(0)

w = lst[-1]

lst.pop(-1)

newlst = [int(x) for x in lst if int(x) <= int(w)]

print(newlst)

This works for me. Best of luck.

write a program to Test if mold is stored in the variable word.

Answers

word = whatever value you want.

if "mold" in word:

   print("Mold is in the variable word.")

else:

   print("Mold is not in the variable word.")

Choose the function described.
The
function deletes all items from a list.
delete
remove
clear

Answers

Answer:

clear

Explanation:

Answer:

just did the test and the answer is c clear

Explanation:

d) Software which is basically language translation software.​

Answers

Answer:

tayanaf

Explan

ation:صثح

__init__(self, features, phones): create/initialize instance variables for features and the list of phones (optional) in the plan. When phones is not provided, use an empty list as its initial value. Create an instance variable

Answers

Answer:

class Phone(object):

   def __init__(self, features, phones=[]):

       self.features = features

       self.phones = phones

Explanation:

In python object-oriented programming, an instance variable of a class object is created in the "__init__()" method. the "self" is a convention name used to represent the instance of an object class. The input values are assigned to the object variable with the self.'argument_name' statement.

When the phone argument is not given, the self.phones variable is initialized as an empty list.  


What is the device that is non-volatile sometime called external memory?

Answers

Answer:

bcause when the computer crashes and shuch the thing is fine becasue all it does is store

Explanation:

Write a C++ program that reads a temperature value and the letter C for Celsius or F for Fahrenheit. Print whether water is liquid, solid, or gaseous

Answers

Answer:

(1) #include<iostream>

(2) #include<conio.h>

(3) using namespace std;

(4) void main()

(5) {  

(6) float temp;

(7) char sel;

(8)    cout<<“Select a temperature value in Celcius or Fahrenheit.\n”;

(9)   cout<<“Press C for Celcius.\n”;

(10)   cout<<“Press F for Fahrenheit.\n”;

(11)  cin>>sel;

(12) switch (sel)

(13){

(14)case ‘C’:

(15) cout<<“Enter a temperature value in Celcius: “;

(16)cin>>temp;

(17) if(temp<=0)

(18)   {

(19)   cout<<“Water is solid at “<<temp<<” degree C.”;

(20)   }

(21)  else if(temp>=100)

(22)   {

(23)  cout<<“Water is gaseous at “<<temp<<” degree C.”;

(24) }

(25) else

(26)    {

(27)   cout<<“Water is liquid at “<<temp<<” degree C.”;

(28)  }

(29)         break;

(30)  case ‘F’:

(31)     cout<<“Enter a temperature value in Fahrenheit: “;

(32)   cin>>temp;

(33)   if(temp<=32)

(34)  {

(35)  cout<<“Water is solid at “<<temp<<” degree F.”;

(36)    }

(37)    else if(temp>=212)

(38)  {

(39)   cout<<“Water is gaseous at “<<temp<<“degree F.”;

(40)  }

(41)    else

(42)   {

(43)  cout<<“Water is liquid at “<<temp<<” F.”;

(44)    }        

(45)    break;

(46)  }  

(47)   getch();

(48) }

What game is this? help mee?

Answers

Answer:

nooooooo

Explanation:

Write a single SQL statement to produce each of the following.

a. For each customer order, list the order id, order date, order_source_id source description, and the first and last name of the customer.
b. For each customer order, list the order id, order date, meth_pmt, the first and last name of the customer placing the order.
c. For each line in shipment_line, display the shipment_id, inv_id, ship_quantity, date_expected and date_received.

Answers

Answer:

a. SELECT order_id, order_date, order_source_id, source_description, first_name || last_name AS customer_name

        FROM customer_order;

b. SELECT order_id, order_date, meth_pmt, first_name || last name AS customer_name

        FROM customer_order;

c. SELECT shipment_id, inv_id, ship_quantity, date_expected, date_received

       FROM shipment_line;

Explanation:

When using SQL statements to display a certain amount of information, the SELECT syntax is used. It is written as;

          SELECT X, Y, Z

             FROM alphabets;

The SELECT statement is used to list the variables to be displayed which are usually separated by a coma.

The FROM indicates the table from which the variables should be extracted from.

The ; sign signifies the end of an SQL statement and that you want your query to be run

This "first_name || last_name AS customer_name" tells SQL to combine the first and last name of customers and display them as customer_name.

       

(Print distinct numbers) Write a program that reads in numbers
separated by a space in one line and displays distinct numbers (i.e., if
a number appears multiple times, it is displayed only once). (Hint:
Read all the numbers and store them in list1. Create a new list list2.
Add a number in list1 to list2. If the number is already in the list,
ignore it.)

Answers

I've included my code in the picture below.

A local bank has just one branch. It sets up a peer-to-peer network for all devices on the system. The bank would like to be able to have one technician administer the entire network from his location outside the bank without having to go to the bank each time there is a problem. Will this be possible for the technician?

A. It will not work because it is not possible to have the technician administer from one single location.

B. It will not work because the bank needs to use a server in a central location to allow for the remote access.

C. It will work as long as a LAN network is established to facilitate the communication between devices.

D. It will work if it uses a WAN to bring in all of the LANs to one central location.

CORRECT ANSWER IS B!

Answers

B
Good luck hope you get a good grade

It will not work because the bank needs to use a server in a central location to allow for the remote access, hence option B is correct.

What is a peer-to-peer network?

A distributed application architecture known as peer-to-peer computing or networking divides jobs or workloads across peers.

Peers are equally qualified and capable members of the network. They are referred to as the nodes in a peer-to-peer network.

In the hypothetical situation, the technician is unable to manage the complete network from outside the bank. Every time a problem arises, the technician must visit the bank.

Therefore, in order to give them the desired remote access, I need a server that is situated in a strategic location, hence option B is correct.

Learn more about peer-to-peer network, here:

https://brainly.com/question/10571780

#SPJ5

A man is charged a fee by the city for having numerous broken cars and auto parts in his front yard. Which of the following correctly describes why the city punishes him? He has committed a crime. He is in violation of a city statute. He has violated an amendment of the U.S. Constitution. A judge has decided that he is in violation of civil law.

Answers

Answer:

Violation of city Statute

         

Answer:

B

Explanation:

Which of the following should be implemented when there is a period of high employee turnover?

Answers

Answer:

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

Explanation:

The question is about which of the following should be implemented when there is a period of high employee turnover?

The options to this question are given below.

A review of NTLM hashes on the domain servers A review of group policies A review of user access and rights A review of storage and retention policies

The correct option to this question is-3:

A review of user access and right.

Other options are not correct because these options are not related to review when employee turnover is going high etc.

Which of the following is most often a barrier to software migration?
It's easier to continue using an out-of-date software program as long as possible.
O It's usually cheaper to upgrade software than it is to purchase a new product.
O It's difficult to find new software that is secure enough to replace the old software.
O It's not possible to keep old data when migrating to a new software program.

Answers

Answer: B: It's usually cheaper to upgrade software than it is to purchase a new product.

Explanation: I googled it lol :)

Answer:

b

Explanation:

b

Question 1 of 20 Gus has decided to organize his inbox on June 26 by using folders and deleting irrelevant messages. He creates a folder called "Project XYZ" for all relevant emails related to this project. Which of the following emails should he save in this folder instead of deleting or moving it to another folder? O A. Schedule Update for Project XYZ B. Update: New Time and Location for May 20 Meeting for Project XYZ C. Time and Location for May 20 Meeting for Project XYZ D. New Project EFG to Launch Next Week SUB​

Answers

Answer: Schedule Update for Project XYZ

Explanation:

Answer:

A. Schedule Update for Project XYZ

Other Questions
Write a balanced chemical equation for the following: magnesium metal is burned in oxygen to produce magnesium oxide. When Susan babysat for 8 hours and did odd jobs for 3 hours, she made a total of $39. When she babysat for 2 hours and did odd jobs for 5 hours, she made a total of $31. How much does she charge per hour for babysitting and for doing odd jobs? Describe the translation using words and coordinate notation Which of the following does not correctly describe the position of the turtle and why? Which are solutions of 1 < 3x 2 < 13? There are 16 female performers in a dance recital. The ratio of men to women is 3:4. How many men are inthe dance recital?There aremen in the dance recital. Can somebody help me answer this question whoever gets it right will get branlist ! whats the slope for these lines i need help pelase what is the area of a square with a side of 4 in mily works at a local restaurant. She made $200 in tips last night. She shared 15 percent of her tips with the crew that cleans the tables. How much did she give to the clean-up crew? hi i need ur help again plz Flicker A maid cleans. A crew cuts the lawn. Even the groceries get delivered. Jordans dad is home, for once, but he barely lifts his head from his laptop to meet me. His eyes flicker in surprise, but he slams his attention back to the screen and coughs to dismiss us. What is the tone of this poem? PLZ HELP! ASAP! What is the rhyme scheme for the song "Dance in the Dark" by Au/Ra?Shock shock, horror horrorIf you really thought thatGrowin' up would be easyAll that drama, dramaCan make you wanna, wannaLock your door and throw the key andHide away where you're safeWhere your heart doesn't breakYou're afraid, it's okay, it's okayEverybody's scared so dance in the darkDa-dance in the dark, da-dance in the darkParty with your fears, da-dance in the darkDa-dance with the dark, da-dance in the darkEverybody's scared so dance in the darkMake, make it an art, da-dance in the dark (dance in the dark)Party with your fears, da-dance in the darkDa-dance with the dark, da-dance in the dark (dance in the dark)Ooh-ooh-ooh-ooh, ooh-ooh-ooh-ooh, ohDa-dance in the dark, da-dance in the darkCan't keep it bottledPain is hard to swallowYou cross your heart without bleedin'Hide away where you're safeWhere your heart doesn't breakYou're afraid, it's okay, it's okayEverybody's scared so dance in the darkDa-dance in the dark, da-dance in the darkParty with your fears, da-dance in the dark (oh)Da-dance with the dark, da-dance in the dark (in the dark)Everybody's scared so dance in the darkMake, make it an art, da-dance in the dark (dance in the dark)Party with your fears, da-dance in the darkDa-dance with the dark, da-dance in the dark (dance in the dark)Ooh-ooh-ooh-ooh, ooh-ooh-ooh-ooh, ohDa-dance in the dark, dancin' in the dark, dancin' in the darkOoh-ooh-ooh-ooh, ooh-ooh-ooh-ooh, ohDa-dance in the dark, da-dance in the, dance in theEverybody's scared so dance in the darkDa-dance in the dark, da-dance in the darkParty with your fears, da-dance in the darkDa-dance with the dark, da-dance in the darkEverybody's scared so dance in the darkMake, make it an art, da-dance in the darkParty with your fears, da-dance in the darkDa-dance with the dark, da-dance in the dark Convert. Round to 3 decimal places.8 quarts ___ liters The XYZ stock company registered a profit of $10 per share the first quarter, a loss of $15 the second, a loss of $20 the third, and a profit of $25 the fourth quarter. How did the sock fare during the year, what integer represents the final fare? Drag each equation to show if it could be a correct first step to solving the equation 8(x + 5) = 56. Simplify the following:(3x - 6) + (5x - 5) How was the US Constitution influenced by Athenian democratic principles? Basketball players commonly use the backboard, the rectangular board behind the basketball hoop, to helpthem make shots players can bounce, or "bank," the ball off the board and into the hoop. But this was notthe original purpose of backboards. To place the first basketball hoops high off the ground, the inventor ofbasketball, James A. Naismith, nailed them to the balcony of the gymnasium. However, when a shot wastaken, fans sitting on the front row of the balcony could interfere with the ball. Naismith attached the hoop toa backboard to prevent fan interference, not to help players.QuestionAccording to the passage, which of the following is true of the backboard in basketball?o It can interfere with players' shots, causing them to miss the hoop.o It was a part of the very first basketball game.o Its original purpose was to keep spectators from touching the ballO It is not commonly used by today's players. 5_ x 7_7 8 what is the the answer to 5/7 x 7/8 equals =