When you purchase donuts, they come in boxes of 12, so 24 donuts take 2 boxes. All donuts need to be in a box, so if you buy 13 donuts, you'll get 2 boxes with 12 in the first box and 1 in the second. If the integer variable numberOfDonuts contains the positive number of donuts purchased, which of the following will correctly give the number of boxes needed?
a. int numberOfBoxes = 1 + numberOfDonuts / 12;
b. int numberOfBoxes = numberOfDonuts / 12 + numberOfDonuts % 12;
c. int numberOfBoxes = numberOfDonuts / 12;
d. int numberOfBoxes = (numberOfDonuts + 11) / 12;
Answer:
d) int numberOfBoxes = (numberOfDonuts + 11) / 12
Explanation:
Hope this helps
Identify advantages that web designers gained by
switching to divs and CSS for page layout. Check
all of the boxes that apply.
Divs describe the type of content they
contain.
Divs can be styled to any shape, size, or
location on a page.
Divs can contain a combination of tagged
content.
Answer:
B Divs can be styled to any shape, size, or location on a page.
C Divs can contain a combination of tagged content.
Explanation:
How does critical thinking relate to peer
assessment ?
Answer:
It both helps you understand very well on whatever assessments reading you do. You think and you pay 100% to your work and get done with it. You think through whatever you've been working on.
Pls help I will give points
Answer:
Laptop
Explanation:
How does the pay for many Science, Technology, Engineering, and Mathematics workers compare to the overall median for all careers? It is far lower than the overall median. It is far higher than the overall median. It is slightly higher than the overall median. It is about the same as the overall median.
Answer:
B
Explanation:
It just is
Answer:
B is correct
Explanation:
When a laptop internal device fails, what three options can you use to deal with the problem?
Answer:
I. Return the laptop to a service center for repair.
II. Substitute an external component for the internal component.
III. Replace the internal component.
Explanation:
A laptop can be defined as a small portable computer that is embedded with a keyboard and light enough to be placed on the user's lap while working.
When a laptop internal device fails, the three options which you can use to deal with the problem are;
I. Return the laptop to a service center for repair: a computer technician at the service center would troubleshoot and fix the problem i.e the internal device that failed.
II. Substitute an external component for the internal component: the user could swap a component found on the outside of a laptop with an internal component provided that they are compatible with each other.
III. Replace the internal component: if the failed internal component is a customer replaceable unit (CRU), you can easily replace it.
PROJECT: RESEARCHING THE HISTORY OF THE INTERNET
The Internet has had a profound effect on how we conduct business and our personal lives. Understanding a bit about its history is an important step to understanding how it changed the lives of people everywhere.
Using the Internet, books, and interviews with subject matter experts (with permission from your teacher), research one of the technological changes that enabled the Internet to exist as it does today. This may be something like TCP/IP, the World Wide Web, or how e-mail works. Look at what led to the change (research, social or business issues, etc.) and how that technology has advanced since it was invented.
Write a research paper of at least 2, 000 words discussing this technology. Make sure to address the technology’s development, history, and how it impacts the Internet and users today. Write in narrative prose, and include a small number of bullet points if it will help illustrate a concept. It is not necessary to use footnotes or endnotes, but make sure to cite all your sources at the end of the paper. Use at least five different sources.
Submission Requirements
Use standard English and write full phrases or sentences. Do not use texting abbreviations or other shortcuts.
Make any tables, charts, or screen shots neat and well organized.
Make the information easy to understand.
Write a program that reads a file containing text. Read each line and send it to the output file, preceded by line numbers. If the input file is Mary had a little lamb Whose Fleece was a white as snow. And everywhere that Mary went, The lamb was sure to go! then the program produces the output file /* 1 */ Mary had a little lamb /* 2 */ Whose Fleece was a white as snow. /* 3 */ And everywhere that Mary went, /* 4 */ The lamb was sure to go! The line numbers are enclosed in /* */ delimiters so the program can be used for numbering Java source files. Prompt the user for the input and output file names.
#!/bin/bash
INPUT_FILE=$1
count=1
while IFS= read -r line; do
echo $count - $line
count=$(($count + 1))
done < $INPUT_FILE
How does a Red Team vs Blue Team exercise help an organization
Answer:
Kindly check explanation
Explanation:
The Red team VS Blue team exercise can be explained as a simulated form of exercise or challenge which is intentionally triggered by an organization in a bid to test and access its level of security in other to stay in top of an actual external threat that might be perpetrated. In the simulated exercise, the red team act as the attacker by deploying several forms of threats which are used by actual attackers. The blue team on the other hand act as guard to repel tune attack. All these helps organizations to detect possible weaknesses and loopholes in their system which they can improve on in other to promote system and information security.
In order to ask for user for input in store the results as a stream, you should use the function. Readline, readlnt, string, algorithm
Answer: String
-DoggyMan5
You are the IT administrator for a small corporate network. Over the weekend, another employee in the IT department upgraded some components in the Support workstation. When a Support employee came to work this morning, his computer would not start. In this lab, your task is to troubleshoot the problem and take the necessary steps to get the computer to start. Examine the computer to identify possible problems that would prevent it from coming on. Make sure the power cord between the computer and the power strip is plugged in. Make sure the power supply voltage is set to 115V. Make sure the power supply switch is on.
Answer:
Explanation:
First, you should make sure the power cable is properly connected to the pc and the wall plug. Next, you need to make sure that the power switch on the PC's power supply is turned on. If the PC still does not turn on, you may want to check if the wall plug is providing electricity. If so, the next step would be to check the inner cables connecting the power supply to the pc and make sure everything is correctly connected.
If you have tried all of this to no avail then the most likely reason is that something is broken. The possible culprits could be bad cables, broken power button, bad power supply, or failed motherboard. You would have to individually test each component to find the culprit.
Pls help me awnser this I will give points
Answer:
first one is "int" second one is "string" and third one should be "float"
Explanation:
not sure if the first one is right but try this.
Pls help I will thx and give points
Answer:
Desktop
Explanation:
A tablet and smartphone dont have enough storage like a desktop, so they would edit very efficiently
Classify the characteristics as abstract classes or interfaces.
A. Uses the implements keyboard
B. Cannot have subclasses
C. Does not allow static and final variables
D. Can have subclasses
E. Uses the extends keyboard
F. Allows static and final variables
........................ allows you to press a key or code for insertion of long phrases that you may require using repeatedly which saves time. *
Answer:
text expander
Explanation:
Answer:
The answer to this is a text expander!
Hope this helps you! Have a nice day!
What type of memory disappears when you turn your computer off? CPU, RAM, ROM or Storage
Answer:
RAM
Explanation:
Hey,
The answer to this is ram. Ram were your most important info that needs to be read right away is stored when your not using your computer to save power your ram is shut down.
Hope this helps have a great day.
-scav
An articulated robot has a T-type wrist axis that can be rotated a total of 2 rotations (each rotation is a full 3600 ). It is desired to be able to position the wrist with a control resolution of 0.250 between adjacent addressable points. (a) Determine the number of bits required in the binary register for that axis in the robot's control memory. (b) Using this number of bits, what is the actual control resolution of the joint
Write a C++ program that prints out the following menu for a game (include the line of asterisks (*) on top and bottom). Try to use "endl" and the escape sequences \n, \t in your program.2 *********************************************** Welcome! Please choose a number from the following options: 1. Play the MAD LIBS game! 2. Play the CHOOSE YOUR OWN ADVENTURE game! 3. Exit *********************************************** Q#5: Write a C++ program to print out the following sentences. This is a practice of e
Answer:
#include <iostream>
using namespace std;
const int NRSTARS=50;
int main() {
cout << string(NRSTARS, '*') << endl;
cout << "Welcome!\nPlease choose a number from the following options:" << endl;
cout << "1. Play the MAD LIBS game!" << endl;
cout << "2. Play the CHOOSE YOUR OWN ADVENTURE game!" << endl;
cout << "3. Exit" << endl;
cout << string(NRSTARS, '*') << endl;
}
The example C++ program that prints the menu and the sentences is shown below:
What is the programcpp
#include <iostream>
int main() {
std::cout << "***********************************************" << std::endl;
std::cout << "Welcome! Please choose a number from the following options:" << std::endl;
std::cout << "1. Play the MAD LIBS game!" << std::endl;
std::cout << "2. Play the CHOOSE YOUR OWN ADVENTURE game!" << std::endl;
std::cout << "3. Exit" << std::endl;
std::cout << "***********************************************" << std::endl;
// Printing out sentences
std::cout << "Q#5: Write a C++ program to print out the following sentences:" << std::endl;
std::cout << "Sentence 1: Hello, world!" << std::endl;
std::cout << "Sentence 2: I love programming." << std::endl;
std::cout << "Sentence 3: C++ is a powerful language." << std::endl;
return 0;
}
Read more about program here:
https://brainly.com/question/23275071
#SPJ2
Pls help mark brainliest
Answer:
I cant answer this.
Explanation:
You need to take another screenshot so we can see the multiple choice.
How does Windows operating system manage the file?
Answer:
The OS allows you to organize the contents of your computer in a hierarchical structure of directories that includes files, folders, libraries, and drives. Windows Explorer helps you manage your files and folders by showing the location and contents of every drive, folder, and file on your computer.
Pls help computer science I will give brainliest
Answer:
A driver assists with hardware management.
Hope this helped.
Answer: Hardware Management
Reason: Depends on the driver type
In the binary system, 1 and 0 are not known as digits. Instead, they are called
bits
switches
flow
variables
decimals
Answer:
Variables
Explanation:
I hope it helps
Answer:
C variables
Explanation:
Devising a plan to solve a problem or perform a task using a set of step by step instructions is called:
Running a program
Writing an algorithm
Creating syntax
Interpreting instructions
You have searched a database to locate US cities with population counts above 1 million people. You need to present the results to the class. Which of these describes the process you should use to accomplish these tasks?
options
enter data into a form and present it to the class
present the table you used to search for cities with more than 1 million people
run a query and create a report from the datasheet
run a query and present the datasheet to the class
Answer:
Run a query and create a report from the datasheet.
Explanation: creating a report will give a easy to understand explanation of all the data you have collected.
Answer:
the answer is C
the next one is B
Explanation:
Is the quote "Stay inside and have water and food ready in case power goes out" a definition of...
A. Thunderstorm
B. Winter storm
Answer:
winter storm
Explanation:
possibility of a snow-in.
Assume you are a security professional. You are determining which of the following backup strategies will provide the best protection against data loss, whether from disk failure or natural disaster: Daily full server backups with hourly incremental backups Redundant array of independent disks (RAID) with periodic full backups Replicated databases and folders on high-availability alternate servers Answer the following question(s): Which backup strategy would you adopt? Why?
Answer: if you have data that is lost then you need to find the things you have deleted and get that data back
Explanation:
Pls help I will give points
Answer:
Desktop
Explanation:
Which save as element allows a user to save a presentation on a computer?
Answer:
This PC
Explanation:
Got it right
Answer:
Look at the attached file for the answer, I'm correct as you can see.
Explanation:
Why do we use return statements? Choose all that apply
A.
Javascript requires functions to have return values.
B.
To return multiple data types simultaneously
C.
To allow a function to give different values depending on input.
D.
So that we no longer have to use console.log();
E.
To save the result of a function in a variable in other functions
Answer:
A.
Javascript requires functions to have return values.
Which of the following activities is permissible for IT professionals in the conduct of computer access and authorizations?
viewing explicit content on a company computer
posting updates to social media networks during slow periods at work
using another company’s copyrighted images for the company’s website
using the company’s e-mail software to send work-related e-mails
Answer:
D
Explanation:
Answer: A, B, C, D
Explanation: