(15) You are a Pascal teacher (a very good programmer using assembly language(i.e., machine language) of your local machine). You are given only the following programmes:(at) A compiler written in P-code: translate a program in Pascal to one in P-code(P-code is very close to your local machine language).(b) A P-code interpreter written in Pascal: able to interpret any program writtenin P-code.a) (10) What will you do (with minimal effort) to run the Pascal programs yourstudents submit on your local machine

Answers

Answer 1
If you Could out A B C D separate that would help

Related Questions

Write a program that calculates the area & perimeter of a rectangle, where
the values for width and length are given by the users.

Answers

Answer:

In Python:

Length = float(input("Length: "))

Width = float(input("Width: "))

Area = Length * Width

Perimeter = 2*(Length + Width)

print(Area)

print(Perimeter)

Explanation:

This gets the length from the user

Length = float(input("Length: "))

This gets the width from the user

Width = float(input("Width: "))

This calculates the area

Area = Length * Width

This calculates the perimeter

Perimeter = 2*(Length + Width)

This prints the area

print(Area)

This prints the perimeter

print(Perimeter)

______ are special characters that allow you to
search for multiple words at the same time.
-Find expressions
-Defined expressions
-Regular expressions
-Search expressions

Answers

Answer:

Defined Expression

Explanation:

This will be your answer

What is the influence of new technology on society?
Ο Α. .
New technology hardly has any impact on society.
OB.
New technology is only beneficial to society and cannot be detrimental.
OC.
New technology is detrimental, as it makes the existing technology obsolete.
OD. New technology normally utilizes a lot of resources and can adversely affect the economy.
O E.
New technology is beneficial but can also be usedly a detrimental way.

Answers

Answer:

E. New technology is beneficial but can also be used in a detrimental way.

Explanation:

New technology such as cryptocurrency (powered by blockchain technology) can be regarded as a welcome development that has benefited the society in so many good ways. However, cryptocurrency as a new technology also has disadvantages it presents to the society. One of such negative influence cryptocurrency has is that it can be used for illicit activities such as money laundering, funding terrorism and so on.

So, in summary, we can conclude that:

"New technology is beneficial but can also be used in a detrimental way."

How does the pay for many Science, Technology, Engineering, and Mathematics workers compare to the overall median for all careers? It is far lower than the overall median. It is far higher than the overall median. It is slightly higher than the overall median. It is about the same as the overall median.

Answers

Answer:

B

Explanation:

It just is

Answer:

B is correct

Explanation:

Write a program that takes in a positive integer as input, and outputs a string of 1's and 0's representing the integer in binary. For an integer x, the algorithm is:
As long as x is greater than 0
Output x % 2 (remainder is either 0 or 1)
x = x // 2
Note: The above algorithm outputs the 0's and 1's in reverse order. You will need to write a second function to reverse the string.
Ex: If the input is:
6
the output is:
110
Your program must define and call the following two functions. The function integer_to_reverse_binary() should return a string of 1's and 0's representing the integer in binary (in reverse). The function reverse_string() should return a string representing the input string in reverse.
def integer_to_reverse_binary(integer_value)
def reverse_string(input_string)
Note: This is a lab from a previous chapter that now requires the use of a function.

Answers

Answer:

#include <iostream>//header file

#include <string>//header file

using namespace std;

string integer_to_reverse_binary(int integer_value)//defining a method integer_to_reverse_binary  

{

   string ret = "";//defining string variable

   while (integer_value > 0) //using while loop to check integer_value value is greater than 0

   {

       ret += '0' + (integer_value % 2);//adding zeros in remainder value

       integer_value /= 2;//holding quotient value

   }

   return ret;//return string value

}

string reverse_string(string input_string)//defining a method reverse_string that holds a parameter user_String  

{

   string result;//defining a string variable  

   for (int i = 0; i < input_string.length(); ++i)//use for loop to calculate value  

   {

       result += input_string[input_string.length()-i-1];//add value in result variable

   }

   return result;//result result variable value

}

