Type the correct answer in the box. Use numerals instead of words. If necessary, use / for the fraction bar.
PH
var num2 = 32;
var num1 = 12;
var rem=num2 % numi;
while(rem > 0)
{
num2 = num1;
num1 = rem;
rem = num2 % num1;
}
document.write(num1);
The output of the document.write statement at the end of this block is

Answers

Answer 1

Answer:

4

Explanation:

Given

The attached code segment

Required

The output

The first and second lines initialize num2 to 32 and num1 to 12, respectively.

Next, the remainder is calculated on line 3

[tex]rem = 32\%12[/tex]

[tex]rem = 8[/tex]

Then the while loop is repeated as long as rem > 0.

At first, we have:

[tex]num2 = 32[/tex]

[tex]num1 = 12[/tex]

[tex]rem = 8[/tex]

The first iteration gives:

[tex]num2 = 12[/tex]

[tex]num1 = 8[/tex]

[tex]rem = 12\%8 = 4[/tex]

Is 4 > 0? Yes; The loop is executed again.

This gives:

[tex]num2 = 8[/tex]

[tex]num1 = 4[/tex]

[tex]rem = 8\%4=0[/tex]

Is 0 > 0? No; The loop is executed

The last statement prints the last value of num1;

In the last loop, we have:

[tex]num1 = 4[/tex]

Hence, the output is 4

Answer 2

Answer:

Below is correct, the answer is 4.

Explanation:

PLATO

Type The Correct Answer In The Box. Use Numerals Instead Of Words. If Necessary, Use / For The Fraction

Related Questions

View "The database tutorial for beginners" and discuss how database management systems are different from spreadsheets. Describe one experience you have had working with data.

Answers

Answer and Explanation:

A spreadsheet is an interactive computer application for the analysis and storage of data. The database is a collection of data and accessed from the computer system. This is the main difference between spreadsheets and databases. The spreadsheet is accessed by the user and the database is accessed by the user. The database can store more data than a spreadsheet. The spreadsheet is used for tasks and used in enterprises to store the data. Spreadsheet and database are two methods and the main difference is the computer application that helps to arrange, manage and calculate the data. The database is a collection of data and organized to access easily. Spreadsheet applications were the first spreadsheet on the mainframe. Database stores and manipulates the data easily. The database maintains the data and stores the records of teachers and courses. The spreadsheet is the computer application and analyzing the data in table form. The spreadsheet is a standard feature for productive suite and based on an accounting worksheet.

Why is OS important in every data processing system?
Please Answer Fast! ​

Answers

Answer:

Functions of an operating system. An operating system provides three essential capabilities: It offers a UI through a CLI or GUI; it launches and manages the application execution; and it identifies and exposes system hardware resources to those applications -- typically, through a standardized API.

Explanation:

discuss the first three phases of program development cycle​

Answers

Answer:

Known as software development life cycle, these steps include planning, analysis, design, development & implementation, testing and maintenance.

Which of the following was one reason why electronic (computer-based) information sharing was challenging in the not too distant past?
a. Individuals and/or members of organizations did not speak the same language.
b. Hardware and software applications on either end could not talk to one another.
c. The most powerful computers were owned by large companies.
d. Organizations needed to protect information for competitive advantage.

Answers

Answer:

B. Hardware and software applications on either end could not talk to one another.

Explanation:

The answer to this question is that making connection to the internet used to be very slow, it's operation was difficult and so was its maintenance. Therefore they could be said to be unreliable at the time making electronic information sharing difficult as well as challenging. From this explanation the right answer to this question is answer option b.

Thank you.

We have removed
A
balls from a box that contained
N
balls and then put
B
new balls into that box. How many balls does the box contain now?
Constraints
All values in input are integers.
Input
Input is given from Standard Input in the following format: n a b
Output
Print the answer as an integer.

Answers

There were [tex]N[/tex] balls but we took [tex]A[/tex] balls out, so there are now [tex]N-A[/tex] balls. We add [tex]B[/tex] balls and now we have [tex]N-A+B[/tex] balls.

The program that computes this (I will use python as language has not been specified is the following):

n, a, b = int(input()), int(input()), int(input())

print(f"There are {n-a+b} balls in the box")

# Hope this helps

what is the meaning of compiler​

Answers

Answer:

in computing it means a program that converts instructions into a machine-code or lower-level form so that they can be read and executed by a computer.

Write a recursive method to form the sum of two positive integers a and b. Test your program by calling it from a main program that reads two integers from the keyboard and users your method to complete and print their sum, along with two numbers.

Answers

Answer:

see the code snippet below writing in Kotlin Language

Explanation:

fun main(args: Array<String>) {

   sumOfNumbers()

}

fun sumOfNumbers(): Int{

   var firstNum:Int

   var secondNum:Int

   println("Enter the value of first +ve Number")

   firstNum= Integer.valueOf(readLine())

   println("Enter the value of second +ve Number")

   secondNum= Integer.valueOf(readLine())

   var sum:Int= firstNum+secondNum

  println("The sum of $firstNum and $secondNum is $sum")

   return sum

}

hub stake should always be provided with a lath stake so that the information about what the hub represents can be written on the lath stake True False

Answers

Answer:

True

Explanation:

To protect them from becoming disturbed by construction operations, hub stakes are placed on both sides of a roadway at a certain distance outside the work zone. The final stakes are connected to the hub stakes, which are used to write the essential information.

As a result, hub stakes are always accompanied with stakes.

Usually, in organizations, the policy and mechanism are established by the:

CEO

Team of Exectives

Board of Directors

Stakeholders

none of these

Answers

Answer:

Team of exectives

Explanation:

This is right answer please answer my question too

Can you suggest a LinkedIn Helper (automation tool) alternative?

Answers

Answer:

Have you tried LinkedCamp alternative to LinkedIn Helper?

Well, LinkedCamp is a super-efficient cloud-based LinkedIn Automation Tool that empowers businesses and sales industries to drive more LinkedIn connections, hundreds of leads, sales, and conversions automatically.

Some other LinkedIn automation tools are:

Meet Alfred Phantombuster WeConnect ZoptoExpandi

Hope you find it useful.

Good luck!

Ranges of up addresses that anyone can use for their internal networks are known as

Answers

D. Nonroutable Address Space

Write a java program that reads a list of integers and outputs those integers in reverse. The input begins with an integer indicating the number of integers that follow. For coding simplicity, follow each output integer by a comma, including the last one. Assume that the list will always contain fewer than 20 integers.


Ex: If the input is:


5 2 4 6 8 10

the output is:


10,8,6,4,2,

To achieve the above, first read the integers into an array. Then output the array in reverse.

Answers

Answer:

Explanation:

using namespace std;

#include <iostream>

int Go()

{

 

int N;

int A[20];

 

 

cout << " How many integers do you have ??? :>";

cin >> N;

if (N>20) { N=20; }

 

for (int iLoop=0; iLoop<N; iLoop++)

{

 

 cout << "Input integer # " << (iLoop+1) << " :>";  

  cin >> A[iLoop];  

 

}

 

for (int iLoop=N-1; iLoop>=0; iLoop--)

{

 cout << A[iLoop] << " ";

}

cout << endl;

 

 

}

int main()

{

Go();

}

A Java program that reads a list of integers and outputs them in reverse is written as,

import java.util.Scanner;

public class ReverseList {

   public static void main(String[] args) {

       Scanner scnr = new Scanner(System.in);

       

       // Read the number of integers

       int numIntegers = scnr.nextInt();

       

       // Create an array to store the integers

       int[] integers = new int[numIntegers];

       

       // Read the integers into the array

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

           integers[i] = scnr.nextInt();

       }

       

       // Output the integers in reverse order

       for (int i = numIntegers - 1; i >= 0; i--) {

           System.out.print(integers[i]);

           

           // Add comma unless it's the last integer

           if (i > 0) {

               System.out.print(",");

           }

       }

       

       System.out.println(); // Add a new line at the end

   }

}

Given that,

Write a Java program that reads a list of integers and outputs those integers in reverse.

Here, The input begins with an integer indicating the number of integers that follow.

For coding simplicity, follow each output integer by a comma, including the last one.

So, A Java program that reads a list of integers and outputs them in reverse:

import java.util.Scanner;

public class ReverseList {

   public static void main(String[] args) {

       Scanner scnr = new Scanner(System.in);

       

       // Read the number of integers

       int numIntegers = scnr.nextInt();

       

       // Create an array to store the integers

       int[] integers = new int[numIntegers];

       

       // Read the integers into the array

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

           integers[i] = scnr.nextInt();

       }

       

       // Output the integers in reverse order

       for (int i = numIntegers - 1; i >= 0; i--) {

           System.out.print(integers[i]);

           

           // Add comma unless it's the last integer

           if (i > 0) {

               System.out.print(",");

           }

       }

       

       System.out.println(); // Add a new line at the end

   }

}

Read more about java programming language at:

brainly.com/question/2266606

#SPJ4

Given below are some facts and predicates for some knowledge base (KB). State if the unification for either variable x or y is possible or not. If the unification is possible then show the unified values for variables x and y.

a. American (Bob), American (y)
b. Enemy (Nono, America), Enemy(x,y)
c. Weapon (Missile), soldTo (Missile, y), Weapon (x), soldTo (x, Nono)
d. L(x, y), (L(y, x) ^ L(A, B))

Answers

Answer:

Unification may be a process by which two logical individual atomic expressions, identical by replacing with a correct substitution. within the unification process, two literals are taken as input and made identical using the substitution process. There are some rules of substitution that has got to be kept in mind:

The predicate symbol must be an equivalent for substitution to require place.

The number of arguments that are present in both expressions must be equivalent.

Two similar variables can't be present within the same expression

Explanation:

a. American (Bob), American (y):-

In this scenario, Unification is feasible consistent with the principle. The substitution list is going to be [y/Bob].

b. Enemy (Nono, America), Enemy(x,y):-

In this scenario, the Unification is feasible consistent with the principles. The substitution list is going to be [x/Nono, y/America].

c. Weapon (Missile), soldTo (Missile, y), Weapon (x), soldTo (x, Nono):-

In this scenario, the Unification isn't possible because the predicate is different i.e. Weapon and soldTo.

d. L(x, y), (L(y, x) ^ L(A, B)):-

In this scenario, Unification isn't possible because the number of arguments is different within the given expression

Select the correct statement(s) regarding DCE and DTE interfaces.

a. DTE and DCE describes the device types (e.g., computers, switches, routers, etc.)
b. distinguishing between DTE and DCE is only required for half-duplex communications
c. DTE and DCE describes the interface and direction of data flow between devices; a single device may have both types of interfaces
d. all statements are correct

Answers

Answer:

The correct statement regarding DCE and DTE interfaces is:

c. DTE and DCE describes the interface and direction of data flow between devices; a single device may have both types of interfaces.

Explanation:

DTE stands for Data Terminal Equipment.  It is a device that initiates or controls a device's serial connection. The term DCE stands for Data Communications Equipment.  It is a device that is used to a modem or other communication interfaces to the DTE device.  DTE is a communication receptor, while DCE is a communication broadcaster or distributor.

Resize vector countDown to have newSize elements. Populate the vector with integers {newSize, newSize - 1, ..., 1}. Ex: If newSize = 3, then countDown = {3, 2, 1}, and the sample program outputs:
#include
#include
using namespace std;
int main() {
vector countDown(0);
int newSize = 0;
int i = 0;
newSize = 3;
STUDENT CODE
for (i = 0; i < newSize; ++i) {
cout << countDown.at(i) << " ";
}
cout << "Go!" << endl;
return 0;
}

Answers

Answer:

Following are the code to the given question:

#include <iostream>//defining header file

#include <vector>//defining header file

#include <numeric>//defining header file

using namespace std;

int main()//main method

{

vector<int> countDown(0);//defing an integer array variable countDown

int newSize = 0;//defing an integer variable newSize that holds a value 0

int i = 0;//defing an integer variable i that initialize with 0

newSize = 3;// //use newSize to hold a value

countDown.resize(newSize,0);// calling the resize method that accepts two parameters

for (i = 0; i < newSize; ++i)//defining a loop that reverse the integer value

{

countDown[i] = newSize -i;//reverse the value and store it into countDown array

cout << countDown.at(i) << " ";//print reverse array value

}

cout << "Go!" << endl;//print message

return 0;

}

Output:

3 2 1 Go!

Explanation:

In the given code inside the main method an integer array "countDown" and two integer variables "newSize and i" is declared that initializes a value that is 0.

In the next step, an array is used that calls the resize method that accepts two parameters, and define a for a loop.

In this loop, the array is used to reverse the value and print its value with the message.

What is machine learning

Answers

Answer:

machine learning is the ability for computers to develop new skills and algorithms without specific instructions to do so.

Machine learning is a branch of artificial intelligence (AI) and computer science which focuses on the use of data and algorithms to imitate the way that humans learn, gradually improving its accuracy.

You are between flights at the airport and you want to check your email. Your wireless settings show two options:
a) a free unsecured site called TerminalAir and b) a pay-by-the-hour site called Boingo.
Which one is likely to be the most secure?

Answers

The correct answers Is B

shooting phases in film and video editing​

Answers

Answer:

Filmmaking involves a number of complex and discrete stages including an initial story, idea, or commission, through screenwriting, casting, shooting, sound recording and pre-production, editing, and screening the finished product before an audience that may result in a film release and an exhibition.

Tips for Interactions with Personalized LinkedIn Outreach?

Answers

Answer:

Follow the best strategies for personalized LinkedIn outreach through 2021.

 

Run an Outreach Campaign for niche-specific People Collect Data about your Audience Keep your message short Save your Sale Pitches for later Give them a reason to reply to you

An e-mail program allows?
A. users to access and view web pages on the internet.
B. geographically separated people to transfer audio and video.
C. real-time exchange of messages or files with another online user.
D. transmission of messages and files via a network such as the internet.​

Answers

Answer:

C

Explanation:

Real time exchange of messages or files with another online user

A student registers for a course in a university. Courses may have limited enrollment i.e a student must
enroll atmost 9 credit hours, the registration process must include checks that places are available. Assume
that the student accesses an electronic course catalog to find out about available courses. Which design
model should be followed by this secenario? Draw any two UML diagrams.

Answers

Answer:

Follows are the complete question to the given question:

Explanation:

The UML scheme is a UML-based diagram intended to depict the system visually, together with its key actors, roles, activities, objects, and classes, to gather information the about system, change that, or maintain it.

Every complex process is better understood via sketches or pictures. These diagrams have a higher understanding effect. By glancing about, we notice that diagrams are not a new idea but are widely used in various business types. To enhance understanding of the system, we prepare UML diagrams. There is not enough of a single diagram to represent all aspects of the system. You can also create customized diagrams to satisfy your needs. Iterative and incremental diagrams are usually done.

There are two broad diagram categories and that they are broken into subclasses again:

Diagram structureDiagrams of behavior

Please find the graph file of the question in the attachment.

The subroutines/function calls you need to call to pass an application message down to the transport layer is called the

Answers

Answer:

"TCP/IP library" is the appropriate answer.

Explanation:

A communications protocol that always connects to yet another system or device and guarantees transmissions were also correctly converted to digital signals or received, is termed as TCP/IP.Technology can also do a variety of things on its own and. However, when you speak among each other devices' maximum throttle emerges.

Write a program that uses a stack to test input strings to determine whether they are palindromes. A palindrome is a sequence of characters that reads the same as the sequence in reverse; for example, noon.

Answers

Answer:

Here the code is given as follows,

Explanation:

def isPalindrome(x):

   stack = []

   #for strings with even length

   if len(x)%2==0:

       for i in range(0,len(x)):

           if i<int(len(x)/2):

               stack.append(x[i])

           elif stack.pop()!=x[i]:

               return False

       if len(stack)>0:

           return false

       return True

   #for strings with odd length    

   else:

       for i in range(0,len(x)):

           if i==int(len(x)/2):

               continue

           elif i<int(len(x)/2):

               stack.append(x[i])

           elif stack.pop()!=x[i]:

               return False

       if len(stack)>0:

           return false

       return True  

def main():  

   while True:  

       string = input("Enter a string or Return to quit: ")  

       if string == "":  

           break  

       elif isPalindrome(string):  

           print("It's a palindrome")  

       else:  

           print("It's not a palindrome")  

if __name__ == '__main__':  

   main()

Answer to this problem

Answers

Answer:

hi..,.................................................

Computer data that is suitable for text​

Answers

Answer:

Answer:Data Types. Computer systems work with different types of digital data. In the early days of computing, data consisted primarily of text and ...

The conversion rate would be the highest for keyword searches classified as Group of answer choices buyers grazers researchers browsers

