Answer:
The SIZE constant is not definedThe variable i should be defined at the start of the function, not within the condition of the while loopThe main function returns no value. Generally they should return a zero on success.The printf text "%d" should actually be "%f". %d treats the variable as though it's an integer.
DRAG DROP -A manager calls upon a tester to assist with diagnosing an issue within the following Python script:#!/usr/bin/pythons = "Administrator"The tester suspects it is an issue with string slicing and manipulation. Analyze the following code segment and drag and drop the correct output for each string manipulation to its corresponding code segment. Options may be used once or not at all.Select and Place:
Answer:
The output is to the given question is:
nist
nsrt
imdA
strat
Explanation:
The missing code can be defined as follows:
code:
s = "Administrator" #defining a variable that hold string value
print(s[4:8])#using slicing with the print method
print(s[4: 12:2])#using slicing with the print method
print(s[3::-1])#using slicing with the print method
print(s[-7:-2])#using slicing with the print method
In the above code, a string variable s is declared, that holds a string value, and use the multiple print method to print its slicing calculated value.
How do motion sensors determine in simation
about a person?
They store information regarding a person's
health.
They record a person's surroundings.
They record who a person interacts with.
They track where they go and how they move.
Answer:
They record a person's surroundings.
Explanation:
Motion sensors like the passive infrared (PIR) work by detecting changes in the infrared radiation given off by objects in their surroundings. Normally most objects give off a small amount of infrared radiation. Human bodies, however, give off a large amount of infrared radiation.
So when motion sensors detect the presence of a person in a surrounding, they give off an alarm to indicate the presence of an intruder.
Answer:D
Explanation: the track where they go
Write a constructor for BaseballPlayer. The constructor takes three int parameters: numHits, numRuns, and numRBIs storing the values within the class' ArrayList field named playerStats.
Answer:
Following are the code to the given question:
public class BaseballPlayer//defining a class BaseballPlayer
{
BaseballPlayer(int numHits, int numRuns, int numRBIs)//defining a parameterized cons
{
}
}
Explanation:
Some of the data is missing, which is why the solution can be represented as follows:
In this code, a class BaseballPlayer is defined, and inside the class a parameterized constructor is defined that holds three integer variable "numHits, numRuns, and numRBIs".
What are the words that make up a high-level programming language called?
Answer:
just ask your teacher
Explanation:
You have an image of building but there are people standing on the far left side. You would like to remove those people. Which tool do you need ?
Answer:
cropping tool
Explanation:
since the people are on the far left you can just crop the image
HELP AASAP BRAINLIEST JUST HELP
Answer:
d
Explanation:
plz brainliest
Use the factorial operation to evaluate 10!.
A) 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1
B) 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1
C) 10 + 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1
D) 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1
Answer:
D
Explanation:
The definition of n! is n x (n-1) x (n-2) x ... x 1.
So 10! = 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 i.e. D.
Answer:
D) 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1
Explanation:
The problem here is to use the factorial method to find;
10!
The factorial of any number is given as:
a! = (a - 1) x (a - 2) .........(a - n)
It is the product of any integer from 1 to that number.
So;
10! = 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1
The solution is therefore 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1
Write the command and explain about each formula in MS Excel
1. SUM
2. AVERAGE
3. MAx
4. MIN
5. COUNT
Answer:
1. SUM --- The SUM function is used to sum all the values that are in a given range. Thus, for example, if you want to add the values between cells A1 and A3, you must write the following command: =SUM(A1:A10)
2. AVERAGE --- The AVERAGE function allows you to average a range of values, throwing the average of these values in the cell where the function is typed. For example, if you want to average the values included between B1 and B3, you should write the following function: =AVERAGE (B1: B3).
3. MAX --- The MAX function, for its part, returns the maximum value of the values included in the function. For example, if the maximum value included between the values C1 and C3 is known, the following function must be written: =MAX (C1: C3).
4. MIN --- The MIN function, in turn, allows to identify the minimum value of the range of values included in the function. For example, if the minimum value included between the values D1 and D3 is known, the following function must be written: =MIN (D1: D3).
5. COUNT --- The COUNT function, finally, is used to count all the cells that have numbers, which have been included in the range of the function. For example, if you want to count all cells that contain numbers between the values E1 and E3, you must write the following function: =COUNT (E1: E3).
Organizations can use dictionaries to disallow passwords during the reset process and thus guard against easy-to-guess passwords.
a) true
b) false
Answer:
a) true
Explanation:
Cyber security can be defined as preventive practice of protecting computers, software programs, electronic devices, networks, servers and data from potential theft, attack, damage, or unauthorized access by using a body of technology, frameworks, processes and network engineers.
With cybersecurity theory, security standards, frameworks and best practices we can guard against cyber attacks and easy-to-guess passwords.
An example of best practices in cybersecurity is the use of alphanumeric password with certain composition and strength, such as a minimum of eight (8) characters. This would ensure there's a formidable wall to protect data and an unauthorized access or usage of the system network.
A dictionary attack typically involves accessing a list of commonly used passwords by end users rather than a random guess.
Hence, organizations can use dictionaries to disallow passwords during the reset process and thus guard against easy-to-guess passwords.
A user attempts to log in to a Windows PC, but the computer returns to the login screen after entering the correct username and password. A technician inspects the logs in Event Viewer and finds a message that corresponds to the user's login attempts: The user profile for User l5 could not be loaded. Ntuser.dat is missing or corrupt. What would be MOST appropriate for resolving this issue?
Answer:
Press the function key F8 to boot into safe mode and log in as User15. Then, remove extraneous startup programs.
Explanation:
This is a problem that is related to a missing or corrupt system file responsible for managing user accounts and profiles on a computer system.
In this scenario, a user attempts to log in to a Windows PC, but the computer returns to the login screen after entering the correct username and password. A technician inspects the logs in Event Viewer and finds a message that corresponds to the user's login attempts: The user profile for User l5 could not be loaded. Ntuser.dat is missing or corrupt.
Thus, what would be most appropriate for resolving this issue is to press the function key, F8 to boot into safe mode and log in as User15 and then remove extraneous startup programs that are running in the background while a computer is booting (startup).
A university with remote campuses, which all use different service providers, loses Internet connectivity across all locations. After a few minutes, Internet and VoIP services are restored, only to go offline again at random intervals, typically within four minutes of services being restored. Outages continue throughout the day, impacting all inbound and outbound connections and services. Services that are limited to the local LAN or WiFi network are not impacted, but all WAN and VoIP services are affected. Later that day, the edge-router manufacturer releases a CVE outlining the ability of an attacker to exploit the SIP protocol handling on devices, leading to resource exhaustion and system reloads. Which of the following BEST describe this type of attack?
A. DOS
B. SSL Stripping
C. Memory leak
D. Race condition
E. Shimming
F. Refactoring
Answer:
A & D.
Explanation:
In real time operating system, the best description for this type of attack explained in the question is;
DOS and Race Condition.
Because race condition takes place when 2 or more threads are able to both access and change shared data simultaneously ,while DOS is a good foundation to build a custom made Real time operating system.
Thus, options A & D are correct.
write down the name of output devices
Answer:
Monitor
Printer
Headphones
Computer Speakers
Projector
GPS
Sound Card
Video card
Explanation:
monitor
printer
headphones
computer speakers
projector
GPS
sound card
video card
hope it helps you
plese follow me
Write a program to insert an array of letters (word), then arrange the letters in ascending order and print this array after the arrangement.
Answer:
def split(word):
return [char for char in word]
word = input("Enter a word: ")
chars = split(word)
chars.sort()
sorted = ''.join(chars)
print(sorted)
Explanation:
Here is a python solution.
Consider the following code segment.
firstList + ["guitar", "drums", "bass"]
secondList + ["flute", "violin"]
thirdList = []
thirdList + firstList
firstList secondList
secondlist thirdList
What are the contents of secondList after the code segment is executed?
А
[]
00
["guitar", "drums", "bass"]
с
["flute", "violin"]
D
["flute", "violin", "guitar", "drums", "bass"]
Answer:
[tex]secondList = ["guitar", "drums", "bass"][/tex]
Explanation:
At the third line of the code segment:
An empty list thirdList is created
At the fourth line of the code segment:
The content of firstList is passed into thirdList
i.e. [tex]thirdList = ["guitar", "drums", "bass"][/tex]
At the fifth line of the code segment:
The content of secondList is passed into firstList
i.e. [tex]firstList = ["flute", "violin"][/tex]
At the fifth line of the code segment:
The content of thirdList is passed into secondList
i.e. [tex]secondList = ["guitar", "drums", "bass"][/tex]
III. FILL-IN THE BLANK (five points each)
11. Open divided scales have scales going in
directions.
12. There are
groups of scales.
13. The open divided scales have an
unit preceding zero.
14. The triangular scale can have up to
different scales on one piece of plastic.
15. The mechanical inch is divided into
equal parts.
What is the recommended solution if a computer performs slowly?
Answer:
Not sure what the class/context is, but here's what I'd do to diagnose a problem like that:
- Check to see what programs have high utilization of system resources in task manager and end them
- Prevent background startup processes from occuring on restart or from running in the background during normal use
- Figure out what hardware component is bottlenecking the system and upgrade it (HDD to SSD would be one example)
- If the issue is malware related, I would "flatten" the PC by wiping the entire system and reinstalling the OS (though some malware can persist even across this)
Source: I've worked as labs support
If a computer is performing slowly, there are several recommended solutions one can try to improve its performance, such as closing unnecessary programs, restarting the computer, etc.
Reviewing the programs that automatically start when the computer boots up and disabling unnecessary startup programs to reduce the time it takes for the computer to start and free up system resources. The specific solution may vary depending on the computer's operating system, hardware, and specific performance issues. It's always a good idea to back up important files before making any changes to your computer's configuration. If the performance issues persist, seeking assistance from a computer technician or IT professional may be necessary.
Learn more about computers here.
https://brainly.com/question/32297640
#SPJ6
write a python program to accept a number and check whether it is divisible by 4 or not
Answer:
number = int(input("Enter number: "))
if (number % 4):
print("{} is not divisible by 4".format(number))
else:
print("{} is divisible by 4".format(number))
Explanation:
If the %4 operation returns a non-zero number, there is a remainder and thus the number is not divisable by 4.
When defining a class, it is a best practice to declare ____ as private. constructors mutators nothing should be private accessors variables
Answer:
The answer is "variables".
Explanation:
It is necessary to declare a variable privately when declaring a class because the private variable 'protects' the code while it is in operation. It may not aim to protect it at this stage from changing the codes themselves for other developers. Its purpose of the so-called "data hiding" is to hold the internal data from many other classes using the class protected.
what benefit can we get form using computer in education?
Why are object-oriented languages very popular?
They can use flowcharts.
They can use pseudocode.
They are powerful, clear, and efficient.
They don't use binary.
Answer:
Explanation:
Other advantages of object-oriented programming languages are you can use it to kinds of web applications for thorough data analysis, less development time, accurate coding, easy testing, reusability, debugging, less data corruption, and maintenance.
compare and contrast Charles bebbage and Blaise Pascal inventions
Explanation:
A computer might be described with deceptive simplicity as “an apparatus that performs routine calculations automatically.” Such a definition would owe its deceptiveness to a naive and narrow view of calculation as a strictly mathematical process. In fact, calculation underlies many activities that are not normally thought of as mathematical. Walking across a room, for instance, requires many complex, albeit subconscious, calculations. Computers, too, have proved capable of solving a vast array of problems, from balancing a checkbook to even—in the form of guidance systems for robots—walking across a room.
Before the true power of computing could be realized, therefore, the naive view of calculation had to be overcome. The inventors who laboured to bring the computer into the world had to learn that the thing they were inventing was not just a number cruncher, not merely a calculator. For example, they had to learn that it was not necessary to invent a new computer for every new calculation and that a computer could be designed to solve numerous problems, even problems not yet imagined when the computer was built. They also had to learn how to tell such a general problem-solving computer what problem to solve. In other words, they had to invent programming.
They had to solve all the heady problems of developing such a device, of implementing the design, of actually building the thing. The history of the solving of these problems is the history of the computer. That history is covered in this section, and links are provided to entries on many of the individuals and companies mentioned. In addition, see the articles computer science and supercomputer.
Early history
Computer precursors
The abacus
The earliest known calculating device is probably the abacus. It dates back at least to 1100 BCE and is still in use today, particularly in Asia. Now, as then, it typically consists of a rectangular frame with thin parallel rods strung with beads. Long before any systematic positional notation was adopted for the writing of numbers, the abacus assigned different units, or weights, to each rod. This scheme allowed a wide range of numbers to be represented by just a few beads and, together with the invention of zero in India, may have inspired the invention of the Hindu-Arabic number system. In any case, abacus beads can be readily manipulated to perform the common arithmetical operations—addition, subtraction, multiplication, and division—that are useful for commercial transactions and in bookkeeping.
The abacus is a digital device; that is, it represents values discretely. A bead is either in one predefined position or another, representing unambiguously, say, one or zero.
Analog calculators: from Napier’s logarithms to the slide rule
Calculating devices took a different turn when John Napier, a Scottish mathematician, published his discovery of logarithms in 1614. As any person can attest, adding two 10-digit numbers is much simpler than multiplying them together, and the transformation of a multiplication problem into an addition problem is exactly what logarithms enable. This simplification is possible because of the following logarithmic property: the logarithm of the product of two numbers is equal to the sum of the logarithms of the numbers. By 1624, tables with 14 significant digits were available for the logarithms of numbers from 1 to 20,000, and scientists quickly adopted the new labour-saving tool for tedious astronomical calculations.
Most significant for the development of computing, the transformation of multiplication into addition greatly simplified the possibility of mechanization. Analog calculating devices based on Napier’s logarithms—representing digital values with analogous physical lengths—soon appeared. In 1620 Edmund Gunter, the English mathematician who coined the terms cosine and cotangent, built a device for performing navigational calculations: the Gunter scale, or, as navigators simply called it, the gunter. About 1632 an English clergyman and mathematician named William Oughtred built the first slide rule, drawing on Napier’s ideas. That first slide rule was circular, but Oughtred also built the first rectangular one in 1633. The analog devices of Gunter and Oughtred had various advantages and disadvantages compared with digital devices such as the abacus. What is important is that the consequences of these design decisions were being tested in the real world.
Digital calculators: from the Calculating Clock to the Arithmometer
In 1623 the German astronomer and mathematician Wilhelm Schickard built the first calculator. He described it in a letter to his friend the astronomer Johannes Kepler, and in 1624 . .
Select all correct answers. Technology helps:
A) make things cooler
B) make Things easier
C) make things faster
D) solve Problems
Answer:
a,b,c,d
Explanation:
it helps with all of those things
Answer:
D. Solve Problems
Explanation:
Technology has played a crucial role in keeping so many people alive through life support machines and other specialized health equipment. Technology also aids in the scientific research of new medicines and cures that are beneficial to the entire human race. Business and Commerce. Business is not as usual since the internet came into this world.
Which function in spreadsheet software can be used to predict future sales or inventory needs?
Answer:forecast
Explanation:
What effect would excluding quotation marks from a search phrase have?
A.
It would narrow down the search.
B.
It would have little or no impact on the search.
C.
It would broaden the search.
D.
It would cause the search engine to bring up very different results.
Answer: C
it would broaden the search
Explanation:
Placing quotation marks around a search term or phrase limits your search to that exact term or phrase. Without the quotes, your search engine may return all results that contain each separate word. Placing AND between your keywords will return results that only include both or all your keywords.
Answer:
The answer is C. It would broaden the search.
Explanation:
I got it right on the Edmentum test.
Gamification and virtual reality is the future of education
Answer:
Education is expected to be the fourth largest sector for VR investment. VR in education is predicted to be a $200 million industry by 2020, and a $700 million industry by 2025. 97% of students would like to study a VR course.
Explanation:
Many interesting science-, technology-, engineering-, and math-oriented websites provide open-source data to the public. Which of the following sites provide that information?
a. DATA.GOV
b. Whitehouse.gov
c. NYC Open Data
d. National Cancer Institute
e. International Genetics Foundation
f. creditscore.com
g. USPostal Service
Answer: a. DATA.GOV
b. Whitehouse.gov
c. NYC Open Data
d. National Cancer Institute
e. International Genetics Foundation
Explanation:
The mentioned websites will provide information about science, engineering, mathematics, and technology. These are open source websites and they can provide information to the public.
creditscore.com and US Postal Service these websites the above mentioned information. The former provides the credit report provided by the credit bureau and the other latter is related with the independent agency which provides postal services.
* HELP FAST*Which Section do you need to go on in the Ribbon, to get to the button that will allow you Create a Link between text boxes?
Answer:
Insert
Explanation:
Take with a pinch of salt cuz I'm not a coder or anything, but I've got a few skillz.
How to do brainliest
in java please
In this exercise, you will need to create a static method called findString in the MatchingString class that should iterate over String[] arr looking for the exact match of the String that is passed as a parameter.
Return the index of the array where the String is found; if it does not exist in the array, return -1.
For example, if the word “Karel” is passed in, your method would return 1.
Answer:
Explanation:
The following code is written in Java. It is a static method that takes in a String parameter and loops through the String array called arr comparing each element in the array with the word parameter that was passed. If it finds a match the method returns the index of that word, otherwise it will return -1
public static int findString(String word){
int index = -1;
for (int x = 0; x < arr.length; x++) {
if (word == arr[x]) {
index = x;
break;
}
}
return index;
}
If you are working in a word-processing program and need to learn about its features, the best place to get assistants is from the ________.
A. application's help menu
B. desktop
C. toolbar
D. start menu
Answer:
A
Explanation:
plz mark me brainlies
Answer:
A. Application's help menu
Explanation: