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
mojhsa [17]
3 years ago
6

An electronic device that can accept data as input, process it according to a program, store it, and produce information as outp

ut is called a/an ______________.
Computers and Technology
1 answer:
anzhelika [568]3 years ago
6 0
The correct answer would be a Computer
You might be interested in
How will bits and bytes of computer networking help in my career goal?
Allisa [31]

Answer:

By helping you learn and understand the very basics of computer networking therefor giving you a building block to use

Explanation:

ive been asked this before

6 0
2 years ago
A program asks the user to enter the unit price of a chair and the quantity he is buying. It calculates and displays the total p
Shtirlitz [24]

Answer:

The c++ program for the given scenario is shown below.

#include <iostream>

using namespace std;

int main() {

   // variables declared for unit price, quantity, total price

// price is taken as double

// quantity is taken as integer

   double chair_price, total_price;

   int chair_qty;

   cout << " Enter the unit price of the chair : " << endl;

   cin >> chair_price;

   cout << " Enter the number of the chairs to be bought : " << endl;

   cin >> chair_qty;

   total_price = chair_price * chair_qty;

   cout << " The total price for " << chair_qty << " chairs is " << total_price << endl;

   return 0;

}

OUTPUT

Enter the unit price of the chair  

23.4

Enter the number of the chairs to be bought  

10

The total price for 10 chairs is 234

Explanation:

 

1. The variables for unit price, quantity of chairs and total price of chairs are declared. The reason for data type is explained below.

double chair_price, total_price;

   int chair_qty;

2. The variables are not initialized since their values is to be entered by the user.

3. First, the user is prompted to enter the unit price of the chair. This is stored in a double variable since price can be in decimals.

cin >> chair_price;

4. Next, the user enters the number of chairs to be bought. This value is stored in an integer variable since quantity can not be a decimal number.

cin >> chair_qty;

5. The total price is computed as the product of the unit price and the quantity of chairs. The total cost is also stored in a double variable since unit price can be in decimals.

total_price = chair_price * chair_qty;

6. Lastly, this total price is displayed to the standard output.

7. The keyword endl is used to insert new line.

4 0
3 years ago
Radio and television are examples of
Anarel [89]
It's example of feedback because you not interact with them.
3 0
3 years ago
Suppose income is 4001, what is the output of the following code? if (income &gt; 3000) { System.out.println("Income is greater
grandymaker [24]

Answer:

Output:

Income is greater than 3000

Explanation:

In conditional statements, either the if statement is processed or the else if.

In this scenario, both the given conditions fit for the given output but when if block will be processed, the else if block will be skipped by default.

So the output will only be the out phrase of if block which is:

Income is greater than 3000.

8 0
3 years ago
Write a SELECT statement that returns these columns from the Orders table: The CardNumber column The length of the CardNumber co
Pepsi [2]

Answer:

SELECT

CardNumber,

len(CardNumber) as CardNumberLength,

right(CardNumber, 4) as LastFourDigits,

'XXXX-XXXX-XXXX-' + right(CardNumber, 4) as FormattedNumber

from Orders

Explanation:

The question you posted contains the answer (See answer section). So, I will only help in providing an explanation

Given

Table name: Orders

Records to select: CardNumber, length of CardNumber, last 4 digits of CardNumber

From the question, we understand that the last four digits should display the first 12 digits as X while the last 4 digits are displayed.

So, the solution is as follows:

SELECT ----> This implies that the query is to perform a select operation

CardNumber, ---> This represents a column to read

len(CardNumber) as CardNumberLength, -----> len(CardNumber) means that the length of card number is to be calculated.

as CardNumberLength implies that an CardNumberLength is used as an alias to represent the calculated length

right(CardNumber, 4) as LastFourDigits, --> This reads the 4 rightmost digit of column CardNumber

'XXXX-XXXX-XXXX-' + right(CardNumber, 4) as FormattedNumber --> This concatenates the prefix XXXX-XXXX-XXXX to the 4 rightmost digit of column CardNumber

as FormattedNumber implies that an FormattedNumber is used as an alias to represent record

from Orders --> This represents the table where the record is being read.

8 0
3 years ago
Other questions:
  • Assume that circle and objects are created as follows Circle circle = new Circle(1); GeometricObject object = new GeometricObjec
    15·1 answer
  • A user can easily move to the end of a document by pressing the _____ key combination.
    10·2 answers
  • What is Geocortex and how does it work in web or mobile?
    11·1 answer
  • LILLE VIC LUNCUL ANCI.
    5·1 answer
  • On the Cities worksheet, click cell H13 and enter the function that calculates the total costs for the first city. Copy the func
    14·1 answer
  • Which type of security policy is intended to provide a common understandingof the purposes for which an employee can and cannot
    15·1 answer
  • What is an rgv in coding
    10·2 answers
  • Identify the parts of it, Give at least three web browser that you usually used to visit a website.​
    10·1 answer
  • True/False: Functions are ideal for use in menu-drive programs. When a user selects a menu item, the program can call an appropr
    13·1 answer
  • The __________ unit is capable of mimicking the processor and of taking over control of the system bus just like a processor
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!