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
Korvikt [17]
3 years ago
9

Why should one avoid noise in the computer room​

Computers and Technology
2 answers:
AleksAgata [21]3 years ago
8 0

Answer:

because if one does not avoid noise in a computer room the teacher might shove a broomstick up your B U T T

Explanation:

Nady [450]3 years ago
7 0
Do not make noise in the computer room. Again

You might be interested in
Sample Run 1 Enter your word: zebras Enter a number: 62 Password not long enough. Sample Run 2 Enter your word: newyorkcity Ente
Aliun [14]

Answer:

import random

paswrd = input("Enter Pass: ")

while len(paswrd) < 8:

print('Password not long enough.')

paswrd = input("Enter Pass: ")

paswrd = paswrd.replace('e', '@')

paswrd = paswrd.replace('E', '@')

paswrd = paswrd.replace('s', '$')

paswrd = paswrd.replace('S', '$')

paswrd = paswrd.replace('t', '+')

paswrd = paswrd.replace('T', '+')

paswrd = paswrd.capitalize()

paswrd = paswrd + (str(random.randint(1,999)))

print(paswrd)

Explanation:

  • Take the password as input from user.
  • Replace the alphabets with relevant characters.
  • Capitalize the password.
  • Finally display the password.
5 0
3 years ago
Which type of page of replacement algorithm is Windows XP and Unix are using?
mel-nik [20]

Answer:

Windows XP uses the Local Page Replacement algorithm. It is a type of FIFO. In this, Pages are taken from processes using more than their minimum working set and Processes initialize with a default of 50 pages. XP monitors page fault rate and adjusts working set size accordingly.

UNIX uses the Global replacement Algorithm through Modified second-chance clock algorithm.  Here Pages are aged with each second and Pages that are not used for a long time will eventually have a value of zero.

7 0
4 years ago
Write a Twitter class that sets the Twitter user first (who is to be followed) and lets the client add up to 5 followers, which
SSSSS [86.1K]

Answer:

C++ code explained below with its sample outputs

Explanation:

Twitter.h

========

#ifndef Twitter_h

#define Twitter_h

#include <iostream>

using std::string;

using std::cout;

using std::endl;

template <typename T>

class Twitter

{

private:

string name;

T followers[5];

int numFollowers;

public:

Twitter(string n);

bool AddFollower(T follower);

bool RemoveFollower(T follower);

void PrintFollowers();

};

template <typename T>

Twitter<T>::Twitter(string n)

{

name = n;

numFollowers = 0;

}

template <typename T>

bool Twitter<T>::AddFollower(T follower)

{

if(numFollowers < 5)

{

followers[numFollowers] = follower;

numFollowers++;

return true;

}

else

return false;

}

template <typename T>

bool Twitter<T>::RemoveFollower(T follower)

{

int index;

bool found = false;

for(index = 0; index < numFollowers; index++)

{

if(followers[index] == follower)

{

found = true;

break;

}

}

if(found)

{

//shift all other followers after the one to be removed to one position left

for(++index; index < numFollowers; ++index)

{

followers[index-1] = followers[index];

}

numFollowers--;

return true;

}

else

return false;

}

template <typename T>

void Twitter<T>::PrintFollowers()

{

cout << "Followers for " << name << endl;

for(int i = 0; i < numFollowers; i++)

cout << followers[i] << endl;

 

cout << "------" << endl << endl;

}

#endif /* Twitter_h */

main.cpp

=========

#include "Twitter.h"

#include <iostream>

using namespace std;

struct Profile {

string userName;

int age;

string state;

};

 

ostream& operator << (ostream & output, Profile p) {

output << p.userName;

return output;

}

bool operator == (const Profile &p1, const Profile p2)

{

return p1.userName == p2.userName;

}

int main()

{

Twitter<string> t1("John");

Twitter<Profile> t2("Bob");

 

cout << "Adding followers to John" << endl;

t1.AddFollower("Bill");

t1.AddFollower("Jack");

t1.PrintFollowers();

 

Profile p1 = {"Alice", 20, "Alaska"};

Profile p2 = {"Janet", 22, "California"};

Profile p3 = {"Jim", 20, "Texas"};

 

cout << "Adding follower profiles to Bob" << endl;

t2.AddFollower(p1);

t2.AddFollower(p2);

t2.AddFollower(p3);

t2.PrintFollowers();

 

cout << "Removing Bill from John" << endl;

t1.RemoveFollower("Bill");

 

cout << "Removing Janet's profile from Bob" << endl << endl;

t2.RemoveFollower(p2);

 

t1.PrintFollowers();

t2.PrintFollowers();

 

 

 

}

output

-======

Adding followers to John

Followers for John

Bill

Jack

------

Adding follower profiles to Bob

Followers for Bob

Alice

Janet

Jim

------

Removing Bill from John

Removing Janet's profile from Bob

Followers for John

Jack

------

Followers for Bob

Alice

Jim

------

6 0
3 years ago
Type the numbers 1-50 and then type Computers and Technology twice type it once forward and once backwards.
Ierofanga [76]

Answer:

Why?

Explanation:

7 0
3 years ago
Read 2 more answers
When you break an iPad, can you recover an iMovie?
kompoz [17]
Yes, on your cloud. you should have an email 

7 0
3 years ago
Read 2 more answers
Other questions:
  • The efficiency for recursively traversing a chain of linked nodes is
    15·1 answer
  • Which statement is an example of an opinion from an online source?
    14·2 answers
  • The rules that determine what is allowed in a program are known as the
    14·1 answer
  • An Internet connection problem for customers is found to be outside a carrier's regional office. As a result, which area needs t
    9·1 answer
  • How do I upload a picture in python 3
    7·1 answer
  • While editing a film, a director feels that the actors have not enacted a particular scene well. What type of shot must the dire
    12·1 answer
  • Egovernment involves the use of strategies and technologies to transform government by improving the delivery of services and en
    7·1 answer
  • On the topic of "Bridging the Digital Divide", why should companies consider the digital divide?
    9·1 answer
  • Inserting merge fields in the letter<br>steps required <br>plz ​
    11·2 answers
  • For risk monitoring, what are some techniques or tools you can implement in each of the seven domains of a typical IT infrastruc
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!