You will create two classes, one for a box and one for a triangle. Each of the figures, the box and the triangle, will have an offset telling how far they are indented from the edge of the screen. Each figure will also have a size, although the size will be determined differently for a box and a triangle. For a box, the size is given as the width and the height, expressed in the number of characters. Because characters are taller than they are wide, a box will look taller than you might expect when it is written on the screen. For a triangle, the size will be given by its base. The triangle will point up, and the base will be at the bottom. The slope of a side of the triangle is limited to what you get by indenting one character per line. So once the base is chose, you have no choice regarding what the sides of the triangle will be. We also assume that the base size of a triangle must be odd. The following shows a sample of a 5-by-5 box and a triangle with base of size 15. Assuming that the offset 10. The

Answers

Answer 1

I believe it should be


Related Questions

. Write a function wordscramble that will receive a word in a string as an input argument. It will then randomly scramble the letters and return the result. Here is an example of calling the function: >> wordscramble('fantastic') ans = safntcait

Answers

Answer: You can use the function randperm() to generate a random permutation of the indexes. so then you would use the random permutation to reorder the string array

Explanation:

Which of the following uses the operators “and”, “or”, and “not” to get more exact search results?
A. Boolean logic
B. Google logic
C. Search logic
D. Research logic

Answers

Answer:

Boolean logic

Explanation:

Boolean Operators: “Or,” “And,” and “Not”.

Answer:

A. Boolean logic

Explanation:

    The name of the mathematician George Boole is the origin of Boolean logic, which is based on set theory.

    The Boolean operators AND, OR, NOT are used to combine several terms in the same search. Its use is very useful whenever it is necessary to refine a search in a database.

Which of the following refers to a technology with a three-dimensional computer simulation in which a person actively and physically participates? A. Wireless fidelity*B. Virtual realityC. Augmented realityD. Agile methodology

Answers

Answer:

B. Virtual reality

Explanation:

In a virtual reality context, the visual and auditory senses of the user are fed by data (images, sounds) from the computer using a goggle and earphones.  That allows the person to be totally cut off her real physical environment and be totally immersed into the world (reality) managed by the computer.

Not to be confused with augmented reality, where the physical reality and perception of it aren't changed... but an additional layer of information is added on top of it.  Like pointing your phone camera to a building and getting information about the building displayed on your phone.

What are examples of network hardware? (Choose more than one)

Question 4 options:

Hubs


switches


routers


Layers


Sieve

Answers

Hubs is the common connection point in networks.  Remember where we plug our ETHERNET cable of internet, yes in a small device, that is hub.Switches is a device used to connect or break connection in electric circuits.Routers used with switches are used to connect different connections.

The Examples of network hardware are:

HubsSwitchesRouters

Explanation:

A hub is a device that is used to make multiple connections. When multiple connections are to be made which includes wires coming from different branches, a hub is used.

A switch is a hardware device that is responsible for filtering and forwarding network packets. There are three types of switching techniques:

circuit switching, packet switching, and message switching.

A router is another hardware networking device. The function of a router is to forward data packets between multiple networks.

You are the network administrator for Slimjim, a peripheral device company. The network uses Linux, and you need information on some commands to perform your job. Open the manual pages and find all the commands that have the word "copy" in their name or description. What command did you use to accomplish this task? Are there any commands in this list that only a root user can execute? How are they indicated? Select any two of them and compare their info and manual pages. Access and read the manual pages on three other commands that interest you either by using the command name or searching for them by related keyword (try using apropos).

Answers

Step 1 of 4

What command did you use to accomplish this task?

First of all, let us ask ourselves what manual pages or man pages are. Manual pages in Unix/Linux are sometimes referred to as an online form of software documentation. They are a set of pages that try to explain and expound every command available on your system. Further, these pages explain to you the specifics of what each command does and how to run them. And in this case, we can use two commands to search for all the commands that have the word "copy" in their name or description. The commands are “man –k copy” or “apropos copy”

Step 2 of 4

Are there any commands in this list that only a root user can execute? How are they indicated?

