Answer:
#include <stdio.h>
#include <string.h>
int main(){
char number[100];
printf("Number: ");
scanf("%s", number);
int sum = 0;
for(int i =0;i<strlen(number);i++){
sum+= number[i] - '0';
}
printf("Sum: %d",sum);
return 0;
}
Explanation:
This declares a c string of 100 characters
char number[100];
This prompts user for input
printf("Number: ");
This gets user input
scanf("%s", number);
This initializes sum to 0
int sum = 0;
This iterates through the input string
for(int i =0;i<strlen(number);i++){
This adds individual digits
sum+= number[i] - '0';
}
This prints the calculated sum
printf("Sum: %d",sum);
return 0;
The program that ask the user to enter a series of single digit number and display the sum of all the single digit number, highest number and lowest number is as follows:
x = input("input the series of number: ")
y = []
for i in x:
y += i
integer_map = list(map(int, y))
print(sum(integer_map))
print(max(integer_map))
print(min(integer_map))
The code is written in python.
Code explanation:The first line of code ask the user for the series of numbers. The user input is stored in the variable "x"The y variable is an empty arraywe use the for loop to loop through the users series of number. Then add the looped items to the empty array.Then we map the string of list to an integersFinally, we print the sum , maximum and minimum number of the list.learn more on python program: https://brainly.com/question/16025032?referrer=searchResults
Cell address A4 in a formula means it is a _________Mixed cell reference
A. Relative cell reference
B. Mixed cell reference
C. Absolute cell reference
D. All of the above
Answer:
A. Relative cell reference.
Explanation:
A relative cell reference is like a pointer to a cell or range of cell in Excel. In Excel all cell references, by default, are relative cell references.
In the given instance, the cell address A4 in a formula means it is a relative cell reference. If there would have been a $ sign before A4, then it will be an absolute cell reference. But since, it is without dollar sign, it is a relative cell reference.
Therefore, option A is correct.
How would you open the web browser in Linux and still have access to the Linux terminal?
Answer:
Use the command "sensible-browser" I could be wrong I have not used linux in some time.
Explanation:
A network manager is interested in a device that watches for threats on a network but does not act on its own, and also does not put a strain on client systems. Which of the following would BEST meet these requirements?
a. HIDS
b. NIDS
c. NIPS
d. HIPS
Answer:
Option b (NIDS) is the correct choice.
Explanation:
NIDS helps to detect suspicious internet activity. Throughout order to determine all congestion, along with all network packets, unfaithful user information was indeed probably recommended. They were indeed technologies that are already constructively divided up in less than service providers that ineffectively investigate traffic through the systems on something they have been located.All those other available options aren't closely linked to the scenario in question. Therefore this obvious response is the correct one.
Match the IP Protections Patent, Copyright and Trademark into the following cases:
a. books, poems
b. music, movies, paintings
c. company logo
d. software
e. combinations of materials to make drugs
Answer:
A) copyright
B) copyright
C)Trade mark
D) copyright
E)Patent
Explanation:
Patent can be regarded as a form of intellectual property which helps the owner of an invention to others to sell or use the invention for some period of time. Example of this is a patent that protect microwave oven.
trademark is form of intellectual property, this could be inform of symbols, words that differentiate the product of a party from another. Example of this is a bite of apple that represents apple products.
Copyright can be regarded as a legal right given to those that owns a intellectual property which gives him/her right to copy and exclude others from reaping from where they did not sow. The owner get exclusive right to reproduce the copy.
Below is the match of the intellectual property with the examples.
a. books, poems<> Copyright
b. music, movies, paintings<> Copyright
c. company logo<> Trademark
d. software<>Copyright
e. combinations of materials to make drugs<> patent
QUESTION 1
Which part of an Ethernet Frame uses a pad to increase the frame field to at least 64 bytes?
Answer:
Data field.
Explanation:
In Computer Networking, data encapsulation can be defined as the process of adding a header to a data unit received by a lower layer protocol from a higher layer protocol during data transmission. This ultimately implies that, the header (segment) of a higher layer protocol such as an application layer, is the data of a lower layer such as a transportation layer in the Transmission Control Protocol and Internet Protocol (TCP/IP).
Basically, an Ethernet Frame is one of the IEEE 802.3 data encapsulation standards.
An Ethernet Frame can be defined as the building blocks or bits contained in a single packet of data that is being transmitted over an Ethernet network or connection. When data are transmitted, a frame check sequence (FCS) containing a 4-bytes is used to detect or check for any error in a frame and to ensure no frame data was corrupted in the course of the transmission.
In the transmission control protocol (TCP), all frames that are being transmitted must have a minimum of 64-bytes in length and as such when small packets are encapsulated, some additional bits referred to as pad are typically used to increase the frame size to at least 64-bytes, which is the minimum size.
Hence, a data field is the part of an Ethernet Frame that uses a pad to increase the frame field to at least 64 bytes.
Which view displays the records in columns and rows like excel worksheet
Answer:
Datasheet View
Explanation:
Chapter 1
A B
Database Template A preformatted database designed for a specific purpose.
Datasheet View The Access view that displays data organized in columns and rows similar to an Excel worksheet.
Question 5
2 pts
The type of control structure that
causes a branch forward at some
point, causing a portion of the
program to be skipped, is:
a selection structure.
O a seguential structure
a repetition structure
a loop structure
Answer:
Selection structure.
Explanation:
In a decision structure (selection structure), there is a branch forward at some point, which causes a portion of the program to be skipped. A loop structure (repetition structure) contains a branch to a previous statement in the program module, which results in a block of statements that can be executed many times.