Show a parse tree and a leftmost derivation for : B = C * (A + B)
by using the grammar below:
-> =
-> A | B | C
-> +
| *
| ( )
|

Answers

Answer 1

Answer:

mhyfocnu,sobgu,kvngwugwe8hri

Explanation:

sovijbjxyzkuvcg


Related Questions

Which of the following expressions in Java is equal to 4?

3% 7
7 % 3
17 % 7
11 % 7
28 % 7

Answers

Answer:

3% 7

Explanation:

because 7 because seven ate nine and three was lonely so seven decided to also eat three and became a lesser number somehow because three apparently was not as big as the number 9 so maybe eating three caused him to go down to 4

The expression "11 % 7" in Java is equal to 4.

The "%" operator calculates the remainder of a division operation.

In Java, the "%" operator is used to calculate the remainder of a division operation.

So, let's evaluate each expression and see which ones equal 4:

3 % 7 = 3 (remainder of dividing 3 by 7)

7 % 3 = 1 (remainder of dividing 7 by 3)

17 % 7 = 3 (remainder of dividing 17 by 7)

11 % 7 = 4 (remainder of dividing 11 by 7)

28 % 7 = 0 (remainder of dividing 28 by 7)

Based on these evaluations, the expression "11 % 7" is equal to 4.

To learn more about programming visit:

https://brainly.com/question/14368396

#SPJ3

In which of these images would lines become an evaluating factor?

Answers

Answer: The fish?

Explanation:

Answer:

birds in flight  and railroad tracks

Explanation:

i got it right

phân tích cạnh tranh của cocacola và pepsi

Answers

I don’t understand please speak English

Please answer the following question in Verilog.

To test our functions we will generate a 3-bit vector that counts up by one every cycle which we will use as the inputs to the decoder. The decoder output will then be fed into the inputs of the encoder to produce an inverted version of the original 3-bit test vector. For every input vector you should toggle the enable signal to both the encoder and decoder function which can be easily done by using the clock waveform used to determine when to increment the input vector as the enable signal as well.

Answers

Answer:

345678909 my number

Explanation:

Hey all! How would you write write this code?

Write a C++ program using variables and loops in order to implement the Hi-Low strategy of card counting and keep a running count. The Hi-Low strategy of card counting assigns one of three values to a card, based on its face value. The table below breaks down these values. FACE VALUE ASSIGNEDVALUE 2, 3, 4, 5, 6 +1 7, 8, 9 0 10, J, Q, K, A -1 In a typical game of Blackjack, a card counter will start with a fresh deck and a count of 0. Each time a card is played, its assigned value is added (or subtracted) from what is known as the running count. The running count rolls over from hand to hand. For instance, if the first 7 cards of a game were: Queen, Jack, 4, 6, 7, Jack, 9, then the running count would be (0) -1 -1 + 1 + 1 + 0 –1 + 0 =-1

Answers

The program is an illustration of loops.

Loops are used to perform repetitive actions.

The program in C++ where comments are used to explain each line, is as follows:

#include <string>

#include <iostream>

using namespace std;

int main(){

   //This declares all variables

   int n, count = 0; string k;

   //This gets input for the number of cards

   cin>>n;

   //The following is repeated n-times

   for(int i = 0;i <n;i++){

       //This gets input for the current card value

       cin>>k;

       //If the card is a digit

       if(isdigit(k[0])){

           //This checks if the card number is between 2 and 6 (inclusive)

           if(stoi(k) >= 2 && stoi(k) <= 6){

               //If yes the face value is increased by 1

               count+=1;

           }

           //This checks if the card number is 10

           else if(stoi(k) == 10){

               //If yes the face value is decreased by 1

               count-=1;

           }

       }

        //This checks if the card number is J, Q, K or A

       else if (k == "J" || k == "Q" || k == "K" || k == "A") {

           //If yes the face value is decreased by 1

           count-=1;

       }

   }

   //This prints the face value

   cout<<count;

   return 0;

}

At the end of the program, the face value is printed.

Read more about similar programs at:

https://brainly.com/question/24578223

What is printed when the following code has been executed?
int x = 15;
int y = 4;
System.out.println((2 * x + y) % x);
15
4
34
2
19

Answers

Hey it is 15 hope this helps

What protocol is used to discover the hardware address of a node with a certain IP address?

Answers

Answer: ARP hope this helps

What kind of loop repeats until something else (determined by the program) happens?
iterative number loop
condition-controlled loop
count-controlled loop
forever loop

Answers

Answer:

The Condition-controlled loop

Explanation: Because its called a Condition and it does not stop untill something happens thats why its called "condition".

Answer: It's Condition-controlled loop

Explanation: The meaning of condition-controlled loop is Blocks will keep repeating until a condition is satisfed, Also beacuse I already did the quiz.

What are the data type(s) will be used to declare the variable(s) needed to
create the algorithm?*

1.. integer only
2.. real only
3..integer and real
4..real and string

Answers

The three primitive data types used in this course are int (integer numbers), double (decimal numbers), and boolean (true or false). Each variable has associated memory that is used to hold its value.

Which of the following factors is most likely to result in low shipping and handling costs? A higher than average hourly pay rate for material handlers A rare but high-in-demand packaging material A promotion for free shipping on orders over a predetermined order total All of the above​

Answers

Answer: A higher than average hourly pay rate for material handlers

Explanation:

Shipping and handling cost describes costs related to the total cost of an ordered item which are included in the fees used to deliver the item to the buyer. Hence, the correct option is C

Shipping and handling cost usually depend on the size of the item, the buyer's location and fragility of the item purchased.

From the options given, handling and shipping fee may be reduced as a result of free promotional shipping on orders.

Handler and drivers who are paid above average will result in increased shipping fee and rare in-demand items won't come cheap either.

Hence, low shipping fee will most likely be as a result of promotion for free shipping on orders over a predetermined order total.

Learn more : https://brainly.com/question/20533392

CPU is also called RAM.
True or false.​

Answers

Answer:

False

Explanation:

RAM works in conjunction with the central processing unit (CPU). If RAM is the temporary memory, you can think of the CPU as the brain of the computer. The CPU chip retrieves data from the RAM

FALSE ...

BECAUSE RAM IS A MEMORY AND CPU IS A UNIT OF COMPUTER THAT'S WHY IT IS FALSE

what are the components of computer system??

Answers

Answer:

1. A motherboard.

2. A Central Processing Unit (CPU)

3. A Graphics Processing Unit (GPU), also known as a video card.

4. Random Access Memory (RAM), also known as volatile memory.

5. Storage: Solid State Drive (SSD) or Hard Disk Drive (HDD)

(Please give me brainliest)

explain how communication in fuses management efficiency​

Answers

Explanation:

Effective communication is pivotal in increasing productivity because it directly influences the behavior of the staff and the way they perform. ... That is why it is essential that you practice communicating with your staff. It will improve understanding and, in the result, will elevate productivity and efficiency.

Give short introduction of profession and make a list of its types. ​

Answers

are you asking for a list of professional jobs or?…..

ACTIVITY NI MATCHING TYPE Directions: Match Column A with Column B. Write the letter of the correct answer on the space provided before the number a. Trion your nails b. visits the dentist c. scrub your hands with soap and water d. wear deodorant taking a bath 18111411 hely wear suitable clothes at work g. avoidis open wounds while working with food h. Regularly out your hair. 1. Use a seperate towel or cloth wiping hands. . keep sanitizer. 10.​

Answers

Answer:

Mark me a brainless plss i need that i am blink plss

Write a program that can add, Subtract, multiply and divide entered numbers.

Answers

In Python:

def add(x, y):

   return x + y

def subtract(x, y):

   return x - y

def multiply(x, y):

   return x * y

def divide(x, y):

  return x / y

Language is Python
9.9 LAB: Count input length without spaces, periods, exclamation points, or commas

Given a line of text as input, output the number of characters excluding spaces, periods, exclamation points, or commas.

Ex: If the input is:

Listen, Mr. Jones, calm down.
the output is:

21

Answers

Answer:

text = input('Please enter a line of text')

text = text.replace(" ", "")

text = text.replace(".", "")

text = text.replace("!", "")

text = text.replace(",", "")

print(len(text))

Explanation:

i answered this same exact question the other day.

line by line, the first line asks for input with a prompt.

the second line replaces spaces, the next one replaces periods, the next exclamation marks, the next commas. then the last line prints the total number of characters

In this exercise we have to use the computer language knowledge in python to write the code as:

the code is in the attached image.

In a more easy way we have that the code will be:

text = input('Please enter a line of text')

text = text.replace(" ", "")

text = text.replace(".", "")

text = text.replace("!", "")

text = text.replace(",", "")

print(len(text))

See more about python at brainly.com/question/26104476

Question
What protocol is used to discover the hardware address of a node with a certain IP address?

Answers

Answer:

ARP is a simple query–response packet protocol used to match workstations hardware addresses to IP addresses. In other words, ARP is the protocol used to identify nodes in a LAN. ARP is described in RFC 826

When you use a library in your code, how do you give attribution?

Answers

When you use a library in your code, you give attribution: by writing the source, title, author and license in your code.

Attribution can be defined as a process which typically involves the citation (reference) of an original source of information such as a library, quote, paraphrase or summary, especially by using the author's full name, source, and job title (position) as the case may be.

In software development, you give attribution when you use a library in your code by writing the following:

The source in your code.The title in your code.The author in your code.The license in your code.

Read more: https://brainly.com/question/21172316

Types of cloud storag?

Answers

Answer:

There r 3 types of data storage: object storage, file storage, and block storage. Each offers their own advantages and have their own use cases: Object Storage - Applications developed in the cloud often take advantage of object storage's vast scalablity and metadata characteristics.

A reference is _____.

Answers

Answer:

a written or spoken comment that mentions somebody/something

the action of mentioning or alluding to something.

You should move around and take a rest for 30 minutes every 5 minutes.

True Or False​

Answers

Answer:

obviously true.........

What is another name for a switch A.Number system B.Variable C.Logic Gate D.Boolean

Answers

Answer:

logic gate

Explanation:

took the test lol

Complete the following sentences by either filling in the blank or writing out the rest of the sentence (when there is a … ):

The internet is made up of _________ networks that all connect together to make a ____________ network.

The job of a router on the internet is to…


Clients allow people to…


Servers store _____________________ and send those to _____________ over the internet.


The internet is physically connected across the world using _______________


Computers break up information, like photos and emails, into ________________



The ___________ protocol tells computers how to break up the information and orders it.


The ________________ protocol tells the packets where they are going and where they are coming from.


The packets get to their destination by…


When the packets get to their destination, the __________ protocol…



Computers get the _______________ of servers by asking the ______________



Computers use the _____________ protocol to display a webpage.

Answers

Answer

hundreds,  massive, connect to the internet gigabytes, people, computers,

bytes, TCP/IP, TCP, internet, TCP, answers, questions, HTTP

Explanation:

A field name can be up to 64 characters long

Answers

Answer:

Explanation:

cool ..........................,...............................

1. The jargon for navigating on the Internet is called: A. surfing B. selecting C. clicking D. analyzing​

Answers

Answer:

A. surfing

Explanation:

Browsing the internet is known as surfing the internet.



does industry-recognized certifications (microsoft office suite) boost your resume and
increase your earning potential?

Answers

Answer:Having Microsoft Office training can make you more productive, confident, and satisfied with your job. ... Productivity is crucial to success in the administrative assisting field, and your employers will thank you for it. 3. Industry-recognized certification will boost your resume and increase your earning potential.

Explanation: i no it

What is a segmentation?

Answers

Answer:

Segmentation means to divide the marketplace into parts, or segments, which are definable, accessible, actionable, and profitable

