Answer:
If you want to remove/ ignore punctuation before and after a word javascript, my suggestion is to remove specific punctuation from a string, it will probably be best to explicitly remove exactly what you won't like.
04. Suppose a computer program needs to sort a list of student records in ascending order
according to last name. The program language determines sort order by using the
individual ASCII number representations of the characters in each name.
If the initial list contains the following names. Which of the following lists represents
the name order after executing the sorting procedure?
["Tom Smith","Joe Schnook", "Kathy Bones","Jill Brewer"]
(A) ["Smith Tom", "Schnook Joe","Bones Kathy","Brewer Jill"]
(B) ["Joe Schnook","Tom Smith","Jill Brewer", "Kathy Bones"]
(C) ["Jill Brewer","Joe Schnook", "Kathy Bones", "Tom Smith")
(D) ["Kathy Bones","Jill Brewer","Joe Schnook","Tom Smith"]
Answer:
D) ["Kathy Bones", "Jill Brewer", "Joe Schnook", "Tom Smith"]
Explanation:
The context of the problem explains a computer program that sorts names in "ascending order" (A to Z) since the ASCII table has capital A start a lower number and it increases from there to capital Z.
Notice how the attached file, which is a portion of the ASCII table, shows that letters after A are also higher in decimal value than the previous letter.
With this in mind, we know that all this program does is sort by last name alphabetical order. From there, just sort the given names using that same criteria, last name alphabetical order, and the correct answer is determined.
Please put "Brainliest" on my answer if it helped you out!
If you want to learn more about this subject, you can search:
- ASCII Table
- Lists in Programming
- Sorting Procedures
The correct list that represents the name order after executing the sorting procedure is (D) ["Kathy Bones", "Jill Brewer", "Joe Schnook"," Tom Smith"]. Therefore, option D is correct.
What is a computer program?A computer program is a set of instructions that tells a computer what to do to perform a specific task or solve a problem.
Since the program sorts the names in ascending order according to last name, it will consider the last name first and then sort the names alphabetically based on the ASCII value of the characters in each last name.
So, in the initial list, "Bones" comes before "Brewer", which comes before "Schnook", which comes before "Smith". Therefore, after sorting, the correct order of the names would be: "Kathy Bones", "Jill Brewer", "Joe Schnook", and "Tom Smith". Thus, option D is correct.
Learn more about computer programs, here:
https://brainly.com/question/3397678
#SPJ2
Which type of software-based attack tracks all of your browser activity and relays it to cybercriminals?.
Answer: Spyware
Hope that helps!
In a print statement, you can set the __________ argument to a space or empty string to stop the output from advancing to a new line.
In a print statement, you can set the End argument to a space or empty string to stop the output from advancing to a new line.
What is a Print statement?A print "statement" is known to be a kind of statement that looks like a call to the make (print) or println process of the System.
Note that In a print statement, you can set the End argument to a space or empty string to stop the output from advancing to a new line so that it can work properly.
Learn more about print statement from
https://brainly.com/question/25220385
#SJ1
You have received an update package for a critical application you are running on a virtual machine. You have been told to install the update package and that you cannot very little downtime. What should you do first?
The first thing to do install the package without having downtime is; Virtualization.
What is virtualization?Virtualization is defined as the ability to install and run multiple operating systems simultaneously on a single physical computer virtually.
Now, virtualization has many advantages for server administrators. This is because as an administrator, your job is made easier due to the several tasks you can perform on a virtual machine instead of on a physical machine.
Since there should be no down time, then it is advisable to first carry out virtualization.
Read more about virtualization at; https://brainly.com/question/26462832
App designers should avoid using auto-detection of user location because consumers resent the invasion of privacy. a. true b. false
Answer:
Explanation:
true because they may have a customer that is death and can't hear you and you don't know sign language so you need highlighted words for them to read.but if they are blind you need to do the sign language on their hand.
Answer:True
Explanation:
You are configuring NIC Teaming on a Windows Server system using two physical network adapters. You want to aggregate the bandwidth of both network adapters to provide better throughput. Both adapters are connected to the same network switch. You decide to manually identify the links forming the team on both the switch and the server. What option under Additional properties in the NIC teaming window would you select?
Answer:
Static Teaming
Explanation:
Network Security Fun. > Quizzes > Practice Exam (for midterm: m.
Practice Exam (for midterm: mods 1-7)
Started: Mar 11 at 2:07pm
Quiz Instructions
nts
Question 21
1 pts
Sean is an information security architect at a financial firm. As his first project, he must design and build an
efficient, sure-shot, yet cost-effective solution to Tetect and prevent bank credit card fraud. How should Sean
proceed?
O Design a solution that is confined to and hardcoded with a specific place and specific time. If the user
males transaction at a different place or time it will be considered an outlier and trigger an alert
Answer : Sean is an information security architect at a financial firm. As his first project, he must design and build an efficient, sure-shot, yet cost-effective solution to Detect and prevent bank credit card fraud. How should Sean proceed? O Design a solution that is confined to and hardcoded with a specific place and specific time.
Explanation: Sean is an information security architect at a financial firm. As his first project, he must design and build an efficient, sure-shot, yet cost-effective solution to Detect and prevent bank credit card fraud. How should Sean proceed? O Design a solution that is confined to and hardcoded with a specific place and specific time.
is climate change really caused by human activities introduction
Yes, climate change is mainly caused by human activities. While there are other factors, people are by far the leading cause. Factories and vehicles pump harmful gasses into the atmosphere on a daily basis, depleting the ozone layer. The land and ocean are littered with trash and waste. To build homes and stores, more and more forests are cut down that bring homes to other animal and oxygen into the atmosphere.
A team of computer science researchers develop a program for searching trees that can be run in parallel. When they use distributed computing techniques to run the program on six computers in parallel, they find a speedup of 3. In this case, what does a speedup of 3 indicate?
Answer:
The program completed in a third of the time with six computers versus one computer.
Explanation:
The speedup of a parallel solution is measured in the time it took to complete the task sequentially divided by the time it took to complete the task when done in parallel (or put succinctly, speedup = sequential/parallel).A speedup of 3 means that the program took three times as long on one computer, which is the same thing as saying it took a third of the time with all six computers working in parallel.
The software that requests mail delivery from the mail server to an Internet device is known as mail ____ software.
The software that requests mail delivery from the mail server to an Internet device is known as mail client software.
Explanation:
Mail client software is a form of communication in which electronic messages are created and transferred between two or multiple devices connected to a network series or stream.
Jake owns a garden supply store. his revenue at the end of last month was $12,200. what is Jake's run rate?
Based on the information provided, Jake's annual run rate is $146,400.
What is the run rate?This refers to the general performance of a company based on the profits of a specific period.
How to calculate the run rate?The general formula for this factor is:
Revenue in a specific period/number of periods in the yearThis means:
12,200 x 12 = 146,400
This means in a year it is expected Jake makes a total of $146,400.
Learn more about run rate in: https://brainly.com/question/13869204
Answer:
D: 146,400.
Explanation:
In a single processor system running Windows, when the kernel accesses a global resource, it A) uses spinlocks. B) masks all interrupts. C) uses a dispatcher object. D) atomic integers.
In a single processor system running Windows, If the kernel accesses a global resource, it masks all interrupts.
What does it implies to mask an interrupt?An internal switch setting is known to often controls if an interrupt can be worked on or not.
The act of a Maskable interrupt is known to be when a hardware is said to interrupt and as such, it can disabled or left like that by the instructions of CPU.
Learn more about Windows from
https://brainly.com/question/25243683
Two ways of calculating average returns are ______ and ______. Multiple select question. the arithmetic average the progressive average the geometric average the common average
Answer:
"Geometric Average Return Example. Jennifer has invested $5,000 into a money market that earns 10% in year one, 6% in year two, and 2% in year three. If you were to calculate this using the arithmetic mean return, you would add the rates together and divide them by three, giving you an average of 6%."
Explanation:
HURRY IT'S URGENT
How would you create a variable named myDog and give it the value "Karel"?
options:
var myDog = "Karel":
var myDog = Karel
var myDog = "Karel";
var my Dog = "Karel"
What JavaScript function do we use to print out a message to the user?
options:
printLn()
print()
print
println();
The variable myDog and the value "Karel" are illustrations of assigning values to variable
The statement that creates the variable is (c). var myDog = "Karel";The function to print in JavaScript is (b) print()How to create the variable?
To create a variable in JavaScript, you have to add the keyword "var".
Given that the variable name is myDog; So, we have:
var myDog
The value of the variable is "Karel".
Hence, the assignment statement is: C. var myDog = "Karel";
Function to print in JavaScriptTo print in JavaScript, we make use of the print() statement
Hence, the function to print in JavaScript is (b) print()
Read more about JavaScript at:
https://brainly.com/question/16698901
Does single quote and double quote work same in javascript
Answer:
yes!
Explanation:
the only difference is that some companies prefer one over the other as a standard
https://stackoverflow.com/questions/242813/when-should-i-use-double-or-single-quotes-in-javascript
but they work the same
How to send large video files without losing quality
Answer:
Explanation:
The videos can be compressed, easily, with a free program called HandBrake
you can get handbrake here: https://handbrake.fr/
Once you compress them using this program, then you can send them through any messaging service as long as the service takes the file under whatever file size rules it has.
Googul Drive works to send the compressed video well.
How to creatte a react app without a git hub repository
Answer:
You needn't be on Github. You just need to have the software, like visual code installed on your computer.
If you've got all these things sorted, then you'll be able to make apps without github.
Problem: Write the Python code of a program called ComputeSquare that asks the user to enter the length of the side of the square and displays the area and perimeter of the square. Check that the side length is greater than zero, and if it is not, display an informative error message to the user.
The given problem is solved in Python.
def ComputeSquare():
side = float(input('Enter the side of the square: '))
if side > 0:
perimeter = 4 * side
area = side * side
print('Perimeter of the square is:',
perimeter, 'unit.')
print('Area of the square is:', area, 'square unit.')
else:print('Invalid input.')
ComputeSquare()
Explanation :-In this program, we create a function ComputeSquare() to calculate the perimeter and area of a square.The function asks the user to enter the side of the square. The side is then stored in a variable.Now, we check whether the side is greater than 0 or not using if-else statement.If the condition is true, the perimeter and area is calculated which is displayed using print() statement.If the condition is false, the else blocks executes printing the error message.Refer to the attachment for output.
Pedestrians have ______.
A. to get out of your way when you’re driving
B. no right to use the Highway Transportation System
C. a right to use the Highway Transport System
D. to be on the sidewalk or crosswalk at all times
Answer:
c
Explanation:
I think c is correct answer if I answer wrong
Pedestrians have a right to use the Highway Transport System. Hence, option C is correct.
What is Highway Transport System?A system of highways used for the movement of cars. Type of transit, means of transportation, or transportation system. A structure that houses the equipment necessary for transporting people or goods.
A transportation system can be defined as the combination of factors and how they interact to produce the need for travel within a given area and the delivery of transportation services to satisfy this need. This concept is inclusive and flexible enough to be applied in various contexts.
For instance, people are transported to airports and ship docks using buses and cars. Transportation systems are a part of the larger technological, social, and environmental systems in our world.
Thus, option C is correct.
For more details about Highway Transport System, click here:
https://brainly.com/question/1071443
#SPJ2
B. State True or False: 1. 'Date within' option allows you to search an email within a specified date range.
Answer + Explanation:
his topic describes the email and document properties that you can search for in email items in Exchange Online and documents stored on SharePoint and OneDrive for Business sites by using the Content Search feature in the Security & Compliance Center. You can also use the *-Compliance Search cmdlets in Security & Compliance Center PowerShell to search for these properties
Please have a great day <3
100 POINTS PLEASE HELP
Create and initialize a 5 x 5 array as shown below.
0 2 0 0 0
0 2 0 0 0
0 2 2 0 0
0 2 0 2 0
0 2 0 0 2
First, write a printArray() function that prints out the array. Use a single parameter in the definition of the function, and pass the array you created above as the parameter. Call the function so it prints the original array.
Then write a flipHorizontal() function that flips the contents of the array horizontally and prints the result. This means that the values in each row should be reversed (look at the second array in the sample run of the program for clarity). Again, this function should pass the original array as the parameter. Within your flipHorizontal() function, call the printArray() function to print the new array that has been horizontally flipped.
Reset the array back to the original 5 x 5 array we started with.
Then write a flipVertical() function that flips the contents of the array vertically and prints the result. This means that the values in each column should be reversed (look at the third array in the sample run of the program for clarity). Again, this function should pass the original array as the parameter. Within your flipVertical() function, call the printArray() function to print the new array that has been vertically flipped.
The sample run below shows how your code should print the original array, followed by the horizontally-flipped array, followed by the vertically-flipped array. Notice that the output below includes blank lines between each of the three arrays - yours should do the same.
Code should be able to do this
0 2 0 0 0
0 2 0 0 0
0 2 2 0 0
0 2 0 2 0
0 2 0 0 2
0 0 0 2 0
0 0 0 2 0
0 0 2 2 0
0 2 0 2 0
2 0 0 2 0
0 2 0 0 2
0 2 0 2 0
0 2 2 0 0
0 2 0 0 0
0 2 0 0 0
Answer:
hope this helped ,do consider giving brainliest
Explanation:
import numpy as np
#PrintArray Function
def printArray(array):
for i in range(len(array)):
for j in range(len(array[i])):
print(array[i][j], end= " ")
print()
#Flip horizontal function
def flipHorizontal(array):
#reversing the order of arrays
array2 = np.fliplr(array).copy() printArray(array2)
#Flip Vertical function
def flipVertical(array):
#Preserving the order of array and reversing each array.
array3 = np.flipud(array).copy() printArray(array3)
#Main() function def main():
array = [[0,2,0,0,0],[0,2,0,0,0],[0,2,2,0,0],[0,2,0,2,0],[0,2,0,0,2]]
print("The array: \n")
printArray(array)
print("\nFlipped horizontally: \n") flipHorizontal(array)
print("\nFlipped vertically: \n") flipVertical(array)
if __name__=="__main__":
main()Explanation:
Answer:
Answer:
hope this helped ,do consider giving brainliest
Explanation:
import numpy as np
#PrintArray Function
def printArray(array):
for i in range(len(array)):
for j in range(len(array[i])):
print(array[i][j], end= " ")
print()
#Flip horizontal function
def flipHorizontal(array):
#reversing the order of arrays
array2 = np.fliplr(array).copy() printArray(array2)
#Flip Vertical function
def flipVertical(array):
#Preserving the order of array and reversing each array.
array3 = np.flipud(array).copy() printArray(array3)
#Main() function def main():
array = [[0,2,0,0,0],[0,2,0,0,0],[0,2,2,0,0],[0,2,0,2,0],[0,2,0,0,2]]
print("The array: \n")
printArray(array)
print("\nFlipped horizontally: \n") flipHorizontal(array)
print("\nFlipped vertically: \n") flipVertical(array)
if __name__=="__main__":
main()Explanation:
Explanation:
What should you do first to best use your personal goals as a means for a promotion?
O research how your company offers promotions
O show professional behavior at all times
O set both short and long-term personal goals
O make sure some goals are only for personal growth
Answer:
C. Set both short and long-term personal goals.
Explanation:
This would be the most professional option.
The page that appears when you first open your Internet browser is the _____.
opening page
opening page
launch page
launch page
home page
home page
first page
first page
Answer:
launch page
Explanation:
You can change your launch page in settings.
Your launch page will be launched as soon as you reopen a browser.
Answer:
Launch page
Explanation:
The choice of database does not have any impact on the relevancy of search results?
Answer:
When searching for articles using library databases, the following tips should increase the relevance of your results. Quotation marks around two or more keywords - phrase searching - ensures that the results will include the exact phrase.
Explanation:
The choice of database does impact the relevancy of search results as different databases have varying algorithms and criteria for determining relevance.
The choice of the database can indeed have an impact on the relevancy of search results.
Different databases have varying algorithms and search capabilities, which affect how they index and retrieve information.
Databases might prioritize different criteria for relevance.
Academic databases, for instance, may prioritize scholarly articles based on factors like peer review, citation count, and relevance to a specific field.
This ensures that users searching for academic resources find the most authoritative and credible information.
So, when choosing a database, it's important to consider its specific search algorithms and features to ensure you get the most relevant results for your needs.
To learn more about database visit:
https://brainly.com/question/6447559
#SPJ3
scientific name of computer ?
Answer:
supercomputer. (redirected from scientific computer)
Explanation:
hope it will help you..
Scientific name of computer supercomputer.
What are Supercomputer?Supercomputing and other computing methods are sometimes used interchangeably. Yet, there are times when the synonyms aren't clear. To assist clarify some similarities and differences between various computer types, here are some common analogies.
While supercomputing typically refers to the process of complex and massive calculations used by supercomputers, high-performance computing (HPC) is the utilization of several supercomputers to execute difficult and huge computations.
Supercomputers are often known as parallel computers since they can perform parallel processing. Parallel processing is the simultaneous use of many Processors to solve a single calculation.
Therefore, Scientific name of computer supercomputer.
To learn more about Supercomputer, refer to the link:
https://brainly.com/question/30227199
#SPJ6
How do you find binary?
Answer:
To convert integer to binary, start with the integer in question and divide it by 2 keeping notice of the quotient and the remainder. Continue dividing the quotient by 2 until you get a quotient of zero. Then just write out the remainders in the reverse order.
Explanation:
Screen reading for extended periods can cause___________ _____________, so the position the monitor to minimize glare and give your eyes a short break every half hour.
Screen reading for extended periods can cause a syndrome known as the computer vision syndrome
Computer vision SyndromeWhat is computer vision Syndrome?
the computer syndrome is characterised by eye discomfort and fatigue, dry eye, blurry vision, and headaches, glare, etc. Uncorrected vision problems are a major cause. it is recommended to stay off the computer for at least thirty minutes to minimise the effects
Learn more about Computer vision Syndrome here:
https://brainly.com/question/8114244
Cyber criminals who infiltrate systems and collect data for illegal resale are called _____.
Answer:
Cash-out fraudsters
Explanation:
when would instant messaging be the least effective means of communication
Instant messaging would be least effective means of communication when you have a series of complex questions to ask your colleague.
What is the aim of instant messaging?Instant messaging is often used as a means of sending textual messages, It is known to be a short one and also quick in nature. It can occur between business colleagues and friends.
Its disadvantages is that its is an Ineffective tool for mass communication and also has issues when used for system for archiving.
See options below
A. When you want your colleague to let you know if the hyperlink you sent her is working
B. When you want to tell someone "Happy Birthday!"
C. When you have a series of complex questions to ask your colleague
D. When you want to call an impromptu meeting between some of the people in your office
Learn more about instant messaging from
https://brainly.com/question/26271202
Answer:
When you have a series of complex questions to ask your colleague.
Explanation:
Asking these questions on instant messaging is the least professional way you can ask a colleague about series topics that involve your job, it would be more professional to ask this at work rather than on via message.
what is the importance of saving a web page
Answer:
to see it later and remember it