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
trapecia [35]
3 years ago
8

Consider the classes below: public class TestA { public static void main(String[] args) { int x = 2; int y = 20 int counter = 0;

for (int j = y % x; j < 100; j += (y / x)) { counter++; } } } public class TestB { public static void main(String[] args) { int counter = 0; for (int j = 10; j > 0; --j) { ++counter; } } }
Computers and Technology
1 answer:
Natali5045456 [20]3 years ago
8 0

Answer:

Option d (neither a or b is true) is the correct answer for the above question.

Explanation:

Missing information : The options and the main question (which is true from the following) is not mentioned in the above question.

There is a two program given in the above question and asked to justify the true statement. The options descriptions are as follows:-

  • Option a states that the value of a counter variable will not be the same for both the program, which is not correct because both program loop will be executed 10 times only and the value of the counter will also be 10.
  • Option b states that the value of j will not be different for both the program which is also not correct because the first program loop will process from 10 to 1 by the difference of 1 but the second for loop will execute for i value from 0 to 90 by the difference of 10.
  • Option c states to right for both the option which is not correct.
  • Option d states to wrong for both the correct option. Hence option d is the correct answer.
You might be interested in
In an experiment in which participants sat in an office and then were asked to remember what they saw in the office, participant
Inessa [10]

Answer:

The answer to this question is the "schemas".

Explanation:

A schema is plural schemata or schemas that defines a pattern of logic or action that constitutes classifications of data and the connections among them. In a computer science schemas is an organized structure for a database and all the operation of data modeling leads by schema. So the answer to this question is schemas

6 0
3 years ago
Which is not an example of a boolean operator?
allochka39001 [22]
1. Because is not an example of and Boolean operator

2. Google is the internets top search engine

I hope this helped
3 0
3 years ago
Read 2 more answers
A standard for compressing music into computer files that can be easily exchanged on the Internet is called a(n) ______. A. musi
Sophie [7]

Answer:

The correct answer is E. MP3

Explanation:

MP3 (formally MPEG-1 Audio Layer III or MPEG-2 Audio Layer III) is a coding format for digital audio. MP3 as a file format commonly designates files containing an elementary stream of MPEG-1 audio and video encoded data, without other complexities of the MP3 standard. The MP3 format makes it possible to compress a song into a file small enough to be uploaded, downloaded, emailed, and stored on a hard drive.

4 0
3 years ago
You are the CEO of a large tech company and have just received an angry email that looks like it came from one of your biggest c
sergejj [24]

Answer: as a whale attack

Explanation:

A whale attack is simply refered to as an attack that is utilized by cybercriminals and in this case, a senior player such as the CEO is targeted in the company and the aim is to steal sensitive information from them or steal money or gain access to their computer for fraudulent purposes.

Based on the explanation above, the attack called into is a whale attack.

4 0
3 years ago
4) Wilkes continues to discuss the concept of time and how it relates to the type of photography he does. Why do you feel that t
lesya692 [45]

Wilkes photography style is solely focused on time lapse. His pictures from morning to night show the cycle of a day at a place in one image.

We cannot help you with the second problem , as we do not know what you learned in Unit 10.

3 0
3 years ago
Other questions:
  • In a game, your character cleverly places an electronic bug on an unsuspecting felon's jacket to track his movements. The bug tr
    10·2 answers
  • _____ are likely to support bigger government, social welfare programs, and legalized abortion.
    8·2 answers
  • 1.Customer service is assistance provided by a company to the people who buy or use its products or services.
    13·2 answers
  • Which of the following would an interactive media professional most likely need? A.a high school diploma
    15·1 answer
  • Sequential codes may be used to represent complex items or events involving two or more pieces of related data.
    7·1 answer
  • How does cryptocurrency exchange software works?
    14·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    15·2 answers
  • Type the correct answer in the box. Spell all words correctly.
    15·1 answer
  • What are the different types of monitors?
    8·1 answer
  • To read encrypted data, the recipient must decipher it into a readable form. What is the term for this process?.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!