Answers

Answer:

buyers

Explanation:

Search engine optimization (SEO) can be defined as a strategic process which typically involves improving and maximizing the quantity and quality of the number of visitors (website traffics) to a particular website by making it appear topmost among the list of results from a search engine such as Goo-gle, Bing, Yah-oo etc.

This ultimately implies that, search engine optimization (SEO) helps individuals and business firms to maximize the amount of traffic generated by their website i.e strategically placing their website at the top of the results returned by a search engine through the use of algorithms, keywords and phrases, hierarchy, website updates etc.

Hence, search engine optimization (SEO) is focused on improving the ranking in user searches by simply increasing the probability (chances) of a specific website emerging at the top of a web search.

Typically, this is achieved through the proper use of descriptive page titles and heading tags with appropriate keywords.

Generally, the conversion rate is mainly designed to be the highest for keyword searches classified as buyers because they're the main source of revenue for a business and by extension profits.

????????????????????????? ???????????????

Answers

Answer:

sorry, I don't know what that is

Long Answer Questions: a. Briefly explain the types of Control Structures in QBASIC.​

Answers

Answer:

The three basic types of control structures are sequential, selection and iteration. They can be combined in any way to solve a specified problem. Sequential is the default control structure, statements are executed line by line in the order in which they appear.

Web-Based Game that serves multiple platforms
Recommendations
Analyze the characteristics of and techniques specific to various systems architectures and make a recommendation to The Gaming Room. Specifically, address the following:
1. Operating Platform: Recommend an appropriate operating platform that will allow The Gaming Room to expand Draw It or Lose It to other computing environments.>
2. Operating Systems Architectures:
3. Storage Management:
4. Memory Management:
5. Distributed Systems and Networks:
6. Security: Security is a must-have for the client. Explain how to protect user information on and between various platforms. Consider the user protection and security capabilities of the recommended operating platform.>

Answers

Answer:

Here the answer is given as follows,

Explanation:

Operating Platform:-  

In terms of platforms, there are differences between, mobile games and pc games within the way it's used, the operator, the most event play, the sport design, and even the way the sport work. we all know that each one the games on console platforms, PC and mobile, have their own characteristic which has advantages and disadvantages All platforms compete to win the rating for the sake of their platform continuity.  

Operating system architectures:-  

Arm: not powerful compared to x86 has many limitations maximum possibility on arm arch is mobile gaming.  

X86: very powerful, huge development so easy to develop games on platforms like unity and unreal, huge hardware compatibility and support  

Storage management:-  

On the storage side, we've few choices where HDD is slow and too old even a replacement console using SSD. so SSD is the suggested choice. But wait SSD have also many options like SATA and nvme.    

Memory management:-  

As recommended windows, Each process on 32-bit Microsoft Windows has its own virtual address space that permits addressing up to 4 gigabytes of memory. Each process on 64-bit Windows features a virtual address space of 8 terabytes. All threads of a process can access its virtual address space. However, threads cannot access memory that belongs to a different process.  

Distributed systems and networks:-  

Network-based multi-user interaction systems like network games typically include a database shared among the players that are physically distributed and interact with each other over the network. Currently, network game developers need to implement the shared database and inter-player communications from scratch.  

Security:-  

As security side every game, there's an excellent risk that, within the heat of the instant, data are going to be transmitted that you simply better keep to yourself. There are many threats to your IT.  

Define on the whole data protection matters when developing games software may cause significant competitive advantages. Data controllers are obliged under the GDPR to attenuate data collection and processing, using, as an example , anonymization or pseudonymization of private data where feasible.

Create a function called GetColors that will accept two parameters. These parameters can only be red, blue or yellow. Your function needs to analyze these two colors and determine the color mix. Make sure your function returns the color mix back to where it was called.

Answers

Answer:

Explanation:

The following code is written in Java. It creates a GetColors method that takes in the two parameter colors of either red, blue or yellow. It combines those colors and returns the mix of the two colors back to the user. A test case has been used in the main method and the output can be seen in the attached image below.

import java.util.Scanner;

class Brainly {

   public static void main(String[] args) {

       System.out.println(GetColors("yellow", "red"));

   }

