Answer:
Explanation:
1-2nd option
2-1st option
3-last option
hope this helps!! have a good rest of ur day!! <3
Arrange the following steps in an appropriate order for program execution:
- Step A: translates the source code into the target machine code
- Step B: preprocesses the source code
- Step C: writes the source code
- Step D: links object code to other library files
Which one is correct:
A) D, C, B, A
B) C, A, D, B
C) A, B, C, D
D) C, B, A, D
The best arrangement of the following steps in an appropriate order for program execution is:
D) C, B, A, DAccording to the given question, we are asked to give the best arrangement of the following steps in an appropriate order for program execution
As a result of this, we can see that when a person is writing a code, he would have to first write the source code, then preprocess it, before he translates it into the target machine code before finally linking the object code to other library files
Therefore, the correct answer is option D
Raad more about source code here:
'https://brainly.com/question/4593389
list different examples of models
Answer:
Planet 3D model
Chemical reactions on a computer simulation
Flowchart of how science has changed over time
Tectonic plate movement in a drawing or picture
Making an Atom cake (i've done it and it was fun)
Earth foam Structure with a quarter or it cut out to show the inside
A company Digicom Parts manufactures 2 types of unique products for laptop and desktop computers. It manufactures 10 types of laptop products and 42 types of desktop products. Each product manufactured by the company has a unique productID from a-z and A-Z. The laptop product have productID (a, i, e, o, u, ALE, O, U) while the rest of the productIDs are assigned to the desktop products. The company manager wishes to find the sales data for the desktop products. Given a list of productIDs of the sales of the last N products, write an algorithm to help the manager find the productIDs of the desktop products.
Algorithms are used as a prototype of an actual program, during project design.
The algorithm the manager can use to find the productID of the desktop products is as follows:
Start
i = 0
if i > N, then Exit:
Input productID:
If productID.upper() == 'A' or 'I' or 'E' or 'O' or 'U':
Process data as desktop products
i++
Go to step 2
Stop
Note that algorithms do not conform to programming syntax.
Read more about algorithms at:
https://brainly.com/question/24793921
You decided to test a potential malware application by sandboxing. However, you want to ensure that if the application is infected, it will not affect the host operating system. What should you do to ensure that the host OS is protected
Considering the situation described here, the thing to do to ensure that the host OS is protected is to install a virtual machine.
What is a virtual machine?Virtual Machine is the virtualization of a computer system. The purpose of a Virtual Machine is to deliver the functionality of a physical computer containing the execution of hardware and software.
How Virtual Machine is used to ensure that the host OS is protectedVirtual Machine is used to host the virtual environment and subsequently run the operating system within the virtual machine.
This process allows the sandbox to be isolated from the physical hardware while accessing the installed operating system.
Hence, in this case, it is concluded that the correct answer is to install a virtual machine.
Learn more about Virtual Machine here: https://brainly.com/question/24865302
List the four types of computer cases
Answer:
full-tower, mid-tower, mini-tower, and SFF(Small Factor Form).
I hope it helps.
A trace table is used for
Answer:
Trace tables are used to allow programmers to trace the value of variables as each line of code is executed.
Explanation:
The values of the variables are displayed in a table and assist the programmer in identifying any potential errors.
Answer:
Trace tables can enable a programmer to trace the values of variables as each line is executed/processed/ran through the program. And yes, can aid programmers to identify potential errors in the code.
Explanation:
Read two numbers from user input. Then, print the sum of those numbers.
Hint -- Copy/paste the following code, then just type code where the question marks are to finish the code.
num1 = int(input())
num2 = ?
print(num1 + ?)
Answer:
First ? - int(input())
Second ? - num2
Explanation:
This works because we are just mimicing the first input in your first variable.
The second one is adding them together.
Don't remember to give me brainliest :)
The program allows the user to type in any linux command and then executes that command, such as "pwd" or "echo". The problem is that it should allow multiple commands to be typed in and executed at the same time, but it only allows one at a time currently. Please help fix it so it allows multiple commands to be typed and executed.
Code:
#include
#include
#include
#include
#include
#include
void parse(char *line, char **argv)
{
while (*line != '\0') { /* if not the end of line ....... */
while (*line == ' ' || *line == '\t' || *line == '\n')
*line++ = '\0'; /* replace white spaces with 0 */
*argv++ = line; /* save the argument position */
while (*line != '\0' && *line != ' ' &&
*line != '\t' && *line != '\n')
line++; /* skip the argument until ... */
}
*argv = '\0'; /* mark the end of argument list */
}
void execute(char **argv)
{
pid_t pid;
int status;
if ((pid = fork()) < 0) { /* fork a child process */
printf("*** ERROR: forking child process failed\n");
exit(1);
}
else if (pid == 0) { /* for the child process: */
if (execvp(*argv, argv) < 0) { /* execute the command */
printf("*** ERROR: exec failed\n");
exit(1);
}
}
else { /* for the parent: */
while (wait(&status) != pid) /* wait for completion */
;
}
}
void main(void)
{
char line[1024]; /* the input line */
char *argv[64]; /* the command line argument */
while (1) { /* repeat until done .... */
printf("Enter Shell Command -> "); /* display a prompt */
fgets(line, 1024, stdin); /* read in the command line */
printf("\n");
parse(line, argv); /* parse the line */
if (strcmp(argv[0], "exit") == 0) /* is it an "exit"? */
exit(0); /* exit if it is */
execute(argv); /* otherwise, execute the command */
}
}
This function receives a commend line argument list with the */ /* the first argument being cd and the next argument being the */ /* directory to change.
Buddys machine shop has a kiosk computer located in the lobby for customers to use. The kiosk computer has recently been updated to Windows 10 from Windows 7 and is not part of a domain. The local computer policy created for Windows 7 has been applied to Windows 10. This policy severely restricts the use of the computer, so that customers can only use the web browser.
Occasionally, an administrator needs to sign in to the kiosk computer to perform maintenance and update software. However, this is awkward because the administrator needs to disable settings in local policy be performing any task. Then, when the tasks are complete, the administrator needs to re-enable the settings in the local policy. Explain how this system can be improved upon.
What type of system software manages memory?
Answer:
"Operating System"
Explanation:
The type of system software that manages memory is an operating system. To manage memory, the operating system employs a number of software strategies.
What is system software?The most crucial piece of software that runs on a computer is the operating system. It controls the memory, operations, software, and hardware of the computer.
You can converse with the computer using this method even if you don't understand its language. Memory connections are the structures that come before and after all memory areas, whether they are allocated or available.
Working memory, short-term memory, and long-term memory are the three primary categories of memory. While long-term memory stores your enduring memories, working memory and short-term memory enable you to retain and use transient information.
Therefore, an operating system is a sort of system software that controls memory.
To learn more about system software, refer to the link:
https://brainly.com/question/12908197
#SPJ2
Alexis plans to stop trading once she lose 5% of her account balance, her account balance is $215.00. How much money is she willing to lose ?
Answer:
She's willing to lose $10.75.
Explanation:
$215.00 * .05 = answer
or
$215.00 * .95 = x
$215.00 - x = answer
Sergio has been asked to make a set of data that was once restricted now available to any users. What data type will Sergio apply to this set of data
The data type Sergio will apply to this set of data that was once restricted to become available to all users is: Public.
A database can be defined as a structured or organized collection of data that are stored on a computer system and usually accessed electronically.
A data type refers to the content of both structured and unstructured data while organizing them into categories based on specific criteria, especially for access or usage, easy retrieval, sorting, and storage by users.
In Computer and technology, the three (3) main data type with respect to restrictions on its access or usage are:
PrivateProtectedPublicA public data is typically made up of variables that are visible and accessible to all classes or users.
In conclusion, Sergio should make the data a public data, in order to make them available to all users.
Read more: https://brainly.com/question/13889633
The collection of ____ bits make one nibble
Answer:
Hewo There!!
__________________
4
__________________
“It's really a wonder that I haven't dropped all my ideals, because they seem so absurd and impossible to carry out. Yet I keep them, because in spite of everything, I still believe that people are really good at heart.”
― Anne Frank, The Diary of a Young Girl
__________________
Think of life as a mytery because well it sort of is! You don't know what may happen may be good or bad but be a little curious and get ready for whatever comes your way!! ~Ashlynn
Create a Python script that will compare two (2) numbers entered by the user. Refer to the attached image and to the following algorithm. There is no need to create a class similar to how Java works.
3.1. User enters the first number.
3.2. User enters the second number.
3.3. If the first number is less than, greater than, or equal the second number, a message is displayed.
Please Help me. Thank You!
Marry Christmas!
x = int(input("Enter first number\n"))
y = int(input("Enter second number\n"))
if x > y:
print(x, "is greater than", y)
elif x < y:
print(x, "is less than", y)
else:
print(x, "is equal to", y)
i'm not the greatest coder, but it works :)
please write an Introduction on intrusion detection system and prevention system
PLEASE
Answer:
An Intrusion Detection System (IDS) is a system that monitors network traffic for suspicious activity and issues alerts when such activity is discovered. It is a software application that scans a network or a system for harmful activity or policy breaching. Any malicious venture or violation is normally reported either to an administrator or collected centrally using a security information and event management (SIEM) system. A SIEM system integrates outputs from multiple sources and uses alarm filtering techniques to differentiate malicious activity from false alarms.
in excel If you have a lengthy text, adding a __________ can change the cell’s format to ________. *
Based on Microsoft Excel analysis, in excel If you have a lengthy text, adding a Wrap Text can change the cell’s format to high height.
What is Microsoft Excel?Microsoft Excel is one of the software applications in Microsoft Office. It has cells of rows and columns in which users can easily put facts and figures to carry out tasks.
The function of Wrap TextWrap Text is applied in Microsoft Excel to show the cell contents on many lines instead of a single long line.
Hence, in this case, it is concluded that the correct answer is "Wrap Text and High Height."
Learn more about Microsoft Excel here: https://brainly.com/question/24749457
How to use section header in word document?
Please answer fast
Answer:
Configure headers and footers for different sections of a document
Click or tap the page at the beginning of a section. Select Layout > Breaks > Next Page. Double-click the header or footer on the first page of the new section.Explanation:
You have just purchased a brand new Windows 8 computer. What should you do right away with the Administrator account?
(a) Explain what the following Java components are used for.JListJFrameFLowLayoutJpanelJFrameEventListener(b) Write simple Java codes to illustrate how each one of the above components are implemented.
Answer:
Welcome to Gboard clipboard, any text you copy will be saved here.
What unit on a digital camera gives added illusions
Define Word Processing
Answer:
Word Processing refers to the act of using a computer to create, edit, save and print documents. ... Text can be inserted, edited, moved, copied or deleted within your document and the appearance of the text can be modified in numerous ways.
So has anyone opened the link/file those people are giving out as answers? Like what are they, viruses, answers, nothing??? Someone that has opened one tells me what it was and what happened because I am to scared to open it.
Answer:
They're viruses that why they answer so quick and get deleted quickly
how to count binary ? Help Better understand this question
Explanation:
For each row in the picture, you have to switch on some of the bits to create the number on the left.
Each bit has a value, a "weight" so to speak. By switching on the bit, you add that weight to the sum.
These "weights" are shown at the top row.
So to create 4, it's easy, you just switch on the '4' bit.
Same for 128, only one bit has to be switched on.
40 is a bit more involved, now you have to switch on 32 and 8, since 32+8 is 40.
For every number, there is exactly one combination of switched on bits to create that number. In the case of 40, the binary representation is:
00101000.
True or False: VLANs in cloud computing are most likely to be found on direct connections with a CSP.
O True
O False
Based on computing network operation, it is false that VLANs in cloud computing are most likely to be found on direct connections with a CSP.
What is VLAN?VLAN is an acronym of Virtual Local Area Network that establishes its broadcast domain which enables network admins to combine hosts regardless the hosts are connected on the same network switch or not.
Given that the VLAN created its broadcast domain, you are likely not found it on direct connections with a CSP.
Hence, in this case, it is concluded that the correct answer is False.
Learn more about VLAN here: https://brainly.com/question/6769174
write the definition of a void function that finds the integer value of an ascii character
The code below is in Java.
It converts the given character to corresponding integer value by creating a function. We use type casting to get the integer value of a character.
I also included the main part so that you can test it.
You can see the output in the attachment.
Comments are used to explain each line of code.
public class Main
{
public static void main(String[] args) {
//call the function in the main
convertASCIIToInt('k');
}
//create a function named convertASCIIToInt that takes a character as an argument
public static void convertASCIIToInt(char c) {
//convert the argument to an int using type casting
int asciiValue = (int) c;
//print the result
System.out.println("The integer value of " + c + " is " + asciiValue);
}
}
You may see another function example in the following link
https://brainly.com/question/13925344
Which meter would you use to determine which lamp is defective in the shortest possible time? Explain how you would use this meter and why.
Answer:
bla bla bla bla
Explanation:
I dont anther stand
Write a program that simulates applying a "boost" to a spaceship in a spaceship race game.
A spaceship makes progress by getting a "boost" value between 0 and 10. The boost value
is determined from generating a random number between 0 and 10. Assuming the starting
distance of the spaceship is 0, the program will output the boost value and the total
distance travelled by the spaceship after applying the boost. (Note: Two newlines are output
after the final output of the program).
When a random seed value of 2 is used, the output of the program will look like:
Boost: 6
Distance travelled: 6
Programming languages can be used to simulate several scenarios; in this case, the "boost"
The simulating program in C++ where comments are used to explain each line is as follows:
#include<iostream>
#include<cstdlib>
#include<ctime>
using namespace std;
int main() {
// This sets the seed to time(0)
srand(time(0));
// This generates a random number between 0 and 10, to represent the boost
int boost = rand()%10;
// This prints the required outputs
cout << "Boost: " << boost;
cout << "\nDistance travelled: " << boost;
return 0;
}
Read more about similar programs at:
https://brainly.com/question/16240699
Professor Gekko has always dreamed of inline skating across North Dakota. He plans to cross the state on highway U.S. 2, which runs from Grand Forks, on the eastern border with Minnesota, to Williston, near the western border with Montana. The professor can carry two liters of water, and he can skate m miles before running out of water. (Because North Dakota is relatively flat, the professor does not have to worry about drinking water at a greater rate on uphill sections than on flat or downhill sections.) The professor will start in Grand Forks with two full liters of water. His official North Dakota state map shows all the places along U.S. 2 at which he can refill his water and the distances between these locations. The professor’s goal is to minimize the number of water stops along his route across the state.
a. Give an efficient algorithm by which he can determine which water stops he should make.
b. Prove that your strategy yields an optimal solution, and give its
The efficient algorithm by which he can determine which water stops he should make; has been determined below and the strategy which is the greedy strategy has been proven to yield an optimal solution.
To solve this question optimally, we will make use of the greedy solution.
In this method, we will maximize the distance that can be covered from a particular point in such a way that there must be a place where water can be gotten before a run out is experienced.
Now, the first point at which there will be a stop should be located at a point that is farthest from the starting position and is also made to be ≤ m miles from the starting position.
Now, this this situation is one that shows optimal substructure and since our first stopping point will be made to be at p, it means that we are solving the sub-question with the assumption that our starting point is at p.
When we combine the two stated plans above, we will arrive at an optimal solution for the normal reasons via cut and paste.
B) Now we need to show that the greedy approach earlier used produce a first stopping point which is contained in the optimal solution.
Let O represent any optimal solution whereby the professor stops at positions o₁, o₂, o₃....oₙ.
Let h₁ represent the farthest stopping point that is reachable from the starting point. Then we can replace o₁ by h₂ to generate a modified solution H since o₁ - o₂ < o₂ - h₁.
Finally, we can really make it to the positions in H without having to run out of water and since H has the same number of stops, we can conclude that h₁ is contained in one of optimal solution.
Therefore our strategy which is the greedy strategy has been proven to work.
Read more about algorithms at; https://brainly.com/question/24793921
what are organization tools?
In Python which is the correct method to load a module math?
Answer: The math module is a standard module in Python and is always available. To use mathematical functions under this module, you have to import the module using import math .
Explanation: