Which XXX and YYY correctly output the smallest values? Array userVals contains 100 elements that are integers (which may be positive or negative). Choices are in the form XXX / YYY.

Answers

Answer 1

The XXX and YYY which correctly outputs the smallest integer values is minVal = userVals[0] and userVals[i] < minVal respectively.

What is an array?

An array can be defined as a set of memory locations (data structure) on a computer system that is made up of a group of elements with each memory location sharing the same name.

This ultimately implies that, the elements contained in an array are all of the same data type such as:

StringsIntegers

From the source code for the array userVals, the XXX which correctly outputs the smallest integer values is minVal = userVals[0].

From the source code for the array userVals, the YYY which correctly outputs the smallest integer values is userVals[i] < minVal.

Read more on array here: https://brainly.com/question/19634243


Related Questions

Complete the class DiscountedItem below that inherits from Item and adds an discount instance variable with a constructor, get/set, and a toString method. Uncomment the testing code in main to add discounted items to the cart.

Answers

The information provided is incomplete hence the general answer. The programming instructions require the use of a Constructor, a get/set, and a toString.

What is a Constructor?

In the parlance of Java, a Constructor refers to a block of codes that look very much like the method. It is often used to internalize an object. It is normally used to create the object of a class.

What is Get/Set in Java?

The term "Get Method" is used to return the value of the variable name. It works by assigning a new name to the selected name variable.

What is ToString in Java?

The ToString () in Java returns any value given to it in a string format. If it is applied to an object, the result will return as a string object.

Learn more about Constructor (Java) at:

https://brainly.com/question/9949117

what is the importance of internet in education

Answers

Answer:

It can improve the quality of education in many ways. It opens doorways to a wealth of information, knowledge, and educational resources, increasing opportunities for learning in and beyond the classroom. Internet access opens doorways to a wealth of information, knowledge, and educational resources.

Explanation:

i hope it helps# i love Taylor Spears
he use of internet for education helps to streamline the sharing of information and communication. It lets students access lectures online and refer to relevant study material in various multimedia formats. It also helps teachers by letting them use various tools in their circullum

A program has a infinite while loop. How can you interrupt it?

Answers

Answer:

The break keyword is how you interrupt a while loop.

the syntax looks like this ↓

Python

while true:

break

Java script

while (true);

break

explain computer system architecture ​

Answers

Answer:

specification detailing how a set of software and hardware technology standards interact to form a computer system or platform.

Explanation:

Computer architecture is a specification detailing how a set of software and hardware technology standards interact to form a computer system or platform. In short, computer architecture refers to how a computer system is designed and what technologies it is compatible with.

What is meant by Self motivation​

Answers

Explanation:

Definition of self-motivated

: driven by one's own desires and ambitions : motivated by oneself self-motivated students/employees self-motivated learning.

Explanation:

the ability to drive oneself to take initiative and action to pursue goals and complete tasks

is integer a type of constant variable​

Answers

Answer:

Yes it is

Explanation:

An integer constant is nothing but a value consisting of digits or numbers. These values never change during the execution of a program.

Describe two ways methods that cab be used to help stop hacking

Answers

Answer:

Use a firewall

Install antivirus software.

Explanation:


Georgia is using a specific type of encryption method that only codes a certain section of the files on her hard drive. What type of
encryption is Georgia using?
A device encryption
B. private key encryption
C. volume encryption
D.
half encryption

Answers

I think it’s d but I’m not sure

You are querying a database of manufacturing company suppliers. The column name for supplier identification numbers is supplier_id. What is the correct clause to retrieve only data about the supplier with identification number 85317?

Answers

Queries are used to retrieve data from the database

The correct clause to retrieve only data about the supplier with identification number 85317 is WHERE supplier_id = 85317

How to determine the query

The clause is given as:

identification number = 85317

To retrieve data from the database, we make use of the WHERE clause followed by the column name, and the column value

In this case,

supplier_id represents the column name, while 85317 represents the value

Hence, the required clause is

WHERE supplier_id = 85317

Read more about database at:

https://brainly.com/question/1538272

to restart a device without powering it down

Answers

Answer:

No possibly way of doing this

If the device isn't functioning but is turned on

On android: Hold the power button and either the volume up or down keys at the same time till the screen goes black