IT professionals ensure servers connected to the network operate properly. (2 points) True False

Answers

Answer:

True

Explanation:

Thats one of their most important jobs

In order to get the maximum functionality out of a device that is plugged in, a user should download the specific ___ for that device.

Answers

I think the answer they are looking for is drivers. You need to download specific drivers for the device to function to its max potential
the answer to that question is Drivers
Other Questions
the students agreed to start a school shop change the voice What is true about multiples of 6?Each multiple will always be divisible by 3.Each multiple will always end in a 6 or a 2.Every multiple is an odd number.Every other multiple is an odd number can anyone heelp me pls 2) This excerpt is an example ofA)flashbackB) foreshadowingsettingD) symbolism which essential urban need was met by this structure Question 18. What action does the curse causethe king to take?Question 2e" from Grimm's Fairy Talesme reigned in a country a great way off,airies. Now this king and queen had plentywear, plenty of good things to eat andevery day, but though they had been marriedNot having a child caused them muchQuestion 3He seeks to destroy the evilfairy's home in the forestQuestion 4BQuestion 5He stays by his daughter'sside for the rest of the storyto protect herQuestion 6Question 7He asks the twelfth fairy toplace a blessing ofprotection on his daughter.Question 8walking by the side of the river, she saw aelf out of the water. It lay gasping and nearlyok pity on the little fish and threw it backm away, it lifted its head out of the wateris, and it shall be fulfilled. In return for yourve a daughter.oon came to pass and the queen had a littleful. The king joyfully said he would hold aw the child to all the land. He asked hisEighborsfairies also that they might be kind andthere were thirteen fairies in the kingdom,twelve golden dishes for them to eat out ofof the fairies to the feastDHe orders all the spindles inthe kingdom to bedestroyedwore a high red cap on her head, wore redt, and carried a long white wand in her hand, 3. Charles went to check out the salad bar, and told his friend;"I can just come here every day and have Caesar salad forlunch. I will cut down on the salad dressing" What would be themost appropriate advice to give Charles at this time?O a. This salad will likely meet your needs of vitamins, mineralsand fiber.b. This salad can allow you to use kcalories remaining in yourdaily energy allowance to consume some added sugar.O c. This salad can make it difficult for you to get enough nutrientswithout gaining weight.O d. You need a variety of vegetables every day, and from all ofthe subgroups every weeks.O e. It is important to eat the same amount of salad every day. what is the gradient of the line (-4, 10) to (-2, 6) A person who is exercising vigorously breathes more deeply and rapidly than someone who is resting. Give TWO reasons why this is necessary. Can someone tell me why this is happening? Which quantities appear to be in a proportional relationship? Why was the partition of Bengal reversed in 1911? What is an advantage of debt consolidation?A. You will pay a higher interest rate.B. You will have one monthly payment to manage.C. You will have less time to make payments.D. You will need to meet with a debt counselor. Whats the rise over run ????? please help asap!!---- Twelve boys collected 16 aluminum cans each. Fifteen girls collected 14 aluminum cans each. How many more cans did the girls collect than the boys Check all the unnecessary or unprofessional responses below. *-It would really mean a lot to me.-Thank you for your attention to this matter.-It would ease my anxienty.-Please, look into it when you get a chance.-I need help for the exam, so I don't fail.-Let me know as soon as you get this email. If so many cave paintings exist around the world, including over 300 in France and Spain alone, why did it take so long for people to rediscover them? OA Traditionally people avoided caves because many believed caves to be cursed by a negative force B. Many of the caves throughout the world have collapsed since prehistoric times. OC. The governments of France and Spain didn't allow people to explore their caves due to safety restrictions OD The cave entrances may have been hidden, and the paintings are often deep within the caves where people may be less likely to venture. Jake has a wooden board that measures 8.25 feet long. He cuts the board into pieces that each measure 0.75 foot so he can make signs. If Jake earns $15.95 for each sign he sells, how much money can he earn from the signs he makes with this board? Help pls :) thanks!!!!!