int main()//defining main method  

{

   int num;//defining integer variable

   string str;//defining string variable

   cin >> num;//input num value

   str = integer_to_reverse_binary(num);//use str variable to call the integer_to_reverse_binary method

   cout << reverse_string(str) << endl;//printing the reverse_string method value

   return 0;

}

Output:

6

110

Explanation:

In this code two string method "integer_to_reverse_binary and reverse_string" is defined that holds one parameter "integer_value and input_string".

In the first method a string variable is defined, that use the while loop to check integer value is greater than 0 and add zeros in the value and return its value as a string.

In the second it reverse the string value and store into the result variable, and in the main method the "num and str" variable is defined, and in the num it takes integer value and pass into the above method and print its return value.    

CH4 has how many of each type of atom?

Answers

Its easy that moderators that see this answer can think that my answer isn't without explanation.

• Type of atom C (Carbon)

C = 1

• Type of atom H (Hydrogen)

H = 4

You dont understand? JUST SEE THE FORMULA C MEANS ONLY HAVE 1 CARBON ATOM AND H4 MEANS 4 ATOM OF HYDROGEN

oK. have a nice day hope you understands

Other Questions
Why was slavery more common in South Carolina than in North Carolina?Check all of the boxes that apply.A. The climate of North Carolina did not support plantations.B. Slavery was outlawed in North Carolina.C. Settlers of South Carolina came from plantations in Barbados.D. Settlers of North Carolina usually had small farms. I will give barinliest please help i need help with this Describe how restriction enzymes and ligase enzymes are used to make the plasmids that are introduced to bacteria cells during transformation. Include the words sticky ends and complementary in your response. 1. Simplify the following expression. *11/15 - 1/6 Which statement correctly describes acetyl-CoA?It connects glycolysis to the citric acid cycle.It connects the citric acid cycle to the electron transport chain.It is the product of catabolism of proteins.It is the product of catabolism of fats. hey does anyone know what 4/5 times 7/8 is ?- its for my math hw and its due in a hour thx! Which expression has the same value as 8 (-1)? Nikki was walking around a department store shopping one day, and did not realize that the shirt she was wearing looked just like the shirts worn by employees. When a stranger asked, "do you work here," she thought it was funny. The other customers' assumption that Nikki was a store employee demonstrates the Gestalt principle of _______. During the Industrial Revolution, this newly created method of transportation helped transport goods and people, encouraged travel, and open up the countryside to development.Group of answer choicestraincaravelautomobilesteamship Someone pls help with this! Samantha wants to redecorate her room. She would like to replace the carpet and needsto know how much she needs to purchase. If each inch on the picture represents 2.5 feet, what is the area ofher bedroom floor? What is the position of the moon when high tide has maximum height? You have a 5M stock solution of NaCl (Formula Weight: 58.44g/mole), a 0.25M stock solution of glucose (Formula Weight; 180.156g/mole), and a bottle of solid Tris base (Formula Weight: 121.1g/mole). How would prepare (be specific) 250mL of a single solution containing 150mM Tris, 25mM glucose, and 150mM NaCl. g Which statement best describes twins with identical DNA?O A. The twins will not be similar physically but may have similar behaviors.OB. The twins will not share any similarities.c. The twins will be identical physically and behaviorally.D. The twins will be very similar physically but will have some unique behaviors. What would you NOT expect to find in a technical article?definitionsfictional charactersillustrationscharts What are similarities about Early earth and Modern earth how do i answer this question Which of these strategies would eliminate a variable in the system of equations?10x + 4y = -25x - 2y = 2 Select all that apply.Which set of ordered pairs represent a function?a. {(-7,0), (9,-1),(-4,3), (-4,-2)}b. {(-1,3), (-10,-5),(-1,-6),(-1, -2)}c. {(-9,-5), (6,-9), (6, -10), (6, 7)}d. {(3,3), (3, -1),(3,5), (3,7)}e. None of the above