   public static String GetColors(String color1, String color2) {

       if (color1 == "red") {

           if (color2 == "blue") {return "purple";}

           else if (color2 == "yellow") {return "orange";}

           else {return "red";}

       } else if (color1 == "blue") {

           if (color2 == "red") {return "purple";}

           else if (color2 == "yellow") {return "green";}

           else {return "blue";}

       } else if (color1 == "yellow") {

           if (color2 == "red") {return "orange";}

           else if (color2 == "blue") {return "green";}

           else {return "yellow";}

       } else {

           return "Wrong Parameters";

       }

   }

}

Other Questions
Each side of a square is increasing at a rate of 4 cm/s. At what rate (in cm2/s) is the area of the square increasing when the area of the square is 25 cm2 An employee at a shoe store has observed that taller customers have larger shoe sizes than customers who are shorter. She knows that shoe sizes are based on foot length, so she hypothesizes: Compared with shorter people, taller people have longer feet. Delta Company produces a single product. The cost of producing and selling a single unit of this product at the companys normal activity level of 86,400 units per year is: Direct materials $ 1.50 Direct labor $ 2.00 Variable manufacturing overhead $ 0.60 Fixed manufacturing overhead $ 3.75 Variable selling and administrative expenses $ 1.90 Fixed selling and administrative expenses $ 1.00 The normal selling price is $25.00 per unit. The companys capacity is 122,400 units per year. An order has been received from a mail-order house for 3,000 units at a special price of $22.00 per unit. This order would not affect regular sales or the companys total fixed costs. Required: 1. What is the financial advantage (disadvantage) of accepting the special order? 2. As a separate matter from the special order, assume the companys inventory includes 1,000 units of this product that were produced last year and that are inferior to the current model. The units must be sold through regular channels at reduced prices. The company does not expect the selling of these inferior units to have any effect on the sales of its current model. What unit cost is relevant for establishing a minimum selling price for these units? Help me to write introductory paragraph on the question "coronavirus vaccines" Please help I will mark brainliest- I already know its not the last two- please help! Human Resources can be classified into four groups namely________, ________, _______ and _____________. A. skilled, advanced, professional and services.B. semi-skilled, simple, services and sustain.C. professional, advanced, unskilled and simple.D. professional, unskilled, semi-skilled and skilled.as i said before they have no topic for fcm but can you help plzz Help, someone please lol In an indirect proof, you prove an "if-then" statement is true by assuming the statement is false (stating the inverse or converse), and then disproving the false statement. You want to prove the statement shown below in an indirect proof. What statement should you prove is false?Statement to Prove True: If a figure has exactly three sides, then it is a triangle.Statement to Prove False: Help me please I will mark you as brainliest This group believed in following the Constitution strictly and saving impliedpowers for emergencies,A. Anti-FederalistsB. FederalistsC. Republicans How can COUNTIF, COUNTIFS, COUNT, COUNTA, and COUNTBLANK functions aide a company to support its mission or goals cual es la relacion entre las industrias y las nuevas tecnologas? Triangle ABC is congruent to LMN. Find the value of x. Please and thank you!Warning: if you give an answer that is NOT related to the question at all then I will report you - FIND THE VALUE OF X fluent readers do not need to self monitor their comprehension true or false Solve by graphing. Round each answer to the nearest tenth.6x2 = 19x 15a: 2, 1.7b: 1.7, 1.5c: 1.5, 1.5d: 1.5, 1.7 Jorge needs to reflect a figure across the line y = negative 4. Which statements are correct regarding steps he could take to complete the reflection? Check all that apply.Jorge should graph in the vertical line with values of 4 for the line of reflection.Jorge could count how far each pre-image point is from the line of reflection along the perpendicular from the point to the line of reflection.Jorge could count how far each vertex of the figure is from the y-axis and count the same distance on the other side.Jorge will not move any point that lies on the line of reflection.Jorge could check his work by seeing if each segment joining a pre-image point with its image has the midpoint on the line of reflection.Jorge could check his work by making sure that the image has the same orientation as the original. Please help me need to pass Discuss the two differences of Theory X and Y. Give example ________ would be hurt by unexpected inflation. a. A firm that purchased inputs with a two-year contract b. A worker whose wage increases with inflation c. A worker who signed a two-year wage contract d. A firm who hired a worker on a two-year wage contract Impromptu delivery is okay for ceremonial speeches.TrueFalse