On IPhone/IPad/Ipod: hold down the home key and the power button till the screen goes blank

On Newer Apples with no home button, just hold down the power key till the screen goes blank

On PC: Hold the power button on the pc thill the screen goes black

On tablet: Use the steps for android listed above.

You should hold your fingers on the power switch when holding a plugged-in power tool.
A) True
B) False

Answers

Answer: That depends on what kind of power system the device has.

Explanation: If the device is something like a plug-in weed wacker, then the answer would be True, but if it's like a plug-in computer monitor, the answer would be False. So the answer depends on what kind of device it is.

You are interested in a job where you examine digital devices for evidence of crimes. What keywords should you search on a job board? o virtual reality O ransomware O computer forensics O encryption algorithms​

Answers

Answer:

computer forensics

Explanation:

I just took the quiz c:

When preparing to capture video for a client, which three questions are important to ask the client? (Choose 3.)
A) Marketing strategy
B) Target audience
O C Client goals
D) Video purpose
E) Target video codec

Answers

Three important questions to ask the client when preparing to capture video are: target audience, client goals, and video purpose.

What is Video Capture?

Video capture is the process of making digital video stream for specific purposes.

When preparing to capture video for a client, some essential questions to ask the client is:

Target audience: Understand the characteristics of the people you want to reach through the video.Client Goals: An effective video capture is one that meets the client's goals.Video purpose: You should understand why the client needs the video, and what the purpose is for, whether it is promotional, educative etc.

In summary, three important questions to ask the client when preparing to capture video are: target audience, client goals, and video purpose.

Learn more about video capture on:

https://brainly.com/question/26281658

Message queues allow for programs to synchronize their operations as well as transfer data. How much data can be sent in a single message using this mechanism

Answers

The maximum size of a message queue is 16384 bytes for Linux. For IBM WebSphere MQ. this value is 4 MB.

What is the message queue?

The size of the message queue refers to the size (in bytes) that a message may have for a given operative system.

For example, the maximum value for IBM WebSphere MQ has been configured in four megabytes (4 MB).

In this case, when the message is higher than the set size (here 4 MB), then this message is returned.

Learn more about IBM here:

https://brainly.com/question/896257

48:05
Choose the word that best completes each sentence.
Since there is
variation in mobile device hardware and operating systems than in desktop platforms, it is
critical to use cross-platform development techniques.
Less, more

Answers

Answer: More, More

Explanation: Got it right on Edge

Answer

more for both answers

Explanation:

i took the test

In this Bash looping construct, you want to print integers from 0 to 5, one integer per line. What keyword should replace the blank (__________) in the code

Answers

The  "For" keyword that should replace the blank  in the code

What are Python keyword?

In Python, there are found to be thirty-five keywords. Some of them are:

And Continue For Lambda Try, etc.

The for Keyword that is known to be one of the most common loop in Python is said to be for loop. It is designed by putting the Python keywords for and in.

Learn more about Python keyword from

https://brainly.com/question/13259727

Why is it important to update website-based information?


It is important to maintain appearances.
It helps to draw users to the website.
It does not matter.
It can reduce calls made to the organization.

Answers

Answer:

it helps to draw users to the website

I GIVE 50 POINTS PLEASE HELP ASAP Which of the following licenses let you use intellectual property for free on a project you plan to make money from? (Choose all that apply)

•Public Domain

•Attribution, Non-Commercial

•Attribution, Commercial

•Copyright

Answers

Answer:

Attribution, Non-Commercial

and

Copyright

Explanation:

Every website or account you create comes with free copyright, when you go to make a free website (it won't let me specify names) you can scroll all the way down and you'll see a little copyright symbol.

Answer:

the second one

This is because when you have commercials, you make more and more money.

who is founder of wwe​

Answers

Answer:

Vince McMahon Linda McMahon

Answer: I hope this helps

Explanation:

Vince McMahon Linda McMahon

Write a Java Program
Specific Instructions

Create a class for the following object.

Deck - contains 52 cards initially. Each card is represented by an unchangeable suit and value.
Suits - ♣ (Club), ♠ (Spade), ♥ (Heart), ♦ (Diamond)
Values - 1(A),2,3,4,5,6,7,8,9,10,11(J),12(Q),13(K)

Actions

draw - retrieves the top most card on the deck. When called with number of desired cards, it will try to draw the N cards, if not enough, draw all cards.
shuffle - randomizes the location of all cards, excluding the drawn cards
restore - returns the last N cards drawn on the bottom of the deck, if no number is provided, return all drawn cards.
Make sure that the class is encapsulated.

Answers

In the Deck Builder, initialize the 52 cards (along with the 4 jokers, which should be called “wild” and the suit is “wild”).

Public class Deck

   private final List<Carta> Deck;

   public Baralho() {

       listaCartas = new ArrayList<>();

       String[] naipes = {"club", "spade", "heart", "diamond"};

       int pos = 0;

       Carta c;

with this code we will be able to create the Deck, initialize the 52 cards together with the 4 jokers.

Learn more about Deck in https://brainly.com/question/1660537

     

In Python 3, the maximum value for an integer is 263 - 1:
True
False

Answers

Answer:

TRUE

Explanation:

 Python 3 does not have a maximum size of int. This means that there is no maximum or minimum value of int in Python 3. We can still check the machine's word size (size of the data stored in the hardware by the processor). In Python 3, the maximum value for an integer is 263

What is the purpose of a computer virus? O to spread a disease to humans O to substitute for a human disease a O to disrupt a computer O to aid encryption​

Answers

Answer:

to disrupt a computer

Explanation:

What value will the variable x have when the loop executes for the first time?

var names = ["Tom", "Bill", "Sherry", "Clay"];

for(var x in names){

console.log(names[x]);

}

Select one:

a.
0


b.
1


c.
Tom


d.
Bill

Answers

The value that x will return when it runs the above loop for the first time is Tom. It is to be noted that the above code is JavaScript.

What is a JavaScript?

JavaScript is an object-oriented computer programming language that is used for the creation of effects that are interactive.

Scripts that are written using Java Programming Language can be used to control multimedia, create animated images, control how websites behave etc.

Java is also used in the creation of Games and many more.

Learn more about JavaScript at:
https://brainly.com/question/16698901

In what way, if any, can your social media presence affect your chances of getting a job in social media?


Your social media presence will affect your chances only if your resume is not impressive enough.
Your social media presence will affect your chances only if your resume is not impressive enough.

Your social media presence can help your chances if you are positive and professional.
Your social media presence can help your chances if you are positive and professional.

Your social media presence can only harm your chances, so it is best to stay away.
Your social media presence can only harm your chances, so it is best to stay away.

Your social media presence will have no effect on your chances of getting a job in social media.
Your social media presence will have no effect on your chances of getting a job in social media.

Answers

Answer:

Your social media postings can help you secure a job too, not just it being effective in a bad way.

Explanation:

Your content can give hiring managers an overall idea of your personality, what you are passionate about, how you interact with people in group discussions and how previous colleagues feel about you through recommendations and so on. All of these give you an advantage in securing a job.

Your social media postings can help you secure a job too, not just it being effective in a bad way. Your content can give hiring managers an overall idea of your personality.

What is Social media?

Social media are interactive technologies that make it easier to create and share content across virtual communities and networks, including information, ideas, interests, and other kinds of expression.

The lifeblood of social media is user-generated content, which includes written postings or comments, digital photographs or videos, and statistics from all online interactions.

Users build profiles for the website or app that are particular to the service and are created, updated, and managed by the social media company. Social media links a user's profile with those of other people or groups, which aids in the growth of online social networks.

Therefore, Your social media postings can help you secure a job too, not just it being effective in a bad way. Your content can give hiring managers an overall idea of your personality.

To learn more about Social media, refer to the link:

https://brainly.com/question/30326484

#SPJ2

A poll predicted that 68% of voters plan to vote for the current mayor in the upcoming election. If the poll had a standard deviation of 4%, what is the margin for error?

Answers

This is not computers it’s math.

Help my math is hard my dad is crying my mom is yelling at my teacher please help

Answers

Answer:

C

Explanation:

please mark brainliest

It’s c because the mean is starting at that place

What is a data silos in ict

Answers

A data silo is a collection of data held by one group that is not easily or fully accessible by other groups in the same organization.

Question 6 (5 points)
Raquel is searching for jeans online. She wants to make sure that she protects her
private information when she purchases items online. How can Raquel find out if her
private information will be safe on a particular website?
Asking her friends if they've used this website
Buying the jeans and checking her bank account occasionally
Requesting an email from the company for more information
Reading the website's privacy policy

Answers

While buying jeans online, Raquel find out if her private information will be safe on a particular website by reading website's privacy policy.

What is private information?

The information like phone number, passwords, birthdates or IP address about an individual person has entered while logging or signing up on a website.

When Raqual is signing up on the shopping website, she must read the company's website privacy policies appeared before making any orders and start using the interface.

Thus, Raquel must read website's privacy policy.

Learn more about private information.

https://brainly.com/question/12839105

#SPJ2

What are web servers used for?
O A. To store webpages
O B. To power computers
O C. To browse the internet

Answers

Answer:

a

Explanation:

A web server is software and hardware that uses HTTP (Hypertext Transfer Protocol) and other protocols to respond to client requests made over the World Wide Web. The main job of a web server is to display website content through storing, processing and delivering webpages to users.

why are accountability and trust so important in using emerging technologies​

Answers

Answer:

Another way in which accountability can be important is in ensuring that businesses are able to successfully integrate new technologies, such as hyperautomation, which helps reduce costs and increase efficiencies in areas like case management

Other Questions
Part AChoose the pronoun error in the paragraph.Not all ocean-dwelling creatures are fish. Animals that live in the sea include mammals, crustaceans, and even birds! These animals all have unique features that make it possible for [it] to survive and thrive in a watery world. Mammals, such as whales and sea lions, have a thick layer of fatty tissue called blubber. The blubber insulates [them ] against the cold waters of the deep sea. Part B Enter the pronoun that corrects error from part A What is the relationship between photosynthesis and cellular respiration? a. The outputs of photosynthesis are the inputs of cellular respirationb. The inputs of photosynthesis are the outputs of cellular respiration c. Trees only do photosynthesis . Animals only do cellular respiration . They both need eachother d. There isn't a clear relationship Mr. Gaddy moved from a house that is 45 miles away from his workplace to a house that is 20 miles away from his workplace. What is the percent decrease in the distance from his home to his workplace? Round to the nearest percent. Sam has five-sixths as many sweets as Caitlin. Who has more sweets? What should you do to prepare for your presentation? Check all that apply. Revise the presentation to make sure your media and notes are appropriate for the audience. Practice in front of a mirror and a friend, or record your voice. Memorize your speech so you dont need to use your notes. Time the presentation. Practice by reading your speech to yourself to save your voice. Which equation results from applying the secant and tangent segment theorem to the figure? 12(a 12) = 102 10 12 = a2 10(a 10) = 122 10(12) = a2. Use the drop-down menus to complete the sentences. The Camp David Accords were a negotiation of peace between and Israel. Prime Minister of Israel and President of Egypt signed the resulting treaty. began to provide aid to . Which equation represents this situation? jos worked 2. 5 hours more than william. Together, they worked a total of 22 hours. William worked h hours. An oscilloscope is set to 2volts/div, with the centre line representing 0V. It is connected to a source of potential difference, and the trace is a horizontal line, three divisions above the centre line. Despegue desde la Tierra Un cohete despega desde la superficie terrestre con una aceleracin constante de 20 m/seg. Qu tan rpi- do ir el cohete 1 minuto despus? What does the TVA exemplify among New Deal policies? is urine in the blood. Failure to address the three questions of economics will have what kind of impact on an economy?O It will have no consequences.It will help meet citizens' needs and wants.O It will have negative consequences.It will help contribute to the success of the society. Ahmad had 6/7 of a spool of yarn. He used 2/5 of his yarn for a project. What fraction of the spool was used for the project? i need help !!!!!!!!!!!!! I need help so please help Three equal in magnitude charges are located at the corners of an equilateraltriangle of side r. The charges A and C are positive and charge B is negative.What is the direction of the net force on charge C due to charges A and B?(A) up to the right(B) up(C) right(D) down guys cmon i need the answerrrrr Im not best when it comes to English Part AHow does the point of view that each story is told in impact the characterization of the main characters in each text?From the absolutely true diary of a part time Indian and the building?..