Yes. There are several commands in this list that only a root user can execute. If you would want to find out what these commands are, the best way to do that is to look at those manual pages that are indicated by the manual page section number. If it has a number 8, then a root user can execute this command

Let’s compare the cp command and the cpio command

If you do an apropos or a man page on the commands above, you will spot a few differences. The cp command is used to copy files and directories from source to target location while the cpio command copies files to and from archives. The available options are –a –b –d –f –i –l –L –p and several others. On the other hand, the available options for cpio are –0 –a –A –b –B –C –c –d –E and more.

Access and read the manual pages on three other commands that interest you either by using the command name or searching for them by related keyword (try using apropos)

affcopy command

NAME

      affcopy - reorder and recompress AFF files

SYNOPSIS

      affcopy [options] file1 file

      affcopy [options] file1 file2 file3 ... dir

      affcopy [options] file1 file2 file3 ... dir1 dir2...

OPTIONS

General options:

             -d     Print debugging information as well.

             -h     Help, print this message.

             -L     Recompress pages (preen) with LZMA (smaller but slower).

             -m     Just copy the missing segments.

bcopy command

NAME

      bcopy - copy byte sequence

SYNOPSIS

      #include <strings.h>

      void bcopy(const void *src, void *dest, size_t n);

DESCRIPTION

      The bcopy() function copies n bytes from src to dest.  The result is correct, even when both areas overlap.

RETURN VALUE

      None.

cifssd command

NAME

      cifsdd - convert and copy a file over SMB

SYNOPSIS

      cifsdd [OPERAND]...

      cifsdd OPTION

DESCRIPTION

      This tool is part of the samba(7) suite.

      Copy a file, converting and formatting according to the operands.

      bs=BYTES

          read and write up to BYTES bytes at a time (default: 4096)

      ibs=BYTES

          read up to BYTES bytes at a time (default: 4096)

      obs=BYTES

          write BYTES bytes at a time (default: 4096)

To find commands with "copy" in their name or description, I used `man -k copy`.Commands executable only by the root user are indicated by "(8)" at the beginning of their manual page descriptions.Comparing `cp` and `scp`: `cp` provides a concise summary, while `scp` offers detailed information.Read the manual pages for `rsync`, `mv`, and `tar` using `man rsync`, `man mv`, and `man tar`, respectively.

To find all the commands that have the word "copy" in their name or description, I would use the `man` command with the `-k` option, which is a synonym for `apropos`. The command would be:

man -k copy

This command will search the manual pages for any commands that match the keyword "copy" in their name or description.

Regarding commands that only a root user can execute, they are typically indicated by the presence of "(8)" at the beginning of their manual page descriptions. For example, if a command is only executable by the root user, its manual page description might start with "(8) -". The number 8 indicates that it is a system administration command.

As for comparing the info and manual pages of two commands, let's consider the `cp` and `scp` commands:

1. cp (1):

Info Page: Provides detailed information on how to use the `cp` command, including its syntax, options, and examples.Manual Page: Offers a concise summary of the `cp` command, its usage, and available options.

2. scp (1):

Info Page: Gives an overview of the `scp` command, its usage, and options, along with examples and related concepts.Manual Page: Provides detailed information on the `scp` command, including its syntax, options, and usage scenarios.

For the remaining three commands, I will choose `rsync`, `mv`, and `tar`. Let's access and read their manual pages:

man rsync

man mv

man tar

These commands are often used for file and directory manipulation, backups, and archiving, which are essential tasks for a network administrator.

In 2013, the national retailer Target Corporation suffered a major data breach that put the financial information of an estimated 40 million customers at risk. In 2009, the health care provider BlueCross BlueShield of Tennessee suffered a theft of hard drives when it reported 57 hard drives stolen. Both these cases resulted from a(n) ________________ failure

Answers

Answer:

Security Policies

Explanation:

As computer systems continue to become complex, it makes it hard for co-operates and big businesses to understand the technology that comes with it. Organizations are concerned with how risks are being handled, managed, and reduced. They therefore, expect security policies to reflect how information should be handled. Better security policies shows a company's commitment to protect data and keep the business healthy.

A blue compressor clutch indicates that it's been slipping due to too

Answers

Final answer:

A blue compressor clutch indicates that it's been slipping due to too much friction. To address this issue, one might need to replace the clutch and ensure proper belt tension and lubrication.

Explanation:

A blue compressor clutch indicates that it's been slipping due to too much friction. The compressor clutch is a component in a car's air conditioning system that engages and disengages the compressor to control the cooling process. When the clutch slips, it means it is not properly engaging with the compressor, which can result in reduced cooling performance and potential damage to the clutch itself.

To address a slipping compressor clutch, you might need to replace it with a new one. Additionally, checking the belt tension and lubricating it properly can also help prevent clutch slipping. It's always best to consult a professional mechanic for an accurate diagnosis and appropriate solution to the issue.

Choose the correct format for giving credit to an author when including a quotation in a literary analysis essay. A. (Page#, Author First Name) B. (Page#, Author Last Name) C. (Author Last Name Page#) D. (Author Full Name, Page#)

Answers

Answer:

Option C: (Author Last Name, Page#)

Explanation:

The term used for giving credit to an author when including a quotation in a literary essay is known as In-text citation.

In-text citation is used whenever someone does not quotes directly rather uses someone else's ideas or quotes to support his own thoughts or sayings.

For this purpose, the last name of author and page number are written inside parenthesis after the reference quote.

Answer:

c

Explanation:

The Mishiba Huya LED bulbs enable consumers to control lighting in their homes using a smartphone or tablet. When connected to a Huya wireless bridge, the bulbs can be programmed to emit different tones of white light, from warm, yellow white to vibrant, blue white to any color on the spectrum. The bulbs can also be programmed to blink if they sense an intruder. This is an application of _____.

Answers

Final answer:

The application described is an example of smart lighting, which allows users to control lighting using a smartphone or tablet. Mishiba Huya LED bulbs are a type of smart LED bulbs that can be programmed to emit different tones of white light and blink in response to an intruder.

Explanation:

The application described in the question is an example of smart lighting. Smart lighting refers to lighting systems that can be controlled remotely using a smartphone or tablet. This technology allows users to adjust the color and intensity of the light, as well as program it to perform specific functions, such as blinking in response to an intruder.

The Mishiba Huya LED bulbs mentioned are an example of smart LED bulbs, which are becoming increasingly popular for both residential and commercial lighting due to their versatility and energy efficiency.

By using smart lighting, consumers can create customized lighting experiences and reduce energy consumption.

Technician A says that oil for the rod bearings comes from splash off the crankshaft. Technician B says that lubrication to the main bearings is fed through the main oil gallery in the block. Who is correct?

Answers

Answer: technician B

Explanation:

The oil is picked up from the oil pump though a pick up tube that is mounted on the oil pump. The end of the pick up tube sits in the oil at the bottom of the oil pan. The oil is then forced through holes that are drilled into the block. Those holes which are called (journals) lead to the main bearings,rod bearings,lifters, camshaft, ect..

Technician B says that lubrication to the main bearings is fed through the main oil gallery in the block is correct.

How are the main bearings lubricated?

Lubrication regimes

Engine bearings are lubricated by motor oils constantly supplied in sufficient amounts to the bearings surfaces. Lubricated friction is characterized by the presence of a thin film of the pressurized lubricant (squeeze film) between the surfaces of the bearing and the journal.

Which lubricant is used for bearing?

A lithium-based grease, whose base oil is mineral oil, is commonly used as a lubricant for rolling bearings, as it is compatible with the working surface of the bearing. Its operating temperature range is -30˚C to 130˚C.

To learn more about Lubrication, refer

https://brainly.com/question/23404955

#SPJ2

Other Questions
Evaluate: 4 + 12 (3)/10 + 3(2) What is the future tense of mis amigos(disfrutar) el oceano Which country was the first in the world to incorporate the protection of the environment into its constitution? A rectangular prism has a volume of 144 cubic inches. If the length is 2 times the width and the width is 4, find the height of the prism.Show your work. Graph the linear equation. Find the three points that solve the equation then plot on the graph. -y=x+0 What is a difference between starch and glycogen?A: Starch stores energy, and glycogen provides structural support.B: Starch is found in plants, and glycogen is found in animals.C: Starch is composed of fructose, and glycogen is composed of glucose.D: Starch is a monomer, and glycogen is a polymer. Finish this simile. Use your imagination to complete the description. Writing similes is like . . . Please help will give brainliest A car travels 102 miles on 3gallons of gas. How far can it travel on 11 Gallons of gas Please HELP ASAP ONE QUESTION ONLY ITS SPANISH After a period of growth, my restaurant needed more __ to continue expanding.capital or capitol 6.1 Less Developed Country AnalysisIn this lesson we discussed issues related to less developed countries. Let's see how well youunderstand the concepts related to LDCS.Your task: Follow this link to a United Nations page with profiles of less developed countries.Choose a country whose name begins with first letter of either your first or last name. Click the linkto view the profile of your country. Locate and record on this form the following data:Your Name:Country selected:(1 point each)Percentage of GDP from agricultureLife expectancy after birth (male/female)Adult literacy rate (male/female)Population with access to electricity (percentage)Main export sectorGross national income (GNT) per capitaPopulation undernourished (percentage)Under 5 mortality rate (per 1,000 live births) What is the equation of a line passing through (-3, 7) and having a slope of -1/5 ? A. y = -5x + 22 B. y = 5x + 22 C. y=1/5x+32/5 D. y=-1/5x+32/5 E. y=-1/5x+22 Sofia bought a motorcycle with a sticker price of $5300. If she paid $310 amonth for 24 months, how much interest did she pay?A. $7440B. $3720c. $2140D. $5300 CompletarFill in the blanks Activity Textbook InstructionsFill in the blanks with the preterite form of the appropriate verb in parentheses. unlimited attempts remaining Grade settings External references206-209 Vocabulary list Grammar explanation Questions El viernes a las cuatro de la tarde, la profesora Mora (asistir, costar, usar) a una reunin (meeting) de profesores. A la una, yo (llegar, bucear, llevar) a la tienda con mis amigos. Mis amigos y yo (comprar, regatear, gastar) dos o tres cosas. Yo (costar, comprar, escribir) unos pantalones negros y mi amigo Mateo (gastar, pasear, comprar) una camisa azul. Despus, nosotros (llevar, vivir, comer) cerca de un mercado. A las tres, Pepe (hablar, pasear, nadar) con su amiga por telfono. El sbado por la tarde, mi mam (escribir, beber, vivir) una carta. El domingo mi ta (decidir, salir, escribir) comprarme un traje. A las cuatro de la tarde, mi ta (beber, salir, encontrar) el traje y despus nosotras (acabar, ver, salir) una pelcula. _____the variation of pitch, which has to do with how fast your vocal cords vibrate and how "high" your voice soundsPhonologysyntaxintonation Loveliest of treesLoveliest of trees, the cherry nowIs hung with bloom along the bough,And stands about the woodland rideWearing white for Eastertide.Now, of my threescore years and ten,Twenty will not come again,And take from seventy springs a score,It only leaves me fifty more.And since to look at things in bloomFifty springs are little room,About the woodlands I will goTo see the cherry hung with snow.Why does the speaker decide to go to the woodlands and see the cherry tree hung with snow? Use evidence from the text to support your answer.Based on the poem, how might the speaker be described? Be sure to address the kinds of things the speaker appreciates, enjoys, or values. Use evidence from the text to support your answer.Please help!!!!! :) I need help solving this step by step please. HELP! Solve for x. Make sure to show your work and provide complete geometric explanations. What lever has resistance between the axis (fulcrum) and the force (effort)? A. first B. second C. third D. fourth Steam Workshop Downloader