1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Aleksandr [31]
3 years ago
9

I found a brand-new charger wire still in its plastic package, but it's six years old and has never been used. Is it safe to use

?
Computers and Technology
1 answer:
Oduvanchick [21]3 years ago
3 0

Answer:

Yes it should be safe

Explanation:

hope it helps :)

You might be interested in
Write a function with two parameters, prefix (a string, using the string class from ) and levels (an unsigned integer). The func
Allisa [31]

Answer:

Here is the program:

#include <iostream>  //to use input output functions

#include <string>  // to use functions to manipulate strings

using namespace std;  //to identify objects cin cout

void function(string prefix, unsigned int levels){  // function that takes two parameters, a string, using the string class and levels an unsigned integer

   if (levels == 0) {  //if number of levels is equal to 0

       cout << prefix << endl;  //displays the value of prefix

       return;    }  

  for (int i = 1; i <=9 ; i++){  //iterates 1 through 9 times

       string sections = (levels == 1 ? "" : ".");  //if the number of levels is equal to 1 then empty space in sections variable otherwise stores a dot

       string output = prefix +  std::to_string(i) + sections;   // displays the string prefix followed by the section numbers. Here to_string is used to convert integer to string

       function(output, levels - 1);   } }   //calls function by passing the resultant string and levels-1  recursively to print the string prefix followed by section numbers

int main() {  // start of main function

   int level = 2;  //determines the number of levels

   function("BOX", level);  } //calls function by passing the string prefix and level value

Explanation:

The program has a function named function() that takes two parameters, prefix (a string, using the string class from ) and levels (an unsigned integer). The function prints the string prefix followed by "section numbers" of the form 1.1., 1.2., 1.3., and so on. The levels argument determines how many levels the section numbers have. If the value of levels is 0 means there is 0 level then the value of prefix is printed. The for loop iterates '1' through '9' times for number of digits in each level. If the number of levels is 1 then space is printed otherwise a dot is printed. The function() calls itself recursively to print the prefix string followed by section numbers.

Let us suppose that prefix = "BOX" and level = 1

If level = 1 then the loop for (int i = 1; i <=9 ; i++) works as follows:

At first iteration:

i = 1

i <=9 is true because value of i is 1

string sections = (levels == 1 ? "" : "."); this statement checks if the levels is equal to 1. It is true so empty space is stored in sections variable so,

sections = ""

Next, string output = prefix +  std::to_string(i) + sections; statement has prefix i.e BOX plus value of i which is 1 and this int value is converted to string by to_string() method plus sections has an empty space. So this statement becomes

string output = BOX + 1  

So this concatenates BOX with 1 hence output becomes:

output = BOX1

At second iteration:

i = 2

i <=9 is true because value of i is 2

string sections = (levels == 1 ? "" : "."); is true so

sections = ""

Next, string output = prefix +  std::to_string(i) + sections; statement becomes

string output = BOX + 2  

So this concatenates BOX with 1 hence output becomes:

output = BOX2

At third iteration:

i = 3

i <=9 is true because value of i is 3

string sections = (levels == 1 ? "" : "."); is true so

sections = ""

Next, string output = prefix +  std::to_string(i) + sections; statement becomes

string output = BOX + 3  

So this concatenates BOX with 1 hence output becomes:

output = BOX3

Now at each iteration the prefix string BOX is concatenated and printed along with the value of i. So at last iteration:

At last iteration:

i = 9

i ==9 is true because value of i is 9

string sections = (levels == 1 ? "" : "."); is true so

sections = ""

Next, string output = prefix +  std::to_string(i) + sections; statement becomes

string output = BOX + 9  

So this concatenates BOX with 1 hence output becomes:

output = BOX9

After this the loop breaks at i = 10 because the condition i<=9 becomes false. So the output of the entire program is:

BOX1                                                                                                                                          BOX2                                                                                                                                          BOX3                                                                                                                                          BOX4                                                                                                                                          BOX5                                                                                                                                          BOX6                                                                                                                                          BOX7                                                                                                                                          BOX8                                                                                                                                          BOX9  

The program along with the output is attached.

4 0
3 years ago
Visually impaired people cannot use a mouse to navigate web pages. How can web page designers ensure that such individuals are a
SSSSS [86.1K]

Answer:

Keyboard

Explanation:

Visually impaired users usually rely on the keyboard for navigating a website, the concept of taking notice of disabled people while building your website or applications is called accessibility or a11y for short, where the user uses the tab key to focus on various form elements and enter for selection, etc. it is believed that websites with proper accessibility reaches and cater for more users.

8 0
3 years ago
Read 2 more answers
The cloud computing model has several unique and essential characteristics that distinguish cloud computing from an in-house inf
skelet666 [1.2K]

Answer:

Rapid Elasticity is the correct answer of this question.

Explanation:

Rapid elasticity is a cloud computing phrase for scalable storage, or the capacity to deliver scalable software. The cloud computing model has many different and necessary features which separate both cloud computing and an in-house technology. One such attribute is Rapid Elasticity.

  • The principle of rapid elasticity in specific cloud computing conditions does cause some problems.
  • The knowledge that companies still need to distribute and decommission services is often negligible on the part of the client or user.
3 0
3 years ago
What can cause noise?
Mkey [24]

Answer:

All of the above

Explanation:

It al depends on the type of questions

3 0
3 years ago
Read 2 more answers
Vivian wants to use shorthand properties for a background for her new website. What would be the proper element?
KiRa [710]
1. There are two equivalent options: 
     <span>2. border-width:2px; 
         border-style:solid; 
         border-color: #000 
and </span><span>3. border: 2px solid #000;

As for programmers: "Shorter = better". So option 3 is your choice.

2. I think it's a very tricky question and I can't see correct answer. But in my opinion this one is the most possible: </span><span>3. CSS shorthand take up less space. Shorter files = less mistakes.</span>
5 0
2 years ago
Other questions:
  • How do I get rid of this little tool bar????
    14·1 answer
  • What is Blender's default save directory for movie AVI files?
    9·2 answers
  • What acronym describes networked devices that contain microcomputers but are not thought of as computing devices, such as refrig
    9·1 answer
  • A thief has unfortunately captured your atm card number by placing a panel on top of the face of an atm, which was virtually und
    13·1 answer
  • If two egg cells are fertilized what will happen?
    10·1 answer
  • What is the difference between a switch and a hub?
    8·1 answer
  • QUESTION 4 of 10: What term refers to the basic characteristics of a population segment, such as gender, age, and income?
    12·2 answers
  • How do i work on code with someone else? i use visual studio code. me and a friend wanna make a game together with code. how do
    8·1 answer
  • HELP ASAP
    7·1 answer
  • 1. Which one of the following is true about screening interviews?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!