Answer:
Quick Analysis toolbar
Explanation:
it appears with the options formatting, chart, total, table, sparklines
Write a program that reads in 10 numbers and displays the number of distinct numbers and the distinct numbers in their input order and separated by exactly one space (i.e., if a number appears multiple times, it is displayed only once). After the input, the array contains the distinct numbers. Here is a sample run of the program.
Answer:
Explanation:
The following code is written in Python. It creates a for loop that iterates 10 times, asking the user for a number every time. It then checks if the number is inside the numArray. If it is not, then it adds it to the array, if it is then it skips to the next iteration. Finally, it prints the number of distinct numbers and the list of numbers.
numArray = []
for x in range(10):
num = input("Enter a number")
if int(num) not in numArray:
numArray.append(int(num))
print("Number of Distince: " + str(len(numArray)))
for num in numArray:
print(str(num), end = " ")
Calculate the boiling point of 3.42 m solution of ethylene glycol, C2H602, in water (Kb =0.51°C/m, the normal boiling point of water is 100°C):
Answer:
128.10 degree Celsius
Explanation:
The boiling point is given by
[tex]T_b = \frac{1000*K_b * w}{M*W}[/tex]
Substituting the given values, we get -
[tex]T_b = \frac{1000*0.51 * 3.42}{62.07}\\T_b = 28.10[/tex]
Tb is the change in temperature
T2 -T1 = 28.10
T2 = 28.10 +100
T2 = 128.10 degree Celsius
Suppose that a file named sensor.dat contains information collected from a set of sensors. Each row contains a set of sensor readings, with the first row containing values collected at 0 seconds, the second row containing values collected at 1.0 sec-onds, and so on.11.Write a program to read the data file and print the number of sensors and the number of seconds of data contained in the file. (Hint: use the sizefunction.)
Answer:
The program in Python is as follows:
myfile = open("sensor.dat", "r")
for line in myfile:
print(line)
myfile.close()
Explanation:
This opens the file for read operation
myfile = open("sensor.dat", "r")
This iterates through the file
for line in myfile:
Print record on each row
print(line)
Close file
myfile.close()
Scenario: The Development group in a company wants to setup theirown Child Domain to have full control on managing their accounts and policies. The Main IT group is recommending they are setup with an Organizational Unit, and delegating the appropriate access.Make your case supporting either the Development group or the Main IT group.Computer ScienceEngineering & TechnologyNetworkingIFT 220
Answer:
(:
Explanation:
Create a static method that: - is called appendPosSum - returns an ArrayList - takes one parameter: an ArrayList of Integers This method should: - Create a new ArrayList of Integers - Add only the positive Integers to the new ArrayList - Sum the positive Integers in the new ArrayList and add the Sum as the last element For example, if the incoming ArrayList contains the Integers (4,-6,3,-8,0,4,3), the ArrayList that gets returned should be (4,3,4,3,14), with 14 being the sum of (4,3,4,3). The original ArrayList should remain unchanged.
Answer:
The method in Java is as follows:
public static ArrayList<Integer> appendPosSum(ArrayList<Integer> nums) {
int sum = 0;
ArrayList<Integer> newArr = new ArrayList<>();
for(int num : nums) {
if(num>0){
sum+=num;
newArr.add(num); } }
newArr.add(sum);
return newArr;
}
Explanation:
This defines the method; it receives an integer arraylist as its parameter; nums
public static ArrayList<Integer> appendPosSum(ArrayList<Integer> nums) {
This initializes sum to 0
int sum = 0;
This declares a new integer arraylist; newArr
ArrayList<Integer> newArr = new ArrayList<>();
This iterates through nums
for(int num : nums) {
If current element is greater than 0
if(num>0){
This sum is taken
sum+=num;
And the element is added to newArr
newArr.add(num); } }
At the end of the iteration; this adds the calculated sum to newArr
newArr.add(sum);
This returns newArr
return newArr;
}
Calculate the total capacity of a disk with 2 platters, 10,000 tracks, an average of
400 sectors per track, and 512 bytes per sector?
Answer:
[tex]Capacity = 2.048GB[/tex]
Explanation:
Given
[tex]Tracks = 10000[/tex]
[tex]Sectors/Track = 400[/tex]
[tex]Bytes/Sector = 512[/tex]
[tex]Platter =2[/tex]
Required
The capacity
First, calculate the number of Byte/Tract
[tex]Byte/Track = Sectors/Track * Bytes/sector[/tex]
[tex]Byte/Track = 400 * 512[/tex]
[tex]Byte/Track= 204800[/tex]
Calculate the number of capacity
[tex]Capacity = Byte/Track * Track[/tex]
[tex]Capacity= 204800 * 10000[/tex]
[tex]Capacity= 2048000000[/tex] --- bytes
Convert to gigabyte
[tex]Capacity = 2.048GB[/tex]
Notice that the number of platters is not considered because 10000 represents the number of tracks in both platters
What aspect should you consider before adding pictures to a document?
You should structure the BLANK first before you search for a relevant picture.
Answer:
You should structure the text first before you search for a relevant picture.
Explanation:
When adding a picture or pictures to a text document, the structure of the text must be considered.
Structure as used in the above sentence means (but is not limited to), the headings, the layouts, the spacing, paragraphs and word formatting in the document.
In other words, the way the document is organized
All these must be put in to place before one adds pictures into the document.
how data transform into information?
What is the key stroke combination for BOLD text?
O Ctrl + B
O Ctrl + D
O Ctrl + H
O Ctrl + M
Answer:
Ctrl + B.....................
True or false a mirrorless camera has a pentaprism
Answer:
No the pentaprism or pentamirror are both optical viewfinder viewing systems and are not part of the mirrorless camera. Some thing the pentaprism actually operates better than the electronic viewfinder of mirrorless cameras.
Explanation:
how to shutdow computer
Answer:
well if your on windows you click the start button then click the power button then click shutdown if your on mac you click apple menu then shutdown if on a chromebook just hold the power button for 3 to 5 seconds
Explanation:
How much data do sensors collect?
Answer:
2,4 terabits (TB) of data every minute. Sensors in one smart-
Mining safety sensors may create up to 2.4 terabits (TB) of data every minute.
What is the significance of sensors?Sensors can help to improve the world by improving diagnostics in medical applications, the performance of energy sources such as fuel cells, batteries, and safety, solar power, people's health, and security, sensors for exploring space and the known university, and improved environmental monitoring.
Sensors play an important role in industrial applications such as process control, monitoring, and safety. The change in sensor output compared to a unit change in input is measured as sensitivity.
It provides several advantages, including increased sensitivity during data gathering, practically lossless transmission, and continuous, real-time analysis.
Real-time feedback and data analytics services ensure that processes are operational and being carried out optimally. Sensors in a single smart-connected house may generate up to 1 gigabit (GB) of data every week.
Learn more about the sensors, refer to:
https://brainly.com/question/15396411
#SPJ2
Write a program with a function that accepts a string as an argument and returns the number of uppercase, lowercase, vowel, consonants, and punctuation that the string contains. The application should let the user enter a string and should display the number of uppercases, lowercases, vowels, consonants, and punctuations that the string contains.
Answer:
Explanation:
The following code is written in Python. It is a function called checkString that takes in a string as an argument and loops through each char in that string and checking to see if it is lowercase, uppercase, vowel, consonant, or punctuations. It adds 1 to the correct variable. At the end of the loop it prints out all of the variables. The picture below shows a test output with the string "Brainly, Question."
def checkString(word):
uppercase = 0
lowercase = 0
vowel = 0
consonants = 0
punctuation = 0
vowelArray = ['a', 'e', 'i', 'o','u', 'y' ]
consonantArray = ['b', 'c', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', 'n', 'p', 'q', 'r', 's', 't', 'v', 'w', 'x', 'y', 'z']
punctuationArray = ['.', '!', '?', ',', ';', '(', ')']
for char in word:
if char.isupper():
uppercase += 1
else:
lowercase += 1
if char.lower() in vowelArray:
vowel += 1
elif char.lower() in consonantArray:
consonants += 1
if char in punctuationArray:
punctuation += 1
print('Uppercase: ' + str(uppercase))
print('Lowercase: ' + str(lowercase))
print('Vowels: ' + str(vowel))
print('Consonants: ' + str(consonants))
print('Punctuations: ' + str(punctuation))
Security monitoring has detected the presence of a remote access tool classified as commodity malware on an employee workstation. Does this allow you to discount the possibility that an APT is involved in the attack
Answer:
No it doesn't
Explanation:
Targeted malware can be linked to such high resource threats as APT. Little or nothing can be done to stop such advanced persistent threats. It is necessary to carry out an evaluation on other indicators so that you can know the threat that is involved. And also to know if the malware is isolated or greater than that.
A ___________ consists of a large number of network servers used for the storage, processing, management, distribution, and archiving of data, systems, web traffic, services, and enterprise applications.
Answer:
Data center
Explanation:
A network service provider can be defined as a business firm or company that is saddled with the responsibility of leasing or selling bandwidth, internet services, infrastructure such as cable lines to both large and small internet service providers.
Generally, all network service providers, internet service providers and most business organizations have a dedicated building or space which comprises of a large number of computer systems, security devices, network servers, switches, routers, storage systems, firewalls, and other network associated devices (components) typically used for remote storage, processing, management, distribution, and archiving of large amount of data, systems, web traffic, services, and enterprise applications.
Furthermore, there are four (4) main types of data center and these includes;
I. Managed services data centers.
II. Cloud data centers.
III. Colocation data centers.
IV. Enterprise data centers.
Here is a nested loop example that graphically depicts an integer's magnitude by using asterisks, creating what is commonly called a histogram: Run the program below and observe the output. Modify the program to print one asterisk per 5 units. So if the user enters 40, print 8 asterisks.num = 0while num >= 0: num = int(input('Enter an integer (negative to quit):\n')) if num >= 0: print('Depicted graphically:') for i in range(num): print('*', end=' ') print('\n')print('Goodbye.')
Answer:
Please find the code in the attached file.
Output:
Please find the attached file.
Explanation:
In this code a "num" variable is declared that use while loop that check num value greater than equal to 0.
Inside the loop we input the "num" value from the user-end and use if the value is positive it will define a for loop that calculates the quotient value as integer part, and use the asterisks to print the value.
If input value is negative it print a message that is "Goodbye".
Please find the code link: https://onlinegdb.com/7MN5dYPch2
Which language will report a compilation error for the following snippet of code? int i = 3; double n, j = 3.0; n = i + j; Group of answer choices All of the above C++ Java C
Answer:
None of the programming languages
Explanation:
Given
[tex]int\ i = 3; double\ n, j = 3.0;[/tex]
[tex]n = i + j;[/tex]
Required
Which will produce a compilation error
The given code snippet will pass the syntax test and the semantic test for the three programming languages (C++, Java and C)
In other words, it will compile without error.
The reason is that (for the three programming languages);
Variables (i, n and j) were declared properlyVariables i and j were initialized properlyLastly, the arithmetic operation was also done properlyHence, none of the programming languages will return an error
Calculate the total capacity of a disk with 2 platters, 10,000 tracks, an average of
400 sectors per track, and 512 bytes per sector?
Answer:
[tex]Capacity = 2.048GB[/tex]
Explanation:
Given
[tex]Tracks = 10000[/tex]
[tex]Sectors/Track = 400[/tex]
[tex]Bytes/Sector = 512[/tex]
[tex]Platter =2[/tex]
Required
The capacity
First, calculate the number of Byte/Tract
[tex]Byte/Track = Sectors/Track * Bytes/sector[/tex]
[tex]Byte/Track = 400 * 512[/tex]
[tex]Byte/Track= 204800[/tex]
Calculate the number of capacity
[tex]Capacity = Byte/Track * Track[/tex]
[tex]Capacity= 204800 * 10000[/tex]
[tex]Capacity= 2048000000[/tex] --- bytes
Convert to gigabyte
[tex]Capacity = 2.048GB[/tex]
Notice that the number of platters is not considered because 10000 represents the number of tracks in both platters
For each of the following application areas state whether or not the tree data structure appears to be a good fit for use as a storage structure, and explain your answer: a. chess game moves b. public transportation paths c. relationship among computer files and folders d. genealogical information e. parts of a book (chapters, sections, etc.) f. programming language history g. mathematical expression
Answer:
a) Chess game moves:- Tree data structure is not a good fit.
b) Public transportation paths:- Tree data structure is not a good fit.
c) Relationshi[p among computer files and folders:- Tree data structure is a good fit.
d) Genealogical information:- Tree data structure is a good fit.
e) Parts of books:- Tree data structure is a good fit.
f) Programming language history:- Tree data structure is not a good fit.
g) Mathematical expression:- Tree data structure is a good fit.
Explanation:
a) Chess game moves:- Tree data structure is not a good fit. Since in tree data structure moving backward or sharing the node is not that much easy. Presume, In chess, you have to check any box is empty or not. Here, Graph is the best fit.
b) Public transportation paths:- Tree data structure is not a good fit. whenever shortest path, routes, broadcast come always graph is a good option. Because in the tree you don't know how many time you visit that node
c) Relationshi[p among computer files and folders:- Tree data structure is a good fit. Since they have a predefined route. Go to 'c' drive. Open a particular folder and open a particular file.
d) Genealogical information:- Tree data structure is a good fit. Since genealogical information also has a predefined route. Here, the Graph is not suitable.
e) Parts of books:- Tree data structure is a good fit. Since manages the chapters and topics are not that much complex. You can see any book index which is in a very pretty format.
f) Programming language history:- Tree data structure is not a good fit. To store the history of the programming language we need some unconditional jumps that's why the tree is not suitable.
g) Mathematical expression:- Tree data structure is a good fit. The tree is suitable in some cases. We have an expression tree for postfix, prefix.
on a client server network clients and servers usually require what to communicate?
Answer:
A connectivity device. Your colleague, in describing the benefits of a client/server network, mentions that it's more scalable than a peer-to-peer network.
Explanation:
You are required to make a carrier with the following details:
Frequency-1 hz/sec
Amplitude - 2
Phase - O degree
Once this carrier has been drawn, please perform the following on the data:
10110010
1. FSK
2. ASK
3. PSK
Both symmetric and asymmetric encryption methods have their places in securing enterprise data. Compare and contrast where each of these are used in real-life applications. Use at least one global example in identifying the differences between applications.
At one college, the tuition for a full-time student is $6,000 per semester. It has been announced that the tuition will increase by 2 percent each year for the next five years. Design a program with a loop that displays the projected semester tuition amount for the next five years.
Answer:grhgrt
Explanation:
The program is an illustration of loops;
Loops are program statements used to perform repetition
The tuition programThe program written in Python, where comments are used to explain each action is as follows:
#This initializes the fee
fee = 6000
#The following loop is repeated 5 times
for i in range(5):
#This calculates the fee, each year
fee *= 1.02
#This prints the calculated fee
print(round(fee,2),end=" ")
Read more about loops at:
https://brainly.com/question/24833629
#SPJ6
Mainframe computers are multi-programming, high-performance computers, and multi-user, which means it can handle the workload of more than 100 users at a time on the computer.
a. True
b. False
Answer:
a. True
Explanation:
A computer can be defined as an electronic device that is capable of receiving of data in its raw form as input and processes these data into information that could be used by an end user. Computers can be classified on the basis of their size and capacity as follows;
I. Supercomputers.
II. Mainframe computers.
III. Mini computers.
IV. Micro computers.
Mainframe computers were developed and introduced in the early 1950s.
Mainframe computers are specifically designed to be used for performing multi-programming because they are high-performance computers with the ability to handle multiple users. As a result, it simply means that mainframe computers can be used to effectively and efficiently perform the work of over one hundred (100) users at a time on the computer. Some examples of mainframe computers include the following; IBM Es000 series, CDC 6600 and ICL39 Series.
Furthermore, mainframe computers are mostly or commonly used by large companies, business firms or governmental institutions for performing various complex tasks such as census, financial transactions, e-commerce, data sequencing, enterprise resource planning, etc.
Answer:
a. True
Explanation:
A mainframe computer, informally called a mainframe or big iron, is a computer used primarily by large organizations for critical applications, bulk data processing (such as the census and industry and consumer statistics, enterprise resource planning, and large-scale transaction processing).
Paravirtualization is ideal for
Answer:to allow many programs, through the efficient use of computing resources including processors and memory, to operate on a single hardware package.
Explanation:
Write a program whose inputs are three integers, and whose output is the smallest of the three values. Ex: If the input is: 7 15 3 the output is: 3
Answer:
The program in Python is as follows:
nums = []
for i in range(3):
num = int(input(""))
nums.append(num)
print(min(nums))
Explanation:
This initializes a list of numbers
nums = []
This loop is repeated 3 times
for i in range(3):
For each repetition, this prompts the user for input
num = int(input(""))
This appends the input to the list
nums.append(num)
This gets the smallest of the three inputs using the min() function. The smallest is also printed
print(min(nums))
The Answer is in Bold:
#include <iostream>
using namespace std;
int main() {
int a, b, c; //NOTE: you don't have to put a, b, c. you can put it as x, y, z
//or you can make it as num1, num2, num3 etc.
cin >> a;
cin >> b;
cin >> c;
if (a < b && a < c) {
cout << a <<endl;
}
else if(b < a && b < c) {
cout << b << endl;
}
else {
cout << c <<endl;
}
return 0;
}
A file system uses a bitmap to keep track of free disk space. One bit represents a 512-byte block. The disk contains 3 files, in the order: A, B, C, with the respective sizes of 1040, 700, 2650 bytes. Which one below is the correct bitmap?
A. 0111000111111 ....
B.1111111100110 ...
C.1011101101100...
D. 1111111111100
Answer:
B. 1111111100110
Explanation:
Bitmap is the technique for mapping from some domain bits. This is particularly referred to as pix-map which is actually map of pixels and this contains more than two colors. it used more than one bit per pixel. Pixels lesser than 8 will represent gray scale.
Question Statement: Explain the steps needed to the display all the items in a linked list
Answer:
A list of linked data structures is a sequence of linked data structures.
The Linked List is an array of links containing items. Each link contains a link to a different link. The second most frequently used array is the Linked List.
Explanation:
Create a node class with 2 attributes: the data and the following. Next is the next node pointer.
Create an additional class with two attributes: head and tail.
AddNode() adds to the list a new node:
Make a new node.
He first examines if the head is equal to zero, meaning that the list is empty.
The head and the tail point to the newly added node when this list is vacant.
If the list isn't empty, the new node will be added at the end of the list to point to the new node of tail. This new node is the new end of the list.
Show() will show the nodes in the list:
Set a node current that first points to the list header.
Cross the list until the current null points.
Show each node by referring to the current in each iteration to the next node.
Write a program that tells what coins to give out for any amount of change from 1 cent to 99 cents. For example, if the amount is 86 cents, the output would be something like the following:
86 cents can be given as 3 quarters 1 dime and 1 penny
Use coin denominations of 25 cents (quarters), 10 cents (dimes), and 1 cent (pennies). Do not use nickel and half dollar coins. Your program will use the following function (among others):
void computeCoin(int coinValue, int& number, int& amountLeft);
For example, suppose the value of the variable amountleft is 86. Then, after the following call, the value of number will be 3 and the value of amountLeft will be 11 (because if oyu take three quarters from 86cents, that leaves 11 cents):
computecoins (25, number, amountLeft);
Include a loop that lets the user repeat this computation for new input values until the suer says he or she wants to end the program (Hint: use integer division and the % operator to implement this function.)
Add all numbers up
and you will get your sum
What term refers the built-in redundancy of an application's components and the ability of the application to remain operational even if some of its components fail
Answer:
Fault tolerance.
Explanation:
A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer on how to perform a specific task and solve a particular problem.
Simply stated, it's a computer program or application that comprises of sets of code for performing specific tasks on the system.
Fault tolerance is an ability of the component of a software application or network to recover after any type of failure. Thus, it is the redundancy of an application's components built-in by default and the ability of this software application to remain functional or operational even if some of its components fail or it encounter some code blocks.
Basically, fault tolerance makes it possible for a software application or program to continue with its normal operations or functions regardless of the presence of hardware or system component failure.
Hence, it is an important requirement for any software application that should be incorporated by software developers during the coding stage of the software development life cycle (SDLC).