Answer:
1. Make key text stand out with underlining or bolding.
2. Leave some white space or open space. Don't overcrowd the page.
5. Select good quality graphics.
6. Know your audience.
7. Get to the point quickly. Be clear and concise.
Answer:
1. Make key text stand out with underlining or bolding.
2. Leave some white space or open space. Don't overcrowd the page.
5. Select good quality graphics.
6. Know your audience.
7. Get to the point quickly. Be clear and concise.
I need some help with this assignment. I'm having difficulty trying come up ideas to use here. Can I get any help?
Here's the question.
Think of three simple tasks where you believe sequence of instruction matters. Is there a way to modify it to where sequence doesn't matter? Find steps in each task where the sequence can be changed and still achieve the desired outcome. Write out the original and modified algorithms AND pseudocode for each task. Write a short paragraph for each task describing the changes in sequence.
Answer:
Abigail wants to attend a community college. Suppose x represents the number of credits she takes and y represents her total fees in dollars. Which of these statements are correct? Select all that apply.
A.
If tuition amounts to $125 plus $150 per credit, the function that would model this situation is y = 150x + 125.
B.
If tuition amounts to $200 plus $175 per credit, the function that would model this situation is x = 175y + 200.
C.
If tuition amounts to $175 plus $150 per credit, the function that would model this situation is y = 175x + 150.
D.
If tuition amounts to $250 plus $275 per credit, the function that would model this situation is x = 250y + 275.
E.
If tuition amounts to $225 plus $200 per credit, the function that would model this situation is y = 200x + 225.
F.
If tuition amounts to $100 plus $125 per credit, the function that would model this situation is y = 125x + 100.
Explanation:
Write a loop that subtracts 1 from each element in lowerScores. If the element was already 0 or negative, assign 0 to the element. Ex: lowerScores = {5, 0, 2, -3} becomes {4, 0, 1, 0}.Sample program:#include using namespace std;int main() { const int SCORES_SIZE = 4; vector lowerScores(SCORES_SIZE); int i = 0; lowerScores.at(0) = 5; lowerScores.at(1) = 0; lowerScores.at(2) = 2; lowerScores.at(3) = -3; for (i = 0; i < SCORES_SIZE; ++i) { cout << lowerScores.at(i) << " "; } cout << endl; return 0;}Below, do not type an entire program. Only type the portion indicated by the above instructions (and if a sample program is shown above, only type the portion.)
Answer:
Replace <STUDENT CODE> with
for (i = 0; i < SCORES_SIZE; ++i) {
if(lowerScores.at(i)<=0){
lowerScores.at(i) = 0;
}
else{
lowerScores.at(i) = lowerScores.at(i) - 1;
}
}
Explanation:
To do this, we simply iterate through the vector.
For each item in the vector, we run a check if it is less than 1 (i.e. 0 or negative).
If yes, the vector item is set to 0
If otherwise, 1 is subtracted from that vector item
This line iterates through the vector
for (i = 0; i < SCORES_SIZE; ++i) {
This checks if vector item is less than 1
if(lowerScores.at(i)<1){
If yes, the vector item is set to 0
lowerScores.at(i) = 0;
}
else{
If otherwise, 1 is subtracted from the vector item
lowerScores.at(i) = lowerScores.at(i) - 1;
}
}
Also, include the following at the beginning of the program:
#include <vector>
Analyze and write a comparison of C's malloc and free functions with C++'s new and delete operators. Use safety as the primary consideration in the comparison
Answer:
The C's malloc and free functions and the C++'s new and delete operators execute similar operations but in different ways and return results.
Explanation:
- The new and delete operators return a fully typed pointer while the malloc and free functions return a void pointer.
-The new and delete operators do not return a null value on failure but the malloc/free functions do.
- The new/delete operator memory is allocated from free store while the malloc/free functions allocate from heap.
- The new/delete operators can add a new memory allocator to help with low memory but the malloc/free functions can't.
- The compiler calculates the size of the new/delete operator array while the malloc/free functions manually calculate array size as specified.
Write a program that teaches arithmetic to a young child. The program tests addition and subtraction. In level 1 it tests only addition of numbers less than 10 whose sum is less than 10. In level 2 it tests addition of arbitrary one-digit numbers. In level 3 it tests subtraction of one-digit numbers with a nonnegative difference. Generate random problems and get the player input. The player gets up to two tries per problem. Advance from one level to the next when the player has achieved a score of five points.
Answer:
import random
class Arithmetics(object):
trial = 2
score = 0
is_end = "Y"
def start(self):
while self. is_end == "Y":
self. level1()
self. level2()
self. level3()
self. is_end = input("Do you want to play again? Y/N: "). upper()
quit()
def level1(self):
print("--------------------Level 1--------------------\n\n Addition:")
for _ in iter(list, 0):
num1 = random.randint(1,5)
num2 = random.randint(1,5)
if self. score == 5:
print("Congrat! advance to next level\n")
self. init_()
break
print(f"{num1} + {num2}")
result = int(input("Your answer: "))
if result == num1 + num2:
self. increase_score()
elif self. trial == 0:
print("Sorry dear, you failed to pass the text.")
self. end_game()
else:
self. trial_reduce()
def level2(self):
print("--------------------Level 2--------------------\n\n Addition again:")
for _ in iter(list, 0):
num1 = random. randint(1,9)
num2 = random. randint(1,9)
if self. score == 5:
print("Congrat! advance to next level\n")
self. init_()
break
print(f"{num1} + {num2}")
result = int(input("Your answer: "))
if result == num1 + num2:
self. increase_score()
elif self. trial == 0:
print("Sorry dear, you failed to pass the text.")
self. end_game()
else:
self. trial_reduce()
def level3(self):
print("--------------------Level 3--------------------\n\n Subtraction:")
for _ in iter(list, 0):
denum = random. randint(6,9)
num = random. randint(1,5)
if self. score == 5:
self. init_()
self. end_game()
break
print(f"{denum} - {num}")
result = int(input("Your answer: "))
if result == denum - num:
self. increase_score()
elif self. trial == 0:
print("Sorry dear, you failed to pass the text.")
self. end_game()
else:
self. trial_reduce()
#classmethod
def trial_reduce(cls):
cls. trial -= 1
#classmethod
def increase_score(cls):
cls. score += 1
#classmethod
def init_(cls):
cls. trial = 2
cls. score = 0
def end_game(self):
print("Congrats kiddo! You are a math wiz.")
game = Arithmetics()
game. start()
Explanation:
The python class defines the arithmetics class with three-level mathematics for children defined as methods for the class. There are three class methods namely; 'trial_reduce', 'increase_score', and 'init_' with each of them decreasing the trial attribute, increasing the score attribute by one, and initializing the class attributes to its initial state.
The 'end_game' prints a message at the end of the program. Each level is in a loop and counts five times if the answers are correct.
A file named "games.txt" exists and has 80 lines of data. You open the file with the following line of code.
aFile = open("games.txt", "w")
You write two lines to the file in the program. How many lines are in the file when you close your file?
70
0
73
3
Answer:
2 lines
Explanation:
The "w" flag will overwrite any content, so the existing 80 lines are lost.
Then, if you write two lines, there are two lines in the file.
You could argue that the final newline character causes a third line to be present, but logically, there are two lines.
How did Classical music help Gwenda?
Answer:
It helped her to speak in balanced phrases
Explanation:
HOPE THIS HELPS ;}
Write a function called prod_all that takes any number of arguments and returns their sum. Test the function by using these two tuples (separately) as arguments: (1, 2, 3, 4) & (4,6,8): prod_all(1, 2, 3, 4) # The answer should be 24 prod_all(4, 6, 8) # The answer should be 192 [10]: def prod_all(*args): tupl = (args) total *= n # total = total *n
Answer:
from functools import reduce
def prod_all(*args):
prod = reduce(lambda x,y: x *y, args)
return prod
result = prod_all(4,6,8)
print(result)
Explanation:
The use of the "*args" passes a tuple of variable length to a python defined function. The function above takes any number of arguments and returns the product using the python reduce module and the lambda function.
QUESTION 3 / 10
Which of the following is the BEST reason to use cash for making purchases?
A. Keeping track of how much you have spent is simple.
B. Splitting bills with friends is easier.
C. Getting more cash from an ATM machine is easy to do.
D. Knowing what you have spent your money on is
simple.
Complete the sentence.
Python converts your code into bytecode when you run your program. This process is an intermediate step in a process called______
Answer:
Compilation
Explanation:
" Python is an interpreted, high-level, general-purpose programming language. It is is dynamically typed and garbage-collected. "
But first it does a compilation for a file with the extension `.pyc`, so the answer is compilation, even though python is being interpreted
Python converts your code into bytecode when you run your program. This process is an intermediate step in a process called Compilation.
What is code?The line of code returns the ASCII code.
ASCII, has the full form American Standard Code for Information Interchange. It consists of a 7-bit code in which every single bit represents a unique alphabet.
Python is a high-level computer programming language. It is dynamically used.
First, it does a compilation for a file with the extension `.pyc`
Python converts your code into bytecode when you run your program. This process is an intermediate step in a process called Compilation.
Learn more about code.
https://brainly.com/question/2596551
#SPJ2
In a three-tier architecture, the component that runs the program code and enforces the business processes is the:_______.
Answer:
Application Server
Explanation:
The Application Server is a component in computer engineering that presents the application logic layer in a three-tier architecture.
This functionality allows client components to connect with data resources and legacy applications.
In this process of interaction, the Application Server runs the program code from Tier 1 - Presentation, through Tier 2 - Business Logic to Tier 3 - Resources, by forcing through the business processes.
16. When the speed limit is not posted, the default
speed limit recommends that drivers maintain a
speed of
mph on the highway and
mph in the city.
A. O 65, 40
B. O 60, 35
C. O 55, 30
D. O 50, 25
Answer:
C. 55, 30
Explanation:
Even though each state in the United States has different speed limits. However, in a situation whereby the speed limit is not posted, the default speed limit recommends that drivers maintain a speed of "55" mph on the highway and "30" mph in the city.
The highest speed limit in the United States is 85mph on a rural highway in Texas while the lowest generally for the country is 30mph in a residential area.
(plsssssssssssssssssssssssssssssssssssssss helpp meee)
think about system you know,list the parts of the system,describe some ways that the parts are connected to the whole
Answer:
A computer is a complex machine. While most of it works on a microscopic level, it certainly has recognizable macroscopic components that contribute to its uses. A computer can be used to do just about anything from simple calculations to preparing reports to sending rockets into space to simulating the spread of cancer in body organs. Some of the parts are, the motherboard, the power supply, the central processing unit, the optical drive ect. The motherboard plays roles like storing some simple information when the computer is off, such as the system time. The power supply, as you might have already guessed is the powerhouse of the computer. The CPU mainly does arithmetic and logical tasks. It will make a bunch of calculations to ensure the functions of the computer are carried out efficiently. An optical drive is used to read CDs and DVDs, which can be used to listen to music or watch movies. They can also be used to install software, play games, or write new information into a disk.
Explanation: O///O sorry if this is bad....
Some of the latest smartphones claim that a user can work with two apps simultaneously. This would be an example of a unit that uses a __________ OS.
Answer:
MULTITASKING OS
Explanation:
MULTITASKING OPERATING SYSTEM is an operating system that enables and allow user of either a smartphone or computer to make use of more that one applications program at a time.
Example with MULTITASKING OPERATING SYSTEM smartphones user can easily browse the internet with two applications program like chrome and Firefox at a time or simultaneously
Therefore a user working with two apps simultaneously is an example of a unit that uses a MULTITASKING OS.
For a typical program, the input is taken using _________ Command-line scanf Files All of the mentioned
Answer:
D)All of above
Explanation:
This is the complete question
For a typical program, the input is taken using _________.
A)Files
B)Command-line
C)scanf
D)All of above
E)None of these
computer program could be regarded as a collection of instructions which can be executed using computer to carry out a specific task, and it is written by programmer ,Input in domain of computer could be explained as feeding some data into a program. This input could be in the form of a file as well as command line, with the help of programming set of built-in functions that will help in reading the given input as well as feeding it to the program base on requirement. The scanf do reads the input from the standard input stream( stdin and scans) which is been input based on provided format. It should be noted that For a typical program, the input is taken using Files, Command-line and scanf.
Information System (IS) designed to provide reports to managers for tracking operations, monitoring and control is ________
Answer:
Management Information System(MIS)
Explanation:
management information system can be regarded as an information system
that is engaged in decision-making as well as the coordination and control and analysis of information in an organization. It involves processes as well as people and technology when studying the management information systems in organizational view.
In Management Information System(MIS) data can be gotten from the database, as well as the compilation of reports, this report could be inventory-level reports,
financial statements/analysis so that routine decision can be made by the manager. It should be noted that Management Information System(MIS) is the Information System (IS) designed to provide reports to managers for tracking operations, monitoring and control.
Assume a large shared LLC that is tiled and distributed on the chip. Assume that the OS page size is 16KB. The entire LLC has a size of 32 MB, uses 64-byte blocks, and is 32-way set-associative. What is the maximum number of tiles such that the OS has full flexibility in placing a page in a tile of its choosing?
Answer:
19 - 22 bits ( maximum number of tiles )
Explanation:
from the given data :
There is 60 k sets ( 6 blocks offset bits , 16 index bits and 18 tag bits )Address has 13-bit page offset and 27 page number bits14-22 bits are used for page number and index bitstherefore any tour of these bits can be used to designate/assign tile number
so the maximum number of tiles such that the OS has full flexibility in placing a page in a tile of its choosing can be between 19 -22 bits
When is the greatest risk of damage from electrostatic discharge?
A. if you touch an unpainted metal surface B. if you unscrew and open a laptop's casing C. when you open the casing of a desktop computer after powering It off
D. when you work with computer parts that are normally encased
Answer: D
Explanation: when you are working on a computer internals you usually open it up to work on it. this is the greatest risk for electrostatic discharge to fry compontas when you touch components.
Answer:
D
Explanation:
Ms office suite comes with its own set of pictures in the
Answer:
clipart ...........................
Explanation:
clipart is the correct answer for the above question.
Which of the following statements about computational thinking are true? Select 3 options.
Answer:
The correct answer to this question is given below in the explanation section.
Explanation:
In this question the choices are missing, the choices of this question are:
The result of computational thinking is a problem broken down into its parts to create a generalized model and possible solutions, Computational thinking involves the techniques of decomposition, pattern recognition, abstraction, and algorithm development. Computational thinking is basically synonymous with programming. Computational thinking is a set of techniques used to help solve complex problems or understand complex systems Understanding all of the minor details about a problem is critical in computational thinkingThe correct 3 choices about computational thinking that are true are given below:
1.The result of computational thinking is a problem broken down into its parts to create a generalized model and possible solutions.
2. Computational thinking involves the techniques of decomposition, pattern recognition, abstraction, and algorithm development.
4. Computational thinking is a set of techniques used to help solve complex problems or understand complex systems.
Answer:
-The result of computational thinking is a problem broken down into its parts to create a generalized model and possible solutions.
-Computational thinking involves the techniques of decomposition, pattern recognition, abstraction, and algorithm development.
- Computational thinking is a set of techniques used to help solve complex problems or understand complex systems.
Explanation:
I just took the test got a 100%
What does cpu mean
Answer:
CPU or Central processing unit is the principal part of any digital computer system, generally composed of the main memory, control unit, and arithmetic-logic unit.
Hope this helps and if you could mark this as brainliest. Thanks!
An anagram of a string is another string with the same characters in the same frequency, in any order. For example 'ab', 'bca, acb), 'bac', 'cba, 'cab' are all anagrams of the string 'abc'. Given two arrays of strings, for every string in one list, determine how many anagrams of it are in the other list. Write a function that receives dictionary and query, two string arrays. It should return an array of integers where each element i contains the number of anagrams of queryll that exist in dictionary.
Answer:
from collections import Counter
def anagram(dictionary, query):
newList =[]
for element in dictionary:
for item in query:
word = 0
count = 0
for i in [x for x in item]:
if i in element:
count += 1
if count == len(item):
newList.append(item)
ans = list()
for point in Counter(newList).items():
ans.append(point)
print(ans)
mylist = ['jack', 'run', 'contain', 'reserve','hack','mack', 'cantoneese', 'nurse']
setter = ['ack', 'nur', 'can', 'con', 'reeve', 'serve']
anagram(mylist, setter)
Explanation:
The Counter class is used to create a dictionary that counts the number of anagrams in the created list 'newList' and then the counter is looped through to append the items (tuple of key and value pairs) to the 'ans' list which is printed as output.
What are the different types of store-based and nonstore-based retail locations? Provide a real example (store name) for each different type.
Explanation:
For Store-based retail locations; they've been grouped on the basis of:
ownership, andthe type of merchandise offeredI. On the basis of ownership, we have:
Independent retailer locationchain retail locationfranchise locationII. On the basis of merchandise offered, we have:
departmental store locationconvenience store locations supermarket locationsFor Non-Store retail locations, ie. retailing that does not a physical store. These include;
direct sellingmail orderonline retailing outletswho wants 100 points? comment buh. i don't rlly care buh.
Answer:
I do
Explanation:
Answer:
hey bae I do heheheheeheh
data are collected and gather from the __
Answer:
hard drive
Explanation:
Need help with 4.7 lesson practice edhesive
Answer:
Question 4 => 4th answer: The first line should be for x in range (7, 10):
Question 5 => 2nd answer: 14 16 18 20 22 24 26 28 30 32
Explanation:
Question 4
"for" loops always need a variable (like "x") defined to iterate with different values. for x in range (7, 10): makes x to take values 7, 8, 9 and 10 successively and execute print(x) each time.
Question 5
The expression x in range (7, 16) makes x to take values from 7 up to 16 inclusive. So for each iteration it will execute print x*2 which prints the double of the actual value for x. Starting with x=7, it will print 14, then with x=8 will print 16, and so on. All values are shown on the table below:
X Prints
7 14
8 16
9 18
10 20
11 22
12 24
13 26
14 28
15 30
16 32
The code segments are illustrations of loops.
4: The first line should be for x in range(7,10):5: The output is 14 16 18 20 22 24 26 28 30The syntax of a for loop is:
for variable in range (begin,end+1):
The loop in question (4) is given as:
for range (7,10)
This means that, the variable is missing.
So, the first line of the code segment should be
for x in range(7,10):
For question 5, the value of x would range from 7 to 15.
The print statement prints twice x, followed by a space.
So, the output would be 14 16 18 20 22 24 26 28 30
Read more about loops at:
https://brainly.com/question/19323897
What is a file type and why is it important? Give at least three examples of file
types, including the associated file extension and
program.
What is the function of an ISP,a browser and a mobile browser?
An internet service provider (ISP) is a company that provides web access to both businesses and consumers. ISPs may also provide other services such as email services, domain registration, web hosting, and browser services.
The purpose of a web browser is to fetch information resources from the Web and display them on a user's device. This process begins when the user inputs a Uniform Resource Locator (URL), such as wikipedia.org, into the browser.
A mobile browser is a web browser designed for use on a mobile device such as a mobile phone or PDA. Mobile browsers are optimized to display Web content most effectively for small screens on portable devices.
How is this possible? What is the explaination
Answer:
Nothing is possible
Explanation:
I am kidding
What is the part of a CSS declaration that describes the HTML tag?
A.the selector
B.the pointer
C.the value
D.the property
Answer:
a selector
Explanation:
Answer:
A. the selector
90 points can someone please write the code for this (HTML):
A text field to enter your name.
At least three multiple choice questions where only one answer can be chosen.
A word problem with a text area for the user to type in the answer.
At least three different math symbols using correct ampersand notation.
A Submit button at the end of the test.
Comment tags that indicate the start and end of the test.
I need to get this done really soon, please help. I couldn't find any text to HTML sites that included multiple choice and Interactive buttons.
Answer:
Explanation:
1.
First name:
Last name:
.
2.
What fraction of a day is 6 hours?
Choose 1 answer
6/24
6
1/3
1/6
Submit
</p><p> // The function evaluates the answer and displays result</p><p> function displayAnswer1() {</p><p> if (document.getElementById('option-11').checked) {</p><p> document.getElementById('block-11').style.border = '3px solid limegreen'</p><p> document.getElementById('result-11').style.color = 'limegreen'</p><p> document.getElementById('result-11').innerHTML = 'Correct!'</p><p> }</p><p> if (document.getElementById('option-12').checked) {</p><p> document.getElementById('block-12').style.border = '3px solid red'</p><p> document.getElementById('result-12').style.color = 'red'</p><p> document.getElementById('result-12').innerHTML = 'Incorrect!'</p><p> showCorrectAnswer1()</p><p> }</p><p> if (document.getElementById('option-13').checked) {</p><p> document.getElementById('block-13').style.border = '3px solid red'</p><p> document.getElementById('result-13').style.color = 'red'</p><p> document.getElementById('result-13').innerHTML = 'Incorrect!'</p><p> showCorrectAnswer1()</p><p> }</p><p> if (document.getElementById('option-14').checked) {</p><p> document.getElementById('block-14').style.border = '3px solid red'</p><p> document.getElementById('result-14').style.color = 'red'</p><p> document.getElementById('result-14').innerHTML = 'Incorrect!'</p><p> showCorrectAnswer1()</p><p> }</p><p> }</p><p> // the functon displays the link to the correct answer</p><p> function showCorrectAnswer1() {</p><p> let showAnswer1 = document.createElement('p')</p><p> showAnswer1.innerHTML = 'Show Corrent Answer'</p><p> showAnswer1.style.position = 'relative'</p><p> showAnswer1.style.top = '-180px'</p><p> showAnswer1.style.fontSize = '1.75rem'</p><p> document.getElementById('showanswer1').appendChild(showAnswer1)</p><p> showAnswer1.addEventListener('click', () => {</p><p> document.getElementById('block-11').style.border = '3px solid limegreen'</p><p> document.getElementById('result-11').style.color = 'limegreen'</p><p> document.getElementById('result-11').innerHTML = 'Correct!'</p><p> document.getElementById('showanswer1').removeChild(showAnswer1)</p><p> })</p><p> }</p><p>
3.<p> rows="5" cols="30"</p><p> placeholder="type text.">
4. <p>I will display €</p>
<p>I will display ∂</p>
<p>I will display ∃</p>
5. <input type="submit">
6. This code should be the first code
<!-- This is a comment -->
<p>Start Test.</p>
<!-- Remember to add more information here -->
This code should be the last and at the end of the of the html code
<!-- This is a comment -->
<p>End Test.</p>
<!-- Remember to add more information here -->
Notice: Answers may not be accurate and may be accurate. And pls endeavor to edit any part of the html code.