Answer:
import random
num1 = random.randint(0, 1000)
num2 = random.randint(0, 1000)
print(str(num1) + " + " + str(num2) + " = ?")
result = int(input("Enter the answer: "))
if result == (num1 + num2):
print("Congratulations!")
else:
print("The correct answer is: " + str(num1 + num2))
Explanation:
*The code is in Python.
Import the random to be able to generate random numbers
Generate two numbers, num1 and num2, between 0 and 1000
Ask the sum of the num1 and num2
Get the input from the user
If the answer is correct, display a message of congratulations. Otherwise, display the correct answer
In python,_______ are used to define the conditions necessary for a while loop to run.
Answer:
Relational Operators
Explanation:
We can make a while loop run only when some variable or whatever is relative to something else.
The valid operators are:
<, >, =, <=, >=, and =!
Hope this helped!
Answer:
sorry not sure
Explanation:
When developing a new software package, logically, the software must be designed before the code is written, and the code must be written before it is tested. These activities are dependent on each other by _________ constraints.
Answer: Technical
Explanation: When making decisions, we may have to follow a certain pattern or order due to restrictions brought about by circumstances rules or conditions. These restrictions or limitations are regarded to as constraints. Technicality may be explained as the knowledge, expertise or initiative required for an operation, production or design. Therfore, we may view technical constraint as limitations or restrictions brought about by the technical guidelines or expertise required for a certain products. From a technical perspective, before a software package can be built, the engineer must know why and what he wants the software to be capable of doing, then he writes the code then tests the code. It is a sequence, a test cannot be performed without a written code and code cannot be written without a planned design.
What is computer Network?
Answer:
[tex]\boxed{\sf {view \: explanation}}[/tex]
Explanation:
A computer network is a network of computers that can share data among the computers.
Mark is the network administrator in his building and is responsible for training all the new technicians on various troubleshooting techniques. He is instructing them on documenting their actions at the end of the troubleshooting process. What should he NOT encourage them to document at that time
Answer:
See answer below
Explanation:
He should not encourage his new technicians to document theories that were followed at the end of the troubleshooting process. This because the theory might not add to their knowledge about troubleshooting. What is paramount and needed to be documented for future references are their findings, actions taken by them and the outcome achieved through the whole troubleshooting process.
In trouble shooting, a technician aims at solving problems on computer system by following a set of steps such as establishing theory of probable cause, testing the theory to determine the cause, establishing a plan of action and implementing the solutions; in order to determine and solve the problem.
The theories here are the steps that were followed in determining and solving the observed issues hence should not be documented except the findings, actions taken and the final outcomes that were achieved.
Assume that the Measurable interface is defined with a static sum method that computes the sum of the Measurable objects passed in as an array, and that BankAccount implements the Measurableinterface. Also assume that there is a variable branchAccounts that is an object reference to a populated array of BankAccount objects for a bank branch. Which of the following represents a correct invocation of the sum method to find the total balance of all accounts at the branch?
A) Arrays.sum(branchAccounts)
B) Measurable.sum(branchAccounts)
C) BankAccount.sum(branchAccounts)
D) branchAccounts.sum()
Answer:
B) Measurable.sum (branchAccounts)
Explanation:
The user interface which can be built by adding components to a panel. The sum method that will be used to find total balance of all accounts at branch is measurable.sum, this will layout the sum of specified branch account total. The measurable interface implements public class bank account as measurable sum.
How can artificial intelligence be used in learning science?
Artificial intelligence can be used to help science students research and verify their research. It is also a very interesting topic to study in general.
Hope that helped!!! k
What are responsibilities of entrepreneurs? Check all of the boxes that apply.
to own businesses
to work for companies
to be responsible for employees
to be responsible to stakeholders
What are responsibilities of employees? Check all of the boxes that apply.
to own businesses
to work for companies
to be responsible for employees
to be responsible to stakeholders.
Answer:
The correct options are;
1) To own businesses
To be responsible to employees
2) To work for companies
To be responsible to stakeholders
Explanation:
The entrepreneur is responsible for setting up and managing the establishment as well as provision of motivation for the employees. The entrepreneur gives direction and vision to the business which the employees follow, and as such the entrepreneur is responsible for being laudable and dependable and consistent
The employees are responsible for the work they do for the companies is done in a safety and healthful to them
The employees are responsible for the health and safety of other stakeholders for their actions and in-actions and to cooperate with the safety efforts of the employer
Answer:
to own business, to be responsible for employees, to work for companies.
Explanation:
Which part of project management involves determining the overall work? Breakdown Incomes Scope Time
Answer:
Incomes
Explanation:
Project management has to do with the process of achieving a set goal with the help of a team within a specified time. Most times, the main problem that comes with project management is completing the project within the available constraints.
No project can start up without funds, which in this case is called income and this is the part of the project that determines the overall work.
Answer:
It's not income I just got it wrong I'm not really sure but I would assume it is breakdown I'm sorry if I'm wrong if I'm right please reward me brain list.
what is the location in the base interface of the link to
create a table using wizard?
pls Answer me.
I'll make as BRIANLIST.
Answer:
Hey mate, here is your answer. Hope it helps you.
Explanation:
Before you can create objects such as tables and forms, you must first create the database file in which they will be stored.
1. On the File tab select New.
2. Click on Blank database.
3. In the File Name box, type a name for your database.
4. Click on the browse button to the right of the File name box to browse for a location for your
database.
5. Click on Create.
A new database will be created with a new default Table.
6. Click on Design View to start working with this Table.
You can use forms to control access to data, such as which fields of data are. Then open the table or query upon which you want to base the form. 2. To create a form on which all fields from the underlying table or query are placed. Then to be more selective about which fields appear on your form, you can use the Form Wizard.
Write a Java program to compute the sum of the upper-rounded value of the number 4.2 and the square of 25. Display all the three values to the user on different lines, without any assignment operation in the entire program.
please answer.
Answer:
how do expect someone to write an entire java script code for you
Explanation:
Which area of study involves microeconomWhich area of study involves microeconomics? A. a nation's ability to meet consumer demand B. rates of unemployment and inflation C. consumer behavior and preferences D. national income and its sourcesics?
Answer:
The correct answer is C. Consumer behavior and preferences.
Explanation:
hope it will help :)
Answer: the answer is C consumers behavior and preferences.
Explanation: just took the test please add thanks and brainliest
how to delete audio from powerpoint
Answer:
To delete an audio clip, select the audio icon on the slide and press Delete.
Hope it helps!!!!
Why were most movies from the late 1890s until the early 1930s only filmed in black and white? The film used to make color motion pictures often overheated, which was a safety hazard, so it was generally not allowed. There were only a few people who could afford the technology to produce color motion pictures back then. Color films had to be hand-colored, frame by frame. Audiences did not want color motion pictures until later.
Answer:
Color films had to be hand-colored, frame by frame.
Explanation:
Colored films were a rarity during the late 18th and early 19th centuries. Most movies were produced in black and white as the production of colored films was a difficult task as the films have to be hand-colored, frame by frame.
However, things began to change with the development of art and technology. While the dye is used to tint the color of certain scenes before, the new development in the films allows the capture of all scenes in color. But this does not mean that all films are shot in color. Most films continued to be shot in black and white even after the development of colored films.
Answer:
b
Explanation:
Payroll deductions are the same for all employees. True False
Answer:
The answer is "False".
Explanation:
The Payroll deductions are the amount of each pay period, that is paid out of the paycheck of the employee. It is also considered as the money, which is deducted from its employees' paychecks so, if paid by the employers.
All staff members are not identical. Workers' paychecks determine the amount individuals receive during each pay cycle. It also is referred to it as payroll retainers.
ternary operators of computer
please explain.
Answer:
It's a compact way of doing an if-else statement.
General Format is
<condition> ? <if condition is true> : <else>;
Example:
I could rewrite:
if(a==1) temp = 1;
else temp = 999;
as
temp = (a==1) ? 1 : 999;
What features in Excel are the same as in Word?
What features are differ?
Answer:
Following are the difference and similarity between word and Excel:
Explanation:
The similarity in word and excel:
The MS-word and MS-Excel both are the part of Microsoft, that is used for the word processing and the Spreadsheet (tablet program). In the word processing is used to create papers like essays while the spreadsheet is used for manipulating the mathematical formula, in another way we can say that both are used for type letters. In both spreadsheet and the word processing is used for insert images, graphs, and hyperlinks, it also uses the tools for formatting bars and the toolbars.The difference in word and excel:
In a word, it includes an application for text processing, and excel would be used for the tablet program. The word is used to create documents like assignments file data files, while excel is being used for the manipulation of numbers by mathematical equations.Which of the following demonstrates an information system? Tyra is using the computer to create a birthday card for her friend. Ahmad is installing new software to improve the ease of accessing the database. Shania is creating a printed handbook of company policies for new employees. Ian is making updates to the company website to include the latest product information
Answer:
B. Ahmad is installing new software to improve the ease of accessing the database.
C. Shania is creating a printed handbook of company policies for new employees.
D. Ian is making updates to the company website to include the latest product information
Explanation:
Information Systems is an organized way of assembling, processing, storing, and sharing information. It is used by organizations to run their businesses. A typical information system will feature the people who run or control the process, the tasks they are meant to perform, the procedures which govern the work done, and the technology used to achieve those goals. Information systems incorporate information technology into the running of the business. The examples cited above, illustrate the application of information systems in business affairs. For example,
1. When Ahmad installs new software to improve the ease of accessing the database, the main components of an information system which includes; people (Ahmad), the task (which entails installation of the software), the procedures (that govern software installation), and the technology (apparently a computer system), all have a role to play.
Which rule should be followed to stay safe online?
O Keep inappropriate messages private.
O Avoid sharing photos with anyone online.
O Keep screen names private.
Ask an adult for permission to download.
Answer:Avoid sharing photos with anyone online.
Explanation:in other to stay safe on the internet avoid sharing of your pic to strangers most especially pic with inappropriate dressing.... You can be manipulated.....
Answer:
B
Explanation:
PLEASE HELP!!!! I'll mark Brainliest for whoever is first!!!!
What does this snippet of code do? birds = ["robin", "finch", "grackle", "crow", "wren"] for i in birds: print(i)
It counts the number of birds in the list.
It prints the index and then each bird name.
It prints each bird name on a separate line.
It prints each index number on a separate line.
Answer:
It counts the number of birds in the list.
Explanation:
The snippet of code works in counting the number of birds in the list.
What is a code Snippet?A code snippet is a word that is used in computer programming to inform a little chunk of reclaimable source code, machine code, or text. Some text skilled worker, code skilled worker, and IDEs have a property called Code Snippets. The code in this snippet counts the number of birds in the list.
Therefore, option A is correct.
Learn more about the code Snippet, refer to:
https://brainly.com/question/15003149
#SPJ2
As an IT technician, you are responsible for maintaining your company's laser printers. Recently, you read that laser printers have a cleaning phase. Another IT technician explains that you do not need to clean a laser printer because of this phase. However, you do not agree. What actually occurs during this phase
Answer:
When the drums revolution is completed, the toner still remaining on the photoreceptor drum is cleaned by a plastic blade that is made of soft electrically neutral material which then deposits waste toner into a toner reservoir in the printer. The drum is then charged to become uniformly negatively charge by a rolling charger to prepare the drum for the beam from the laser.
Explanation:
Question 55 :You use a computer named Wkst1 on a TCP/IP network, which is installed with an application that uses UDP to send a file from your computer to a computer named Wkst2. Data collisions occur, and several data packets are lost during transmission. What will most likely occur as a result of losing the packets during transmission?
Answer:
The protocol will drop the packets
The application will automatically re-transmit the packets
Explanation:
Based on design, the routers will drop the packets as allowed by the Internet Protocol, due to the collision that resulted from the router being busy and the network is congested or that the packet is corrupt as indicated by the check sequence of the Ethernet frame or the IPv4 header checksum
Given that the application uses User Datagram Protocol (UDP) which does not allow recovery of lost packets, but have their defined methods of overseeing lost packets, as such the application will re-transmit the packet.
Assume that strike Counter has already been declared to be a "pointer to int". Assume further that strike Counter has been initialized -- its value is the address of some int variable. Write a statement that adds 22 to the value of the variable that strikeCounter is pointing to.
Answer:
The statement to this question can be defined as follows:
*strike_Counter =*strike_Counter +22;//adds value 22 in *strike_Counter
Explanation:
In the given question, it is already defined, that "strike_Counter" is an integer pointer variable, which means, it only holds the integer value in its address memory.
In the next step, it is defined, that it adds the value "22" in its variable, and for this, we declare the statement in the answer section, which adds the value.
for example, if in the "strike_Counter" variable holds the integer value, that is 5 and after adding the 22 it will become 27.
Businesses today suceed or fail based on their ability to
Answer:
their ability to Innovate with technology to meet their customers needs
Explanation:
Does anyone know what happened to Cole Morgen, the actor?
I looked on the internet about him and it turned out that he was 24 years old, but it is the only thing that appears about him.
Answer:
Cole Morgen has been on stage acting in theatre and dance since the age of 4.He has been a part of many local theatre productions. His first professional play was "Dead End" starring Jeremy Sisto and directed by Nicholas Martin at the Ahmanson Theatre followed by and a part in the Arthur Miller's play "All My Sons" directed by Randall Arney at the famous Geffen Playhouse.
Cole was cast in his first feature film as Kevin James's son Eric in the current Adam Sandler film "I Now Pronounce You Chuck and Larry" directed by Dennis Dugan.Cole has an unlimited amount of enthusiasm that he brings to everything that he does. Not only is he a very talented and versatile actor and tap dancer, he is a kind and gentle soul. He has always carried a vision of giving back to his community in some way. On his birthday/holidays, instead of receiving gifts, he has managed to figure out a way to make a difference. In the past he has collected food for animal shelters, toys for children, and performed at retirement homes for fun. Cole loves music and plays the piano and guitar. Cole enjoys swimming, soccer, bike riding, sailing, chess,and origami. Cole is never without a book and credits his reading to strengthening his creative side and inspiring him to meet the challenge for future acting roles.Besides acting, Cole loves tap dancing and is always looking to improve his skills. He won the national tap competition last summer taking the title of Mr. Junior Cole has an unlimited amount of enthusiasm that he brings to everything that he does. Not only is he a very talented and versatile actor and tap dancer, he is a kind and gentle soul. He has always carried a vision of giving back to his community in some way. On his birthday/holidays, instead of receiving gifts, he has managed to figure out a way to make a difference. In the past he has collected food for animal shelters, toys for children, and performed at retirement homes for fun. Cole loves music and plays the piano and guitar. Cole enjoys swimming, soccer, bike riding, sailing, chess,and origami. Cole is never without a book and credits his reading to strengthening his creative side and inspiring him to meet the challenge for future acting roles.
The quicksort is an example of a divide and conquer algorithm in that it divides the sorting problem into smaller problems by dividing the list of items to be sorted into smaller subsets. The pivot is the mechanism that is used to segment the list. Describe how the quicksort works including a discussion of the pivot, how it is selected, and why the pivot is important to the quicksort.
Answer:
The quicksort pivot is an arbitrary element within the collection that is being sorted. Using the pivot point, the collection of elements is partitioned into two smaller lists of elements. Using some logic, the smaller elements are placed left of the pivot point, and larger elements are placed to the right of the pivot point. Ideally, you would prefer you pivot point to be a median of your dataset to optimize the creation of the two sublists into a balanced state.
Cheers.
The pivot of a quicksort algorithm ought to always be the element in the middle. Some algorithms will choose the item in the center as the pivot, while others will choose the first or last element.
What is quicksort algorithm?Quicksort is a sorting method that operates in-place. It was created by British computer scientist Tony Hoare and is still a widely used sorting algorithm.
When properly implemented, it can be slightly faster than merge sort and two or three times faster than heapsort.
The quicksort pivot can be any element in the collection being sorted. The collection of elements is divided into two smaller lists of elements using the pivot point.
Smaller elements are placed to the left of the pivot point, while larger elements are placed to the right of the pivot point.
To optimize the creation of the two sub-lists into a balanced state, you would prefer your pivot point to be the median of your dataset.
Thus, this way quicksort works.
For more details regarding quicksort algorithm, visit:
https://brainly.com/question/13257594
#SPJ2
State what is meant by the terms: Parallel data transmission ......................................................................................................... ................................................................................................................................................... ................................................................................................................................................... Serial data transmission ........................................................................................................... ................................................................................................................................................... ...................................................................................................................................................
Answer:
parallel communication is a method where several binary digits are sent as a whole, on a link with several parallel channels.
serial communication conveys only a single bit at a time over a communication channel or computer bus.
Question 19 :A user needs the video capability in his computer upgraded to support a new graphics application. The computer includes an onboard video card. You install a new video card in the computer. You need to disable the onboard video card. Where should this card be disabled
Answer:
The onboard video card should be disabled in the BIOS. After you disable the onboard video card in the BIOS, it will no longer function.
Explanation:
Since in the question a user wants to upgrade for new graphics application and also the computer involves the onboard video card and a new video card is installed in the computer now you want to disabled it
So this can be done in the BIOS i.e basic input output system which is to be used for rebooting the computer system
And after disabled it, you cannot used.
Having a skilled labor force is one of the ________________ impacts of technology on the workplace.
negative
positive
Answer:
negative
Explanation:
this is because not many people have the skills to operate the machines. In short not everyone is able to operate them
Your company has assigned you to revise 22 scripts. Since you use the vi editor, how can you set it to automatically display lines as numbered so it is easier for you to work on these revisions
Answer:
To enable VI editor automatically display lines as numbered, the following steps must be taken:
Step 1: Press the Escape key to exit the insert or append mode.
Step 2. Press the colon key to trigger the cursor. The cursor will appear at the lower-left position of the screen next to a : prompt.
The Next step is to type the following command: set no number hit the enter button to execute the command. This will trigger a column of sequential line numbers will appear at the left side of the display. Each line number references the text located directly to the right of it.
Step 3: To enable this to happen automatically, the appropriate set statement as a line in must be inserted a file in your home directory named .exrc
Cheers!
(C++) Write code to complete RaiseToPower(). Sample output if userBase is 4 and userExponent is 2 is shown below. Note: This example is for practicing recursion; a non-recursive function, or using the built-in function pow(), would be more common.4^2 = 16Given: #nclude using namespace std;int RaiseToPower(int baseVal, int exponentVal){int resultVal = 0;if (exponentVal == 0) {resultVal = 1;}else {resultVal = baseVal * //your solution goes here;}return resultVal;}int main() {int userBase = 0;int userExponent = 0;userBase = 4;userExponent = 2;cout << userBase << "^" << userExponent << " = "<< RaiseToPower(userBase, userExponent) << endl;return 0;}
Answer:
Following are the code to this question:
RaiseToPower(baseVal, exponentVal-1);//calling method RaiseToPower and in second parameter we subtract value
resultVal = baseVal * RaiseToPower(baseVal, exponentVal-1);//defining resultVal variable that calculate baseVal and method value
Explanation:
In the above-given code inside the "RaiseToPower" method is defined that accepts two parameters, which are "baseVal and exponentVal" and inside the method, an integer variable "resultVal" is defined, that holds a value that is 0.
In the next step, if the conditional statement is used, in if the block it checks the "exponentVal" variable value that is equal to 0, if it is true it assigns value 1 in "resultVal" otherwise it will go to else block in this block, the "resultVal" variable holds "baseVal" variable value and call the "RaiseToPower" method, and multiply the baseVal and method and store its value in resultVal and return the value. Inside the main method, two integer variable userBase, userExponent is defined that holds a value and calls the above method and prints its return value.please find the attachment of the code file and its output.