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
MAXImum [283]
3 years ago
13

2. Trace through the following loop and show the values for A, B & C.

Computers and Technology
1 answer:
Butoxors [25]3 years ago
4 0

At the beginning, we have

A = 4, B = 3, C = 0

Although you didn't specify the programming language, usually 0 means false, so we never enter the first loop, because "while C" is never true.

We enter the second loop because B is different from A, so we decrease C by 1, and we have

A = 4, B = 3, C = -1

and we assign B = B-C, so now B becomes 3-(-1)=3+1=4. Now B=A and we exit the second loop, and we have

A = 4, B = 4, C = -1

You might be interested in
Can I ask a question about information technology (IT)...
lianna [129]

Answer:

Hey don't overthink about it .It all depends on your interest like what you would prefer and how much you can afford. I guess it's your life so you should take a decision by yourself.

I hope it helps..

3 0
3 years ago
The Magic Square is a grid with 3 rows and 3 columns with the following properties: The grid contains every number from 1 to 9.
riadik2000 [5.3K]
Umm I’m sorry but u don’t understand
8 0
3 years ago
oe, a user, receives an email from a popular video streaming website. the email urges him to renew his membership. the message a
ale4655 [162]

Where Joe, a user, receives an email from a popular video-streaming website and the email urges him to renew his membership. If the message appears official, but Joe has never had a membership before, and if when Joe looks closer, he discovers that a hyperlink in the email points to a suspicious URL, note that the security threat that this describes is: "Phishing" (Option B)

<h3>What is Phishing?</h3>

Phishing is a sort of social engineering in which an attacker sends a fake communication in order to fool a person into disclosing sensitive data to the perpetrator or to install harmful software, such as ransomware, on the victim's infrastructure.

To avoid phishing attacks, make sure you:

  • understand what a phishing scheme looks like
  • Please do not click on that link.
  • Get anti-phishing add-ons for free.
  • Don't provide your information to an untrusted website.
  • Regularly change passwords.
  • Don't disregard those updates.
  • Set up firewalls.
  • Don't give in to those pop-ups.

Learn more about Phishing:
brainly.com/question/23021587
#SPJ1

Full Question:

Joe, a user, receives an email from a popular video streaming website. The email urges him to renew his membership. The message appears official, but Joe has never had a membership before. When Joe looks closer, he discovers that a hyperlink in the email points to a suspicious URL.

Which of the following security threats does this describe?

  • Trojan
  • Phishing
  • Man-in-the-middle
  • Zero-day attack
5 0
2 years ago
3 Which of the following statements are true about how technology has changed work? Select 3 options. With the spread of technol
madam [21]

Answer:

In a gig economy, workers are only hired when they are needed for as long as they are needed.

Businesses can be more profitable by using communication technology to reduce the costs of travel.  

Through the use of the Internet and collaboration tools, more workers are able to perform their jobs remotely.

Explanation:

7 0
3 years ago
Write a java program to print the following series: <br>1 5 9 13 17...n terms​
andrew11 [14]

Answer:

In Java:

import java.util.*;

public class Main{

public static void main(String[] args) {

Scanner input = new Scanner(System.in);

int n;

System.out.print("Max of series: ");

n = input.nextInt();

for(int i = 1; i<=n;i+=4){

    System.out.print(i+" ");

}

}

}

Explanation:

This declares n as integer. n represents the maximum of the series

int n;

This prompts the user for maximum of the series

System.out.print("Max of series: ");

This gets user input for n

n = input.nextInt();

The following iteration prints from 1 to n, with an increment of 4

<em> for(int i = 1; i<=n;i+=4){</em>

<em>     System.out.print(i+" ");</em>

<em>}</em>

6 0
3 years ago
Read 2 more answers
Other questions:
  • How many megabytes of data can a factory made audio cd hold?
    13·1 answer
  • When a computer restarts without a hardware power-down-power-up cycle, it is doing a _______________?
    9·1 answer
  • A directional antenna issues wireless signals along a(n) ____ direction.
    9·1 answer
  • _____ is a feature that records the changes you make to a document.
    12·1 answer
  • Which is an example of appropiate online behavior?
    6·1 answer
  • How do i get the schools admin password for the good wifi
    10·2 answers
  • Express 0.0005 x 10-4 farads as picofarads
    5·2 answers
  • What allows a programmer to write code quickly and efficiently for an action that must be repeated?
    14·1 answer
  • Hurry please I’ll give Brainliest if you are right
    5·1 answer
  • How bridges are built over water
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!