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
seropon [69]
4 years ago
7

You have a motion security light by your door. A cat run across it and the light turns on. What is the input of this system and

what is the output?
Computers and Technology
1 answer:
pishuonlain [190]4 years ago
5 0
Input is that the security system relies on unauthorized motion of something coming accross for it to alert you. output is that once something is sense the light turns on.. the cat is a 1 and no cat is a 0 like 0 and 1s
You might be interested in
Given two integers as user inputs that represent the number of drinks to buy and the number of bottles to restock, create a Vend
Zanzabum

Answer:

import java.util.Scanner;

class Main {

 public static void main (String args[])

 {

   Scanner input = new Scanner(System.in);

   VendingMachine machine = new VendingMachine(20);

   System.out.print("Enter nr to purchase: ");

   int nrPurchased = input.nextInt();

   System.out.print("Enter nr to re-stock: ");

   int nrRestock = input.nextInt();

   machine.Transaction(nrPurchased, nrRestock);

   input.close();

 }

}

class VendingMachine {

 private int inventory;

 public VendingMachine(int initialInventory) {

   inventory = initialInventory;

 }

 public void Transaction(int nrToBuy, int nrToRestock) {

   inventory += nrToRestock - nrToBuy;

   System.out.printf("Inventory: %d bottles.\n", inventory);

 }

}

7 0
3 years ago
The copy constructor for a class is called____________.
White raven [17]

Answer:

b.) when an object of the class is initialized by another object of the class

Explanation:

the copy constructor for a class is called <u>when an object of the class is initialized by another object of the class</u>

4 0
4 years ago
A web based application that integrates html code with business logic is said to be in violation of what design principle?
adoni [48]

A web-based application that combines HTML code with business logic exists said to be in violation of Protection from variations design principle.

<h3>What is Html?</h3>

The Hypertext Markup Language or HTML stands for the standard markup language for documents developed to be displayed in a web browser. It can be administered by technologies such as Cascading Style Sheets and scripting languages such as JavaScript. HTML (Hypertext Markup Language) exists as the code that is used to structure a web page and its content. For example, content could be structured within a group of paragraphs, a list of bulleted points, or using photos and data tables

The protected variations pattern protects components from the variations on other elements (objects, systems, subsystems) by wrapping the direction of instability with an interface and operating polymorphism to make various implementations of this interface.

Hence, A web-based application that combines HTML code with business logic exists said to be in violation of Protection from variations design principle.

To learn more about Hypertext Markup Language refer to:

brainly.com/question/5560016

#SPJ4

5 0
2 years ago
_____ (without parity) means spreading the data among multiple (at least two) drives. Group of answer choices Parity
Llana [10]

Answer:

"Disk Striping" would be the right choice.

Explanation:

  • Disk stripping has become a methodology where certain numerous small external drives consist of a single massive disk. This same classification turns huge information into single blocks but instead disperses them over numerous different storage media.
  • Disk stripping retail outlets instead of every data unit through a single place and doesn't provide disk failure safeguards.
3 0
3 years ago
Establishing a telephone call would be impossible without signaling.<br><br> True or False
musickatia [10]

Answer:  True.

Explanation:

When a user wants to make a phone call, he needs to inform to the called party, that he wants to call him.

The only way to do this, is setting up a connection between the two phones, which is started by the calling party informing to the phone switch which is directly connected to, that he wants to make a call, picking up the phone, which modifies his connection state, making him available for calling.

The switch then signals him (sending him an audible call tone) so he can send the digits that identify the called party.

When the destination switch identifies the called user, signals him also (sending in this case a ringing tone).

When he picks up his phone, answering  the call, the connection is set up, and both people can talk each other.

Without all this signaling process, it would be completely impossible to set up the call.

6 0
3 years ago
Other questions:
  • Ten 9600-bps lines are to be multiplexed using TDM. a. Ignoring overhead bits in the TDM frame, what is the total capacity requi
    6·1 answer
  • Melinda completed the Computer Programming Aptitude Test when she applied for a position with Beta Electronics. Six months later
    12·1 answer
  • Which data type stores images and audio visual clips?
    9·2 answers
  • After a robbery, what is the purpose of conducting a neighborhood canvass?
    9·1 answer
  • Which VMware product would allow administrators, to manage enterprise desktops with increased reliability, security, end-user ha
    11·1 answer
  • What is the purpose of the operating systems processor management function
    7·1 answer
  • How to build a communication network
    13·1 answer
  • Software that interprets commands from the keyboard and mouse is also known as the
    15·2 answers
  • A predictive data analyst ___
    11·1 answer
  • Who likes my meme? :)
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!