In this exercise we have to use the knowledge of computational language in C++ to write a code that write my own console terminal in C++, which must work .
Writting the code:int main(void) {
string x;
while (true) {
getline(cin, x);
detect_command(x);
}
return 0;
}
void my_plus(int a, int b) {
cout << a + b;
}
void my_minus(int a, int b) {
cout << a - b;
}
void my_combine(string a, string b) {
?????????????;
}
void my_run(?????????) {
???????????;
}
void detect_command(string a) {
const int arr_length = 10;
string commands[arr_length] = { "plus", "minus", "help", "exit" };
for (int i = 0; i < arr_length; i++) {
if (a.compare(0, commands[i].length(), commands[i]) == 0) {
?????????????????????;
}
}
}
See more about C++ at brainly.com/question/19705654
#SPJ1
And one well written paragraph, explain how you can put raw data into excel and turn it into something useful that could be used in different Microsoft office applications.
The way that you can put raw data into excel and turn it into something useful that could be used in different Microsoft office applications are:
Open the Excel file into which the data is to be imported.Now, select the Data tab on the ribbon.Select the Get Data option. Select From File > From Text/CSV.Through the use of the explorer, Select a CSV file. Lastly, Select the Load button.What is excel about?Excel is said to often used to save, analyze, a well as report on large volume of data.
Note that It is often used as a tool by accounting teams for the recording of financial analysis, as well as been used by professional to manage a list of and unwieldy form of datasets. Examples of Excel applications are balance sheets, budgets, etc.
Learn more about Microsoft office applications from
https://brainly.com/question/15131211
#SPJ1
1. What operating system are you using on your computer?
Answer:
Windows
Explanation:
Flexible and convenient
1. What's the minimum RAM requirements to install or upgrade to Windows 11?
1 GB for 32-bit or 2 GB for 64-bit
O4 GB
8 GB
4 GB
Explanation:You need 4 gigabytes (GB) or greater. Storage: 64 GB* or greater available storage is required to install Windows 11. Extra storage space might be required to download updates and enable specific features. According to Windows 11 system requirements, my 4 GB ram is enough to upgrade my pc from windows 10 to windows 11.
The control lines in the bus connect the control unit to the CPU.
True
Or False
Answer:
true
Explanation:
The control bus contains a control line for writing instructions and a control line for reading instructions. When the CPU writes data to the main memory, it transmits a signal to the write command line. The CPU also sends a signal to the read command line when it needs to read.
Can someone help me with this worksheet?
Answer:
Here are the answers
Explanation:
||||
Attempts Remaining: 1
Entering a Formula
Insert a formula in cell G4 that finds the value of subtracting
F4 from E4
Answer:
Explanation:
Formula:
= E4 - F4
You have entered a URL into a browser and have received a 404 error. Which type of error did you receive?
Answer:
in redirect pages
Explanation:
the e page can not be down
Answer:
a 404 error is "File not found." This can happen when a file is deleted or there is an error in a hyperlink. It can also happen if a file is copied and the original deleted.
Explanation:
The programmer wants to change this code so that a third background image appears when the player presses the “B” button. What does the programmer need to do?
Answer:
i think its B but im not sure
Explanation:
Why does internet privacy matter?
Answer:
Internet privacy is important because of the abundant amount of scammers, hackers, and others who want to exploit your information. It is also important to protect your personal information and browsing history, since these can be manipulated in many different ways.
Explanation:
Boolean Algebra
Simplify AB'(D'+C'D)+B(A+A'CD) and show all work.
Answer: B details to simplify A'B(D' + C'D) + B(A + A'CD) start with ( D' +C'D) = (D' + C') likewise (A + A'CD) = (A + CD) This gives A'B(D' + C') + B(A + CD)= ...
4 answers
·
1 vote:
[math]A'B (D'+C'D) + B (A+ A'CD)[/math] [math]= A'B (D'+D)(D'+C') + B (A+ A')(
Explanation:
COPPA regulates personal information that companies can use. Which users does this law protect?
COPPA is required by law to protect children under the age of 13 years, from having their personal information used by companies.
What is a PII?PII is an abbreviation for personally identifiable information and it can be defined as any type of information that can be used by individuals or companies on its own or with other relevant data, so as to identify an individual.
In the United States of America, Children's Online Privacy Protection Act (COPPA) is required by law to protect all American children who are under the age of 13 years, from having their personally identifiable information (PII) being used by business organizations (companies).
Read more on COPPA here: https://brainly.com/question/15608567
#SPJ1
Complete Question:
COPPA regulates personal information that companies can use. Which users does this law protect? COPPA protects children under the age of ________ from having their personal information used by companies.
For questions 1-3, consider the following code:
x = int(input("Enter a number: "))
if x != 7:
print("A")
if x >= 10:
print("B")
if x < 10:
print("C")
if x % 2 == 0:
print("D")
What is output if the user types in 10? Click all that apply.
Group of answer choices
D
A
C
B
Answer:
B
Explanation:
because 10 ranges between the x>=10
you have a 10vdg source available design a voltage divider ciruit that has 2 vdc , 5vdc , and 8 vdc available the total circuit current is to be 2mA
If you try to divide 10V in three voltages, the sum of the three voltages must be equal to the total voltage source, in this case 10V. Having said this, 2 + 5 + 8 = 15V, and your source is only 10V. So you can see is not feasible. You can, for example, have 2V, 5V and 3V, and the sum is equal to 10V. Before designing the circuit, i.e, choosing the resistors, you need to understand this. Otherwise, I suggest you to review the voltage divider theory.
For instance, see IMG2 in my previous post. If we were to design a single voltage divider for the 5VDC, i.e, 50% of the 10V source, you generally choose R1 = R2., and that would be the design equation.
how adobe photoshop can improve productivity of a organization
Know the tags to be used for each style or format.
Answer:
1. Bold <b /b>
2. Strong <strong /strong>
3. Italic < i /i >
4. Emphasized <em /em>
5. Superscript <sup /sup>
6. Subscript <sub /sub>
Explanation:
how do you fill different data into different cells at a time in Excel
The way that you fill different data into different cells at a time in Excel are:
Click on one or a lot of cells that you want to make use of as the basis that is needed for filling additional cells. For a set such as 1, 2, 3, 4, 5..., make sure to type 1 and 2 into the 1st two cells. Then pull the fill handle .If required, select Auto Fill Options. and select the option you want.How do you make a group of cells auto-fill?The first thing to do is to place the mouse pointer over the cell's bottom right corner and hold it there until a black + symbol appears. Drag the + symbol over the cells you wish to fill in while clicking and holding down the left mouse button. Additionally, the AutoFill tool rightly fills up the series for you.
Note that Excel data entering can be automated and this can be done by: On the Data tab, select "Data Validation," then click "Data Validation." In the Allow box, select "List." Enter your list items in the Source box, separating them with commas. To add the list, click "OK." If you wish to copy the list along the column, use the Fill Handle.
Learn more about Excel from
https://brainly.com/question/25879801
#SPJ1
Which of these statements about Active Directory (AD) are true? Check all that apply.
a. AD includes a tool called the Active Directory Authentication Center, or ADAC.
b. AD is incompatible with Linux, OS X, and other non-Windows hosts.
c. AD can ""speak"" LDAP.
d. AD is used as a central repository of group policy objects, or GPOs.
All of the statements about Active Directory (AD) that are true include the following:
c. AD can ""speak"" LDAP.
d. AD is used as a central repository of group policy objects, or GPOs.
What is Group Policy Object?Group Policy Object can be defined as a set of Group Policy settings of the Microsoft Windows NT operating systems that is designed and developed to define what a computer system should look like.
Additionally, Group Policy Object (GPO) controls and sorts all of the end user and computer account features and working environment in general. In order to sort a computer system into a group, it is very essential and important that you set a group sorting criteria, so as to sort systems by IP Address.
In conclusion, Active Directory (AD) can manage Lightweight Directory Access Protocol (LDAP) and it is generally used by network administrators and engineers as a central repository of group policy objects (GPOs).
Read more on Active Directory here: brainly.com/question/28900362
#SPJ1
2. Mr. Motladiile is an innovative businessman who came up with an idea of creating a system that can generate electricity using magnets, and he teamed up with Mr. Tangeni who is the sole engineer of the system. Due to finances the project halted, however Mr. Tangeni felt that he was under paid despite the effort he has put leading the project, he then thought of creating the system and sell it to the highest bidder.
a) Explain the protection that Mr. Motladiile can put in place to prevent reproduction of the design and for how long will it last
Answer:I DONT THE ANSER PLEASE HELP ME
Explanation:PLEASE
Which device is not considered a computer?
a smartphone
an analog controller
Answer:
An analog controller is not considered a computer because you just move around the controls. You don't stare at a screen like a smartphone, so it is not a computer.
Explanation:
Which of the following is the correct binary representation of the number 2?
Answer:
10 i think
Explanation:
A computer chip is
an example of hardware or software?
Answer: A system on a chip consists of both the hardware, described in § Structure, and the software controlling the microcontroller, microprocessor or digital signal processor cores, peripherals and interfaces.
Real estate management software
Answer:
nTireFM
Explanation:
is a comprehensive system for real estate vendors with unique and reliable needs. Real Estate Management Software simplifies your life as a real estate investor monitors the financial performance of each rental property
When collecting and sharing information, the company must meet all _________________________ for the type of data being collected.
A US laws
B State Laws
C Federal Laws
D Federal or State Laws
Answer: D Federal and State Laws
Explanation: U.S. Privacy Act of 1974-this act established rules and regulations regarding U.S. government agencies collection, use, and disclosure of personal information.
The Federal Trade Commission govern the collection, use, and disclosure of personal data.
HIPPA- Health Insurance Portability and Accountability provide healthcare and health insurance protection
Answer: D
Explanation:
A student wants to create an Android Application to help a motorist to approximate the cost of a journey
by road. The app should enable the user to enter the length of the journey in Kilometres, the amount fuel
that the vehicle uses per kilometre and the cost of fuel per litre. The app should then calculate the total
amount that will be spent on fuel for the journey.
Sketch the interface for the activity that can be used for this task. (5 marks)
b) Declare and initialize all the widgets (views) that you can use for this task. Assume your own ids.
(5 marks)
c) Write the program to calculate the cost of the journey.
Answer:
Explanation: How to calculate fuel economy and usage
Manufacturers give a fuel economy figure for new cars in litres per 100km for urban, extra urban (i.e. higher speeds) and combined (a mixture of the two). This number is determined via a standardised test which, unfortunately, bears very little resemblance to the type of driving the vast majority of people do. If a vehicle you are looking at purchasing has an indicated fuel economy of 8l/100km, everyday driving is probably more likely to be around 10l/100km (this is my experience, after driving and reviewing over 400 cars since 2007).
However, the manufacturer-supplied figures are good for comparing between models, just not calculating what your expected fuel costs will be.
Given numStack: 23, 26, 94 (top is 23)
What does Peek(numStack) return?
Using the knowledge in computational language in python it is possible to write a code that create a program that takes a string as an argument into its constructor.
Writting the code:import java.util.*;
public class Expression
{
Scanner in = new Scanner(System.in);
Stack<Integer> stack = new Stack<Integer>();
public boolean check()
{
System.out.println("Please enter your expression.");
String newExp = in.next();
String[] exp = new String[newExp];
for (int i = 0; i < size; i++)
{
char ch = exp.charAt(i);
if (ch == '(' || ch == '[' || ch == '{')
stack.push(i);
else if (ch == ')'|| ch == ']' || ch == '}')
{
//nothing to match with
if(stack.isEmpty())
{
return false;
}
else if(stack.pop() != ch)
{
return false;
}
}
}
if (stack.isEmpty())
{
return true;
}
else
{
return false;
}
}
}
See more about JAVA at brainly.com/question/12975450
#SPJ1
This is rigged. I think I'm gonna faint.
The primary characteristics of the given devices are:
A mouse is a(n) input device.
A printer is a(n) output device.
What is a device?
A device is a piece of hardware or equipment in a computer system that performs computing functions. A device is a physical piece of hardware or software that performs one or even more computing functions within a computer system. It can either provide input to the computer or accept output from it. A device is any electronic element that has some computing capability and can install firmware or third-party software. Devices include your computer's speakers, disc drive, printer, microphone, modem, and mouse. They can all be replaced or installed separately.
To learn more about device
https://brainly.com/question/27013190
#SPJ13
Answer:
The answers are input and output, respectively.
Explanation:
Distinguish between composition and inheritance.
Answer:
compotsition: The combining of distinct parts or elements to form a whole
Inheritance: The action of inheriting something
Explanation:
are all counting and calculations done in the system unit
The ALU (Arithmetic Logic Unit), located in the system unit, is the component of the computer utilized for calculations and comparisons.
Describe ALU.Arithmetic-logic unit (ALU) definition Arithmetic and logic operations are performed on the operands in computing instruction words by an arithmetic-logic unit, a component of a central processing unit. Some processors separate the ALU into an arithmetic logic unit (AU) and an arithmetic logic (LU).
What are the primary purposes of an ALU?Simple multiplication, division, addition, subtraction, addition, and logic operations like OR and AND are all performed by the ALU. The data and instructions for the program are stored in memory. Data and instructions are retrieved by the control unit from memory.
TO know more about Arithmetic Logic Unit visit:
https://brainly.com/question/14247175
#SPJ10
what are the activities usually performed in database operations
Answer:
The most frequently available operators include PROJECT, JOIN and SELECT. SQL includes DDL (Data Description Language)
Explanation:
if you want to assign a user the permission to create schema and run ALTER or any user, what role should you assign to that user?
A. dp_backupoperator
B. db_accessadmin
C. db_securityadmin
D. db_datawriter
As a database administrator, if you want to assign a user the permission to create schema and run ALTER or any user, the role should you assign to that user is "db_accessadmin" (Option B)
What does it mean to run ALTER?In SQL, the ALTER command is used to modify a table, view, or the whole database. The ALTER command in SQL allows us to add, change, and delete constraints, columns, and indexes.
It is to be noted that SQL is a computer language developed for managing data in a relational database management system or for stream processing in a relational database management system.
Learn more about database administrator:
https://brainly.com/question/13040754
#SPJ1