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
BabaBlast [244]
4 years ago
9

The different between a compiler and a translaror

Computers and Technology
2 answers:
lesya [120]4 years ago
7 0

Answer:

Answer: Compiler converts the program from one computer language to another computer language that is translating from a higher level language to a lower level language. ... A translator usually has a fixed body of code that is required to translate the program.

Explanation:

Nimfa-mama [501]4 years ago
5 0

Answer:

Compiler converts the program from one computer language to another computer language that is translating from a higher level language to a lower level language. A translator usually has a fixed body of code that is required to translate the program.

You might be interested in
Write a function named dice_eval that accepts two parameters representing numeric dice values and returns a string describing th
Zigmanuir [339]

Following are the "dice_eval" method code into python language.

Program Explanation:

  • Defining a method "dice_eval" that takes two variables "d1,d2" in its parametes.
  • Inside the method, multiple conditional statements were used that adds the parameter values and calculates its value which can be defined as follows:
  • In the if block, it adds the parameters and uses or gate that check its value that is equal to 7 or 11. so, it will return a string message that is 'Winner!'.  
  • In the elif block, it adds the parameters and uses or gate that check its value that is equal to 2 or 3 or 12. so, it will return a string message that is ' C r aps ! '.
  • In the else block, it uses a return keyword that adds parameter value and prints a string value.
  • Outside the method "d1,d2" is declared that inputs the value from the user-end, and passes the value into the method, and prints its value.

Program:

def dice_eval(d1, d2):#defining a method dice_eval that takes two parameters

if (d1+d2)==7 or (d1+d2)==11:#defining if block that adds parameter value and use or operator to check its value

return 'Winner!'#return string value

elif (d1+d2)==2 or (d1+d2)==3 or (d1+d2)==12:#defining elif block that adds parameter value and use or operator to check its value

return 'C r aps!'#return string value

else:#defining else block

return 'Point is '+str(d1+d2)#return string value with adding parameter

d1=int(input())#defining d1 that input value

d2=int(input())#defining d2 that input value

print(dice_eval(d1,d2))#calling method and print its return value

Output:

Please find the attached file

Please find the complete code in the attached file.

Learn more:

brainly.com/question/15011927

4 0
3 years ago
(40 pointsAnd brainliest answer ASAP) Maria is recording her friend’s graduation ceremony. How can Maria ensure that the video i
snow_lady [41]

Answer:

camera

Explanation:

3 0
4 years ago
if a network security professional wants to connect some computers in the same building without it using a router what type of n
marta [7]

Answer:

 the MAC addresses of wireless NICs

Explanation:

8 0
3 years ago
Read 2 more answers
Suppose x = 10 and y = 20. The value of the expression
Vladimir [108]

Answer:

true

Explanation:

The given operators && and || are Logical operators whose execution is from left to right.so first (x>=10)&&(y>20) will be executed .Given values for x and y are 10 ,20 (10>=10 true)&&(10>20 false), which gives result as false (&& evaluates to true only when both conditions are true).so the result of this is false. next condition is ||. for this (20>=10)&&(20>20) is false and (x<y)(10<20) is true, which gives result as true.(|| evaluates to true if any one is true).

The Answer is True

7 0
3 years ago
∀פפIN∀W∀ qwda dawdawdawdawd<br> BAN ME NOW
Dvinal [7]

Answer:

why

Explanation:

6 0
3 years ago
Other questions:
  • You have a hard disk that is formatted with the fat32 file system. you would like to implement file and folder permissions on th
    10·1 answer
  • The temperature of a plastic cube is monitored while the cube is pushed 8.7 m across a floor at constant speed by a horizontal f
    8·1 answer
  • If it is impractical to place guest users in a secure network, isolated from the production network by firewall barriers, then:
    14·1 answer
  • What are the flowchart symbols?​
    6·1 answer
  • How can we compare a computer with human beings?
    14·1 answer
  • Which data type is 2.5?
    5·1 answer
  • Select the correct answer from each drop-down menu.
    10·1 answer
  • Which statements about grades are accurate? Check all that apply. Grades help indicate how well a student is understanding a cer
    13·1 answer
  • While num_printed != num_stars: print('*') Sample output with input: 3 * * *
    15·1 answer
  • Which of these examples demonstrate portfolio income?
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!